root/releases/0.6rc2/_weblog/edit.php

Revision 296, 0.8 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 weblog edit / add post page
4
5     // Run includes
6         require_once(dirname(dirname(__FILE__))."/includes.php");
7         
8         run("weblogs:init");
9         run("profile:init");
10         run("friends:init");
11         
12         define("context", "weblog");
13         templates_page_setup();
14         
15         $title = run("profile:display:name") . " :: " . gettext("Blog");
16         
17         $body = run("content:weblogs:edit");
18         $body .= run("weblogs:edit");
19
20         $body = templates_draw(array(
21                         'context' => 'contentholder',
22                         'title' => $title,
23                         'body' => $body
24                     )
25                     );
26         
27         echo templates_page_draw( array(
28                     $title, $body
29                 )
30                 );
31                     
32 ?>
Note: See TracBrowser for help on using the browser.