Ignore:
Timestamp:
Oct 13, 2008, 8:01:02 PM (16 years ago)
Author:
maron
Message:

Přihlášení

Location:
branches/3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/3

    • Property svn:ignore set to
      config.php
  • branches/3/functions.php

    r27 r28  
    33  function ShowHeader()
    44  { // BEGIN function ShowHeader
    5     global $Config,$menu,$User;
    6         echo '<?xml version="1.0" encoding="'.$Config['Charset'].'"?>
     5    global $Config,$menu,$user;
     6        echo '<?xml version="1.0" encoding="'.$Config['Charset'].'"?'.'>
    77    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    88    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
     
    3030       
    3131          echo '</ul>';
     32          if ($user->Permission() > 0) {
     33            echo $user->Role();
     34          } else {
     35            $user->WriteLogin();
     36          }
    3237          echo '
    3338        </div>
    3439      </div>
    3540';
    36 
    3741  } // END function ShowHeader
    3842
Note: See TracChangeset for help on using the changeset viewer.