pari: branch 2.0 r3849 - in /branches/2.0/config: ./ js/
SVN commits to the Asterisk-GUI project
asterisk-gui-commits at lists.digium.com
Mon Sep 22 10:49:06 CDT 2008
Author: pari
Date: Mon Sep 22 10:49:06 2008
New Revision: 3849
URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=3849
Log:
Adding a buy now button to the 'IVR Voice Prompts' on the digium store
Modified:
branches/2.0/config/js/tooltip.js
branches/2.0/config/menuprompts_record.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=3849&r1=3848&r2=3849
==============================================================================
--- branches/2.0/config/js/tooltip.js (original)
+++ branches/2.0/config/js/tooltip.js Mon Sep 22 10:49:06 2008
@@ -374,6 +374,7 @@
tooltips['record'].en[0] = "<B>Record a new Voice Menu:</B> Lets you record a new voice menu using any user extension device";
tooltips['record'].en[1] = "<B>Filename:</B> File name under which the recorded file should be saved to. Ex: MainGreeting ";
tooltips['record'].en[2] = "<B>Extension used for recording:</B> Select a device through which this voice menu will be recorded.";
+ tooltips['record'].en[90] = "To help you create a customized IVR system for your business, voice prompts are available in English, French and Spanish, and are provided by Allison Smith and June Wallack. Click on the 'Where to Buy' button to get directly to the <i>IVR Voice Prompts</i> section on the Digium Store.";
// Tooltips for System Information (sysinfo)
Modified: branches/2.0/config/menuprompts_record.html
URL: http://svn.digium.com/view/asterisk-gui/branches/2.0/config/menuprompts_record.html?view=diff&rev=3849&r1=3848&r2=3849
==============================================================================
--- branches/2.0/config/menuprompts_record.html (original)
+++ branches/2.0/config/menuprompts_record.html Mon Sep 22 10:49:06 2008
@@ -21,6 +21,7 @@
-->
<script src="js/jquery.js"></script>
<script src="js/astman.js"></script>
+<script src="js/jquery.tooltip.js"></script>
<link href="stylesheets/schwing.css" media="all" rel="Stylesheet" type="text/css" />
<style type="text/css">
#recfilesTable {
@@ -183,6 +184,8 @@
ASTGUI.domActions.tr_addCell( newRow , { html: 'Options' } );
})();
+ $('#whereToBuy_button').tooltip({delay:0.9,showURL:false,top:15,left:-300});
+
ASTGUI.listSystemFiles( ASTGUI.paths.menusRecord , function(recfiles) {
for( var i=0 ; i < recfiles.length ; i++ ){
var filename = recfiles[i].stripTags();
@@ -205,6 +208,11 @@
});
};
+var buynow_action = function(){
+ win=window.open('','myWin');
+ win.location.href='http://store.digium.com/productview.php?product_code=IVRPROMPT';
+};
+
</script>
<body bgcolor="EFEFEF">
@@ -221,11 +229,13 @@
<div class='lite_Heading'>
List of Custom Voice Menu Prompts
</div>
- <div STYLE="text-align: center;">
+ <div STYLE="text-align: center;" class='top_buttons'>
<span class='guiButton' onclick='show_record_New();'>Record a new Voice Menu prompt</span>
<span class='guiButton' onclick='window.location.href="menuprompts_upload.html";' id='uploadVoiceMenuPrompt_Button'>Upload a Voice Menu prompt</span>
+ <span class='guiButton' style='margin-left:100px;' onclick='buynow_action();' id='whereToBuy_button' tip="en,record,90">Where to Buy</span>
</div>
- <div id="recfilesTable_div" style="height:370px;width=100%; overflow :auto; padding : 0">
+ <BR>
+ <div id="recfilesTable_div" style="height:370px; width=100%; overflow :auto; padding : 0">
<table id="recfilesTable" cellpadding=2 cellspacing=1 border=0 align=center></table>
</div>
</div>
More information about the asterisk-gui-commits
mailing list