pari: branch asterisknow r1987 - in /branches/asterisknow/config: ./ scripts/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Fri Dec 14 15:12:26 CST 2007


Author: pari
Date: Fri Dec 14 15:12:25 2007
New Revision: 1987

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=1987
Log:
disable rpathgui link by default

Modified:
    branches/asterisknow/config/cfgbasic.html
    branches/asterisknow/config/scripts/astman.js

Modified: branches/asterisknow/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/cfgbasic.html?view=diff&rev=1987&r1=1986&r2=1987
==============================================================================
--- branches/asterisknow/config/cfgbasic.html (original)
+++ branches/asterisknow/config/cfgbasic.html Fri Dec 14 15:12:25 2007
@@ -279,6 +279,13 @@
 	astmanEngine = new Astman();
 	astmanEngine.setURL(asterisk_rawmanPath );
 	createpanels();
+	var links_str = "";
+	if(asterisk_guirPath){ links_str += '<a href="#" onclick="system_link()">System Configuration</a><BR>'; }
+	links_str += '<a target="_extern" href="http://www.digium.com/en/company/profile/">About Digium</a>&nbsp;|&nbsp;';
+	if(asterisk_guiANOW){ links_str += '<a target="_extern" href="http://www.asterisknow.org/bugs">Report a Bug</a>&nbsp;|&nbsp;'
+		+ '<a target="_extern" href="http://www.asterisknow.org/help">Help</a>&nbsp;' ;
+	}
+	_$('linksToshow').innerHTML = links_str;
 	_$('mainscreen').src = "home.html" ;
 	if( navigator.userAgent.indexOf("MSIE") != -1 || navigator.userAgent.indexOf("Konqueror") != -1 || navigator.userAgent.indexOf("Safari") != -1 ){
 		gui_feedback(browser_alert, 'green');
@@ -358,14 +365,9 @@
 		<div id="feedback_round" style="background-color: #FFFFFF; width: 400px; display: none;">
 			<div id="feedback" style="font-family: Arial,sans-serif,Helvetica,Trebuchet MS; font-size: 13px; font-weight: bold;"></div>
 		</div>
-
+		<input id="login_name" type="hidden">
 	</td>
-	<td align="right" bgcolor="white" valign="bottom">
-		<a href="#" onclick=" system_link()">System Configuration</a><BR>
-		<a target="_extern" href="http://www.digium.com/en/company/profile/">About Digium</a>&nbsp;|&nbsp;
-		<a target="_extern" href="http://www.asterisknow.org/bugs">Report a Bug</a>&nbsp;|&nbsp;
-		<a target="_extern" href="http://www.asterisknow.org/help">Help</a>&nbsp;
-		<input id="login_name" type="hidden">
+	<td align="right" bgcolor="white" valign="bottom" id='linksToshow'>
 	</td>
 </tr>
 <tr>	<td valign=top>

Modified: branches/asterisknow/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/scripts/astman.js?view=diff&rev=1987&r1=1986&r2=1987
==============================================================================
--- branches/asterisknow/config/scripts/astman.js (original)
+++ branches/asterisknow/config/scripts/astman.js Fri Dec 14 15:12:25 2007
@@ -37,6 +37,8 @@
 var asterisk_guiMisdn_scan = "misdn-init scan > /var/lib/asterisk/static-http/config/scan.html";
 var asterisk_guiEditZap = "sh " + asterisk_scriptsFolder + "editzap.sh";
 var asterisk_rawmanPath = "../../rawman" ;
+var asterisk_guirPath = false;
+var asterisk_guiANOW = false;
 var asterisk_guiConfigFile = "guipreferences.conf"; // will be created in asterisk_configfolder, if the file does not exist 
 var asterisk_configfolder = "/etc/asterisk/";
 var asterisk_guiListFiles = "sh " + asterisk_scriptsFolder + "listfiles" ;




More information about the asterisk-gui-commits mailing list