pari: trunk r935 - /trunk/config/voicemail.html
asterisk-gui-commits at lists.digium.com
asterisk-gui-commits at lists.digium.com
Tue May 15 13:34:57 MST 2007
Author: pari
Date: Tue May 15 15:34:56 2007
New Revision: 935
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=935
Log:
VoiceMail page without Rico
Modified:
trunk/config/voicemail.html
Modified: trunk/config/voicemail.html
URL: http://svn.digium.com/view/asterisk-gui/trunk/config/voicemail.html?view=diff&rev=935&r1=934&r2=935
==============================================================================
--- trunk/config/voicemail.html (original)
+++ trunk/config/voicemail.html Tue May 15 15:34:56 2007
@@ -20,7 +20,6 @@
*
-->
<script src="scripts/prototype.js"></script>
-<script src="scripts/rico.js"></script>
<script src="scripts/astman.js"></script>
<script src="scripts/tooltip.js"></script>
<link href="stylesheets/rico.css" media="all" rel="Stylesheet" type="text/css" />
@@ -30,7 +29,7 @@
var vmwidgets = {};
var widgets = {};
var vmexten='';
-var adstatus;
+//var adstatus;
var voicemails;
var callbacks = new Object;
var usercallbacks = new Object;
@@ -192,6 +191,7 @@
parent.astmanEngine.config2list("extensions.conf", $('extensions'), widgets, callbacks);
}
+/*
function togglefeatures() {
if (adstatus == "shown") {
adstatus = "hidden";
@@ -202,6 +202,7 @@
new Rico.Effect.Size('advancedw', null, 140, 120, 8 );
}
}
+*/
voicemailcallbacks.cancelchanges = function(){
$('name').value = vmexten ;
@@ -266,8 +267,10 @@
function localajaxinit() {
setWindowTitle("Voicemail");
//$('advancedi').style.width = $('split').width - 60;
- adstatus = "hidden";
+
$('extensions').contentEditable = 'false';
+
+ /*
if( navigator.userAgent.indexOf("MSIE") != -1){
togglefeatures = function(){ } ;
$('advancedw').style.height=140;
@@ -277,6 +280,8 @@
$('extensions').style.height = "415px";
}
$('advancedw').style.width = $('split').style.width;
+ */
+
for (var x =0; x< vmfields.length; x++) {
vmwidgets[vmfields[x]] = _$(vmfields[x]);
vmwidgets[vmfields[x]].disabled = true;
@@ -305,17 +310,15 @@
</div>
<div class="mainscreenContentBox" id="mailboxcontent">
<table class="mainscreenTable" align="center">
- <tr valign="top"><td colspan='2'>Extensions:</td></tr>
+ <tr valign="top"><td colspan='2'>VoiceMail Settings:</td></tr>
<tr valign="top">
<td><select disabled size="25" id="extensions" style="width:220px;" class="input10"><option>Loading...</option></select></td>
- <td style="height: 415px">
- <div id='adjustments' style='width:310'>
- <select id='hiddenusers' style='display:none;width:0px;height:0px'></select>
- <select id='hiddenvoicemail' style='display:none;width:0px;height:0px'></select>
- <table cellspacing='0' cellpadding='0'>
- <tr valign="top">
- <td>
- <table> <tr onmouseover="show_tooltip('en', 'voicemail', 0);" >
+ <td style="height: 415px; width:310px">
+ <select id='hiddenusers' style='display:none;'></select>
+ <select id='hiddenvoicemail' style='display:none;'></select>
+ <div>
+ <table cellspacing='0' cellpadding='0' width=300>
+ <tr onmouseover="show_tooltip('en', 'voicemail', 0);" >
<td class="field_text">Extension for checking messages:</td>
<td> <input size='5' id='name' pattern='^\d*$' onKeyUp="$('cancel').disabled=false;" class="input8" ></td>
</tr>
@@ -323,96 +326,101 @@
<td class="field_text">Attach recordings to e-mail:</td>
<td><input type='checkbox' id='attach'></td>
</tr>
+
+ <tr onmouseover="show_tooltip('en', 'voicemail', 13);">
+ <td class="field_text">Max greeting (seconds)</td>
+ <td> <input size=4 id='maxgreet' pattern='^\d*$' class="input8"></td>
+ </tr>
+ <tr onmouseover="show_tooltip('en', 'voicemail', 9);" >
+ <td class="field_text" >Dial '0' for Operator:</td>
+ <td><input type='checkbox' id='operator'></td>
+ </tr>
+ </table>
+ <BR>
+ </div>
+ <div> <fieldset style="width: 225px;">
+ <legend> Message Options: </legend>
+ <table align='center' cellpadding=1 cellspacing=1 border=0 width=270>
+ <tr onmouseover="show_tooltip('en', 'voicemail', 10);">
+ <td class="field_text" align=right>Message Format:</td>
+ <td>
+ <select id='attachfmt' class="input8">
+ <option value='wav49'>WAV (GSM)</option>
+ <option value='wav'>WAV (16-bit)</option>
+ <option value='gsm'>Raw GSM</option>
+ </select>
+ </td>
+ </tr>
+ <tr onmouseover="show_tooltip('en', 'voicemail', 5);">
+ <td class="field_text" valign=top align=right>Maximum messages :<BR>(per folder) </td>
+ <td valign=top> <select id='maxmsg' class="input8">
+ <option value='10'>10</option>
+ <option value='25'>25</option>
+ <option value='100'>100</option>
+ <option value='250'>250</option>
+ <option value='500'>500</option>
+ <option value='1000'>1000</option>
+ </select>
+ </td>
+ </tr>
+ <tr onmouseover="show_tooltip('en', 'voicemail', 6);">
+ <td class="field_text" align=right>Max message time:</td>
+ <td> <select id='maxmessage' class="input8">
+ <option value='60'>1 minute</option>
+ <option value='120'>2 minutes</option>
+ <option value='300'>5 minutes</option>
+ <option value='900'>15 minutes</option>
+ <option value='1800'>30 minutes</option>
+ <option value='0'>Unlimited</option>
+ </select>
+ </td>
+ </tr>
+ <tr onmouseover="show_tooltip('en', 'voicemail', 7);">
+ <td class="field_text" align=right>Min message time:</td>
+ <td> <select id='minmessage' class="input8">
+ <option value='0'>No minimum</option>
+ <option value='1'>1 second</option>
+ <option value='2'>2 seconds</option>
+ <option value='3'>3 seconds</option>
+ <option value='4'>4 seconds</option>
+ <option value='5'>5 seconds</option>
+ </select>
+ </td>
+ </tr>
+ </table>
+ </fieldset>
+ <BR>
+ </div>
+
+
+ <div> <fieldset style="width: 225px;">
+ <legend> Playback Options: </legend>
+ <table align='center' cellpadding=1 cellspacing=0 border=0 width=270>
+ <tr onmouseover="show_tooltip('en', 'voicemail', 4);" >
+ <td><input type='checkbox' id='emailonly'></td>
+ <td class="field_text">Send messages by e-mail only</td>
+ </tr>
+
<tr onmouseover="show_tooltip('en', 'voicemail', 2);" >
- <td class="field_text">Say message Caller-ID:</td>
<td><input type='checkbox' id='saycid'></td>
+ <td class="field_text">Say message Caller-ID</td>
</tr>
<tr onmouseover="show_tooltip('en', 'voicemail', 3);" >
- <td class="field_text">Say message duration:</td>
<td><input type='checkbox' id='sayduration'></td>
- </tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 4);" >
- <td class="field_text">Send messages by e-mail only:</td>
- <td><input type='checkbox' id='emailonly'></td>
- </tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 5);" >
- <td class="field_text">Maximum messages per folder:</td>
- <td> <select id='maxmsg' class="input8">
- <option value='10'>10</option>
- <option value='25'>25</option>
- <option value='100'>100</option>
- <option value='250'>250</option>
- <option value='500'>500</option>
- <option value='1000'>1000</option>
- </select>
- </td>
- </tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 6);" >
- <td class="field_text">Maximum message time</td>
- <td> <select id='maxmessage' class="input8">
- <option value='60'>1 minute</option>
- <option value='120'>2 minutes</option>
- <option value='300'>5 minutes</option>
- <option value='900'>15 minutes</option>
- <option value='1800'>30 minutes</option>
- <option value='0'>Unlimited</option>
- </select>
- </td>
- </tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 7);" ><td class="field_text">Minimum message time:</td>
- <td> <select id='minmessage' class="input8">
- <option value='0'>No minimum</option>
- <option value='1'>1 second</option>
- <option value='2'>2 seconds</option>
- <option value='3'>3 seconds</option>
- <option value='4'>4 seconds</option>
- <option value='5'>5 seconds</option>
- </select>
- </td>
+ <td class="field_text">Say message duration</td>
+ </tr>
+ <tr onmouseover="show_tooltip('en', 'voicemail', 12);" >
+ <td><input type='checkbox' id='envelope'></td>
+ <td class="field_text">Play envelope</td>
+ </tr>
+ <tr onmouseover="show_tooltip('en', 'voicemail', 11);" >
+ <td><input type='checkbox' id='review'></td>
+ <td class="field_text">Allow users to review</td>
</tr>
</table>
- </td>
- </tr>
- <tr ><td height=10></td></tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 8);" >
- <td style="cursor: pointer; cursor: hand;"><img id="split" onClick="togglefeatures()" src="images/split-v.gif"></td>
- </tr>
- <tr><td>
- <div style="background-image:url(images/slice-v.gif)" id='advancedw'>
- <table id='advancedi' align='center'>
- <tr><td></td><td width='50'></td><td></td></tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 9);" >
- <td colspan='2' class="field_text" >Dial '0' for Operator:</td>
- <td align='right'><input type='checkbox' id='operator'></td>
- </tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 10);" >
- <td class="field_text">Message Format:</td>
- <td colspan='2' align='right'>
- <select id='attachfmt' class="input8">
- <option value='wav49'>WAV (GSM)</option>
- <option value='wav'>WAV (16-bit)</option>
- <option value='gsm'>Raw GSM</option>
- </select>
- </td>
- </tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 11);" >
- <td colspan='2' class="field_text">Allow users to review:</td>
- <td align='right'><input type='checkbox' id='review'></td>
- </tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 12);" >
- <td colspan='2' class="field_text">Play envelope:</td>
- <td align='right'><input type='checkbox' id='envelope'></td>
- </tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 13);" >
- <td colspan='2' class="field_text">Max greeting (seconds)</td>
- <td align='right' colspan='2'><input size=4 id='maxgreet' pattern='^\d*$' class="input8"></td>
- </tr>
- </table>
- </div>
- </td>
- </tr>
- <tr onmouseover="show_tooltip('en', 'voicemail', 8);" ><td style="cursor: pointer; cursor: hand;"><img onClick="togglefeatures()" src="images/adv-v.gif"></td></tr>
- </table>
+ </fieldset>
+ </div>
+
</div>
</td>
</tr>
More information about the asterisk-gui-commits
mailing list