Upload new themes (insert into elgg.sql and upgrade.sql) with associated images
[elgg.git] / _icons / index.php
blob5b6a30952572562b1864cd00e3b0b7a1a5661492
1 <?php
3 // ELGG manage icons page
5 // Run includes
6 require("../includes.php");
8 // Initialise functions for user details, icon management and profile management
9 run("userdetails:init");
10 run("profile:init");
11 run("icons:init");
13 if (isset($_REQUEST['context'])) {
14 define("context", $_REQUEST['context']);
15 } else {
16 define("context", "account");
20 // You must be logged on to view this!
21 protect(1);
23 $title = run("profile:display:name") . " :: ". gettext("Manage user icons");
25 $body = run("content:icons:manage");
26 $body .= run("icons:edit");
27 $body .= run("icons:add");
29 $mainbody = run("templates:draw", array(
30 'context' => 'contentholder',
31 'title' => $title,
32 'body' => $body
36 echo run("templates:draw:page", array(
37 $title, $mainbody