pari: branch 2.0 r4161 - in /branches/2.0/config: backup.html js/backup.js

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Thu Nov 20 11:31:48 CST 2008


Author: pari
Date: Thu Nov 20 11:31:48 2008
New Revision: 4161

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=4161
Log:
minor layout changes to backup options


Modified:
    branches/2.0/config/backup.html
    branches/2.0/config/js/backup.js

Modified: branches/2.0/config/backup.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/backup.html?view=diff&rev=4161&r1=4160&r2=4161
==============================================================================
--- branches/2.0/config/backup.html (original)
+++ branches/2.0/config/backup.html Thu Nov 20 11:31:48 2008
@@ -101,8 +101,13 @@
 		</tr>
 		
 		<tr class='AA50only'>	<td colspan=2 align=center height=6></td>	</tr>
-		<tr class='AA50only'>	<td class="field_text" align="right"> Backup Voicemails & <BR> Custom Prompts :&nbsp;</td>
-				<td valign=top><input type='checkbox' id='newbkp_completeBackup' class="input9"></td>
+		<tr class='AA50only'>
+			<td valign=top align="right">
+				<input type='checkbox' id='newbkp_completeBackup' class="input9">&nbsp;
+			</td>
+			<td class="field_text">
+				<label for='newbkp_completeBackup'>Also backup Voicemails & Custom Prompts</label>
+			</td>
 		</tr>
 		<tr>	<td colspan=2 align=center height=6></td>	</tr>
 		
@@ -111,6 +116,7 @@
 				<span class='guiButtonEdit' id="getbackup" onclick='backup_new();'>Backup</span>
 			</td>
 		</tr>
+		<tr>	<td colspan=2 align=center height=16></td>	</tr>
 	</table>
 </div>
 </body>

Modified: branches/2.0/config/js/backup.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/backup.js?view=diff&rev=4161&r1=4160&r2=4161
==============================================================================
--- branches/2.0/config/js/backup.js (original)
+++ branches/2.0/config/js/backup.js Thu Nov 20 11:31:48 2008
@@ -129,7 +129,7 @@
 	var tmp_a = fname[1] ; // tmp_a = 2008nov19.tar
 	if(tmp_a.contains('_sounds.')){
 		tmp_a = tmp_a.withOut('_sounds');
-		fname[0] = fname[0] + '<b>Voicemails & Prompts</b>';
+		fname[0] = fname[0] + '<BR><b>Voicemails & Prompts</b>';
 	}
 
 	var filedate = tmp_a.rChop('.tar');
@@ -190,7 +190,7 @@
 
 function restore_bkp_step3(file_fullpath){
 	if( parent.sessionData.PLATFORM.isAA50 ){
-		parent.ASTGUI.dialog.waitWhile(' The Sytem will reboot shortly ');
+		parent.ASTGUI.dialog.waitWhile(' The System will reboot shortly ');
 		parent.ASTGUI.systemCmd( ASTGUI.scripts.restoreBackup + " " + file_fullpath, function(){
 			ASTGUI.feedback( { msg:'Configuration restored !!', showfor:2 });
 			parent.miscFunctions.AFTER_REBOOT_CMD();




More information about the asterisk-gui-commits mailing list