pari: trunk r164 - /trunk/config/
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Mon Dec 11 13:49:08 MST 2006
Author: pari
Date: Mon Dec 11 14:49:08 2006
New Revision: 164
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=164
Log:
Make Local Extension Settings the default options panel link
Modified:
trunk/config/cfgadvanced.html
trunk/config/cfgappliance.html
trunk/config/cfgbasic.html
trunk/config/localexts.html
trunk/config/options.html
Modified: trunk/config/cfgadvanced.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgadvanced.html?view=diff&rev=164&r1=163&r2=164
==============================================================================
--- trunk/config/cfgadvanced.html (original)
+++ trunk/config/cfgadvanced.html Mon Dec 11 14:49:08 2006
@@ -97,7 +97,7 @@
new PanelDef("backup", "Backup", "accordion-icon.gif", "Backup Management."),
- new PanelDef("options", "Options", "accordion-icon.gif", "Admin Settings")
+ new PanelDef("localexts", "Options", "accordion-icon.gif", "Admin Settings")
);
Modified: trunk/config/cfgappliance.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgappliance.html?view=diff&rev=164&r1=163&r2=164
==============================================================================
--- trunk/config/cfgappliance.html (original)
+++ trunk/config/cfgappliance.html Mon Dec 11 14:49:08 2006
@@ -88,7 +88,7 @@
new PanelDef("backup", "Backup", "accordion-icon.gif", "Backup Management."),
- new PanelDef("options", "Options", "accordion-icon.gif", "Admin Settings")
+ new PanelDef("localexts", "Options", "accordion-icon.gif", "Admin Settings")
);
Modified: trunk/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/cfgbasic.html?view=diff&rev=164&r1=163&r2=164
==============================================================================
--- trunk/config/cfgbasic.html (original)
+++ trunk/config/cfgbasic.html Mon Dec 11 14:49:08 2006
@@ -90,7 +90,7 @@
new PanelDef("backup", "Backup", "accordion-icon.gif", "Backup Management."),
- new PanelDef("options", "Options", "accordion-icon.gif", "Admin Settings")
+ new PanelDef("localexts", "Options", "accordion-icon.gif", "Admin Settings")
);
@@ -171,6 +171,8 @@
method: 'get',
asynchronous: true,
onSuccess: function() {
+ setLoggedOn(0);
+ loggedon == -1;
// reload the browser URL
window.location.href=window.location.href;
},
Modified: trunk/config/localexts.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/localexts.html?view=diff&rev=164&r1=163&r2=164
==============================================================================
--- trunk/config/localexts.html (original)
+++ trunk/config/localexts.html Mon Dec 11 14:49:08 2006
@@ -29,6 +29,9 @@
var fieldnames = new Array('status', 'save','userbase','localextenlength');
var widgets = new Array;
+function tosetup(){
+ parent.window.location.href = "./setup/install.html";
+}
usercallbacks.format = function(t) {
if(t.name == "general" ){
@@ -50,6 +53,7 @@
asynchronous: true,
onSuccess: function(t) {
$('localextenlength').selectedIndex = 2 ;
+ parent.loadscreen(this);
},
onFailure: function(t) {
alert("Config Error: " + t.status + ": " + t.statusText);
@@ -57,7 +61,9 @@
};
opt.parameters="action=updateconfig&reload=yes&srcfilename=" + encodeURIComponent("users.conf") + "&dstfilename=" + encodeURIComponent("users.conf") + "&Action-000000=update&Cat-000000=general&Var-000000=localextenlength&Value-000000=4"; ;
var tmp = new Ajax.Request("../../rawman", opt);
+ return;
}
+ parent.loadscreen(this);
}
@@ -73,12 +79,19 @@
<body id="foo" onload="localajaxinit()" bgcolor="EFEFEF">
<div class="mainscreenTitleBar"><span style="margin-left: 4px;font-weight:bold">Admin Options - Local Extension Settings</span></div>
<div class="mainscreenContentBox" id="userscontent">
+<TABLE align=center width="520" cellpadding=0 cellspacing=0 style="margin: 5px 0 0 0;">
+<TR>
+ <TD valign="bottom" align="center"><font style="border-bottom: 2px solid #000; padding-bottom: 2px;">Local Extension settings</font></TD>
+ <TD><A href="options.html" class="field_text">Change Password</A></TD>
+ <!-- <TD valign="bottom" align="left"><A href="#" onclick="tosetup();" class="field_text">Run Setup Wizard</A></TD> -->
+</TR>
+</TABLE>
+<BR><BR>
<table class="mainscreenTable" align="center">
- <tr valign="top" height="18"> <td align="center"><B>Local Extension Settings</B></td></tr>
<tr> <td align="center" valign="top">
<select id="devices" style="display:none"></select>
- <p class="subheading"> Local Extensions are <select id="localextenlength"><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option></select>digits long </p>
- <p class="subheading"> Starting point of Allocation of extensions : <input type=text id="userbase" size=5> </p>
+ <p class="field_text"> Local Extensions are <select id="localextenlength"><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option></select>digits long </p>
+ <p class="field_text"> Starting point of Allocation of extensions : <input type=text id="userbase" size=5> </p>
<center>
<div style="height:15px" id='status'></div><BR>
<input type=button id="save" value="Save">
@@ -86,8 +99,6 @@
</td>
</tr>
<tr valign="top" height="18"> <td></td></tr>
- <tr valign="top" height="18"> <td align="center"><A href="options.html">Back</A></td></tr>
- <tr valign="top" height="18"> <td></td></tr>
</table>
</div>
</body>
Modified: trunk/config/options.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/options.html?view=diff&rev=164&r1=163&r2=164
==============================================================================
--- trunk/config/options.html (original)
+++ trunk/config/options.html Mon Dec 11 14:49:08 2006
@@ -231,10 +231,19 @@
<body id="foo" onload="localajaxinit()" bgcolor="EFEFEF">
<div class="mainscreenTitleBar"><span style="margin-left: 4px;font-weight:bold">Admin Options</span></div>
<div class="mainscreenContentBox" id="userscontent">
+
+<TABLE align=center width="520" cellpadding=0 cellspacing=0 style="margin: 5px 0 0 0;">
+<TR>
+ <TD valign="bottom" align="center"><A href="localexts.html" class="field_text">Local Extension settings</A></TD>
+ <TD><font style="border-bottom: 2px solid #000; padding-bottom: 2px;">Change Password</font></TD>
+ <!-- <TD valign="bottom" align="left"><A href="#" onclick="tosetup();" class="field_text">Run Setup Wizard</A></TD> -->
+</TR>
+</TABLE>
+<BR>
<table class="mainscreenTable" align="center">
- <tr valign="top" height="18"> <td align="center">
- <TABLE align="center" border=0 cellpadding=0 cellpadding=0 width=320><TR><TD align=left><B>Change Password:</B></TD></TR></TABLE>
- </td>
+ <tr valign="top" height="18">
+ <td align="center">
+ </td>
</tr>
<tr> <td align="center" valign="top">
<div id="channellist" class="chanlist_small" style="width: 320px; height:100">
@@ -249,13 +258,6 @@
</td>
</tr>
<tr valign="top" height="18"> <td></td></tr>
- <tr valign="top" height="18"> <td align="center"><A href="localexts.html">Local Extension settings</A></td></tr>
- <tr valign="top" height="18"> <td></td></tr>
-
-
-<!-- <tr valign="top" height="18"> <td align="center"><A href="#" onclick="tosetup();">Run Setup Wizard</A></td>
- </tr>
- <tr valign="top" height="18"> <td></td></tr> -->
<tr> <td align="center" valign="top">
<div id="gui_accesssettings" class="chanlist_small" style="width: 320px; height:120">
<table>
More information about the asterisk-gui-commits
mailing list