Changeset 10647
- Timestamp:
- 12/01/10 08:47:38 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/bootstrap-2.9/backup/functions.inc.php
r9888 r10647 419 419 $opts=Get_Backup_Options($id); 420 420 } 421 $files =($opts['include']||$opts['exclude']);422 $ftp =($opts['ftpuser']||$opts['ftppass']||$opts['ftphost']||$opts['ftpdir']);423 $ssh =($opts['sshuser']||$opts['sshkey']||$opts['sshhost']||$opts['sshdir']);424 $email =($opts['emailaddr']);425 $remote =($opts['remotesshhost']||$opts['remotesshuser']||$opts['remotesshkey']||$opts['remoterestore']);426 $advanced =($amp_conf['AMPBACKUPADVANCED']||$opts['sudo']);421 $files = ($opts['include'] || $opts['exclude']); 422 $ftp = ($opts['ftpuser'] || $opts['ftppass'] || $opts['ftphost'] || $opts['ftpdir']); 423 $ssh = ($opts['sshuser'] || $opts['sshkey'] || $opts['sshhost'] || $opts['sshdir']); 424 $email = ($opts['emailaddr']); 425 $remote = ($opts['remotesshhost'] || $opts['remotesshuser'] || $opts['remotesshkey'] || $opts['remoterestore']); 426 $advanced = ($amp_conf['AMPBACKUPADVANCED'] || $opts['sudo']); 427 427 ?> 428 428 <style type="text/css"> … … 477 477 <td><input type="checkbox" name="cdr" value="yes" <?php echo ($opts['cdr']=='yes')?'checked':''; ?>/></td> 478 478 </tr> 479 <?php //dont shoe FOP back option if FOP is disabled 480 if ($amp_conf['FOPDISABLE'] != 'true') { ?> 479 481 <tr> 480 482 <td><a href="#" class="info"><?php echo _("Operator Panel");?><span><?php echo _("Backup the Operator Panel (HTML and Database)");?></span></a>: </td> 481 483 <td><input type="checkbox" name="fop" value="yes" <?php echo ($opts['fop']=='yes')?'checked':''; ?>/></td> 482 484 </tr> 485 <?php } ?> 483 486 <tr> 484 487 <td><a href="#" class="info"><?php echo _("Overwrite Backup Settings");?><span><?php echo _("When restoring the backup, if this option is selected, all saved backups and their schedules will be overwriten. Leaving this unchecked will restore all other configurations EXCEPT for those related to backup. When doing a remote backup and restore, this option is always forced to no.");?></span></a>: </td>
