Elgg
Version 2.3
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
views
default
page
error.php
Go to the documentation of this file.
1
<?php
14
if
(
elgg_get_context
() ==
'admin'
&&
elgg_is_admin_logged_in
()) {
15
echo
elgg_view
(
'page/admin'
,
$vars
);
16
}
else
{
17
echo
elgg_view
(
'page/default'
,
$vars
);
18
}
$vars
if(isset($vars['class'])) $vars['class']
Definition:
error.php:14
elgg_is_admin_logged_in
elgg_is_admin_logged_in()
Returns whether or not the viewer is currently logged in and an admin user.
Definition:
sessions.php:60
echo
elgg echo
Translates a string.
Definition:
languages.js:48
elgg_get_context
elgg_get_context()
Get the current context.
Definition:
pageowner.php:204
elgg_view
elgg_view($view, $vars=array(), $ignore1=false, $ignore2=false, $viewtype= '')
Return a parsed view.
Definition:
views.php:336
Generated on Sat Dec 21 2024 00:01:05 for Elgg by
1.8.11