Changeset 1612
- Timestamp:
- 11/25/2006 09:51:15 AM (2 years ago)
- Files:
-
- 1 modified
-
trunk/admin/update.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/update.php
r1608 r1612 16 16 dieses Plugins ist nicht notwendig.</p> 17 17 <form action='' method='post'> 18 <p>Admin-Passwort: <input type='text' name='password' /></p> 18 19 <p><input type='submit' name='update' value='Update durchführen' /></p> 19 20 </form>"; 20 21 21 if(isset($_POST['update']) ) {22 if(isset($_POST['update']) AND md5($_POST['password']) == JLOG_ADMIN_PASSWORD) { 22 23 // Slashs in categorie URLs are no longer supported, therefore we are going 23 24 // to replace all slashs in existings categories with an underline. … … 35 36 $c['main'] .= "<p>Update erfolgreich verlaufen. <a href='../'>Viel Spaß!</a></p>"; 36 37 } 38 elseif(isset($_POST['update'])) { 39 $c['main'] .= error_output(array("Das Passwort ist leider falsch.")) . $form; 40 } 37 41 else { 38 42 $c['main'] .= $form;
