Changeset 507 for trunk/action.php
- Timestamp:
- Feb 15, 2013, 10:12:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/action.php
r505 r507 269 269 270 270 $Output = '<h3>Novinky</h3>'.$PageList['Output']; 271 if($User->Licence(LICENCE_ USER)) $Output .= ' <a href="admin.php?action=addnew">Vložit</a>';271 if($User->Licence(LICENCE_ADMIN)) $Output .= ' <a href="admin/?action=addnew">Vložit</a>'; 272 272 $Output .= '<div class="shoutbox">'; 273 273 $DbResult = $System->Database->query('SELECT `News`.`Time`, `News`.`Text`, `User`.`Name` AS `User` FROM `News` JOIN `User` ON `User`.`Id`=`News`.`User` ORDER BY `News`.`Time` DESC '.$PageList['SQLLimit']); … … 278 278 } 279 279 280 $GroupId = LoadGroupIdParameter(); 281 $Table = $TranslationTree[$GroupId]['TablePrefix']; 280 if(array_key_exists('group', $_GET)) $GroupId = LoadGroupIdParameter(); 281 else $GroupId = 1; 282 //$Table = $TranslationTree[$GroupId]['TablePrefix']; 282 283 $Action = ''; 283 284 if(array_key_exists('action', $_GET)) $Action = $_GET['action'];
Note:
See TracChangeset
for help on using the changeset viewer.