root/devel-backup/units/profile/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 == "profile" && $page_owner == $_SESSION['userid']) {   
6
7         $run_result .= run("templates:draw", array(
8                             'context' => 'selectedmenuitem',
9                             'name' => gettext("Your Profile"),
10                             'location' => url . $_SESSION['username'] . '/'
11                         )
12                         );
13     } else {
14         
15         $run_result .= run("templates:draw", array(
16                             'context' => 'menuitem',
17                             'name' => gettext("Your Profile"),
18                             'location' => url . $_SESSION['username'] . '/'
19                         )
20                         );
21         
22     }
23
24 ?>
Note: See TracBrowser for help on using the browser.