Changeset 738 for trunk/Modules/User/UserPage.php
- Timestamp:
- Apr 14, 2015, 10:20:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/User/UserPage.php
r694 r738 54 54 if($this->System->User->User['Id'] != null) 55 55 { 56 57 58 59 60 61 62 63 64 56 $Actions = ''; 57 foreach($this->System->ModuleManager->Modules['User']->UserPanel as $Action) 58 { 59 if(is_string($Action[0])) 60 { 61 $Class = new $Action[0]($this->System); 62 $Actions .= $Class->$Action[1](); 63 } else $Actions .= call_user_func($Action).'<br/>'; 64 } 65 65 $Output .= '<div class="Centred"><table id="MainTable"><tr><td style="vertical-align:top;">'; 66 66 $Output .= $this->Panel('Nabídka uživatele', $Actions); … … 83 83 } 84 84 85 86 87 85 function Show() 86 { 87 $Output = ''; 88 88 if(array_key_exists('Action', $_GET)) 89 89 { … … 209 209 } else $Output = $this->ShowMain(); 210 210 return($Output); 211 212 213 214 215 216 217 211 } 212 213 function ShowMain() 214 { 215 $Output = 'Nebyla vybrána akce'; 216 return($Output); 217 } 218 218 }
Note:
See TracChangeset
for help on using the changeset viewer.