Changeset 842
- Timestamp:
- Jan 12, 2016, 10:55:07 PM (9 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Import/Manage.php
r817 r842 77 77 if($Group['LuaFileName'] != '') $Output .= $Group['LuaFileName'].'.lua '; 78 78 $Output .= '</td>'. 79 '<td><a title="Změny po posledním importu u vybrané překladové skupiny" href="../log .php?group='.$Group['Id'].'&type=11">'.HumanDate($Group['LastImport']).'</a></td>'.79 '<td><a title="Změny po posledním importu u vybrané překladové skupiny" href="../log/?group='.$Group['Id'].'&type=11">'.HumanDate($Group['LastImport']).'</a></td>'. 80 80 '<td><a href="'.$this->System->Link('/client-version/?action=item&id='. 81 81 GetVersionWOWId($Group['LastVersion'])).'">'.GetVersionWOW($Group['LastVersion']).'</a></td>'. -
trunk/Modules/Log/Log.php
r838 r842 20 20 function DoStart() 21 21 { 22 $this->System->RegisterPage('log .php', 'PageLog');22 $this->System->RegisterPage('log', 'PageLog'); 23 23 $this->System->ModuleManager->Modules['Error']->OnError[] = array($this, 'DoAddItem'); 24 24 $this->System->ModuleManager->Modules['News']->RegisterRSS(array('Title' => T('Logs'), … … 91 91 ( 92 92 'Title' => $LogType['Name'].' ('.$Line['UserName'].', '.$Line['IP'].')', 93 'Link' => 'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/log .php'),93 'Link' => 'http://'.$this->System->Config['Web']['Host'].$this->System->Link('/log/'), 94 94 'Description' => $LogType['Name'].': '.$Line['Text'].' ('.$Line['UserName']. 95 95 ', '.$Line['IP'].', '.HumanDate($Line['Date']).')', … … 141 141 { 142 142 $Output = '<strong>Filtr:</strong>'; 143 $Item = '<a href=" log.php?type=" title="Bez filtrování">Všechny</a>';143 $Item = '<a href="'.$this->System->Link('/log/?type=').'" title="Bez filtrování">Všechny</a>'; 144 144 if($_SESSION['type'] == '') $Item = '<strong>'.$Item.'</strong>'; 145 145 $Output .= ' '.$Item; … … 147 147 while($LogType = $DbResult->fetch_assoc()) 148 148 { 149 $Item = '<a href="log.php?type='.$LogType['Id'].'" style="color:'.$LogType['Color'].'" title="'.$LogType['Name'].'">'.$LogType['Name'].'</a>'; 149 $Item = '<a href="'.$this->System->Link('/log/?type='.$LogType['Id']).'" style="color:'. 150 $LogType['Color'].'" title="'.$LogType['Name'].'">'.$LogType['Name'].'</a>'; 150 151 if($_SESSION['type'] == $LogType['Id']) $Item = '<strong>'.$Item.'</strong>'; 151 152 $Output .= ' '.$Item; … … 201 202 if($this->System->User->Licence(LICENCE_ADMIN)) 202 203 { 203 $Output .= '<div>Vymazat: <a href="'.$this->System->Link('/log .php?a=delerrlog&type='.LOG_TYPE_ERROR).'">Chybové záznamy</a> '.204 '<a href="'.$this->System->Link('/log .php?a=delerrlog&type='.LOG_TYPE_PAGE_NOT_FOUND).'">Neznámé stránky</a></div>';204 $Output .= '<div>Vymazat: <a href="'.$this->System->Link('/log/?a=delerrlog&type='.LOG_TYPE_ERROR).'">Chybové záznamy</a> '. 205 '<a href="'.$this->System->Link('/log/?a=delerrlog&type='.LOG_TYPE_PAGE_NOT_FOUND).'">Neznámé stránky</a></div>'; 205 206 } 206 207 } else $Output .= ShowMessage(T('Access denied'), MESSAGE_CRITICAL); -
trunk/Modules/Translation/Translation.php
r838 r842 35 35 'Channel' => 'translation', 'Callback' => array($this, 'ShowRSS'), 'Permission' => LICENCE_ANONYMOUS)); 36 36 $this->System->RegisterMenuItem(array( 37 38 39 40 41 37 'Title' => T('Completion status'), 38 'Hint' => 'Stav dokončení překládů', 39 'Link' => $this->System->Link('/progress/'), 40 'Permission' => LICENCE_ANONYMOUS, 41 'Icon' => '', 42 42 ), 1); 43 $this->System->RegisterMenuItem(array( 44 'Title' => T('Data source'), 45 'Hint' => 'Informace o překladových skupinách', 46 'Link' => $this->System->Link('/TranslationList.php?action=grouplist'), 47 'Permission' => LICENCE_ANONYMOUS, 48 'Icon' => '', 49 )); 43 50 if(array_key_exists('Search', $this->System->ModuleManager->Modules)) 44 51 { -
trunk/Modules/Translation/TranslationList.php
r837 r842 359 359 $Output .= '</td>'; 360 360 if($this->System->User->Licence(LICENCE_ADMIN)) 361 $Output .= '<td><a title="Změny po posledním importu u vybrané překladové skupiny" href=" log.php?group='.362 $Group['Id'].'&type=11 ">'.HumanDate($Group['LastImport']).'</a></td>';361 $Output .= '<td><a title="Změny po posledním importu u vybrané překladové skupiny" href="'.$this->System->Link('/log/?group='. 362 $Group['Id'].'&type=11').'">'.HumanDate($Group['LastImport']).'</a></td>'; 363 363 else $Output .= '<td>'.HumanDate($Group['LastImport']).'</td>'; 364 364 $Output .= '<td><a href="'.$this->System->Link('/client-version/?action=item&id='. … … 370 370 } 371 371 $Output .= '</table>'. 372 '<br /><a title="'.T('Changelog of changes after import').'" href=" log.php?type=11">'.T('Changelog of text modification during import').'</a><br/>';372 '<br /><a title="'.T('Changelog of changes after import').'" href="'.$this->System->Link('/log/?type=11').'">'.T('Changelog of text modification during import').'</a><br/>'; 373 373 if($this->System->User->Licence(LICENCE_ADMIN)) $Output .= '<a href="?action=groupadd">'.T('Add translation group').'</a>'; 374 374 return($Output); -
trunk/includes/Version.php
r841 r842 6 6 // and system will need database update. 7 7 8 $Revision = 84 1; // Subversion revision8 $Revision = 842; // Subversion revision 9 9 $DatabaseRevision = 811; // Database structure revision 10 10 $ReleaseTime = '2016-01-12'; -
trunk/includes/global.php
r838 r842 33 33 include_once(dirname(__FILE__).'/../Modules/Forum/Forum.php'); 34 34 include_once(dirname(__FILE__).'/../Modules/Redirection/Redirection.php'); 35 include_once(dirname(__FILE__).'/../Modules/Admin/Admin.php'); 35 36 36 37 -
trunk/includes/system.php
r841 r842 75 75 ), 76 76 array( 77 'Title' => T('Data source'),78 'Hint' => 'Informace o překladových skupinách',79 'Link' => $this->Link('/TranslationList.php?action=grouplist'),80 'Permission' => LICENCE_ANONYMOUS,81 'Icon' => '',82 ),83 array(84 77 'Title' => T('Presentation'), 85 78 'Hint' => 'Prezentace a motivace překladu', … … 93 86 'Link' => 'http://embed.mibbit.com/?server=game.zdechov.net%3A6667&channel=%23wowpreklad&forcePrompt=true&charset=utf-8', 94 87 'Permission' => LICENCE_ANONYMOUS, 95 'Icon' => '',96 ),97 array(98 'Title' => T('Administration'),99 'Hint' => 'Volby pro správu',100 'Link' => $this->Link('/admin/'),101 'Permission' => LICENCE_ADMIN,102 88 'Icon' => '', 103 89 ), … … 162 148 $this->ModuleManager->RegisterModule(new ModuleForum($this)); 163 149 $this->ModuleManager->RegisterModule(new ModuleRedirection($this)); 150 $this->ModuleManager->RegisterModule(new ModuleAdmin($this)); 164 151 $this->ModuleManager->FileName = dirname(__FILE__).'/../Config/ModulesConfig.php'; 165 152 // TODO: Allow control from web which modules should be installed
Note:
See TracChangeset
for help on using the changeset viewer.