[Vtigercrm-commits] [vtiger-commits] r9327 - /vtigercrm/trunk/modules/Settings/BackupServerConfig.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Thu Sep 7 03:12:31 EDT 2006


Author: richie
Date: Thu Sep  7 01:12:20 2006
New Revision: 9327

Log:
Enable disable added for backup config--Jeri

Modified:
    vtigercrm/trunk/modules/Settings/BackupServerConfig.php

Modified: vtigercrm/trunk/modules/Settings/BackupServerConfig.php
==============================================================================
--- vtigercrm/trunk/modules/Settings/BackupServerConfig.php (original)
+++ vtigercrm/trunk/modules/Settings/BackupServerConfig.php Thu Sep  7 01:12:20 2006
@@ -9,10 +9,11 @@
 *
  ********************************************************************************/
 
+require_once('user_privileges/enable_backup.php');
 require_once('Smarty_setup.php');
 
 global $mod_strings;
-global $app_strings;
+global $app_strings, $enable_backup;
 global $app_list_strings;
 global $adb;
 global $theme;
@@ -55,6 +56,13 @@
 $smarty->assign("APP", $app_strings);
 $smarty->assign("CMOD", $mod_strings);
 
+if($enable_backup == 'true')	
+	$backup_status = 'enabled';
+else
+	$backup_status = 'disabled';
+
+$smarty->assign("BACKUP_STATUS", $backup_status);
+
 if($_REQUEST['ajax'] == 'true')
 	$smarty->display("Settings/BackupServerContents.tpl");
 else





More information about the vtigercrm-commits mailing list