Changeset 244
- Timestamp:
- Jan 17, 2008, 7:24:33 PM (17 years ago)
- Location:
- quests
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
quests/TODO.txt
r243 r244 18 18 - Rozdìlení pomocí ras 19 19 - import 20 - jiné texty ne questy 20 - u slovníku pouze ruit odkaz, ne na pozadí 21 - jiné texty ne questy - hlavní texty 22 (npc_text, page_text, quest_end_scripts, quest_start_scripts) -
quests/export.php
r243 r244 35 35 $AddObjectiveText4 = @$_POST['AddObjectiveText4']; 36 36 37 if (($Export == 'Mangos') and (Licence( 1) == False)) {die('Nemáte oprávnìní');}37 if (($Export == 'Mangos') and (Licence(2) == False)) {die('Nemáte oprávnìní');} 38 38 39 39 … … 177 177 <input type="radio" name="Export" value="Display"> Export zobrazit<br> 178 178 <?php 179 if (Licence( 1)) {180 echo '<input type="radio" name="Export" value="Mangos"> Import na server <br>';179 if (Licence(2)) { 180 echo '<input type="radio" name="Export" value="Mangos"> Import na server (Admin only)<br>'; 181 181 } 182 182 ?> … … 201 201 ?> 202 202 203 </select><br> Exportovat pouze od tìchto u¾ivatalù 203 </select><br> Exportovat pouze od tìchto u¾ivatalù<br> 204 Vybrat více u¾ivatelù mù¾ete pomocí CTRL+click 204 205 205 206 -
quests/form.php
r243 r244 39 39 40 40 if (Licence(1) and $Line['Language'] <> 0) { 41 echo '<input type="submit" value="Opravit" name="Repair" Title="Opravit po u¾ivateli chyby ( jenom pro GM)">';41 echo '<input type="submit" value="Opravit" name="Repair" Title="Opravit po u¾ivateli chyby (Moderator only)">'; 42 42 } 43 43 if (Licence(1) and ($Line['Language'] <> 0)) { … … 45 45 46 46 echo ' <input type="hidden" name="UserRepair" value="'.$Line['User'].'">'; 47 echo ' <a style="color: Red" title="smazat ( jenom pro GM)" href="action.php?delete=1&ID='.$QuestID.'">x</a>48 <a style="color: Red" title="Není hotovo ( jenom pro GM)" href="action.php?NotComplete=1&ID='.$QuestID.'"><-</a>47 echo ' <a style="color: Red" title="smazat (Moderator only)" href="action.php?delete=1&ID='.$QuestID.'">x</a> 48 <a style="color: Red" title="Není hotovo (Moderator only)" href="action.php?NotComplete=1&ID='.$QuestID.'"><-</a> 49 49 50 50 '; -
quests/includes/global.php
r240 r244 78 78 } 79 79 80 if (Licence( 1)) {80 if (Licence(2)) { 81 81 // echo 'Administrace:'; 82 echo '<a href="priorite.php" Title="Naètení priority questù ( Moderatoronly)">Priorita</a><br />';83 echo '<a href="log.php" Title="Log dìní ( Moderatoronly)">Log</a><br />82 echo '<a href="priorite.php" Title="Naètení priority questù (Admin only)">Priorita</a><br />'; 83 echo '<a href="log.php" Title="Log dìní (Admin only)">Log</a><br /> 84 84 <br />'; 85 85 } … … 107 107 } 108 108 echo 'Online u¾ivatelé:<br />'; 109 $ID = $Database->SQLCommand("SELECT user FROM `user` WHERE LastLogin >= Now()-300"); 110 while ($Line = mysql_fetch_array($ID)) 111 echo '<b>'.$Line['user'].'</b><br />'; 109 $ID = $Database->SQLCommand("SELECT user,GM FROM `user` WHERE LastLogin >= Now()-300"); 110 while ($Line = mysql_fetch_array($ID)) { 111 $TextGM = ' ('.$Moderators[$Line['GM']].')'; 112 echo '<b>'.$Line['user'].'</b>'.$TextGM.'<br />'; 113 } 112 114 113 115 -
quests/includes/global_function.php
r240 r244 12 12 return false; 13 13 } else { 14 if ($Licence == 1) { 15 if ($Line['gm'] == 1) { 14 if ($Licence <= $Line['gm']) { 16 15 return true; 17 } else return false; 18 } 16 } else return false; 19 17 If ($Line['pass'] == $Pass) { 20 18 … … 58 56 ); 59 57 58 $Moderators = array( 59 '0' => 'pøekladatel', 60 '1' => 'moderátor', 61 '2' => 'administrátor', 62 ); 63 60 64 function WriteLog($Text, $Type) 61 65 { // BEGIN function Log
Note:
See TracChangeset
for help on using the changeset viewer.