Changeset 5258

Show
Ignore:
Timestamp:
02/20/06 11:08:50 (2 years ago)
Author:
GamerZ
Message:

Fixed Cancel Button

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • wp-dbmanager/trunk/dbmanager/database-backup.php

    r5231 r5258  
    190190            </tr> 
    191191            <tr> 
    192                   <td colspan="2" align="center"><input type="submit" name="do" value="Backup" class="button" />&nbsp;&nbsp;<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" />&nbsp;&nbsp;<input type="button" name="cancel" Value="<?php _e('Cancel'); ?>" class="button" onclick="javascript:history.go(-1)" /></td> 
    193193            </tr> 
    194194      </table> 
  • wp-dbmanager/trunk/dbmanager/database-config.php

    r5192 r5258  
    3333$backup['mysqlpath'] = $backup_options['mysqlpath']; 
    3434$backup['path'] = $backup_options['path']; 
    35  
    36  
    37 ### Cancel 
    38 if(isset($_POST['cancel'])) { 
    39       Header('Location: '.$base_page); 
    40       exit(); 
    41 } 
    4235 
    4336 
  • wp-dbmanager/trunk/dbmanager/database-empty.php

    r5192 r5258  
    9191                  </tr> 
    9292                  <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.')" />&nbsp;&nbsp;<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.')" />&nbsp;&nbsp;<input type="button" name="cancel" Value="<?php _e('Cancel'); ?>" class="button" onclick="javascript:history.go(-1)" /></td> 
    9494                  </tr> 
    9595            </table> 
  • wp-dbmanager/trunk/dbmanager/database-manage.php

    r5192 r5258  
    201201                  </tr> 
    202202                  <tr> 
    203                         <td colspan="5" align="center"><input type="submit" name="do" value="Download" class="button" />&nbsp;&nbsp;<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" />&nbsp;&nbsp;<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.')" />&nbsp;&nbsp;<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" />&nbsp;&nbsp;<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" />&nbsp;&nbsp;<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.')" />&nbsp;&nbsp;<input type="button" name="cancel" Value="<?php _e('Cancel'); ?>" class="button" onclick="javascript:history.go(-1)" /></td> 
    204204                  </tr>                          
    205205            </table> 
  • wp-dbmanager/trunk/dbmanager/database-optimize.php

    r5192 r5258  
    8484                  </tr> 
    8585                  <tr> 
    86                         <td colspan="2" align="center"><input type="submit" name="do" value="Optimize" class="button" />&nbsp;&nbsp;<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" />&nbsp;&nbsp;<input type="button" name="cancel" Value="<?php _e('Cancel'); ?>" class="button" onclick="javascript:history.go(-1)" /></td> 
    8787                  </tr> 
    8888            </table> 
  • wp-dbmanager/trunk/dbmanager/database-run.php

    r5192 r5258  
    7474            <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> 
    7575            <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" />&nbsp;&nbsp;<input type="submit" name="cancel" Value="Cancel" class="button" /></p> 
     76            <p align="center"><input type="submit" name="do" Value="Run" class="button" />&nbsp;&nbsp;<input type="button" name="cancel" Value="<?php _e('Cancel'); ?>" class="button" onclick="javascript:history.go(-1)" /></p> 
    7777            <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> 
    7878      </form>