View Single Post
  #74  
Old 02-02-2005, 09:37 AM
  shishapipe's Avatar 
shishapipe shishapipe is offline
 

Advanced Member
  
Join Date: Dec 2004
Location: London
Posts: 47
 

Default

Thanks for that CC, yes you was right

Here is the revised file that works great now.
shopcart/skin1/modules/stock_notify/stocknotify.tpl

Code:
{* stocknotify.tpl funkydunk.net 2003 - changed by Maxking *} {capture name=dialog} {if ($login ne "") or ($guestlogged ne "")} {include file="modules/stock_notify/addedtolist.tpl"} {else} {include file="check_email_script.tpl"} {include file="check_required_fields_js.tpl"} {$lng.txt_addme_notify} <SCRIPT type="text/javascript" language="JavaScript 1.2"> var requiredFields = new Array(); requiredFields[0] = new Array('guestemail', "{$lng.lbl_send_your_email|strip_tags|replace:'"':'\"'}", false); </SCRIPT> <TABLE border="0"> <FORM action="notify.php" method="post" name="notify"> <INPUT type="hidden" name="mode" value="notify"> <INPUT type="hidden" name="productid" value="{$productid}"> <TR> <TD class="FormButton">{$lng.lbl_send_your_email}:</TD> <TD><FONT class="Star">*</FONT></TD> <TD><INPUT value"Enter Your Email" id="guestemail" type="text" size="45" name="guestemail" onchange="javascript: checkEmailAddress(this);"></TD> </TR> </FORM> </TABLE> {include file="buttons/submit.tpl" style="button" button_title=$lng.lbl_stock_notify_button href="javascript: if(checkRequired('')) document.notify.submit();"} {/if} {/capture} {include file="dialog.tpl" title=$lng.lbl_stock_notify content=$smarty.capture.dialog extra="width=100%"}
__________________
Regards Maxking

SERVER: Microsoft-IIS/5.0
MYSQL Server: 4.0.18-NT
PERL: 5.006001
PHP: 4.3.6
X-CART pro: 4.3
X-AOM: 4..3
X-RMA: 4..3X-FancyCategories 4.3
Skin: Own Design
Marketing Manager Professional 3.0 Bundle
Reply With Quote