Changeset 569 for trunk/Modules/Dictionary/Dictionary.php
- Timestamp:
- Aug 21, 2013, 9:49:36 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Dictionary/Dictionary.php
r557 r569 16 16 function Start() 17 17 { 18 $this->System->RegisterPage('dictionary .php', 'PageDictionary');18 $this->System->RegisterPage('dictionary', 'PageDictionary'); 19 19 $this->System->RegisterMenuItem(array( 20 20 'Name' => 'Dictionary', 21 21 'Title' => 'Slovníček', 22 22 'Hint' => 'Slovník WoW výrazů', 23 'Link' => $this->System->Link('/dictionary .php'),23 'Link' => $this->System->Link('/dictionary/'), 24 24 'Permission' => LICENCE_ANONYMOUS, 25 25 'Icon' => '', … … 81 81 if($User->Licence(LICENCE_USER)) 82 82 { 83 $Output .= '<form action=" dictionary.php?action=save" method="post">'.83 $Output .= '<form action="?action=save" method="post">'. 84 84 '<fieldset><legend>Vložení nového slova</legend>'. 85 85 '<table><tr><td>'. … … 161 161 'AND (`Entry`='.$DbRow['Entry'].') AND (`Language`= '.$Config['OriginalLanguage'].')'); 162 162 $DbRow2 = $DbResult->fetch_assoc(); 163 $Output = '<form action=" dictionary.php?action=save" method="post">'.163 $Output = '<form action="?action=save" method="post">'. 164 164 '<fieldset><legend>Upravení slova</legend>'. 165 165 '<input type="hidden" name="id" value="'.$_GET['id'].'"/>'. … … 213 213 global $User, $LanguageList, $Config; 214 214 215 $Output = '<form action=" dictionary.php" method="get" style="margin: 0px; padding: 0px;">'.215 $Output = '<form action="?" method="get" style="margin: 0px; padding: 0px;">'. 216 216 '<table style="width: 100%; height: 100%;">'; 217 217 … … 222 222 <input type="text" value="'.$Search.'" name="search" size="30" /> 223 223 <input type="submit" value="Vyhledat" />'; 224 if($User->Licence(LICENCE_USER)) $Output .= ' <a href=" dictionary.php?action=insert">Vložit slovo</a>';224 if($User->Licence(LICENCE_USER)) $Output .= ' <a href="?action=insert">Vložit slovo</a>'; 225 225 226 226 $Output .= '</td></tr>'.
Note:
See TracChangeset
for help on using the changeset viewer.