pari: branch asterisknow r752 - in /branches: aadk/ aadk/config/ asterisknow/...

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Apr 24 16:22:15 MST 2007


Author: pari
Date: Tue Apr 24 18:22:15 2007
New Revision: 752

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=752
Log:
Merged revisions 751 via svnmerge from 
https://origsvn.digium.com/svn/asterisk-gui/trunk

........
r751 | pari | 2007-04-24 18:13:48 -0500 (Tue, 24 Apr 2007) | 1 line

Hide other options while forcing change default password
........

Modified:
    branches/aadk/   (props changed)
    branches/aadk/config/home.html
    branches/aadk/config/options.html
    branches/asterisknow/   (props changed)
    branches/asterisknow/config/home.html
    branches/asterisknow/config/options.html

Propchange: branches/aadk/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Apr 24 18:22:15 2007
@@ -1,1 +1,1 @@
-/trunk:1-430,433-449,489-501,505-506,508-510,512-540,542-557,559,561-577,580-586,588-616,618-748
+/trunk:1-430,433-449,489-501,505-506,508-510,512-540,542-557,559,561-577,580-586,588-616,618-751

Modified: branches/aadk/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/home.html?view=diff&rev=752&r1=751&r2=752
==============================================================================
--- branches/aadk/config/home.html (original)
+++ branches/aadk/config/home.html Tue Apr 24 18:22:15 2007
@@ -70,7 +70,7 @@
 		_ll.onclick = parent.Logoff ;
 		_ll.style.display = "" ;
 		parent.gui_alert("You are using the default password supplied with the appliance!! \n\n It is strongly recommended that you change your default password ");
-		window.location.href="options.html";
+		window.location.href="options.html?forcepassword=yes";
 		return;
 	}
 

Modified: branches/aadk/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/branches/aadk/config/options.html?view=diff&rev=752&r1=751&r2=752
==============================================================================
--- branches/aadk/config/options.html (original)
+++ branches/aadk/config/options.html Tue Apr 24 18:22:15 2007
@@ -185,6 +185,13 @@
 	default_bindaddress = _$('bindaddr').value; default_port = _$('bindport').value ; default_httptimeout = _$('httptimeout').value;
 	_$('save').disabled=true;
 	_$('cancel').disabled=true;
+
+	if( window.location.href.match("forcepassword=yes") ){
+		var f = _$('userscontent').getElementsByClassName('tab');
+		for (var g=0 ; g < f.length ; g++){ f[g].style.display = 'none'; }
+		_$('gui_accesssettings').style.display = 'none';
+	}
+
 	parent.loadscreen(this);
 }
 

Propchange: branches/asterisknow/
------------------------------------------------------------------------------
--- svnmerge-integrated (original)
+++ svnmerge-integrated Tue Apr 24 18:22:15 2007
@@ -1,1 +1,1 @@
-/trunk:1-449,489-540,542-557,559,561-577,580-586,588-748
+/trunk:1-449,489-540,542-557,559,561-577,580-586,588-751

Modified: branches/asterisknow/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/home.html?view=diff&rev=752&r1=751&r2=752
==============================================================================
--- branches/asterisknow/config/home.html (original)
+++ branches/asterisknow/config/home.html Tue Apr 24 18:22:15 2007
@@ -47,7 +47,7 @@
 		_ll.onclick = parent.Logoff ;
 		_ll.style.display = "" ;
 		parent.gui_alert("You are using the default password provided by AsteriskNOW !! \n\n It is strongly recommended that you change your default password ");
-		window.location.href="options.html";
+		window.location.href="options.html?forcepassword=yes";
 		return;
 	}
 

Modified: branches/asterisknow/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/options.html?view=diff&rev=752&r1=751&r2=752
==============================================================================
--- branches/asterisknow/config/options.html (original)
+++ branches/asterisknow/config/options.html Tue Apr 24 18:22:15 2007
@@ -87,6 +87,11 @@
 	showdiv_statusmessage();
 	setWindowTitle("Options");
 
+	if( window.location.href.match("forcepassword=yes") ){
+		var f = _$('userscontent').getElementsByClassName('tab');
+		for (var g=0 ; g < f.length ; g++){ f[g].style.display = 'none'; }
+	}
+
 	parent.loadscreen(this);
 	_$('newpass').focus();
 }



More information about the asterisk-gui-commits mailing list