root/releases/0.301/_weblog/edit.php

Revision 11, 0.6 kB (checked in by sven, 3 years ago)

snapshot of elgg 0.301

Line 
1 <?php
2
3     //    ELGG weblog edit / add post page
4
5     // Run includes
6         require("../includes.php");
7         
8         run("weblogs:init");
9         run("profile:init");
10         run("friends:init");
11         
12         define("context", "weblog");
13         
14         $title = run("profile:display:name") . " :: " . gettext("Blog");
15         
16         $body = run("content:weblogs:edit");
17         $body .= run("weblogs:edit");
18
19         $body = run("templates:draw", array(
20                         'context' => 'contentholder',
21                         'title' => $title,
22                         'body' => $body
23                     )
24                     );
25         
26         echo run("templates:draw:page", array(
27                     $title, $body
28                 )
29                 );
30                     
31 ?>
Note: See TracBrowser for help on using the browser.