From c9e780491487c03d8b38afc9aaa7efeaea0dcb11 Mon Sep 17 00:00:00 2001 From: Ben Klang Date: Fri, 11 Nov 2005 21:34:40 +0000 Subject: [PATCH] Tweaks to javascript. *CAUTION* Some things in the dialplan.js are hardcoded which should not be. PROCEED WITH CAUTION git-svn-id: https://svn.alkaloid.net/gpl/shout/trunk@90 06cd67b6-e706-0410-b29e-9de616bca6e9 --- andrew.webprj | 13 ++-- templates/dialplan/extensiondetail.inc | 115 ++++++++++++++++----------------- templates/javascript/dialplan.js | 18 +++--- themes/screen.css | 1 - 4 files changed, 72 insertions(+), 75 deletions(-) diff --git a/andrew.webprj b/andrew.webprj index 2f0db539a..ed54c47fb 100644 --- a/andrew.webprj +++ b/andrew.webprj @@ -40,7 +40,7 @@ - + @@ -84,12 +84,12 @@ - + - + @@ -99,7 +99,7 @@ - + @@ -123,10 +123,10 @@ - + - + @@ -134,6 +134,7 @@ + diff --git a/templates/dialplan/extensiondetail.inc b/templates/dialplan/extensiondetail.inc index 5f14248f5..8bac71c05 100644 --- a/templates/dialplan/extensiondetail.inc +++ b/templates/dialplan/extensiondetail.inc @@ -44,69 +44,66 @@ if(!isset($dialplan['extensions'])) { - - -
-
-
" - name=""> - - $data) { - ?> - - - - - - - " + name=""> +
" - name=""> - + - - - " - name="" - onclick="javascript:dp.activatePriority('', '')"> - - - - " - name=""> - - - - " - name=""> - - - -
+ $data) { ?> -
-
-
+ + " + name=""> + + + - + + " + name="" + onclick="javascript:dp.activatePriority('', '')"> + + + + + " + name=""> + + + + + " + name=""> + + + + + + +
-
+ +
+ \n'; - table += ' +\n'; - table += ' -\n'; + table += ' +\n'; + table += ' -\n'; table += ' \n'; table += ' \n'; + table += ' onclick="javascript:dp.activatePriority(\''+exten+'\', \''+p+'\')">\n'; table += ' '+p+'\n'; table += ' \n'; table += '