Changeset 637 for trunk/Modules/Referrer
- Timestamp:
- Dec 11, 2013, 1:44:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Referrer/Referrer.php
r636 r637 67 67 'class="banner" height="31" width="88" /></a>'; 68 68 69 $Output = '<strong> Bannery:</strong><br />';69 $Output = '<strong>'.T('Banners').':</strong><br />'; 70 70 71 71 $Output .= $Banner.' <textarea rows="2" cols="30">'.htmlspecialchars($Banner).'</textarea><br />'; … … 74 74 $MonthAge = 3; 75 75 $YesNo = array('Ne', 'Ano'); 76 $Output .= '<br/><strong> Servery odkazující na nás:</strong> <br />76 $Output .= '<br/><strong>'.T('Servers referring to us').':</strong> <br /> 77 77 <div style="font-size: 10px;">Seznam je automaticky aktualizován a zobrazeny jsou servery, ze kterých přišli uživatelé během posledních třech měsíců řazený sestupně dle nejnovějších.</div><br />'; 78 78 … … 97 97 98 98 $TableColumns = array( 99 array('Name' => 'Web', 'Title' => 'Adresa'),100 array('Name' => 'MaxDateLast', 'Title' => 'Naposledy'),101 array('Name' => 'TotalHits', 'Title' => 'Příchodů'),99 array('Name' => 'Web', 'Title' => T('Address')), 100 array('Name' => 'MaxDateLast', 'Title' => T('Last visit')), 101 array('Name' => 'TotalHits', 'Title' => T('Hits')), 102 102 ); 103 103 if($this->System->User->Licence(LICENCE_ADMIN)) 104 104 { 105 $TableColumns[] = array('Name' => 'Show', 'Title' => 'Viditelné');106 $TableColumns[] = array('Name' => 'Parent', 'Title' => 'Rodič');107 $TableColumns[] = array('Name' => 'Description', 'Title' => 'Komentář');108 $TableColumns[] = array('Name' => 'Action', 'Title' => 'Akce');105 $TableColumns[] = array('Name' => 'Show', 'Title' => T('Visible')); 106 $TableColumns[] = array('Name' => 'Parent', 'Title' => T('Parent')); 107 $TableColumns[] = array('Name' => 'Description', 'Title' => T('Comment')); 108 $TableColumns[] = array('Name' => 'Action', 'Title' => T('Actions')); 109 109 } 110 110 $Order = GetOrderTableHeader($TableColumns, 'MaxDateLast', 1); … … 125 125 '<td>'.$Line['ParentName'].'</td>'. 126 126 '<td>'.$Line['Description'].'</td>'. 127 '<td><a href="?action=edit&id='.$Line['Id'].'"> Upravit</a></td>';127 '<td><a href="?action=edit&id='.$Line['Id'].'">'.T('Modify').'</a></td>'; 128 128 } 129 129 $Output .= '</tr>'; … … 167 167 else $Show = ''; 168 168 $Output = '<form action="?action=editsave&id='.$_GET['id'].'" method="post"><table>'. 169 '<tr><td> Web</td><td>'.$Item['Web'].'</td></tr>'.170 '<tr><td> Viditelné</td><td><input type="checkbox" name="Show" '.$Show.'/></td></tr>'.171 '<tr><td> Popis</td><td><input type="text" name="Description" value="'.$Item['Description'].'"/></td></tr>'.172 '<tr><td> Nadřazená položka</td><td>'.$this->SelectParentItem($Item['Parent'], $Item['Id']).'</td></tr>'.169 '<tr><td>'.T('Web').'</td><td>'.$Item['Web'].'</td></tr>'. 170 '<tr><td>'.T('Visible').'</td><td><input type="checkbox" name="Show" '.$Show.'/></td></tr>'. 171 '<tr><td>'.T('Description').'</td><td><input type="text" name="Description" value="'.$Item['Description'].'"/></td></tr>'. 172 '<tr><td>'.T('Parent item').'</td><td>'.$this->SelectParentItem($Item['Parent'], $Item['Id']).'</td></tr>'. 173 173 '<tr><td colspan="2"><input type="submit" value="Uložit"/></td></tr></table></form>'; 174 } else $Output = ShowMessage( 'Položka nenalezena', MESSAGE_CRITICAL);175 } else $Output = ShowMessage( 'Položka nezadána', MESSAGE_CRITICAL);174 } else $Output = ShowMessage(T('Item not found'), MESSAGE_CRITICAL); 175 } else $Output = ShowMessage(T('Item not specified'), MESSAGE_CRITICAL); 176 176 } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL); 177 177 return($Output); … … 188 188 'Parent' => $_POST['Parent'], 'Description' => $_POST['Description'])); 189 189 $_SERVER['QUERY_STRING'] = ''; 190 $Output = ShowMessage( 'Nastavení uloženo');190 $Output = ShowMessage(T('Settings saved')); 191 191 $Output .= $this->ShowList(); 192 192 } else $Output = ShowMessage(T('Access denied'), MESSAGE_CRITICAL);
Note:
See TracChangeset
for help on using the changeset viewer.