root/releases/elgg0.8rc2/_elggadmin/frontpage.php

Revision 758, 1.9 kB (checked in by sven, 2 years ago)

set svn property eol-style native on some files without it

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     // Elgg administration panel
4     
5     // Load library functions
6         require("lib.php");
7         
8         global $CFG, $messages;
9         
10     // Initialise the admin panel. If we get past this point, we're logged in.
11         elggadmin_init();
12         elggadmin_frontpage_init();
13         
14     // Draw page header
15         elggadmin_header();
16         
17     // Draw navigation
18         elggadmin_navigation("frontpage");
19         
20         elggadmin_begin_content();
21         
22         echo "<table width=\"100%\" border=\"0\"><tr><td valign=\"top\">";
23         
24         elggadmin_frontpage_main();
25         
26         echo "</td><td valign=\"top\" width=\"200\" >";
27         
28         echo "<h2>" . ("Special keywords") . "</h2>";
29         echo "<p>&nbsp;</p>";
30         echo "<p>" . ("You can insert these into your pageshell for special functionality:") . "</p>";
31         echo "<p><b>{{url}}</b> " . ("The address of your site.") . "</p>";
32         echo "<p><b>{{sitename}}</b> " . ("The name of your site.") . "</p>";
33         echo "<p><b>{{tagline}}</b> " . ("Your site's tagline.") . "</p>";
34         echo "<p><b>{{username}}</b> " . ("The current user's username.") . "</p>";
35         echo "<p><b>{{userfullname}}</b> " . ("The current user's full name.") . "</p>";
36         echo "<p><b>{{populartags}}</b> " . ("A list of the most popular tags.") . "</p>";
37         echo "<p><b>{{randomusers}}</b> " . ("A list of random users who have filled in their profiles, if some exist.") . "</p>";
38         echo "<p><b>{{people:interests:foo:5}}</b> " . ("Lists five people interested in 'foo' in a horizontal table.") . "</p>";
39         echo "<p><b>{{toptags:town}}</b> " . ("Lists the top tags of type 'town' (or select weblog, file or the profile field of your choice).") . "</p>";
40         
41         echo "</td></tr></table>";
42         
43         elggadmin_end_content();
44         
45     // Draw page footer
46         elggadmin_footer();
47
48 ?>
Note: See TracBrowser for help on using the browser.