3 // ELGG template edit page
6 require_once(dirname(dirname(__FILE__
))."/includes.php");
11 run("templates:init");
13 define("context", "account");
14 templates_page_setup();
15 $title = run("profile:display:name") . " :: " . __gettext("Template Edit");
17 $body = run("content:templates:edit");
19 $id = optional_param('id',0,PARAM_INT
);
21 $body .= run("templates:edit",$id);
23 $body = run("templates:edit");
26 $body = templates_draw(array(
27 'context' => 'contentholder',
33 echo templates_page_draw( array(