Changeset 5258
- Timestamp:
- 02/20/06 11:08:50 (2 years ago)
- Files:
-
- wp-dbmanager/trunk/dbmanager/database-backup.php (modified) (1 diff)
- wp-dbmanager/trunk/dbmanager/database-config.php (modified) (1 diff)
- wp-dbmanager/trunk/dbmanager/database-empty.php (modified) (1 diff)
- wp-dbmanager/trunk/dbmanager/database-manage.php (modified) (1 diff)
- wp-dbmanager/trunk/dbmanager/database-optimize.php (modified) (1 diff)
- wp-dbmanager/trunk/dbmanager/database-run.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
wp-dbmanager/trunk/dbmanager/database-backup.php
r5231 r5258 190 190 </tr> 191 191 <tr> 192 <td colspan="2" align="center"><input type="submit" name="do" value="Backup" class="button" /> <input type=" submit" name="cancel" Value="Cancel" class="button" /></td>192 <td colspan="2" align="center"><input type="submit" name="do" value="Backup" class="button" /> <input type="button" name="cancel" Value="<?php _e('Cancel'); ?>" class="button" onclick="javascript:history.go(-1)" /></td> 193 193 </tr> 194 194 </table> wp-dbmanager/trunk/dbmanager/database-config.php
r5192 r5258 33 33 $backup['mysqlpath'] = $backup_options['mysqlpath']; 34 34 $backup['path'] = $backup_options['path']; 35 36 37 ### Cancel38 if(isset($_POST['cancel'])) {39 Header('Location: '.$base_page);40 exit();41 }42 35 43 36 wp-dbmanager/trunk/dbmanager/database-empty.php
r5192 r5258 91 91 </tr> 92 92 <tr> 93 <td colspan="3" align="center"><input type="submit" name="do" value="Empty/Drop" class="button" onclick="return confirm('You Are About To Empty Or Drop The Selected Databases.\nThis Action Is Not Reversible.\n\n Choose \'Cancel\' to stop, \'OK\' to delete.')" /> <input type=" submit" name="cancel" Value="Cancel" class="button" /></td>93 <td colspan="3" align="center"><input type="submit" name="do" value="Empty/Drop" class="button" onclick="return confirm('You Are About To Empty Or Drop The Selected Databases.\nThis Action Is Not Reversible.\n\n Choose \'Cancel\' to stop, \'OK\' to delete.')" /> <input type="button" name="cancel" Value="<?php _e('Cancel'); ?>" class="button" onclick="javascript:history.go(-1)" /></td> 94 94 </tr> 95 95 </table> wp-dbmanager/trunk/dbmanager/database-manage.php
r5192 r5258 201 201 </tr> 202 202 <tr> 203 <td colspan="5" align="center"><input type="submit" name="do" value="Download" class="button" /> <input type="submit" class="button" name="do" value="Restore" onclick="return confirm('You Are About To Restore A Database.\nThis Action Is Not Reversible.\nAny Data Inserted After The Backup Date Will Be Gone.\n\n Choose \'Cancel\' to stop, \'OK\' to restore.')" class="button" /> <input type="submit" class="button" name="do" value="Delete" onclick="return confirm('You Are About To Delete The Selected Database Backup Files.\nThis Action Is Not Reversible.\n\n Choose \'Cancel\' to stop, \'OK\' to delete.')" /> <input type=" submit" name="cancel" Value="Cancel" class="button" /></td>203 <td colspan="5" align="center"><input type="submit" name="do" value="Download" class="button" /> <input type="submit" class="button" name="do" value="Restore" onclick="return confirm('You Are About To Restore A Database.\nThis Action Is Not Reversible.\nAny Data Inserted After The Backup Date Will Be Gone.\n\n Choose \'Cancel\' to stop, \'OK\' to restore.')" class="button" /> <input type="submit" class="button" name="do" value="Delete" onclick="return confirm('You Are About To Delete The Selected Database Backup Files.\nThis Action Is Not Reversible.\n\n Choose \'Cancel\' to stop, \'OK\' to delete.')" /> <input type="button" name="cancel" Value="<?php _e('Cancel'); ?>" class="button" onclick="javascript:history.go(-1)" /></td> 204 204 </tr> 205 205 </table> wp-dbmanager/trunk/dbmanager/database-optimize.php
r5192 r5258 84 84 </tr> 85 85 <tr> 86 <td colspan="2" align="center"><input type="submit" name="do" value="Optimize" class="button" /> <input type=" submit" name="cancel" Value="Cancel" class="button" /></td>86 <td colspan="2" align="center"><input type="submit" name="do" value="Optimize" class="button" /> <input type="button" name="cancel" Value="<?php _e('Cancel'); ?>" class="button" onclick="javascript:history.go(-1)" /></td> 87 87 </tr> 88 88 </table> wp-dbmanager/trunk/dbmanager/database-run.php
r5192 r5258 74 74 <p><b>Seperate Multiple Queries With A New Line</b><br /><font color="green">Use Only INSERT, UPDATE, REPLACE, DELETE, CREATE and ALTER statements.</font></p> 75 75 <p align="center"><textarea cols="150" rows="30" name="sql_query"></textarea></p> 76 <p align="center"><input type="submit" name="do" Value="Run" class="button" /> <input type=" submit" name="cancel" Value="Cancel" class="button" /></p>76 <p align="center"><input type="submit" name="do" Value="Run" class="button" /> <input type="button" name="cancel" Value="<?php _e('Cancel'); ?>" class="button" onclick="javascript:history.go(-1)" /></p> 77 77 <p>1. CREATE statement will return an error, which is perfectly normal due to the database class. To confirm that your table has been created check the Manage Database page.<br />2. UPDATE statement may return an error sometimes due to the newly updated value being the same as the previous value.<br />3. ALTER statement will return an error because there is no value returned.</font></p> 78 78 </form>
