pari: trunk r374 - in /trunk/config: ./ scripts/

asterisk-gui-commits at lists.digium.com asterisk-gui-commits at lists.digium.com
Tue Feb 20 12:11:25 MST 2007


Author: pari
Date: Tue Feb 20 13:11:24 2007
New Revision: 374

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=374
Log:
document Titles for all pages in the GUI

Modified:
    trunk/config/backup.html
    trunk/config/home.html
    trunk/config/homeapp.html
    trunk/config/iax.html
    trunk/config/incoming.html
    trunk/config/jabber.html
    trunk/config/jingle.html
    trunk/config/localexts.html
    trunk/config/meetme.html
    trunk/config/menus.html
    trunk/config/moh.html
    trunk/config/networking.html
    trunk/config/numberplan.html
    trunk/config/options.html
    trunk/config/queues.html
    trunk/config/record.html
    trunk/config/scripts/astman.js
    trunk/config/sip.html
    trunk/config/status.html
    trunk/config/sysinfo.html
    trunk/config/trunks.html
    trunk/config/users.html
    trunk/config/voicemail.html
    trunk/config/zapata.html

Modified: trunk/config/backup.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/backup.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/backup.html (original)
+++ trunk/config/backup.html Tue Feb 20 13:11:24 2007
@@ -28,6 +28,7 @@
 var bkpfile ;
 
 function localajaxinit() {
+	setWindowTitle("Backup");
 	parent.loadscreen(this);
 	$('status_message').style.top  = 	100;
 	$('status_message').style.left  = 	100;

Modified: trunk/config/home.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/home.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/home.html (original)
+++ trunk/config/home.html Tue Feb 20 13:11:24 2007
@@ -143,6 +143,7 @@
 		parent.astmanEngine.sendRequest('action=ping', demo.pongs);
 	}
 	function localinit() {
+		top.document.title = "Asterisk GUI (Beta) -- Home";
 		localajaminit();
 	}
 

Modified: trunk/config/homeapp.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/homeapp.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/homeapp.html (original)
+++ trunk/config/homeapp.html Tue Feb 20 13:11:24 2007
@@ -146,6 +146,7 @@
 		parent.astmanEngine.sendRequest('action=ping', demo.pongs);
 	}
 	function localinit() {
+		top.document.title = "Asterisk GUI (Beta) -- Home";
 		localajaxinit();
 		localajaminit();
 	}

Modified: trunk/config/iax.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/iax.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/iax.html (original)
+++ trunk/config/iax.html Tue Feb 20 13:11:24 2007
@@ -51,6 +51,7 @@
 
 
 function localajaxinit(){
+	setWindowTitle("IAX");
 	parent.loadscreen(this);
 		for (var x =0; x< fieldnames.length; x++ ) {
 			widgets[fieldnames[x]] = $(fieldnames[x]);

Modified: trunk/config/incoming.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/incoming.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/incoming.html (original)
+++ trunk/config/incoming.html Tue Feb 20 13:11:24 2007
@@ -454,6 +454,7 @@
 
 
 function localajaxinit() {
+	setWindowTitle("Incoming Calls");
 	for (var x =0; x < focus_fields.length; x++ ) {
 		$(focus_fields[x]).onfocus = function(){this.className = 'input9_hilight';}
 		$(focus_fields[x]).onblur = function(){this.className = 'input9';}

Modified: trunk/config/jabber.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/jabber.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/jabber.html (original)
+++ trunk/config/jabber.html Tue Feb 20 13:11:24 2007
@@ -52,6 +52,7 @@
 
 
 function localajaxinit() {
+		setWindowTitle("Jabber");
 		// Load the jabber.conf->users into the Users, associate the field to other fields
 		parent.loadscreen(this);
 		for (var x =0; x < fieldnames.length; x++) {

Modified: trunk/config/jingle.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/jingle.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/jingle.html (original)
+++ trunk/config/jingle.html Tue Feb 20 13:11:24 2007
@@ -157,6 +157,7 @@
 }
 
 function localajaxinit() {
+			setWindowTitle("Jingle");
 			// Load the jabber.conf->users into the Users, associate the field to other fields
 			parent.loadscreen(this);
 			for (var x =0; x < fieldnames.length; x++) {

Modified: trunk/config/localexts.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/localexts.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/localexts.html (original)
+++ trunk/config/localexts.html Tue Feb 20 13:11:24 2007
@@ -80,6 +80,7 @@
 
 
 function localajaxinit(){
+			setWindowTitle("Local Extension Settings");
 			for (var x =0 ; x < fieldnames.length ; x++ ) {
 				widgets[fieldnames[x]] = $(fieldnames[x]);
 				widgets[fieldnames[x]].disabled = true;

Modified: trunk/config/meetme.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/meetme.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/meetme.html (original)
+++ trunk/config/meetme.html Tue Feb 20 13:11:24 2007
@@ -353,6 +353,7 @@
 		}
 	}
 	function localajaxinit() {
+		setWindowTitle("Conferencing");
 		$('advancedw').style.overflow = "hidden";
 		$('advancedw').style.height = 1;
 		$('advancedw').style.width = $('split').style.width;

Modified: trunk/config/menus.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/menus.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/menus.html (original)
+++ trunk/config/menus.html Tue Feb 20 13:11:24 2007
@@ -934,6 +934,7 @@
 
 
 function localajaxinit() {
+		setWindowTitle("Voice Menus");
 		$('message_text').innerHTML ="Saving Changes...";
 		for (x =0 ; x<fieldnames.length; x++){
 			widgets[fieldnames[x]] = $(fieldnames[x]);

Modified: trunk/config/moh.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/moh.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/moh.html (original)
+++ trunk/config/moh.html Tue Feb 20 13:11:24 2007
@@ -43,6 +43,7 @@
 }
 
 function localajaxinit() {
+			setWindowTitle("Music on Hold");
 			// Load the jabber.conf->users into the Users, associate the field to other fields
 			parent.loadscreen(this);
 			for (var x =0; x < fieldnames.length; x++) {

Modified: trunk/config/networking.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/networking.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/networking.html (original)
+++ trunk/config/networking.html Tue Feb 20 13:11:24 2007
@@ -89,6 +89,7 @@
 	}
 	
 	function localajaxinit() {
+		setWindowTitle("Network Settings");
 		$('advancedw').style.overflow = "hidden";
 		$('advancedw').style.height = 1;
 		$('advancedw').style.width = $('split').width;

Modified: trunk/config/numberplan.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/numberplan.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/numberplan.html (original)
+++ trunk/config/numberplan.html Tue Feb 20 13:11:24 2007
@@ -568,6 +568,7 @@
 }
 
 function localajaxinit(){
+	setWindowTitle("Calling Rules");
 	for (var x =0; x < fieldnames.length; x++ ) {
 		widgets[fieldnames[x]] = $(fieldnames[x]);
 		widgets[fieldnames[x]].disabled = true;

Modified: trunk/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/options.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/options.html (original)
+++ trunk/config/options.html Tue Feb 20 13:11:24 2007
@@ -214,6 +214,7 @@
 }
 
 function localajaxinit(){
+	setWindowTitle("Options");
 	for (var x =0; x < fieldnames.length; x++) {
 		widgets[fieldnames[x]] = $(fieldnames[x]);
 		widgets[fieldnames[x]].disabled = true;

Modified: trunk/config/queues.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/queues.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/queues.html (original)
+++ trunk/config/queues.html Tue Feb 20 13:11:24 2007
@@ -424,6 +424,7 @@
 ////////
 
 function localajaxinit() {
+	setWindowTitle("Call Queues");
 //	$('advancedi').style.width = $('split').width - 60;
 	if( navigator.userAgent.indexOf("MSIE") != -1){
 		togglefeatures = function(){ } ;

Modified: trunk/config/record.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/record.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/record.html (original)
+++ trunk/config/record.html Tue Feb 20 13:11:24 2007
@@ -246,6 +246,7 @@
 }
 
 function localajaxinit() {
+	setWindowTitle("Record a Menu");
 	for (var x =0; x < focus_fields.length; x++ ) {
 		$(focus_fields[x]).onfocus = function(){this.className = 'input8_hilight';}
 		$(focus_fields[x]).onblur = function(){this.className = 'input8';}

Modified: trunk/config/scripts/astman.js
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/scripts/astman.js?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/scripts/astman.js (original)
+++ trunk/config/scripts/astman.js Tue Feb 20 13:11:24 2007
@@ -20,12 +20,17 @@
  */
 
  var sc_displaytime = 1000;
+ var asterisk_guiappname =  "Asterisk GUI (Beta)";
  var asterisk_guitools = "asterisk_guitools";
  var asterisk_guitoolsversion = "0.7";
  var asterisk_guiversion = "$Revision$";
 var sortbynames = false;
 var dragdata = new Object;
 var asterisk_guiTDPrefix = "DID_";
+
+function setWindowTitle(a){
+	top.document.title = asterisk_guiappname + " -- " + a ;
+}
 
 function startDrag(event, movethis ){
 	dragdata.movethis = movethis ;

Modified: trunk/config/sip.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/sip.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/sip.html (original)
+++ trunk/config/sip.html Tue Feb 20 13:11:24 2007
@@ -28,6 +28,7 @@
 }
 
 function localajaxinit(){
+		setWindowTitle("SIP");
 		for (var x =0; x < fieldnames.length; x++ ) {
 			widgets[fieldnames[x]] = $(fieldnames[x]);
 			widgets[fieldnames[x]].disabled = true;

Modified: trunk/config/status.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/status.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/status.html (original)
+++ trunk/config/status.html Tue Feb 20 13:11:24 2007
@@ -119,6 +119,7 @@
 }
 
 function localajaxend(){
+		setWindowTitle("Active Channels");
 		parent.astmanEngine.setEventCallback(parent.eventeater.eventcb );
 }
 

Modified: trunk/config/sysinfo.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/sysinfo.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/sysinfo.html (original)
+++ trunk/config/sysinfo.html Tue Feb 20 13:11:24 2007
@@ -146,6 +146,7 @@
 
 
 function localajaxinit(){
+	setWindowTitle("System Info");
 	// call the tool (sysinfo)
 	var date = new Date() ; 
 	$('log_month').selectedIndex = date.getMonth() ;

Modified: trunk/config/trunks.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/trunks.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/trunks.html (original)
+++ trunk/config/trunks.html Tue Feb 20 13:11:24 2007
@@ -501,6 +501,7 @@
 	}
 	
 	function localajaxinit() {
+		setWindowTitle("Service Providers");
 		$('devices').contentEditable = 'false';
 		$('zapchan').splitchar=',';
 		$('trunkstyleanalog').altonclick = $('trunkstyleanalog').onclick;

Modified: trunk/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/users.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/users.html (original)
+++ trunk/config/users.html Tue Feb 20 13:11:24 2007
@@ -288,7 +288,7 @@
 			}
 		}
 		*/
-
+		setWindowTitle("Users");
 		if(window.location.href.match("sortbynames") ){
 			sortbynames = true;
 			$('link_sortby').innerHTML = " <A href=\"users.html\">Sort By Extensions</A> ";

Modified: trunk/config/voicemail.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/voicemail.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/voicemail.html (original)
+++ trunk/config/voicemail.html Tue Feb 20 13:11:24 2007
@@ -259,6 +259,7 @@
 	}
 	
 	function localajaxinit() {
+		setWindowTitle("Voicemail");
 		//$('advancedi').style.width = $('split').width - 60;
 		adstatus = "hidden";
 		$('extensions').contentEditable = 'false';

Modified: trunk/config/zapata.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/zapata.html?view=diff&rev=374&r1=373&r2=374
==============================================================================
--- trunk/config/zapata.html (original)
+++ trunk/config/zapata.html Tue Feb 20 13:11:24 2007
@@ -51,6 +51,7 @@
 
 
 function localajaxinit(){
+	setWindowTitle("Zap Settings");
 	parent.loadscreen(this);
 		for (var x =0; x< fieldnames.length; x++) {
 			widgets[fieldnames[x]] = $(fieldnames[x]);



More information about the asterisk-gui-commits mailing list