root/releases/0.6rc2/_icons/index.php

Revision 296, 1.0 kB (checked in by carmartin, 3 years ago)

Includes should use full path given that we know where things are. Patch 1.

  • Property svn:eol-style set to native
Line 
1 <?php
2
3 //    ELGG manage icons page
4
5 // Run includes
6 require_once(dirname(dirname(__FILE__))."/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 $context = optional_param('context','account');
14 define('context',$context);
15
16 // You must be logged on to view this!
17 protect(1);
18 templates_page_setup();
19
20 $title = run("profile:display:name") . " :: ". gettext("Manage user icons");
21
22 $body = run("content:icons:manage");
23 $body .= run("icons:edit");
24 $body .= run("icons:add");
25
26 $mainbody = templates_draw(array(
27                                  'context' => 'contentholder',
28                                  'title' => $title,
29                                  'body' => $body
30                                  )
31                            );
32                           
33 echo templates_page_draw( array(
34                                       $title, $mainbody
35                                       )
36          );
37                                     
38 ?>
Note: See TracBrowser for help on using the browser.