root/devel-backup/units/weblogs/menu_main.php

Revision 45, 0.5 kB (checked in by sven, 3 years ago)

dos2unix to clean line endings, set svn property eol-style native, some whitespace homogenisation

  • Property svn:eol-style set to native
Line 
1 <?php
2
3     global $page_owner;
4
5     if (context == "weblog" && $page_owner == $_SESSION['userid']) {
6
7         $run_result .= run("templates:draw", array(
8                             'context' => 'selectedmenuitem',
9                             'name' => gettext("Your Blog"),
10                             'location' => url . $_SESSION['username'] . '/weblog/'
11                         )
12                         );
13     } else {
14         $run_result .= run("templates:draw", array(
15                             'context' => 'menuitem',
16                             'name' => gettext("Your Blog"),
17                             'location' => url . $_SESSION['username'] . '/weblog/'
18                         )
19                         );
20     }
21                     
22 ?>
Note: See TracBrowser for help on using the browser.