Legend:
- Unmodified
- Added
- Removed
-
admin.php
r14 r28 26 26 global $Database; 27 27 $Table = array( 28 'Header' => array('Název veli èiny', 'Operace'),28 'Header' => array('Název veličiny', 'Operace'), 29 29 'Rows' => array(), 30 30 ); … … 33 33 while($Measure = $Result->fetch_array()) 34 34 { 35 array_push($Table['Rows'], array($Measure['Description'], MakeLink('?Operation=Edit&MeasureId='.$Measure['Id'], 'Editovat').' '.MakeLink('?Operation=Delete&MeasureId='.$Measure['Id'], 'Odstranit').' '.MakeLink('?Operation=RebuildCache&MeasureId='.$Measure['Id'], 'P øestavìt cache')));35 array_push($Table['Rows'], array($Measure['Description'], MakeLink('?Operation=Edit&MeasureId='.$Measure['Id'], 'Editovat').' '.MakeLink('?Operation=Delete&MeasureId='.$Measure['Id'], 'Odstranit').' '.MakeLink('?Operation=RebuildCache&MeasureId='.$Measure['Id'], 'Přestavět cache'))); 36 36 } 37 $Output = '<h3>Seznam m ìøení</h3>'.Table($Table).MakeLink('?Operation=Add', 'Pøidat');37 $Output = '<h3>Seznam měření</h3>'.Table($Table).MakeLink('?Operation=Add', 'Přidat'); 38 38 return($Output); 39 39 } … … 58 58 { 59 59 global $Database; 60 echo("Vytva øím novou cache...<br>");60 echo("Vytvařím novou cache...<br>"); 61 61 $DbResult = $Database->select('measure', '*', 'Id='.addslashes($_GET['MeasureId'])); 62 62 $Measure = $DbResult->fetch_array(); 63 63 64 64 RebuildMeasureCache($Measure); 65 echo('Dokon èeno<br>');65 echo('Dokončeno<br>'); 66 66 } 67 67
Note:
See TracChangeset
for help on using the changeset viewer.