repo.or.cz
/
elgg.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Small tweak to the default template.
[elgg.git]
/
home.php
blob
482b08fd8576a52592b0473781f9c863e7a100a0
1
<
?php
2
3
require
(
"includes.php"
);
4
templates_page_setup
();
5
if
(
isloggedin
()) {
6
$body
=
run
(
"content:mainindex"
);
7
}
else
{
8
$body
=
run
(
"content:mainindex:loggedout"
);
9
}
10
11
echo
templates_page_draw
(
array
(
12
sitename
,
13
templates_draw
(
array
(
14
'body'
=>
$body
,
15
'title'
=>
gettext
(
"Main Index"
),
16
'context'
=>
'contentholder'
17
)
18
)
19
)
20
);
21
22
?
>