pari: branch asterisknow r2138 - /branches/asterisknow/config/

SVN commits to the Asterisk-GUI project asterisk-gui-commits at lists.digium.com
Sat Jan 12 21:15:07 CST 2008


Author: pari
Date: Sat Jan 12 21:15:06 2008
New Revision: 2138

URL: http://svn.digium.com/view/asterisk-gui?view=rev&rev=2138
Log:
removing some form fields which are no longer in use

Modified:
    branches/asterisknow/config/cfgbasic.html
    branches/asterisknow/config/users.html

Modified: branches/asterisknow/config/cfgbasic.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/cfgbasic.html?view=diff&rev=2138&r1=2137&r2=2138
==============================================================================
--- branches/asterisknow/config/cfgbasic.html (original)
+++ branches/asterisknow/config/cfgbasic.html Sat Jan 12 21:15:06 2008
@@ -435,7 +435,7 @@
 		<div style="padding-top: 0pt; padding-bottom: 0pt;" id="tooltip_round" class="tooltip_round"><div style="background-color: rgb(221, 221, 221);"><span style="border-style: solid; border-color: rgb(206, 206, 206); border-width: 0px 1px; overflow: hidden; background-color: rgb(191, 191, 191); display: block; height: 1px; font-size: 1px; margin-left: 1px; margin-right: 1px;"></span><span style="border-style: solid; border-color: rgb(206, 206, 206); border-width: 0px 1px; overflow: hidden; background-color: rgb(191, 191, 191); display: block; height: 1px; font-size: 1px; margin-left: 0px; margin-right: 0px;"></span></div>
 		<div id="tooltip" style="margin-left: 4px; font-family: Trebuchet MS,Arial,Helvetica,sans-serif; font-size: 11px;">Move the mouse over to a field to see tooltips</div>
 		<div style="background-color: rgb(221, 221, 221);"><span style="border-style: solid; border-color: rgb(206, 206, 206); border-width: 0px 1px; overflow: hidden; background-color: rgb(191, 191, 191); display: block; height: 1px; font-size: 1px; margin-left: 0px; margin-right: 0px;"></span><span style="border-style: solid; border-color: rgb(206, 206, 206); border-width: 0px 1px; overflow: hidden; background-color: rgb(191, 191, 191); display: block; height: 1px; font-size: 1px; margin-left: 1px; margin-right: 1px;"></span></div></div>
-		<center> <div id="buynow_div" style="margin-top:300px; margin-left:4px;margin-right:4px;" align="center"></div>	</center>
+		<center> <div id="buynow_div" style="position:absolute; top:300px; width:240px; margin-left:4px;" align="center"></div>	</center>
 	</td>
 </tr>
 <tr><td colspan="3" align="center" height="18">

Modified: branches/asterisknow/config/users.html
URL: http://svn.digium.com/view/asterisk-gui/branches/asterisknow/config/users.html?view=diff&rev=2138&r1=2137&r2=2138
==============================================================================
--- branches/asterisknow/config/users.html (original)
+++ branches/asterisknow/config/users.html Sat Jan 12 21:15:06 2008
@@ -35,30 +35,12 @@
 var allow_aliasextns = "no";
 var allow_an_extns = "no" ;
 
-var fieldnames_buynow = ['cust_firstName', 'cust_lastName',  'cust_company', 'cust_email', 'cust_phone', 'cust_street', 'cust_city', 'cust_state', 'cust_zip', 'cust_country'];
-var userinfowidgets  = {};
-var userinfo_callbacks = {};
 var USER_ZAPCHAN = '' ; // this global variable is used to know if the selected user's zapchan is changed between
 // callbacks.postselect and callbacks.savechanges, if it is changed we set parent.REQUIRE_RESTART to true;
 // and if parent.REQUIRE_RESTART is true - we nolonger care about updating/keeping track of this variable anyway.
 
-userinfo_callbacks.format = function(t){
-	if ((t.name != 'Myinfo'))
-		return null;
-	return t.name;
-}
-userinfo_callbacks.loaded = function(){
-	$('userinfo').selectitem(0);
-}
-
-
 function load_customerinfo(){
 	parent.$('buynow_div').innerHTML = "Need a phone, some software, or something else?<BR> Click on the 'Where to Buy' button to get directly to products.<BR/><BR/><input type=\"button\" id=\"buynow_button\" value=\"Where to Buy\">";
-
-	for(var x=0;x< fieldnames_buynow.length;x++){
-		userinfowidgets[fieldnames_buynow[x]] = $(fieldnames_buynow[x]);
-	}
-	parent.astmanEngine.config2list("contactinfo.conf", $('userinfo'), userinfowidgets, userinfo_callbacks);
 
 	parent.$('buynow_button').onclick = function(){	 
 		win=window.open('','myWin');
@@ -616,17 +598,6 @@
 </div>
 <div style="display:none">
 <form name="buynow_form" id="buynow_form" action="http://www.digium.com/en/ecosystem/partners/partners.php" method="post">
-	<select id="userinfo" style="display:none"></select>
-	<input type="hidden" id="cust_firstName" name="cust_firstName">
-	<input type="hidden" id="cust_lastName" name="cust_lastName">
-	<input type="hidden" id="cust_company" name="cust_company">
-	<input type="hidden" id="cust_email" name="cust_email">
-	<input type="hidden" id="cust_phone" name="cust_phone">
-	<input type="hidden" id="cust_street" name="cust_street">
-	<input type="hidden" id="cust_city" name="cust_city">
-	<input type="hidden" id="cust_state" name="cust_state">
-	<input type="hidden" id="cust_zip" name="cust_zip">
-	<input type="hidden" id="cust_country" name="cust_country">
 </form>
 </div>
 <!-- Codecs content DIV -->




More information about the asterisk-gui-commits mailing list