pari: branch 2.0 r3916 - in /branches/2.0/config: js/tooltip.js preferences.html

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Mon Sep 29 12:05:36 CDT 2008


Author: pari
Date: Mon Sep 29 12:05:35 2008
New Revision: 3916

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3916
Log:

AA50-2263 : 'Digit Key Map' tooltip not being displayed properly.



Modified:
    branches/2.0/config/js/tooltip.js
    branches/2.0/config/preferences.html

Modified: branches/2.0/config/js/tooltip.js
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/js/tooltip.js?view=diff&rev=3916&r1=3915&r2=3916
==============================================================================
--- branches/2.0/config/js/tooltip.js (original)
+++ branches/2.0/config/js/tooltip.js Mon Sep 29 12:05:35 2008
@@ -295,16 +295,7 @@
 	tooltips['options'].en[9] = "The Language setting allows the user to specify the default prompts language for phone to phone, inbound, and outbound calls.  If a soundpack selection is made but not already installed, then the pack will be downloaded from Digium." ;
 	tooltips['options'].en[10] = "Enables the display of a graphic on a phone's LCD display when the phone is idle." ;
 	tooltips['options'].en[11] = "Number of seconds to ring a device before sending to the user's Voicemail Box" ;
-	tooltips['options'].en[12] = "A digit mapping string compatible with the RFC 3435 section 2.1.5. These default is:"
-					+ "<li> [2-9]11 - Where calls beginning with digits 2-9 followed by digits 11 are dialed immediately. "
-					+ "<li> 0T - Where calls beginning with digit 0 followed by a pause equal to the \"Digit Timeout\" option."
-					+ "<li> +011xxx.T - Where calls beginning with the + character, followed by 011 digits and then at least three more digits before any arbitrary number is matched, dialed after Digit Timeout is reached."
-					+ "<li> 0[2-9]xxxxxxxxx - Where calls beginning with 0, followed by any digit from 2-9, followed further by 9 more digits are dialed immediately."
-					+ "<li> +1[2-9]xxxxxxxx - Where calls beginning with the + character, followed by 1, followed by any digit from 2-9, followed by 8 more digits are dialed immediately."
-					+ "<li> [2-9]xxxxxxxxx - Where calls beginning with any digit from 2-9, followed by 9 more digits are dialed immediately."
-					+ "<li> [2-9]xxxT - Where calls beginning with any digit from 2-9, followed by three more digits are dialed after Digit Timeout is reached."
-					+ "This is represented in the entry box as: [2-9]11|0T|+011xxx.T|0[2-9]xxxxxxxxx|+1[2-9]xxxxxxxx|[2-9]xxxxxxxxx|[2-9]xxxT"
-					+ "where each entry is separated by the | character. ";
+
 
 	tooltips['options'].en[13] = "The timeout variable is the number of seconds the phone will wait for each segment of a digit map expressed as an integer.";
 

Modified: branches/2.0/config/preferences.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/preferences.html?view=diff&rev=3916&r1=3915&r2=3916
==============================================================================
--- branches/2.0/config/preferences.html (original)
+++ branches/2.0/config/preferences.html Mon Sep 29 12:05:35 2008
@@ -101,6 +101,13 @@
 	}catch(err){}
 	ASTGUI.selectbox.selectOption( DOM_op_ext , OPEXTENSION );
 	loadExtensions_ranges();
+
+
+	$("#tooltip_img_voipPhoneDigitMap").mouseover(function(){
+		ASTGUI.domActions.alignBbelowA( _$("tooltip_img_voipPhoneDigitMap"),_$('tooltip_voipPhoneDigitMap'), -120, 0);
+		$('#tooltip_voipPhoneDigitMap').show();
+	}).mouseout(function(){ $('#tooltip_voipPhoneDigitMap').hide(); });
+
 };
 
 var loadExtensions_ranges = function(){
@@ -283,11 +290,11 @@
 		<td><input type='checkbox' id='op_polycom_idleimage'></td>
 	</tr>
 	<tr class='16_Only' style='display:none;'>
-		<td align=right>VoIP Phone Digit Map <img src="images/tooltip_info.gif" tip="en,options,12" class='tooltipinfo'> :</td>
+		<td align=right>VoIP Phone Digit Map <img src="images/tooltip_info.gif" id="tooltip_img_voipPhoneDigitMap"> :</td>
 		<td><input size=15 id='op_voip_digitmap'></td>
 	</tr>
 	<tr class='16_Only' style='display:none;'>
-		<td align=right>VOIP Phone Digit Timeout <img src="images/tooltip_info.gif" tip="en,options,13" class='tooltipinfo'> :</td>
+		<td align=right>VoIP Phone Digit Timeout <img src="images/tooltip_info.gif" tip="en,options,13" class='tooltipinfo'> :</td>
 		<td><input size=10 id='op_voip_digit_timeout'></td>
 	</tr>
 </table>
@@ -351,4 +358,20 @@
 	<span class='guiButtonEdit' onclick='save_changes();'>Save</span>
 </div>
 
+<div id='tooltip_voipPhoneDigitMap' style="max-width:500px; display:none; background-color : #e8c991; padding: 3px; margin:10px;">
+This option allows the administrator to define a global digit mapping string compatible with RFC 3435, section 2.1.5,
+to be used with VoIP phones provisioned by this system. There is no default setting and this option does not sync with the 
+dialplan assigned to an individual user. The following examples should assist in writing an acceptable digit mapping string.
+<li>[2-9]11 - Where calls beginning with digits 2-9 followed by digits 11 are dialed immediately.
+<li>0T - Where calls beginning with digit 0 followed by a pause equal to the "Digit Timeout" option.
+<li>+011xxx.T - Where calls beginning with the + character, followed by 011 digits and then at least three more digits before any arbitrary number is matched, dialed after Digit Timeout is reached.
+<li>0[2-9]xxxxxxxxx - Where calls beginning with 0, followed by any digit from 2-9, followed further by 9 more digits are dialed immediately.
+<li>+1[2-9]xxxxxxxx - Where calls beginning with the + character, followed by 1, followed by any digit from 2-9, followed by 8 more digits are dialed immediately.
+<li>[2-9]xxxxxxxxx - Where calls beginning with any digit from 2-9, followed by 9 more digits are dialed immediately.
+<li>[2-9]xxxT - Where calls beginning with any digit from 2-9, followed by three more digits are dialed after Digit Timeout is reached.
+These examples would be represented in this option entry box as:<BR>
+<li>[2-9]11|0T|+011xxx.T|0[2-9]xxxxxxxxx|+1[2-9]xxxxxxxx|[2-9]xxxxxxxxx|[2-9]xxxT<BR>
+where each entry is separated by the | character. For more information, please refer to RFC 3435.
+</div>
+
 </body>




More information about the asterisk-gui-commits mailing list