root/releases/0.401/_icons/index.php

Revision 45, 0.8 kB (checked in by sven, 3 years ago)

dos2unix to clean line endings, set svn property eol-style native, some whitespace homogenisation

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     //    ELGG manage icons page
4
5     // Run includes
6         require("../includes.php");
7         
8     // Initialise functions for user details, icon management and profile management
9         run("userdetails:init");
10         run("profile:init");
11         run("icons:init");
12         
13         if (isset($_REQUEST['context'])) {
14             define("context", $_REQUEST['context']);
15         } else {
16             define("context", "account");
17         }
18
19
20     // You must be logged on to view this!
21         protect(1);
22         
23         $title = run("profile:display:name") . " :: ". gettext("Manage user icons");
24         
25         $body = run("content:icons:manage");
26         $body .= run("icons:edit");
27         $body .= run("icons:add");
28         
29         $mainbody = run("templates:draw", array(
30                             'context' => 'contentholder',
31                             'title' => $title,
32                             'body' => $body
33                         )
34                         );
35                         
36         echo run("templates:draw:page", array(
37                     $title, $mainbody
38                 )
39                 );
40
41 ?>
Note: See TracBrowser for help on using the browser.