Index: releases/1.0.0-B1/platform/blocks/common/redirect.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/redirect.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/redirect.tpl (revision 12990) @@ -0,0 +1,18 @@ + <table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_title_Redirecting" /></td> + </tr> + <tr> + <td class="block-data"> + <form action="<inp2:m_FormAction />" method="get"> + + <br /> + <a href="<inp2:m_get name="redirect_to"/>"><inp2:m_Phrase label="lu_text_Redirecting" /></a><br /> + <br /> + <script type="text/javascript"> + document.write('<input type="submit" class="button" value=" Proceed " accesskey="s" onclick="window.location=\'<inp2:m_get name="redirect_to_js"/>\'; return false" />'); + </script> + </form> + </td> + </tr> + </table> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/redirect.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/forgotpass_reset_ok.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/forgotpass_reset_ok.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/forgotpass_reset_ok.tpl (revision 12990) @@ -0,0 +1,27 @@ + + +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_ForgotPassword"/></td> + </tr> + <tr> + <td class="block-data-single"> + + <form method="POST" action="<inp2:m_FormAction />"> + + <inp2:m_Phrase label="lu_text_ForgotPassHasBeenReset"/> + + <br /><br /> + + <input type="button" name="ResetPasswordOk" value="<inp2:m_Phrase label="lu_comm_Ok" no_editing="1"/>" class="button" onClick="window.location.href='<inp2:c_CategoryLink template="platform/login/login_register" module="In-Commerce" cat_id="Root"/>&next_template=index'" /> + + </form> + + <br /><br /> + <br /><br /> + <br /><br /> + + </td> + </tr> +</table> + Property changes on: releases/1.0.0-B1/platform/blocks/common/forgotpass_reset_ok.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/login_existing.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/login_existing.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/login_existing.tpl (revision 12990) @@ -0,0 +1,71 @@ +<form method="post" action="<inp2:m_FormAction />"> + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_ReturningCustomers"/> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_if check="u_HasError" field="ValidateLogin"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_AProblemWithForm"/> + + </td> + </tr> + </table> + </inp2:m_if><inp2:m_Phrase label="lu_PleaseLogin"/> + <br /> + <br /> + <table class="form-data"> + <inp2:m_if check="u_UseUsernames"> + <tr> + <td> + <strong><inp2:m_phrase label="lu_username"/>*:</strong> + </td> + <td> + <input type="text" name="login" value="" style="width: 300px;" /> + </td> + <td width="170" class="error"> </td> + </tr> + <inp2:m_else/> + <tr> + <td> + <strong><inp2:m_phrase label="lu_email"/>*:</strong> + </td> + <td> + <input type="text" name="email" value="" style="width: 300px;" /> + </td> + <td width="170" class="error"> </td> + </tr> + </inp2:m_if> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_password"/>*:</strong> + </td> + <td> + <input type="password" name="password" value="" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="ValidateLogin"/></td> + </tr> + <tr> + <td colspan="3" valign="bottom" height="35"> + <input class="button" name="events[u][OnLogin]" type="submit" style="width: 70px;" value="<inp2:m_Phrase label="lu_comm_Login" no_editing="1"/>" /><br /><br /> + <inp2:m_Phrase label="lu_IfForgotPass"/> + <a href="<inp2:m_Link template="platform/login/forgotpass"/>"><inp2:m_Phrase label="lu_Here"/></a> <br /> + </td> + </tr> + </table> + </td> + </tr> +</table> + <input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart" /> + <input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>"> + <input type="hidden" name="pending_disabled_template" value="platform/login/login_pending_disabled" /> +</form> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/login_existing.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/subscribe_confirmation.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/subscribe_confirmation.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/subscribe_confirmation.tpl (revision 12990) @@ -0,0 +1,26 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_subscribe_title" /></td> + </tr> + <tr> + <td class="block-data"> + + <br /> + <br /> + <strong><inp2:m_Phrase label="lu_subscribe_confirm" /></strong> + <br /> + <br /> + + <inp2:m_Phrase label="lu_subscribe_confirm_prompt" /> + + <br /> + <br /> + <form method="POST" action="<inp2:m_FormAction />"> + <input class="button" name="events[u][OnSubscribeUser]" type="submit" style="width: 80px;" value="<inp2:m_Phrase label="lu_comm_Yes" no_editing="1"/>" /> + <input class="button" type="button" value="<inp2:m_Phrase label="lu_Cancel" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" /> + <input type="hidden" name="subscribe_ok_template" value="platform/my_account/subscribe_ok"/> + <input type="hidden" name="subscribe_fail_template" value="platform/my_account/subscribe_error"/> + </form> + </td> + </tr> +</table> Property changes on: releases/1.0.0-B1/platform/blocks/common/subscribe_confirmation.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/forgotpass_reset.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/forgotpass_reset.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/forgotpass_reset.tpl (revision 12990) @@ -0,0 +1,44 @@ + + +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_ForgotPassword"/></td> + </tr> + <tr> + <td class="block-data-single"> + + <form method="POST" action="<inp2:m_FormAction />"> + + <strong><inp2:m_Phrase label="lu_title_PasswordRequestConfirm"/></strong> + + <br/><br/> + + <inp2:m_Phrase label="lu_text_PasswordRequestConfirm"/> + + <br /><br /> + + <inp2:m_if check="u_TestCodeIsValid" > + + <input type="submit" name="events[u][OnResetPasswordConfirmed]" value="<inp2:m_Phrase label="lu_comm_Yes" no_editing="1"/>" class="button" /> + + <input type="button" name="ResetPasswordCancelled" value="<inp2:m_Phrase label="lu_comm_No" no_editing="1"/>" class="button" onClick="window.location.href='<inp2:c_CategoryLink template="index" module="In-Commerce" cat_id="Root"/>'" /> + + <input type="hidden" name="user_key" value="<inp2:m_get name='user_key' />" /> + <input type="hidden" name="template_success" value="platform/login/forgotpass_reset_ok" /> + </form> + + <inp2:m_else /> + <span class="error"><inp2:u_Error field="PwResetConfirm"/></span> + <br /> <br /> + <a href="<inp2:c_CategoryLink template="index" module="In-Commerce" cat_id="Root"/>"><inp2:m_Phrase label="lu_ReturnToHome"/></a> + </inp2:m_if> + + + + + + + </td> + </tr> +</table> + Property changes on: releases/1.0.0-B1/platform/blocks/common/forgotpass_reset.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/unsubscribe_confirmation.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/unsubscribe_confirmation.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/unsubscribe_confirmation.tpl (revision 12990) @@ -0,0 +1,26 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_unsubscribe_title" /></td> + </tr> + <tr> + <td class="block-data"> + + <br /> + <br /> + <strong><inp2:m_Phrase label="lu_unsubscribe_confirm" /></strong> + <br /> + <br /> + + <inp2:m_Phrase label="lu_unsubscribe_confirm_prompt" /> + + <br /> + <br /> + <form method="POST" action="<inp2:m_FormAction />"> + <input class="button" name="events[u][OnSubscribeUser]" type="submit" style="width: 80px;" value="<inp2:m_Phrase label="lu_comm_Yes" no_editing="1"/>" /> + <input class="button" type="button" value="<inp2:m_Phrase label="lu_Cancel" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" /> + <input type="hidden" name="unsubscribe_ok_template" value="platform/my_account/unsubscribe_ok"/> + <input type="hidden" name="unsubscribe_fail_template" value="platform/my_account/unsubscribe_fail"/> + </form> + </td> + </tr> +</table> Property changes on: releases/1.0.0-B1/platform/blocks/common/unsubscribe_confirmation.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/recommend_site.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/recommend_site.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/recommend_site.tpl (revision 12990) @@ -0,0 +1,18 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_RecommendToFriend"/></td> + </tr> + <tr> + <td class="block-data-big"><inp2:m_Phrase label="lu_EnterEmailToRecommend"/><br /> + <form method="POST" action="<inp2:m_FormAction />"> + <input type="text" name="friend_email" value="" /> + <br /><img src="img/s.gif" alt="" width="5" height="10" border="0" /><br /> + <inp2:m_if check="u_HasError" field="any"> + <span class="error"><inp2:u_Error field="Email"/></span><br /> + </inp2:m_if> + <input class="button" name="events[u][OnRecommend]" type="submit" value="<inp2:m_Phrase label="lu_comm_Recommend" no_editing="1"/>" /> + <input type="hidden" name="template_success" value="platform/my_account/recommend.tpl" /> + </form> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/recommend_site.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/toolbar.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/toolbar.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/toolbar.tpl (revision 12990) @@ -0,0 +1,24 @@ +<table class="toolbar-block"> + <tr> + <td class="toolbar"> <strong><inp2:m_Phrase label="lu_QuickSearch"/>:</strong> + <form method="get" action="<inp2:m_link template="in-commerce/store/search_results" />"> + <inp2:m_GetFormHiddens template="in-commerce/store/search_results"/> + <input type="text" name="keywords" id="keywords" style="width: 150px" value="" /> + <input class="button" type="submit" style="width: 40px;" value="<inp2:m_Phrase label="lu_comm_Go" no_editing="1"/>!" /> + </form> + <strong> <a href="<inp2:m_Link template="in-commerce/store/advanced_search" />" class="toolbar"><inp2:m_Phrase label="lu_AdvancedSearch"/></a></strong> + </td> + <td align="right" class="toolbar"> + <strong> + <a href="<inp2:c_CategoryLink template="index" module="In-Commerce" cat_id="Root"/>" class="toolbar"><inp2:m_Phrase label="lu_Home"/></a> | + <a href="<inp2:m_Link template="in-commerce/my_account/account"/>" class="toolbar"><inp2:m_Phrase label="lu_YourAccount"/></a> | + <a href="<inp2:m_Link template="in-commerce/my_account/wishlist"/>" class="toolbar"><inp2:m_Phrase label="lu_YourWishList"/></a> | + <a href="<inp2:m_Link template="in-commerce/checkout/shop_cart"/>" class="toolbar"><inp2:m_Phrase label="lu_ShoppingCart"/></a> | + <a href="<inp2:m_Link template="in-commerce/store/contact_info" />" class="toolbar"><inp2:m_Phrase label="lu_ContactUs"/></a> + <inp2:m_if check="m_ModuleEnabled" module="In-Edit"> + <inp2:m_include template="in-edit/blocks/dmenu"/> + </inp2:m_if> + </strong> + </td> + </tr> +</table> Property changes on: releases/1.0.0-B1/platform/blocks/common/toolbar.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/forgotpass_confirm.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/forgotpass_confirm.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/forgotpass_confirm.tpl (revision 12990) @@ -0,0 +1,27 @@ + + +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_ForgotPassword"/></td> + </tr> + <tr> + <td class="block-data-single"> + + <form method="POST" action="<inp2:m_FormAction />"> + + <strong><inp2:m_Phrase label="lu_title_ConfirmPasswordReset"/></strong> + <br/><br/> + <inp2:m_Phrase label="lu_text_ConfirmPasswordReset"/> + + <br /><br /> + + <input type="submit" name="events[u][OnResetPassword]" value="<inp2:m_Phrase label="lu_comm_Ok" no_editing="1"/>" class="button" /> + + <input type="hidden" name="template_success" value="index" /> + </form> + + + </td> + </tr> +</table> + Property changes on: releases/1.0.0-B1/platform/blocks/common/forgotpass_confirm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/form_phrase.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/form_phrase.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/form_phrase.tpl (revision 12990) @@ -0,0 +1,87 @@ +<inp2:m_DefineElement name="option_element"> + <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option> +</inp2:m_DefineElement> + +<form method="post" action="<inp2:m_FormAction/>"> + +<table class="block-no-border"> + <tr> + <td class="block-header"> + Missing phrase adding + </td> + </tr> + <tr> + <td class="block-data"> + <br/> + <inp2:m_if check="phrases_HasError" field="any"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text">Warning</span><br /> + There is a problem with the form, please check the error messages below. + </td> + </tr> + </table> + </inp2:m_if> + + <strong>* Indicates Required fields.</strong> <br /><br /> + <table class="form-data"> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_fld_primary_translation"/>:</strong> + </td> + <td> + <inp2:phrases_Field name="PrimaryTranslation"/> + </td> + <td width="170" class="error"> </td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_fld_phrase"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:phrases_InputName field="Phrase"/>" value="<inp2:phrases_Field name="Phrase"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:phrases_Error field="Phrase"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_fld_translation"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:phrases_InputName field="Translation"/>" value="<inp2:phrases_Field name="Translation"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:phrases_Error field="Translation"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_fld_module"/>:</strong> + </td> + <td> + <select name="<inp2:phrases_InputName field="Module"/>" style="width: 300px;"> + <inp2:phrases_PredefinedOptions field="Module" render_as="option_element" selected_param="selected" selected="selected=\"selected\""/> + </select> + </td> + <td class="error"><inp2:phrases_Error field="Module"/></td> + </tr> + + <tr> + <td colspan="3" valign="bottom" height="35"> + <input type="hidden" id="phrases_label" name="phrases_label" value="<inp2:m_get var="phrases_label"/>" /> + <input type="hidden" name="<inp2:phrases_InputName field="LanguageId"/>" value="<inp2:phrases_Field name="LanguageId"/>" /> + <input type="hidden" name="<inp2:phrases_InputName field="PhraseType"/>" value="0" /> + + <input class="button" type="submit" id="events[phrases][OnCreate]" name="events[phrases][OnCreate]" value="<inp2:m_Phrase label="lu_comm_Create" no_editing="1"/>"/> + </td> + </tr> + </table> + </td> + </tr> +</table> + +</form> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/form_phrase.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/login.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/login.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/login.tpl (revision 12990) @@ -0,0 +1,43 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_Login"/></td> + </tr> + <tr> + <td class="block-data-big"> + <inp2:m_if check="m_LoggedIn"> + <inp2:m_Phrase label="lu_comm_Welcome"/>, <inp2:u_Field name="FirstName"/> <inp2:u_Field name="LastName"/><br/> + <img src="img/s.gif" alt="" width="5" height="5" border="0" /><br /> + <a href="<inp2:u_LogoutLink/>"><inp2:m_Phrase label="lu_comm_Logout"/></a> + <inp2:m_else/> + <form method="POST" action="<inp2:m_FormAction />"> + <inp2:m_if check="u_UseUsernames"> + <inp2:m_phrase label="lu_username"/><br /> + <input type="text" name="login" /> + <inp2:m_else/> + <inp2:m_phrase label="lu_email"/><br /> + <input type="text" name="email" /> + </inp2:m_if> + + <br /> + <inp2:m_Phrase label="lu_Password"/><br /> + <input type="password" name="password" /> + <br /><img src="img/s.gif" alt="" width="5" height="10" border="0" /><br /> + <input class="button" name="events[u][OnLogin]" type="submit" style="width: 70px;" value="<inp2:m_Phrase label="lu_comm_Login" no_editing="1"/>" /><br /> + <img src="img/s.gif" alt="" width="5" height="5" border="0" /><br /> + <inp2:m_if check="u_HasError" field="any"> + <span class="error"><inp2:u_Error field="ValidateLogin"/></span><br /> + </inp2:m_if> + + <inp2:m_if check="u_RegistrationEnabled"> + <a href="<inp2:m_Link template="platform/login/register"/>"><inp2:m_Phrase label="lu_Register"/></a><br /> + </inp2:m_if> + + <a href="<inp2:m_Link template="platform/login/forgotpass" />"><inp2:m_Phrase label="lu_ForgotPassword"/>?</a> + <input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart" /> + <input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>"> + <input type="hidden" name="pending_disabled_template" value="platform/login/login_pending_disabled" /> + </form> + </inp2:m_if> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/login.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/forgotpass_form.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/forgotpass_form.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/forgotpass_form.tpl (revision 12990) @@ -0,0 +1,66 @@ + + +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_ForgotPassword"/></td> + </tr> + <tr> + <td class="block-data-single"> + + + <form method="POST" action="<inp2:m_FormAction />"> + + <table class="form-data"> + + <inp2:m_if check="conf_ConfigValue" name="Email_As_Login"> + <tr> + <td colspan="3"><inp2:m_Phrase label="lu_EnterForgotEmail"/><br/><br/></td> + </tr> + <inp2:m_else/> + <tr> + <td colspan="3"><inp2:m_Phrase label="lu_EnterForgotUserEmail"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_Username"/>:</strong></td> + <td><input type="text" name="username"/></td> + <td> + <inp2:m_if check="u_HasError" field="any"> + <br /> + <span class="error"><inp2:u_Error field="Login"/></span> + </inp2:m_if> + </td> + </tr> + <td><strong><inp2:m_Phrase label="lu_Or"/></strong></td> + <td> </td> + <td> </td> + </tr> + </inp2:m_if> + + <tr> + <td><strong><inp2:m_Phrase label="lu_Email"/>:</strong></td> + <td><input type="text" name="email"/></td> + <td> + <inp2:m_if check="u_HasError" field="any"> + <br /> + <span class="error"><inp2:u_Error field="Email"/></span> + </inp2:m_if> + </td> + </tr> + <tr> + <td> </td> + <td><input type="submit" value="<inp2:m_Phrase label="lu_comm_SendPassword" no_editing="1"/>" name="events[u][OnForgotPassword]" class="button" /> <input type="button" class="button" onclick="window.location.href = '<inp2:m_Link template="index"/>';" value="<inp2:m_phrase label="lu_Cancel"/>"></td> + <td> </td> + </tr> + + </table> + <input type="hidden" name="template_success" value="index" /> + <input type="hidden" name="reset_confirm_template" value="platform/login/forgotpass_reset" /> + + </form> + + + + </td> + </tr> +</table> + Property changes on: releases/1.0.0-B1/platform/blocks/common/forgotpass_form.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4.4.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/subscribe_ok.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/subscribe_ok.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/subscribe_ok.tpl (revision 12990) @@ -0,0 +1,22 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_subscribe_title" /></td> + </tr> + <tr> + <td class="block-data"> + + <br /> + <br /> + <strong><inp2:m_Phrase label="lu_subscribe_confirm" /></strong> + <br /> + <br /> + + <inp2:m_Phrase label="lu_ThankForSubscribing"/>! + <br /> + <br /> + + <input class="button" type="button" value="<inp2:m_Phrase label="lu_comm_Ok" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" /> + + </td> + </tr> +</table> Property changes on: releases/1.0.0-B1/platform/blocks/common/subscribe_ok.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/mailing_list.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/mailing_list.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/mailing_list.tpl (revision 12990) @@ -0,0 +1,24 @@ +<table class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_MailingList"/></td> + </tr> + <tr> + <td class="block-data-big"> + <form method="POST" action="<inp2:m_FormAction />" name="mailing_list_form"> + <inp2:m_Phrase label="lu_EnterEmailToSubscribe"/><br /> + <input type="text" name="subscriber_email" /> + <br /><img src="img/s.gif" alt="" width="5" height="10" border="0" /><br /> + <inp2:m_if check="u_HasError" field="any"> + <span class="error"><inp2:u_Error field="SubscribeEmail"/></span><br /> + </inp2:m_if> + <input class="button" name="events[u][OnSubscribeQuery]" type="submit" value="<inp2:m_Phrase label="lu_comm_Subscribe" no_editing="1"/>" /> + <input class="button" name="events[u][OnSubscribeQuery]" type="submit" value="<inp2:m_Phrase label="lu_comm_Unsubscribe" />" /> + + <input type="text" style="display: none" /> + <input type="hidden" name="subscribe_template" value="platform/my_account/subscribe"/> + <input type="hidden" name="unsubscribe_template" value="platform/my_account/unsubscribe"/> + + </form> + </td> + </tr> +</table> Property changes on: releases/1.0.0-B1/platform/blocks/common/mailing_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/unsubscribe_ok.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/unsubscribe_ok.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/unsubscribe_ok.tpl (revision 12990) @@ -0,0 +1,22 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_unsubscribe_title" /></td> + </tr> + <tr> + <td class="block-data"> + + <br /> + <br /> + <strong><inp2:m_Phrase label="lu_unsubscribe_confirm" /></strong> + <br /> + <br /> + <inp2:m_Phrase label="lu_TextUnsubscribe"/> + + <br /> + <br /> + + <input class="button" type="button" value="<inp2:m_Phrase label="lu_comm_Ok" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" /> + + </td> + </tr> +</table> Property changes on: releases/1.0.0-B1/platform/blocks/common/unsubscribe_ok.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/contact_info.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/contact_info.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/contact_info.tpl (revision 12990) @@ -0,0 +1,52 @@ +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_ContactInformation"/></td> + </tr> + <tr> + <td class="block-data-single"> + <h1><inp2:conf_ConfigValue name="Comm_CompanyName"/></h1> + <table class="block-no-border"> + <tr class="form-data"> + <td><strong><inp2:m_Phrase label="lu_Email"/>:</strong></td> + <td><a href="mailto:<inp2:conf_ConfigValue name="Comm_Contacts_Email"/>"><inp2:conf_ConfigValue name="Comm_Contacts_Email"/></a> </td> + </tr> + <tr class="form-data"> + <td width="200"><strong><inp2:m_Phrase label="lu_Phone"/>:</strong></td> + <td><inp2:conf_ConfigValue name="Comm_Contacts_Phone"/> </td> + </tr> + <tr class="form-data"> + <td><strong><inp2:m_Phrase label="lu_Fax"/>:</strong></td> + <td><inp2:conf_ConfigValue name="Comm_Contacts_Fax"/> </td> + </tr> + <tr class="form-data"> + <td width="200"><strong><inp2:m_Phrase label="lu_Address"/>:</strong></td> + <td><inp2:conf_ConfigValue name="Comm_AddressLine1"/> </td> + </tr> + <tr class="form-data"> + <td> </td> + <td><inp2:conf_ConfigValue name="Comm_AddressLine2"/> </td> + </tr> + <tr class="form-data"> + <td><strong><inp2:m_Phrase label="lu_City"/>:</strong></td> + <td><inp2:conf_ConfigValue name="Comm_City"/> </td> + </tr> + <tr class="form-data"> + <td><strong><inp2:m_Phrase label="lu_State"/>:</strong></td> + <td><inp2:conf_ConfigValue name="Comm_State"/> </td> + </tr> + <tr class="form-data"> + <td><strong><inp2:m_Phrase label="lu_ZipCode"/>:</strong></td> + <td><inp2:conf_ConfigValue name="Comm_ZIP"/> </td> + </tr> + <tr class="form-data"> + <td><strong><inp2:m_Phrase label="lu_Country"/>:</strong></td> + <td><inp2:conf_ConfigValue name="Comm_Country"/> </td> + </tr> + <tr class="form-data"> + <td><strong><inp2:m_Phrase label="lu_AdditionalInfo"/>:</strong></td> + <td><inp2:conf_ConfigValue name="Comm_Contacts_Additional"/> </td> + </tr> + </table> + </td> + </tr> +</table> Property changes on: releases/1.0.0-B1/platform/blocks/common/contact_info.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/html_head.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/html_head.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/html_head.tpl (revision 12990) @@ -0,0 +1,23 @@ +<inp2:m_CheckSSL/> +<meta http-equiv="Content-Type" content="text/html; charset=<inp2:lang.current_Field name="Charset"/>" /> +<inp2:m_if check="m_ModuleEnabled" module="In-Edit"> + <!--## if In-edit purchase! ##--> + <inp2:m_Include t="in-edit/blocks/header"/> + <!--## /if In-edit purchase! ##--> +<inp2:m_else/> + <meta name="description" content="<inp2:c_Meta name="Description"/>" /> + <meta name="keywords" content="<inp2:c_Meta name="Keywords"/>" /> +</inp2:m_if> +<inp2:m_base_ref /> +<script type="text/javascript" src="inc/prototype.js"></script> +<script type="text/javascript" src="inc/scriptaculous.js?load=effects"></script> +<script type="text/javascript" src="inc/lightbox.js"></script> +<script type="text/javascript" src="inc/ajax.js"></script> + +<script type="text/javascript"> + var aRatingManager = new RatingManager('<inp2:m_Link template="index" events[#PREFIX#]="OnMakeVote" rating="#VOTE#" id="#ID#" no_amp="1" size="#SIZE#"/>'); +</script> + +<link href="inc/style.css" rel="stylesheet" type="text/css" /> +<link rel="stylesheet" href="inc/lightbox.css" type="text/css" media="screen" /> +<inp2:theme.current_StylesheetFile/> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/html_head.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5.2.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/header.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/header.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/header.tpl (revision 12990) @@ -0,0 +1,52 @@ +<inp2:m_if check="m_ModuleEnabled" module="In-Edit"> + <inp2:cms_EditPage /> +</inp2:m_if> +<table class="header"> + <tr> + <td> + <a href="<inp2:c_CategoryLink template="index" module="In-Commerce" cat_id="Root"/>"><img src="img/logo.gif" alt="In-commerce Online Store" border="0" /></a> + </td> + <td style="text-align: right"> + <inp2:m_if check="m_LoggedIn"> + <strong><inp2:m_Phrase label="lu_comm_Welcome"/>, <inp2:u_Field name="FirstName"/> <inp2:u_Field name="LastName"/>!</strong> + <br> + </inp2:m_if> + <form method="post" name="lang_form" id="lang_form" action="<inp2:m_FormAction />"> + <input type="hidden" name="events[lang][OnChangeLanguage]" value=""> + <inp2:m_Phrase label="lu_YourLanguage"/>: + <select name="language" onchange="document.getElementById('lang_form').submit()"> + <inp2:m_DefineElement name="lang_elem"> + <option value="<inp2:Field name="LanguageId"/>" <inp2:m_if check="SelectedLanguage">selected="selected"</inp2:m_if> ><inp2:Field name="PackName"/></option> + </inp2:m_DefineElement> + <inp2:lang_ListLanguages render_as="lang_elem" row_start_render_as="html:" row_end_render_as="html:"/> + </select> + </form> + + <!--## THEME DROP-DOWN ##--> + <!--## + <form method="post" name="theme_form" id="theme_form" action="<inp2:m_FormAction />"> + <input type="hidden" name="events[theme][OnChangeTheme]" value="" /> + <inp2:m_Phrase label="lu_CurrentTheme"/>: + <select name="theme" class="input-select" onchange="document.getElementById('theme_form').submit()"> + <inp2:m_DefineElement name="theme_elem"> + <option value="<inp2:Field name="ThemeId"/>" <inp2:m_if check="SelectedTheme">selected="selected"</inp2:m_if> ><inp2:Field name="Name"/></option> + </inp2:m_DefineElement> + <inp2:theme_PrintList render_as="theme_elem" no_table="1"/> + </select> + </form> + ##--> + <!--## /THEME DROP-DOWN ##--> + + <form method="post" name="cur_form" id="cur_form" action="<inp2:m_FormAction />"> + <inp2:m_Phrase label="lu_YourCurrency"/>: + <input type="hidden" name="events[curr][OnChangeCurrency]" value=""> + <select name="curr_iso" onchange="document.getElementById('cur_form').submit()"> + <inp2:m_DefineElement name="currency"> + <option value="<inp2:Field name="ISO"/>" <inp2:m_if check="SelectedCurrency">selected="selected"</inp2:m_if> ><inp2:Field name="ISO"/></option> + </inp2:m_DefineElement> + <inp2:curr_ListCurrencies render_as="currency" row_start_render_as="html:" row_end_render_as="html:"/> + </select> + </form> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/header.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5.2.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/footer.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/footer.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/footer.tpl (revision 12990) @@ -0,0 +1,18 @@ +<table border="0" cellspacing="0" cellpadding="0"> + <tr> + <td class="toolbar" style="text-align: center"> + <a href="<inp2:c_CategoryLink template="index" module="In-Commerce" cat_id="Root"/>" class="toolbar"><inp2:m_Phrase label="lu_Home"/></a> | + <a href="<inp2:m_Link template="in-commerce/my_account/account"/>" class="toolbar"><inp2:m_Phrase label="lu_YourAccount"/></a> | + <a href="<inp2:m_Link template="in-commerce/my_account/wishlist"/>" class="toolbar"><inp2:m_Phrase label="lu_YourWishList"/></a> | + <a href="<inp2:m_Link template="in-commerce/checkout/shop_cart"/>" class="toolbar"><inp2:m_Phrase label="lu_ShoppingCart"/></a> | + <a href="<inp2:m_Link template="in-commerce/store/contact_info" />" class="toolbar"><inp2:m_Phrase label="lu_ContactUs"/></a> + <inp2:m_if check="m_LoggedIn"> + | <a href="<inp2:u_LogoutLink />" class="toolbar"><inp2:m_Phrase label="lu_Logout"/></a> + </inp2:m_if> + + + </td> + </tr> +</table> + +<inp2:m_RegisterPageHit/> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/footer.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/copyright.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/copyright.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/copyright.tpl (revision 12990) @@ -0,0 +1,7 @@ +<table style="text-align: center"> + <tr> + <td> + <inp2:m_Phrase label="lu_PoweredBy"/> <a href="http://www.in-commerce.net" target="_blank">In-Commerce</a> ® 1997-2007, <a href="http://www.intechnic.com" target="_blank">Intechnic Corporation</a>. <inp2:m_Phrase label="lu_AllRightsReserved"/><br/> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/copyright.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/test.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/test.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/test.tpl (revision 12990) @@ -0,0 +1,3 @@ +<inp2:m_if check="m_LoggedIn"> + <a href="<inp2:m_Link template="in-commerce/my_account/wishlist"/>" class="toolbar">Your Wish List</a> | +</inp2:m_if> Property changes on: releases/1.0.0-B1/platform/blocks/common/test.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/not_found_warning.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/not_found_warning.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/not_found_warning.tpl (revision 12990) @@ -0,0 +1,22 @@ +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_error_404_title"/> + </td> + </tr> + <tr> + <td class="block-data"> + + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_error_404_description"/> + </td> + </tr> + </table> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/not_found_warning.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/recommend_send.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/recommend_send.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/recommend_send.tpl (revision 12990) @@ -0,0 +1,20 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_recommend_title" /></td> + </tr> + <tr> + <td class="block-data"> + + <br /> + <br /> + <strong><inp2:m_Phrase label="lu_recommend_confirm" /></strong> + <br /> + <br /> + <inp2:m_Phrase label="lu_recommend_confirm_text" /> + <br /> + <br /> + <button onClick="window.location.href='<inp2:m_Link template="index" />';" class="button" /><inp2:m_Phrase label="lu_comm_Ok"/></button> + + </td> + </tr> +</table> Property changes on: releases/1.0.0-B1/platform/blocks/common/recommend_send.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/credit_cards.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/credit_cards.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/credit_cards.tpl (revision 12990) @@ -0,0 +1,18 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_CreditCards"/></td> + </tr> + <tr> + <td class="block-data-big"> <strong><inp2:m_Phrase label="lu_WeAcceptCards"/></strong><br /> + <br /> + <table style="text-align: center"> + <tr> + <td> + <img alt="" src="in-commerce/img/visa.gif" /> <img alt="" src="in-commerce/img/american_express.gif" /> <img alt="" src="in-commerce/img/master_card.gif" /> <img alt="" src="in-commerce/img/novus.gif" /> + <br /> + </td> + </tr> + </table> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/credit_cards.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/common/adv_search.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/common/adv_search.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/common/adv_search.tpl (revision 12990) @@ -0,0 +1,11 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block"> + <tr> + <td class="block-header" colspan="2"> + <inp2:m_Phrase label="lu_AdvancedSearch"/> + </td> + </tr> + <tr> + <td class="block-data-big"> <a href="<inp2:m_link template="in-commerce/store/advanced_search" />"><inp2:m_Phrase label="lu_AdvancedSearch"/></a> </td> + <td align="right" class="block-data-big"> <a href="<inp2:m_link template="in-commerce/store/advanced_search" />"><img src="img/adv_search.gif" alt="Advanced Search" width="27" height="27" border="0" /></a> </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/common/adv_search.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/login/form_register.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/login/form_register.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/login/form_register.tpl (revision 12990) @@ -0,0 +1,335 @@ +<inp2:m_DefineElement name="destination"> + <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option> +</inp2:m_DefineElement> + +<inp2:m_if check="u_RegistrationEnabled"> + <form method="post" action="<inp2:m_FormAction />" id="registration_form"> + + <table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_NewCustomers"/> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_PleaseRegister"/><br/> + <br/> + <inp2:m_if check="u_HasError" field="any" except="ValidateLogin"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_AProblemInForm"/> + + </td> + </tr> + </table> + </inp2:m_if> + + <strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> <br /><br /> + <table class="form-data"> + <inp2:m_if check="u_UseUsernames"> + <tr> + <td> + <strong><inp2:m_phrase label="lu_username"/>*:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Login"/>" value="<inp2:u_Field name="Login"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Login"/></td> + </tr> + </inp2:m_if> + <tr> + <td> + <strong><inp2:m_phrase label="lu_email"/>*:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Email"/>" value="<inp2:u_Field name="Email"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Email"/></td> + </tr> + + <inp2:m_if check="m_ConfigEquals" name="User_Password_Auto" value="0"> + <tr> + <td> + <strong><inp2:m_phrase label="lu_password"/>*:</strong> + </td> + <td> + <input type="password" name="<inp2:u_InputName field="Password"/>" value="" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="Password"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_repeat_password"/>*:</strong> + </td> + <td> + <input type="password" name="<inp2:u_InputName field="VerifyPassword"/>" value="" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="VerifyPassword"/></td> + </tr> + </inp2:m_if> + + <tr> + <td class="block-data"> + <strong><inp2:m_phrase label="lu_birth_date"/>*:</strong><br> + </td> + <td class="block-data" style="white-space: nowrap"> + <script src="inc/calendar.js"></script> + <input type="text" name="<inp2:u_InputName field="dob_date"/>" id="<inp2:u_InputName field="dob_date"/>" value="<inp2:u_Field name="dob_date" format="_regional_InputDateFormat"/>" style="width: 100px;" datepickerIcon="img/calendar.gif"/> + <script type="text/javascript"> + initCalendar('<inp2:u_InputName field="dob_date"/>', "<inp2:u_Format input_format="1" field="dob_date"/>"); + </script> + (<inp2:u_Format field="dob_date" input_format="1" human="true"/>, ex. <inp2:u_Format field="dob_date" sample="true"/>) + <input type="hidden" name="<inp2:u_InputName field="dob_time"/>" value="" /> + </td> + <td width="170" class="error"><inp2:u_Error field="dob_date"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_first_name"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="FirstName"/>" value="<inp2:u_Field name="FirstName"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="FirstName"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_last_name"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="LastName"/>" value="<inp2:u_Field name="LastName"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="LastName"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_company"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Company"/>" value="<inp2:u_Field name="Company"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Company"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_address_line"/> 1:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Street"/>" value="<inp2:u_Field name="Street"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="Street"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_address_line"/> 2:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Street2"/>" value="<inp2:u_Field name="Street2"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="Street2"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_city"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="City"/>" value="<inp2:u_Field name="City"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:u_Error field="City"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_state"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="State"/>" value="<inp2:u_Field name="State"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:u_Error field="State"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_ZipCode"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Zip"/>" value="<inp2:u_Field name="Zip"/>" style="width: 100px;" /> + </td> + <td class="error"><inp2:u_Error field="Zip"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_country"/>:</strong> + </td> + <td> + <select name="<inp2:u_InputName field="Country"/>" style="width: 300px;"> + <option value=""></option> + <inp2:u_PredefinedOptions field="Country" render_as="destination" selected_param="selected" selected="selected=\"selected\""/> + </select> + </td> + <td class="error"><inp2:u_Error field="Country"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_phone"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Phone"/>" value="<inp2:u_Field name="Phone"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:u_Error field="Phone"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_fax"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Fax"/>" value="<inp2:u_Field name="Fax"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:u_Error field="Fax"/></td> + </tr> + + <inp2:m_if check="m_AllowAffiliateRegistration"> + <tr> + <td> + <strong><inp2:m_phrase label="lu_comm_RegisterAsAffiliate"/>:</strong> + </td> + <td> + <input type="checkbox" name="RegisterAsAffiliate" id="RegisterAsAffiliate" onchange="toggle_affiliate()" <inp2:m_if check="m_GetEquals" name="RegisterAsAffiliate" value="on">checked</inp2:m_if>/> + </td> + <td class="error"> </td> + </tr> + </inp2:m_if> + <inp2:m_if check="m_GetEquals" name="RegisterAsAffiliate" value="on"> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_comm_SSNField"/>*:</strong> + </td> + <td> + <input type="text" name="SSN" id="SSN" value="<inp2:m_get var="SSN" />" /> + </td> + <td class="error"> + <inp2:m_if check="m_getequals" var="SSNRequiredError" value="1"> + <inp2:m_Phrase label="lu_comm_FieldIsRequired" /> + </inp2:m_if> + </td> + </tr> + + <inp2:m_DefineElement name="affiliate_payment_type_elem"> + <tr> + <td> + <input type="radio" name="PaymentTypeId" id="PaymentTypeId_<inp2:Field name="PaymentTypeId" />" value="<inp2:Field name="PaymentTypeId" />" <inp2:m_if check="u_AffiliatePaymentTypeChecked">checked</inp2:m_if> /> + </td> + <td> + <label for="PaymentTypeId_<inp2:Field name="PaymentTypeId" />"><inp2:Field name="Name" /></label> + </td> + </tr> + <inp2:m_if check="Field" name="Description"> + <tr> + <td> </td> + <td><inp2:Field name="Description" /> </td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <tr> + <td style="vertical-align: top;"> + <strong><inp2:m_phrase label="lu_comm_ChooseAffiliatePaymentType"/>:</strong> + </td> + <td colspan="2"> + <table class="block-no-border"> + <inp2:u_ListAffiliatesPaymentTypes render_as="affiliate_payment_type_elem" /> + <tr><td colspan="2"> </td></tr> + </table> + </td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_comm_Comments"/>:</strong> + </td> + <td> + <textarea name="Comments" id="Comments" cols="35" rows="5"><inp2:m_get var="Comments" /></textarea> + </td> + <td class="error"> </td> + </tr> + + <tr> + <td colspan="2"> + <input type="checkbox" name="AgreeToAffiliateTerms" id="AgreeToAffiliateTerms" /> + <strong><inp2:m_Phrase label="lu_comm_IAgreeTo" /> + <a href="javascript:showAffiliateAgreement()"><inp2:m_Phrase label="lu_comm_AffiliateAgreement" /></a> + <inp2:m_Phrase label="lu_comm_TermsAndConditions" /></strong> + <script type="text/javascript"> + function showAffiliateAgreement() + { + window.open('<inp2:m_Link template="in-commerce/my_account/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300'); + } + </script> + </td> + <td class="error"> + <inp2:m_if check="m_getequals" var="MustAgreeToTerms" value="1"> + <inp2:m_Phrase label="lu_comm_MustAgreeAffiliateTermsError"/> + </inp2:m_if> + </td> + </tr> + </inp2:m_if> + + <inp2:m_if check="m_ConfigEquals" option="RegistrationCaptcha" value="1"> + <tr> + <td> + <strong><inp2:m_phrase label="lu_captcha"/>:</strong> + </td> + <td> + <img src="<inp2:m_t pass="m" template="inc/captcha_image" var="u_captcha_code" w="150" h="30"/>" /><br/> + </td> + <td width="170" class="error"> </td> + </tr> + + <tr> + <td> + + </td> + <td> + <inp2:m_phrase label="lu_captcha_prompt"/><br/> + <input type="text" name="<inp2:u_InputName field="Captcha"/>" value="" style="width: 80px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Captcha"/></td> + </tr> + </inp2:m_if> + + <tr> + <td colspan="3" valign="bottom" height="35"> + <input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart" /> + <input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>" /> + <input type="hidden" name="registration_confirm_template" value="platform/login/register_confirm" /> + <input type="hidden" name="registration_confirm_pending_template" value="platform/login/register_confirm_pending" /> + + <input class="button" type="submit" id="events[u][OnCreate]" name="events[u][OnCreate]" value="<inp2:m_Phrase label="lu_Register" no_editing="1"/>" /> + <input class="hidden" type="submit" id="events[u][OnRefreshForm]" name="events[u][OnRefreshForm]" /> + </td> + </tr> + </table> + </td> + </tr> + </table> + + </form> + + <script type="text/javascript"> + function toggle_affiliate() + { + document.getElementById('events[u][OnRefreshForm]').click(); + } + </script> +</inp2:m_if> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/login/form_register.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.19.2.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/login/register_confirm.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/login/register_confirm.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/login/register_confirm.tpl (revision 12990) @@ -0,0 +1,16 @@ + + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_RegisterConfirm"/> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_RegistrationCompleted"/> + + </td> + </tr> +</table> + Property changes on: releases/1.0.0-B1/platform/blocks/login/register_confirm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/login/register_confirm_pending.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/login/register_confirm_pending.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/login/register_confirm_pending.tpl (revision 12990) @@ -0,0 +1,17 @@ + + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_RegisterConfirmPending"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_user_pending_aproval_text"/> + + </td> + </tr> +</table> + Property changes on: releases/1.0.0-B1/platform/blocks/login/register_confirm_pending.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/login/no_permission_warning.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/login/no_permission_warning.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/login/no_permission_warning.tpl (revision 12990) @@ -0,0 +1,22 @@ +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_NoPermissions"/> + </td> + </tr> + <tr> + <td class="block-data"> + + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_NoAccess"/> + </td> + </tr> + </table> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/blocks/login/no_permission_warning.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/login/login_pending_disabled.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/login/login_pending_disabled.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/login/login_pending_disabled.tpl (revision 12990) @@ -0,0 +1,18 @@ + + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_title_DisabledAccountWarning"/> + + </td> + </tr> + <tr> + <td class="block-data"> + + <inp2:m_Phrase label="lu_text_DisabledAccountWarning"/>: <a href="mailto:<inp2:u_SiteAdminEmail/>"><inp2:u_SiteAdminEmail/></a> + + </td> + </tr> +</table> + Property changes on: releases/1.0.0-B1/platform/blocks/login/login_pending_disabled.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/blocks/login/register_disabled.tpl =================================================================== --- releases/1.0.0-B1/platform/blocks/login/register_disabled.tpl (nonexistent) +++ releases/1.0.0-B1/platform/blocks/login/register_disabled.tpl (revision 12990) @@ -0,0 +1,17 @@ + + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_title_RegistrationDisabled"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_title_RegistrationCompleted"/> + + </td> + </tr> +</table> + Property changes on: releases/1.0.0-B1/platform/blocks/login/register_disabled.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/login/register_confirm.tpl =================================================================== --- releases/1.0.0-B1/platform/login/register_confirm.tpl (nonexistent) +++ releases/1.0.0-B1/platform/login/register_confirm.tpl (revision 12990) @@ -0,0 +1,37 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_RegisterConfirm "/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + <form method="post" action="<inp2:m_FormAction />" > + + <inp2:m_include template="platform/blocks/login/register_confirm"/> + + </form> + </td> + <td class="main-column-right"> + + + + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/platform/login/register_confirm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/login/login_pending_disabled.tpl =================================================================== --- releases/1.0.0-B1/platform/login/login_pending_disabled.tpl (nonexistent) +++ releases/1.0.0-B1/platform/login/login_pending_disabled.tpl (revision 12990) @@ -0,0 +1,35 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_title_DisabledAccountWarning"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + <form method="post" action="<inp2:m_FormAction />"> + + <inp2:m_include template="platform/blocks/login/login_pending_disabled"/> + + </form> + </td> + <td class="main-column-right"> + + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/platform/login/login_pending_disabled.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/login/register_confirm_pending.tpl =================================================================== --- releases/1.0.0-B1/platform/login/register_confirm_pending.tpl (nonexistent) +++ releases/1.0.0-B1/platform/login/register_confirm_pending.tpl (revision 12990) @@ -0,0 +1,37 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_RegisterConfirmPending"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + <form method="post" action="<inp2:m_FormAction />"> + + <inp2:m_include template="platform/blocks/login/register_confirm_pending"/> + + </form> + </td> + <td class="main-column-right"> + + + + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/platform/login/register_confirm_pending.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/login/register_disabled.tpl =================================================================== --- releases/1.0.0-B1/platform/login/register_disabled.tpl (nonexistent) +++ releases/1.0.0-B1/platform/login/register_disabled.tpl (revision 12990) @@ -0,0 +1,37 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="LU_TITLE_REGISTRATIONDISABLED"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + <form method="post" action="<inp2:m_FormAction />"> + + <inp2:m_include template="platform/blocks/login/register_disabled"/> + + </form> + </td> + <td class="main-column-right"> + + + + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/platform/login/register_disabled.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/login/register.tpl =================================================================== --- releases/1.0.0-B1/platform/login/register.tpl (nonexistent) +++ releases/1.0.0-B1/platform/login/register.tpl (revision 12990) @@ -0,0 +1,35 @@ +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_PleaseRegister"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="platform/blocks/login/form_register"/> + + </td> + <td class="main-column-right"> + + + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/platform/login/register.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/login/login_register.tpl =================================================================== --- releases/1.0.0-B1/platform/login/login_register.tpl (nonexistent) +++ releases/1.0.0-B1/platform/login/login_register.tpl (revision 12990) @@ -0,0 +1,36 @@ +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_PleaseLogin"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/login_existing" /> + + <inp2:m_include template="platform/blocks/login/form_register"/> + + </td> + <td class="main-column-right" valign="top"> + + + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/login/login_register.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/login/forgotpass_reset_ok.tpl =================================================================== --- releases/1.0.0-B1/platform/login/forgotpass_reset_ok.tpl (nonexistent) +++ releases/1.0.0-B1/platform/login/forgotpass_reset_ok.tpl (revision 12990) @@ -0,0 +1,35 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_ForgotPassword"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/forgotpass_reset_ok" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/platform/login/forgotpass_reset_ok.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/login/forgotpass.tpl =================================================================== --- releases/1.0.0-B1/platform/login/forgotpass.tpl (nonexistent) +++ releases/1.0.0-B1/platform/login/forgotpass.tpl (revision 12990) @@ -0,0 +1,35 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_ForgotPassword"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/forgotpass_form" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/platform/login/forgotpass.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/login/forgotpass_reset.tpl =================================================================== --- releases/1.0.0-B1/platform/login/forgotpass_reset.tpl (nonexistent) +++ releases/1.0.0-B1/platform/login/forgotpass_reset.tpl (revision 12990) @@ -0,0 +1,35 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_ForgotPassword"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/forgotpass_reset" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/platform/login/forgotpass_reset.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/my_account/recommend.tpl =================================================================== --- releases/1.0.0-B1/platform/my_account/recommend.tpl (nonexistent) +++ releases/1.0.0-B1/platform/my_account/recommend.tpl (revision 12990) @@ -0,0 +1,48 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_recommend_title"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-left" valign="top"> + + <inp2:m_include template="in-commerce/blocks/categories/categories_home" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/adv_search" /> + + <inp2:m_include template="platform/blocks/common/credit_cards" /> + + </td> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/recommend_send" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/mailing_list"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/my_account/recommend.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/my_account/subscribe.tpl =================================================================== --- releases/1.0.0-B1/platform/my_account/subscribe.tpl (nonexistent) +++ releases/1.0.0-B1/platform/my_account/subscribe.tpl (revision 12990) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_subscribe_title"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/subscribe_confirmation" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/recommend_site"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/my_account/subscribe.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/my_account/unsubscribe.tpl =================================================================== --- releases/1.0.0-B1/platform/my_account/unsubscribe.tpl (nonexistent) +++ releases/1.0.0-B1/platform/my_account/unsubscribe.tpl (revision 12990) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_unsubscribe_title"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/unsubscribe_confirmation" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/recommend_site"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/my_account/unsubscribe.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/my_account/subscribe_ok.tpl =================================================================== --- releases/1.0.0-B1/platform/my_account/subscribe_ok.tpl (nonexistent) +++ releases/1.0.0-B1/platform/my_account/subscribe_ok.tpl (revision 12990) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_subscribe_title"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/subscribe_ok" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/recommend_site"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/platform/my_account/subscribe_ok.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/platform/my_account/unsubscribe_ok.tpl =================================================================== --- releases/1.0.0-B1/platform/my_account/unsubscribe_ok.tpl (nonexistent) +++ releases/1.0.0-B1/platform/my_account/unsubscribe_ok.tpl (revision 12990) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_unsubscribe_title"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/unsubscribe_ok" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/recommend_site"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/platform/my_account/unsubscribe_ok.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/form_register.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/form_register.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/form_register.tpl (revision 12990) @@ -0,0 +1,214 @@ +<inp2:m_DefineElement name="destination"> + <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option> +</inp2:m_DefineElement> + +<inp2:m_if check="u_SuggestRegister"> + <form method="post" action="<inp2:m_FormAction />"> + + <table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_Registration"/> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_if check="u_HasError" field="any"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_AProblemInForm"/> + </td> + </tr> + </table> + </inp2:m_if> + <inp2:m_Phrase label="lu_SuggestRegister"/> + <br> + <br> + <strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> <br /><br /> + <inp2:ord_PrefillRegistrationFields type="billing"/> + <table class="form-data"> + <inp2:m_if check="u_UseUsernames"> + <tr> + <td> + <strong><inp2:m_phrase label="lu_select_username"/>*:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Login"/>" value="<inp2:u_Field name="Login"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="Login"/></td> + </tr> + </inp2:m_if> + <tr> + <td> + <strong><inp2:m_phrase label="lu_email"/>*:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Email"/>" value="<inp2:u_Field name="Email" />" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="Email"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_create_password"/>*:</strong> + </td> + <td> + <input type="password" name="<inp2:u_InputName field="Password"/>" value="" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="Password"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_repeat_password"/>*:</strong> + </td> + <td> + <input type="password" name="<inp2:u_InputName field="VerifyPassword"/>" value="" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="VerifyPassword"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_phrase label="lu_birth_date"/>*:</strong><br> + </td> + <td class="block-data"> + <script src="inc/calendar.js"></script> + <input type="text" name="<inp2:u_InputName field="dob_date"/>" id="<inp2:u_InputName field="dob_date"/>" value="<inp2:u_Field name="dob_date" format="_regional_InputDateFormat"/>" style="width: 100px;" datepickerIcon="img/calendar.gif"/> + <script type="text/javascript"> + initCalendar('<inp2:u_InputName field="dob_date"/>', "<inp2:u_Format input_format="1" field="dob_date"/>"); + </script> + (<inp2:u_Format field="dob_date" input_format="1" human="true"/>, ex. <inp2:u_Format field="dob_date" sample="true"/>) + </td> + <td class="error"><inp2:u_Error field="dob_date"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_first_name"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="FirstName"/>" value="<inp2:u_Field name="FirstName"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="FirstName"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_last_name"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="LastName"/>" value="<inp2:u_Field name="LastName"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="LastName"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_company"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Company"/>" value="<inp2:u_Field name="Company"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="Company"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_address_line"/> 1:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Street"/>" value="<inp2:u_Field name="Street"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="Street"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_address_line"/> 2:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Street2"/>" value="<inp2:u_Field name="Street2"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="Street2"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_city"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="City"/>" value="<inp2:u_Field name="City"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:u_Error field="City"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_state"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="State"/>" value="<inp2:u_Field name="State"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:u_Error field="State"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_ZipCode"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Zip"/>" value="<inp2:u_Field name="Zip"/>" style="width: 100px;" /> + </td> + <td class="error"><inp2:u_Error field="Zip"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_country"/>:</strong> + </td> + <td> + <select name="<inp2:u_InputName field="Country"/>" style="width: 300px;"> + <option value=""></option> + <inp2:u_PredefinedOptions field="Country" render_as="destination" selected_param="selected" selected="selected=\"selected\""/> + </select> + </td> + <td class="error"><inp2:u_Error field="Country"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_phone"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Phone"/>" value="<inp2:u_Field name="Phone"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:u_Error field="Phone"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_fax"/>:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Fax"/>" value="<inp2:u_Field name="Fax"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:u_Error field="Fax"/></td> + </tr> + + <tr> + <td colspan="3" valign="bottom" height="35"> + <input type="hidden" name="next_template" value="<inp2:m_get var="next_template"/>"> + <input type="hidden" name="registration_confirm_template" value="platform/login/register_confirm"> + <input type="hidden" name="registration_confirm_pending_template" value="platform/login/register_confirm_pending"> + + <input type="hidden" name="fields_prefilled" value="1" /> + + <input class="button" type="submit" id="events[u][OnCreate]" name="events[u][OnCreate]" value="<inp2:m_Phrase label="lu_Register" no_editing="1"/>"/> + </td> + </tr> + </table> + </td> + </tr> + </table> + + </form> +</inp2:m_if> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/form_register.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.10 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/shop_cart.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/shop_cart.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/shop_cart.tpl (revision 12990) @@ -0,0 +1,199 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_YourCart"/></td> + </tr> + <tr> + <td class="block-data"> + <form method="post" action="<inp2:m_FormAction />"> + + <inp2:m_if check="ord_CartHasError"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:ord_CheckoutError state_changed="lu_comm_msg_state_changed" qty_unavailable="lu_comm_msg_qty_unavailable" outofstock="lu_comm_msg_outofstock" + coupon_applied="lu_comm_CouponApplied" + invalid_code="lu_comm_invalid_code" code_expired="lu_comm_code_expired" + min_qty="lu_min_qty_error" code_removed="lu_comm_CouponRemoved" + code_removed_automatically="lu_comm_CouponIsNotEffective" + changed_after_login="lu_comm_CartChangedAfterLogin" /> + </td> + </tr> + </table> + </inp2:m_if> + + <table> + + <inp2:m_DefineElement name="shop_cart_header"> + <tr class="cart-header"> + <inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders"> + <td colspan="2"><inp2:m_Phrase label="lu_comm_ProductDescription"/></td> + <inp2:m_else/> + <td><inp2:m_Phrase label="lu_comm_ProductDescription"/></td> + </inp2:m_if> + + <td><inp2:m_Phrase label="lu_comm_YourPrice"/></td> + <td><inp2:m_Phrase label="lu_comm_Qty"/>.</td> + <td><inp2:m_Phrase label="lu_comm_Total"/></td> + <td> </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_include template="in-commerce/blocks/checkout/options"/> + + <inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="shop_cart_item"> + <tr class="cart-item"> + <inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders"> + <td width="120"> + <inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /> + </td> + </inp2:m_if> + + <td> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Field name="Name" /></a> <inp2:m_if check="ord_BackorderFlag"> <span class="error"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span></inp2:m_if> + <inp2:m_if check="HasOptions"> + <br/> + <span style="font-size: 8pt"> + <inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination --> + <inp2:PrintOptions render_as="option_element" currency="selected"/> + <inp2:m_else/> <!-- listed combinations --> + <inp2:PrintOptions render_as="option_element_no_price" currency="selected"/> + </inp2:m_if> + <inp2:m_if check="FieldEquals" field="OptionsSelectionMode" value="0"> <!-- selectable options --> + <a href="<inp2:m_link template="__default__" pass="m,p,orditems"/>"><inp2:m_Phrase label="lu_comm_edit_options"/></a> + </inp2:m_if> + </span> + </inp2:m_if> + <inp2:m_if check="p_CustomField" name="Availability"> + <br /> + <inp2:p_CustomField name="Availability"/> + </inp2:m_if> + <inp2:m_if check="HasDiscount"> + <br /> + <inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" currency="selected"/><br /> + <inp2:m_Phrase label="lu_comm_Discount" />: <span class="price1"><inp2:Field name="ItemDiscount" currency="selected" negative="1" /></span> + <a href="javascript:showDiscountInfo('<inp2:ord_DiscountHelpLink template="in-commerce/checkout/discount_info" />')">[?]</a> + </inp2:m_if> + </td> + <td><strong><inp2:Field name="Price" currency="selected"/></strong></td> + <td> + <inp2:m_if check="IsTangible" > + <input value="<inp2:Field field="Quantity"/>" size="5" name="<inp2:InputName field="Quantity"/>" /> + <!--<inp2:m_if check="ProductsInStock"> + <inp2:m_Phrase name="lu_of"/> <inp2:ProductsInStock/> + </inp2:m_if>--> + <inp2:m_else /> + 1 + </inp2:m_if> + </td> + <td><strong><inp2:Field name="ExtendedPrice" currency="selected"/></strong></td> + <td><a href="<inp2:LinkRemoveFromCart/>"><img src="in-commerce/img/delete.gif" title="Delete" alt="Delete" width="15" height="14" border="0" /></a></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="shop_cart_footer"> + + <tr class="cart-subtotal"> + <td colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>"> + <inp2:m_if check="ord_HasDiscount"> + <inp2:m_Phrase label="lu_comm_TotalSavings" />: <span class="price1"><inp2:ord_Field name="DiscountTotal" currency="selected" /></span><br /> + </inp2:m_if> + <inp2:m_if check="ord_Field" name="CouponId"> + <inp2:m_Phrase label="lu_comm_CouponHasBeenApplied" />: + <inp2:ord_Field field="CouponName" /> + <input class="button" type="submit" name="events[ord][OnRemoveCoupon]" value="<inp2:m_Phrase label="lu_comm_RemoveCoupon" no_editing="1"/>"> + <inp2:m_else /> + <inp2:m_Phrase label="lu_comm_EnterCouponCode" />: + <input size="10" name="coupon_code" /> + </inp2:m_if> + </td> + <td colspan="2"> + <strong><inp2:m_Phrase label="lu_comm_Subtotal"/>: <span class="price1"><inp2:ord_Field field="SubtotalWithDiscount" currency="selected"/></span></strong> + </td> + </tr> + +<!-- <inp2:m_if check="ord_HasPayPalSubscription"/> + <input type="hidden" name="next_step_template" value="in-commerce/checkout/paypal"> + <inp2:m_else/> --> + <input type="hidden" name="next_step_template" value="<inp2:m_if check="ord_OrderHasTangibleItems">in-commerce/checkout/shipping<inp2:m_else/>in-commerce/checkout/billing</inp2:m_if>" /> +<!-- </inp2:m_if> --> + + + + <input type="hidden" name="login_template" value="in-commerce/checkout/login_register" /> + + <tr class="cart-subtotal"> + <td colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">4<inp2:m_else/>3</inp2:m_if>"> + <input class="button" type="submit" name="events[ord][OnUpdateCart]" value="<inp2:m_Phrase label="lu_comm_UpdateCart" no_editing="1"/>" /> + + <input class="button" type="submit" name="events[ord][OnCleanupCart]" onclick="return confirm('<inp2:m_Phrase label="lu_comm_ClearCartConfirmation" />')" value="<inp2:m_Phrase label="lu_comm_CleanupCart" no_editing="1"/>" /> + </td> + <td align="right" colspan="2"> + <input class="button" type="submit" name="events[ord][OnCheckout]" value="<inp2:m_Phrase label="lu_comm_ProceedCheckout" no_editing="1"/>" /> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="shop_cart_empty"> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_YourCartIsEmpty"/></strong> + </td> + </tr> + </inp2:m_DefineElement> + + <script language="JavaScript"> + function showDiscountInfo(url) + { + window.open(url, null, 'scrollbars=no,menubar=no,toolbars=no,width=300,height=150'); + } + </script> + + <inp2:ord_PrintCart item_render_as="shop_cart_item" header_render_as="shop_cart_header" footer_render_as="shop_cart_footer" empty_cart_render_as="shop_cart_empty" per_page="-1"/> + + </table> + + <hr/> + <input type="hidden" name="continue_shopping_template" value="__default__"/> + <input class="button" type="submit" name="events[ord][OnContinueShopping]" value="<inp2:m_Phrase label="lu_comm_Continue_Shopping" no_editing="1"/>"> + + </form> + + <inp2:m_if check="ord_CartNotEmpty"> + <inp2:m_if check="ord_HasPaymentGateway" name="Google Checkout"> + <inp2:m_DefineElement name="google_checkout_button"> + <form method="POST" target="_blank" action="<inp2:ord_GetFormAction payment_type_id="$payment_type_id"/>"> + <inp2:ord_GetFormHiddenFields return_template="in-commerce/checkout/checkout_success" + cancel_template="in-commerce/checkout/billing" + payment_type_id="$payment_type_id"/> + + <inp2:m_if check="m_Param" name="submit_url" equals_to="https://checkout.google.com/api/checkout/v2"> + <input type="image" name="Google Checkout" alt="Fast checkout through Google" + src="https://checkout.google.com/buttons/checkout.gif?merchant_id=<inp2:m_Param name="merchant_id"/> + &w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180"> + <inp2:m_else/> + <input type="image" name="Google Checkout" alt="Fast checkout through Google" + src="http://sandbox.google.com/checkout/buttons/checkout.gif?merchant_id=<inp2:m_Param name="merchant_id"/> + &w=180&h=46&style=white&variant=text&loc=en_US" height="46" width="180"> + </inp2:m_if> + </form> + </inp2:m_DefineElement> + + <inp2:ord_DisplayPaymentGateway name="Google Checkout" render_as="google_checkout_button"/> + </inp2:m_if> + </inp2:m_if> + + </td> + </tr> +</table> + +<inp2:m_if check="ord_CartIsEmpty"> + + <inp2:m_include template="in-commerce/blocks/products/products_picks" data_exists="1"/> + +</inp2:m_if> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/shop_cart.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.23.2.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/register.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/register.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/register.tpl (revision 12990) @@ -0,0 +1,75 @@ + +<form method="post" action="<inp2:m_FormAction />"> +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_NewCustomers"/> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_if check="u_HasError" field="any"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_AProblemWithForm"/> + + </td> + </tr> + </table> + </inp2:m_if> + <inp2:m_Phrase label="lu_comm_PleaseRegister"/>... <br /> + <inp2:m_Phrase label="lu_comm_PleaseEnterFollowing"/>:<br /> + <br /> + <strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> <br /><br /> + <table class="form-data"> + <inp2:m_if check="u_UseUsernames"> + <tr> + <td> + <strong><inp2:m_phrase label="lu_select_username"/>*:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Login"/>" value="<inp2:u_Field name="Login"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Login"/></td> + </tr> + </inp2:m_if> + <tr> + <td> + <strong><inp2:m_phrase label="lu_your_email"/>*:</strong> + </td> + <td> + <input type="text" name="<inp2:u_InputName field="Email"/>" value="<inp2:u_Field name="Email"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Email"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_create_password"/>*:</strong> + </td> + <td> + <input type="password" name="<inp2:u_InputName field="Password"/>" value="" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="Password"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_repeat_password"/>*:</strong> + </td> + <td> + <input type="password" name="<inp2:u_InputName field="VerifyPassword"/>" value="" style="width: 300px;" /> + </td> + <td class="error"><inp2:u_Error field="VerifyPassword"/></td> + </tr> + <tr> + <td colspan="3" valign="bottom" height="35"> + <input class="button" type="submit" id="events[u][OnCreate]" name="events[u][OnCreate]" value="<inp2:m_Phrase label="lu_Register" no_editing="1"/>"/> + </td> + </tr> + </table> + </td> + </tr> +</table> +</form> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/register.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/billing_address.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/billing_address.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/billing_address.tpl (revision 12990) @@ -0,0 +1,251 @@ +<inp2:m_DefineElement name="destination"> + <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option> +</inp2:m_DefineElement> + +<inp2:ord_ShowDefaultAddress type="billing"/> +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_BillingInfo"/> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_if check="ord_HasError" field="any"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_AProblemInForm"/> + + </td> + </tr> + </table> + </inp2:m_if> + <inp2:m_Phrase label="lu_comm_PleaseEnterBillingAddress"/> + + <br /> + <strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> <br /><br /> + + <inp2:m_if check="m_LoggedIn"> + <!-- address selector: begin --> + <inp2:m_Phrase label="lu_comm_SelectAddress"/>: + + <inp2:m_DefineElement name="address_elem"> + <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="value"/></option> + </inp2:m_DefineElement> + + <select name="billing_address_id" onchange="document.getElementById('events[ord][OnSelectAddress]').click();"> + <inp2:m_if check="ord_AllowAddAddress"> + <option value="-1"><inp2:m_phrase name="lu_comm_NewAddress"/></option> + </inp2:m_if> + <inp2:ord_PrintAddresses render_as="address_elem" type="billing" /> + </select> + + <input class="button" type="submit" id="events[ord][OnSelectAddress]" name="events[ord][OnSelectAddress]" value="<inp2:m_Phrase label="lu_comm_Select" no_editing="1"/>"/> + <a href="<inp2:m_Link template="in-commerce/my_account/address"/>"><inp2:m_Phrase name="lu_comm_ManageAddresses"/></a> + <br /> + <inp2:m_Phrase label="lu_comm_OrEnterAddress"/>:<br /> + + <inp2:m_if check="ord_IsProfileAddress" type="billing"> + <inp2:m_Phrase label="lu_comm_ProfileAddressWarning"/><br /> + </inp2:m_if> + <!-- address selector: end --> + </inp2:m_if> + + <table class="form-data"> + <inp2:m_if check="ord_OrderHasTangibleItems"> + <inp2:m_if check="m_LoggedIn"><inp2:m_else/> + <tr> + <td><strong><inp2:m_Phrase label="lu_SameAsShipping"/>:</strong></td> + <td> + <input type="checkbox" name="same_address" onclick="document.getElementById('events[ord][OnUpdate]').click();" value="1"<inp2:m_if check="m_GetEquals" name="same_address" value="1"> checked</inp2:m_if>" /> + </td> + <td class="error"></td> + </tr> + </inp2:m_if> + </inp2:m_if> + + <inp2:m_if check="u.current_Field" name="cust_shipping_addr_block" inverse="1"> + + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_FullName"/>*:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="BillingTo"/>" value="<inp2:ord_Field name="BillingTo"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:ord_Error field="BillingTo" /></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_Company"/>:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="BillingCompany"/>" value="<inp2:ord_Field name="BillingCompany"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:ord_Error field="BillingCompany" /></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1*:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="BillingAddress1"/>" value="<inp2:ord_Field name="BillingAddress1"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingAddress1" /></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="BillingAddress2"/>" value="<inp2:ord_Field name="BillingAddress2"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingAddress2" /></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_City"/> *:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="BillingCity"/>" value="<inp2:ord_Field name="BillingCity"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingCity" /></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_State"/> *:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="BillingState"/>" value="<inp2:ord_Field name="BillingState"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingState"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_ZipCode"/> *:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="BillingZip"/>" value="<inp2:ord_Field name="BillingZip"/>" style="width: 100px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingZip" /></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_Country"/> *:</strong></td> + <td> + <select name="<inp2:ord_InputName field="BillingCountry"/>" style="width: 300px;"> + <option value="0"></option> + <inp2:ord_PredefinedOptions field="BillingCountry" render_as="destination" selected_param="selected" selected="selected=\"selected\""/> + </select> + </td> + <td class="error"><inp2:ord_Error field="BillingCountry" /></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_Phone"/> *:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="BillingPhone"/>" value="<inp2:ord_Field name="BillingPhone"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingPhone"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_Email"/> :</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="BillingEmail"/>" value="<inp2:ord_Field name="BillingEmail"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingEmail"/></td> + </tr> + + <inp2:m_else/> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_FullName"/>*:</strong></td> + <td> + <inp2:ord_Field name="BillingTo"/> + <input type="hidden" name="<inp2:ord_InputName field="BillingTo"/>" value="<inp2:ord_Field name="BillingTo"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:ord_Error field="BillingTo"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_Company"/>:</strong></td> + <td> + <inp2:ord_Field name="BillingCompany"/> + <input type="hidden" name="<inp2:ord_InputName field="BillingCompany"/>" value="<inp2:ord_Field name="BillingCompany"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:ord_Error field="BillingCompany"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1*:</strong></td> + <td> + <inp2:ord_Field name="BillingAddress1"/> + <input type="hidden" name="<inp2:ord_InputName field="BillingAddress1"/>" value="<inp2:ord_Field name="BillingAddress1"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingAddress1"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong></td> + <td> + <inp2:ord_Field name="BillingAddress2"/> + <input type="hidden" name="<inp2:ord_InputName field="BillingAddress2"/>" value="<inp2:ord_Field name="BillingAddress2"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingAddress2"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_City"/> *:</strong></td> + <td> + <inp2:ord_Field name="BillingCity"/> + <input type="hidden" name="<inp2:ord_InputName field="BillingCity"/>" value="<inp2:ord_Field name="BillingCity"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingCity"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_State"/>*:</strong></td> + <td> + <inp2:ord_Field name="BillingState"/> + <input type="hidden" name="<inp2:ord_InputName field="BillingState"/>" value="<inp2:ord_Field name="BillingState"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingState"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_ZipCode"/> *:</strong></td> + <td> + <inp2:ord_Field name="BillingZip"/> + <input type="hidden" name="<inp2:ord_InputName field="BillingZip"/>" value="<inp2:ord_Field name="BillingZip"/>" style="width: 100px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingZip"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_Country"/> *:</strong></td> + <td> + <inp2:ord_Field name="BillingCountry"/> + <input type="hidden" name="<inp2:ord_InputName field="BillingCountry"/>" value="<inp2:ord_Field name="BillingCountry"/>" style="width: 100px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingCountry"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_Phone"/>*:</strong></td> + <td> + <inp2:ord_Field name="BillingPhone"/> + <input type="hidden" name="<inp2:ord_InputName field="BillingPhone"/>" value="<inp2:ord_Field name="BillingPhone"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingPhone"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_Email"/>:</strong></td> + <td> + <inp2:ord_Field name="BillingEmail"/> + <input type="hidden" name="<inp2:ord_InputName field="BillingEmail"/>" value="<inp2:ord_Field name="BillingEmail"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:ord_Error field="BillingEmail"/></td> + </tr> + </inp2:m_if> + + <tr> + <td colspan="2" valign="bottom"> + <br/> + <input type="hidden" name="check_billing_address" value="true"/> + <input class="button" type="submit" id="events[ord][OnUpdate]" name="events[ord][OnUpdate]" value="<inp2:m_Phrase label="lu_comm_UpdateAddress" no_editing="1"/>"/> + </td> + </tr> + </table> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/billing_address.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.8 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/shipping_address.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/shipping_address.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/shipping_address.tpl (revision 12990) @@ -0,0 +1,235 @@ +<inp2:m_DefineElement name="destination"> + <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option> +</inp2:m_DefineElement> + +<inp2:ord_ShowDefaultAddress type="shipping"/> +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_ShippingInfo"/> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_if check="ord_HasError" field="any"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_AProblemInForm"/> + </td> + </tr> + </table> + </inp2:m_if> + <inp2:m_Phrase label="lu_comm_EnterShippingAddress"/> + <br /> + <strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> <br /><br /> + + <inp2:m_if check="m_LoggedIn"> + <!-- address selector: begin --> + <inp2:m_Phrase label="lu_comm_SelectAddress"/>: + + <inp2:m_DefineElement name="address_elem"> + <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="value"/></option> + </inp2:m_DefineElement> + + <select name="shipping_address_id" onchange="document.getElementById('events[ord][OnSelectAddress]').click();"> + <inp2:m_if check="ord_AllowAddAddress"> + <option value="-1"><inp2:m_phrase name="lu_comm_NewAddress"/></option> + </inp2:m_if> + <inp2:ord_PrintAddresses render_as="address_elem" type="shipping" /> + </select> + + <input class="button" type="submit" id="events[ord][OnSelectAddress]" name="events[ord][OnSelectAddress]" value="<inp2:m_Phrase label="lu_comm_Select" no_editing="1"/>"/> + <a href="<inp2:m_Link template="in-commerce/my_account/address"/>"><inp2:m_Phrase name="lu_comm_ManageAddresses"/></a> + <br /> + <inp2:m_Phrase label="lu_comm_OrEnterAddress"/>:<br /> + + <inp2:m_if check="ord_IsProfileAddress" type="billing"> + <inp2:m_Phrase label="lu_comm_ProfileAddressWarning"/><br /> + </inp2:m_if> + <!-- address selector: end --> + </inp2:m_if> + <table class="form-data"> + + <inp2:m_if check="u.current_Field" name="cust_shipping_addr_block" inverse="1"> + + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_FullName"/>*:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="ShippingTo"/>" value="<inp2:ord_Field name="ShippingTo"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:ord_Error field="ShippingTo"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_Company"/>:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="ShippingCompany"/>" value="<inp2:ord_Field name="ShippingCompany"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:ord_Error field="ShippingCompany"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1*:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="ShippingAddress1"/>" value="<inp2:ord_Field name="ShippingAddress1"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingAddress1"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="ShippingAddress2"/>" value="<inp2:ord_Field name="ShippingAddress2"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingAddress2"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_City"/> *:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="ShippingCity"/>" value="<inp2:ord_Field name="ShippingCity"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingCity"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_State"/>*:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="ShippingState"/>" value="<inp2:ord_Field name="ShippingState"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingState"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_ZipCode"/> *:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="ShippingZip"/>" value="<inp2:ord_Field name="ShippingZip"/>" style="width: 100px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingZip"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_Country"/> *:</strong></td> + <td> + <select name="<inp2:ord_InputName field="ShippingCountry"/>" style="width: 300px;"> + <option value=""></option> + <inp2:ord_PredefinedOptions field="ShippingCountry" render_as="destination" selected_param="selected" selected="selected=\"selected\""/> + </select> + </td> + <td class="error"><inp2:ord_Error field="ShippingCountry"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_Phone"/>*:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="ShippingPhone"/>" value="<inp2:ord_Field name="ShippingPhone"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingPhone"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_Email"/>:</strong></td> + <td> + <input type="text" name="<inp2:ord_InputName field="ShippingEmail"/>" value="<inp2:ord_Field name="ShippingEmail"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingEmail"/></td> + </tr> + <inp2:m_else/> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_FullName"/>*:</strong></td> + <td> + <inp2:ord_Field name="ShippingTo"/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingTo"/>" value="<inp2:ord_Field name="ShippingTo"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:ord_Error field="ShippingTo"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_Company"/>:</strong></td> + <td> + <inp2:ord_Field name="ShippingCompany"/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingCompany"/>" value="<inp2:ord_Field name="ShippingCompany"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:ord_Error field="ShippingCompany"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1*:</strong></td> + <td> + <inp2:ord_Field name="ShippingAddress1"/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingAddress1"/>" value="<inp2:ord_Field name="ShippingAddress1"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingAddress1"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong></td> + <td> + <inp2:ord_Field name="ShippingAddress2"/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingAddress2"/>" value="<inp2:ord_Field name="ShippingAddress2"/>" style="width: 300px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingAddress2"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_City"/> *:</strong></td> + <td> + <inp2:ord_Field name="ShippingCity"/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingCity"/>" value="<inp2:ord_Field name="ShippingCity"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingCity"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_State"/>*:</strong></td> + <td> + <inp2:ord_Field name="ShippingState"/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingState"/>" value="<inp2:ord_Field name="ShippingState"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingState"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_ZipCode"/> *:</strong></td> + <td> + <inp2:ord_Field name="ShippingZip"/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingZip"/>" value="<inp2:ord_Field name="ShippingZip"/>" style="width: 100px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingZip"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_Country"/> *:</strong></td> + <td> + <inp2:ord_Field name="ShippingCountry"/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingCountry"/>" value="<inp2:ord_Field name="ShippingCountry"/>" style="width: 100px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingCountry"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_Phone"/>*:</strong></td> + <td> + <inp2:ord_Field name="ShippingPhone"/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingPhone"/>" value="<inp2:ord_Field name="ShippingPhone"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingPhone"/></td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_Email"/>:</strong></td> + <td> + <inp2:ord_Field name="ShippingEmail"/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingEmail"/>" value="<inp2:ord_Field name="ShippingEmail"/>" style="width: 150px;" /> + </td> + <td class="error"><inp2:ord_Error field="ShippingEmail"/></td> + </tr> + </inp2:m_if> + + <tr> + <td colspan="2" valign="bottom" height="35"> + <input type="hidden" name="check_shipping_address" value="true"/> + <input class="button" type="submit" id="events[ord][OnUpdate]" name="events[ord][OnUpdate]" value="<inp2:m_Phrase label="lu_comm_UpdateAddress" no_editing="1"/>"/> + </td> + </tr> + </table> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/shipping_address.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.8 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/billing_options.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/billing_options.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/billing_options.tpl (revision 12990) @@ -0,0 +1,220 @@ +<inp2:m_DefineElement name="order_payment_type"> + <option <inp2:m_param name="selected"/> value="<inp2:m_param name="key"/>"><inp2:m_param name="option"/></option> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="order_option_item"> + <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="order_payment_credit_card"> + <table class="block-no-border"> + <tr class="cart-header"> + <td> + <inp2:ord_PaymentTypeDescription/> + </td> + </tr> + <tr class="block-data"> + <td> + <br/> + <inp2:m_if check="ord_HasGatewayError"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:ord_ShowGatewayError/> + + </td> + </tr> + </table> + </inp2:m_if> + <inp2:ord_PaymentTypeInstructions/> + <br/> + </td> + </tr> + + <tr class="form-data"> + <td> + <table class="form-data"> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_billing_CardType" />:</strong> + </td> + <td> + <select name="<inp2:ord_InputName field="PaymentCardType"/>" style="width:150px;"> + <inp2:ord_PredefinedOptions field="PaymentCardType" render_as="order_option_item" selected="selected"/> + </select> + </td> + <td class="error"><inp2:ord_Error field="PaymentCardType"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_billing_CreditCardNumber" />:</strong> + </td> + <td> + <input type="text" name="<inp2:ord_InputName field="PaymentAccount"/>" value="<inp2:ord_Field field="PaymentAccount"/>" style="width: 200px;"> + </td> + <td class="error"><inp2:ord_Error field="PaymentAccount"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_billing_NameOnCard" />:</strong> + </td> + <td> + <input type="text" name="<inp2:ord_InputName field="PaymentNameOnCard"/>" value="<inp2:ord_Field field="PaymentNameOnCard"/>" style="width: 260px;"> + </td> + <td class="error"><inp2:ord_Error field="PaymentNameOnCard"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_billing_CardExpiration" />:</strong> + </td> + <td> + <select name="<inp2:ord_InputName field="PaymentCCExpMonth"/>"> + <inp2:ord_PredefinedOptions field="PaymentCCExpMonth" render_as="order_option_item" selected="selected"/> + </select> + / + <select name="<inp2:ord_InputName field="PaymentCCExpYear"/>"> + <option value=''></option> + <inp2:ord_PrintYearOptions field="PaymentCCExpYear" render_as="order_option_item" selected="selected"/> + </select> + </td> + <td class="error"><inp2:ord_Error field="PaymentCCExpDate"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_billing_CVV2" />:</strong> + </td> + <td> + <input type="text" name="<inp2:ord_InputName field="PaymentCVV2"/>" style="width: 50px;"> + <a href="javascript:showCVV2Help()"><inp2:m_Phrase label="lu_WhatIsThis" /></a> + </td> + <td class="error"><inp2:ord_Error field="PaymentCVV2"/></td> + </tr> + </table> + </td> + </tr> + </table> + <script language="JavaScript"> + function showCVV2Help(){ + window.open('<inp2:m_Link template="in-commerce/checkout/cvv2help" />', null, 'scrollbars=no,menubar=no,toolbars=no,width=300,height=150'); + } + </script> + <br /> + <input type="hidden" name="check_credit_card" value="true"/> + <input type="hidden" name="preview_template" value="in-commerce/checkout/preview"> + <div style="text-align: right; width: 100%"> + <input class="button" type="submit" name="events[ord][OnProceedToPreview]" value="<inp2:m_Phrase label="lu_btn_ProceedToPreview" no_editing="1"/>"> + </div> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="order_payment_type_default"> + <table> + <tr class="cart-header"> + <td> + <inp2:ord_PaymentTypeDescription/> + </td> + </tr> + <tr class="form-data"> + <td> + <inp2:m_if check="ord_HasGatewayError"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:ord_ShowGatewayError/> + </td> + </tr> + </table> + </inp2:m_if> + <br/> + <inp2:ord_PaymentTypeInstructions/> + <br/> + </td> + </tr> + </table> + <br/> + <input type="hidden" name="preview_template" value="in-commerce/checkout/preview"> + <div style="text-align: right; width: 100%"> + <input class="button" type="submit" name="events[ord][OnProceedToPreview]" value="<inp2:m_Phrase label="lu_btn_ProceedToPreview" no_editing="1"/>"> + </div> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_BillingOptions"/></td> + </tr> + <tr> + <td class="block-data"> + + <table class=""> + <tr class="cart-header"> + <td> + Cost Summary + </td> + </tr> + </table> + + <table class="form-data"> + <inp2:m_DefineElement name="products_total"> + <tr> + <td><inp2:m_Phrase label="lu_comm_ProductsTotal"/>:</td> + <td><inp2:ord_Field name="SubTotal" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="shipping_total"> + <tr> + <td><inp2:m_Phrase label="lu_comm_ShippingCost"/> (<inp2:ord_ShippingType />):</td> + <td><inp2:ord_Field name="ShippingCost" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="processing_total"> + <tr> + <td><inp2:m_Phrase label="lu_comm_ProcessingFee"/>: </td> + <td><inp2:ord_Field name="ProcessingFee" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="sub_total"> + <tr> + <td><inp2:m_Phrase label="lu_comm_SubTotal"/>: </td> + <td><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="vat_total"> + <tr> + <td><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%: </td> + <td><inp2:ord_Field name="VAT" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:ord_PrintTotals + products_render_as="products_total" + shipping_render_as="shipping_total" + processing_render_as="processing_total" + sub_total_render_as="sub_total" + vat_render_as="vat_total"/> + + <tr> + <td class="price3" ><strong><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</strong></td> + <td class="price3" ><span class="price1"><inp2:ord_Field name="TotalAmount" currency="selected"/></span></td> + </tr> + </table> + + <hr/> + + <br /> + <strong><inp2:m_Phrase label="lu_comm_PaymentType"/>:</strong> + <select name="<inp2:ord_InputName field="PaymentType"/>" onchange="document.getElementById('events[ord][OnUpdate]').click();"> + <inp2:ord_PredefinedOptions render_as="order_payment_type" field="PaymentType" selected="selected"/> + </select> + <input class="button" type="submit" value="<inp2:m_Phrase label="lu_comm_Select" no_editing="1"/>" name="events[ord][OnUpdate]" id="events[ord][OnUpdate]"> + <br/><br/> + <inp2:ord_PaymentTypeForm cc_render_as="order_payment_credit_card" default_render_as="order_payment_type_default"/> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/billing_options.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.13 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/shipping_options.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/shipping_options.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/shipping_options.tpl (revision 12990) @@ -0,0 +1,204 @@ +<inp2:m_DefineElement name="order_shipping_type"> + <option <inp2:m_param name="selected"/> value="<inp2:m_param name="ShippingId"/>"><inp2:m_param name="ShippingName"/> (<inp2:m_param name="TotalCost"/>) +</inp2:m_DefineElement> + +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_ShippingOptions"/></td> + </tr> + <tr> + <td class="block-data"> + + <inp2:m_DefineElement name="shippings_table_header"> + <table> + <tr class="cart-header"> + <td><inp2:m_Phrase label="lu_ship_Shipment" /></td> + <td><inp2:m_Phrase label="lu_ship_ItemsNumber" /></td> + <td><inp2:m_Phrase label="lu_ship_ShippingWeight" /></td> + <td><inp2:m_Phrase label="lu_ship_ShippingType" /></td> + </tr> + + <inp2:m_if check="ord_CartHasBackorders"> + <strong><inp2:m_Phrase label="lu_comm_Note"/>:</strong> + <inp2:m_Phrase label="lu_comm_YouHaveBackorderedItems"/> + + <br /> + <inp2:m_DefineElement name="order_option"> + <input onclick="document.getElementById('events[ord][OnUpdate]').click();" type="radio" + <inp2:m_param name="checked"/> + name="<inp2:m_param name="field_name"/>" + id="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>"> + <label for="<inp2:m_param name="field_name"/>_<inp2:m_param name="key"/>"> + <inp2:m_phrase label="$option"/> + </label> <br /> + </inp2:m_DefineElement> + <inp2:ord_PredefinedOptions field="ShippingOption" render_as="order_option" selected_param="checked" selected="checked=\"checked\""/> + <br /> + </inp2:m_if> + + <inp2:m_if check="m_GetEquals" var="shipping_limitations_apply" value="0"><inp2:m_else/> + <strong><inp2:m_Phrase label="lu_comm_Note"/>:</strong> + <inp2:m_if check="m_GetEquals" var="shipping_limitations_apply" value="1"> + <inp2:m_Phrase label="lu_comm_ShippingTypesLimitationApply"/><br/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingGroupOption"/>" id="<inp2:ord_InputName field="ShippingGroupOption"/>" value="<inp2:ord_Field name="ShippingGroupOption" db="1"/>" /> + <input onclick="document.getElementById('<inp2:ord_InputName field="ShippingGroupOption"/>').value = this.checked ? 1:0; document.getElementById('events[ord][OnUpdate]').click();" type="checkbox" + <inp2:m_param name="checked"/> + name="cb_<inp2:ord_InputName field="ShippingGroupOption"/>" + id="cb_<inp2:ord_InputName field="ShippingGroupOption"/>" value="1" <inp2:ord_Field name="ShippingGroupOption" db="1" checked="checked"/> /> + <label for="cb_<inp2:ord_InputName field="ShippingGroupOption"/>"> + <inp2:m_phrase label="lu_AdjustShippingManually"/> + </label> <br /> + <inp2:m_else/> <!-- Order canNOT be shipped with single shipping type --> + <inp2:m_Phrase label="lu_comm_ShippingTypesLimitationApply_CantSingleShip"/><br/> + <input type="hidden" name="<inp2:ord_InputName field="ShippingGroupOption"/>" value="1" /> + </inp2:m_if> + </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="shippings_table_footer"> + <tr class="cart-item"> + <td> + <input class="button" type="submit" name="events[ord][OnUpdate]" value="<inp2:m_Phrase label="lu_comm_UpdateShipping" no_editing="1"/>"/><br/> + </td> + <td> </td> + <td style="text-align: right"> + <strong><inp2:m_Phrase label="lu_comm_ShippingTotal" />:</strong> + </td> + <td> + <inp2:ord_Field name="ShippingCost" currency="selected"/> + </td> + </tr> + + <inp2:m_DefineElement name="products_total"> + <tr class="cart-subtotal"> + <td> </td> + <td> </td> + <td style="text-align: right"> + <strong><inp2:m_Phrase label="lu_comm_ProductsTotal"/>:</strong> + </td> + <td> + <inp2:ord_Field name="SubTotal" currency="selected"/> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="processing_total"> + <tr class="cart-subtotal"> + <td> </td> + <td> </td> + <td style="text-align: right"> + <strong><inp2:m_Phrase label="lu_comm_ProcessingFee"/>:</strong> + </td> + <td> + <inp2:ord_Field name="ProcessingFee" currency="selected"/> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="sub_total"> + <tr class="cart-subtotal"> + <td> </td> + <td> </td> + <td style="text-align: right"> + <strong><inp2:m_Phrase label="lu_comm_SubTotal"/>:</strong> + </td> + <td> + <span class="price1"><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></span> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="vat_total"> + <tr class="cart-subtotal"> + <td> </td> + <td> </td> + <td style="text-align: right"> + <strong><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%:</strong> + </td> + <td> + <span class="price1"><inp2:ord_Field name="VAT" currency="selected"/></span> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:ord_PrintTotals + products_render_as="products_total" + processing_render_as="processing_total" + sub_total_render_as="sub_total" + vat_render_as="vat_total"/> + + <tr class="cart-subtotal"> + <td> </td> + <td> </td> + <td style="text-align: right"> + <strong><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</strong> + </td> + <td> + <span class="price1"><inp2:ord_Field name="TotalAmount" currency="selected"/></span> + </td> + </tr> + </table> + + <table> + <tr> + <td style="text-align: right"> + <input type="hidden" name="next_step_template" value="in-commerce/checkout/billing"> + <input type="submit" name="events[ord][OnProceedToBilling]" value="<inp2:m_Phrase label="lu_comm_ProceedToBilling" no_editing="1"/>" class="button"> + </td> + </tr> + </table> + </inp2:m_DefineElement> + + <inp2:m_include template="in-commerce/blocks/checkout/options"/> + + <inp2:m_DefineElement name="shipping_group_item"> + <li><inp2:Field name="Name"/><inp2:m_if check="ord_BackorderFlag"> <span class="error"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span></inp2:m_if> + <inp2:m_if check="HasOptions"> + <br/> + <span style="font-size: 8pt"> + <inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination --> + <inp2:PrintOptions render_as="option_element" currency="selected"/> + <inp2:m_else/> <!-- listed combinations --> + <inp2:PrintOptions render_as="option_element_no_price"/> + </inp2:m_if> + <inp2:m_if check="FieldEquals" field="OptionsSelectionMode" value="0"> <!-- selectable options --> + <a href="<inp2:m_link template="__default__" pass="m,p,orditems"/>"><inp2:m_Phrase label="lu_comm_edit_options"/></a><br /> + </inp2:m_if> + </span> + </inp2:m_if> + </li> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="order_shipment"> + <tr class="cart-item"> + <td><inp2:m_param name="shipment"/><br/> + <b><inp2:m_Phrase label="lu_Items"/>:</b><br/> + <ul> + <inp2:ord_PrintCart item_render_as="shipping_group_item" requery="1" package_num="$package_num" product_type="1" header_render_as="html:" footer_render_as="html:"/> + </ul> + </td> + <td><inp2:m_param name="items"/></td> + <td><inp2:m_param name="weight"/></td> + <td> + <select name="<inp2:m_param name="field_name"/>"> + <inp2:ord_PrintShippingTypes render_as="order_shipping_type" currency="selected" /> + </select> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="no_shipments"> + <div class="error"><inp2:m_Recall name="usps_errors" /></div> + <inp2:m_Phrase label="lu_comm_ErrorNoShippingTypes"/> (<a href="mailto:<inp2:conf_ConfigValue name="Comm_Contacts_Email"/>"><inp2:conf_ConfigValue name="Comm_Contacts_Email"/></a>). + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="invalid_address"> + <inp2:m_Phrase label="lu_comm_ErrorInvalidShippingAddress"/>. + </inp2:m_DefineElement> + + <inp2:ord_PrintShippings render_as="order_shipment" currency="selected" no_shipments_render_as="no_shipments" invalid_address_render_as="invalid_address" table_header_render_as="shippings_table_header" table_footer_render_as="shippings_table_footer" /> + + <br /> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/shipping_options.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.9.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/cart_indicator.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/cart_indicator.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/cart_indicator.tpl (revision 12990) @@ -0,0 +1,22 @@ +<inp2:m_if check="ord_CartNotEmpty"> + <table border="0" cellspacing="0" cellpadding="0" class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_YourCart"/></td> + </tr> + <tr> + <td class="block-data"> + <form method="post" action="<inp2:m_FormAction />"> + <strong><inp2:m_Phrase label="lu_cart_TotalItems" />: </strong><inp2:ord_ItemsInCart/><br /> + + <strong><inp2:m_Phrase label="lu_cart_OrderTotal" />: </strong><inp2:ord_Field field="SubTotal" currency="selected"/><br /> + <img src="img/s.gif" alt="" width="5" height="10" border="0" /><br /> + <input type="hidden" name="viewcart_template" value="in-commerce/checkout/shop_cart"> + <input class="button" type="submit" name="events[ord][OnViewCart]" value="<inp2:m_Phrase label="lu_cart_ViewCart" />"> + <input type="hidden" name="next_step_template" value="<inp2:m_if check="ord_OrderHasTangibleItems">in-commerce/checkout/shipping<inp2:m_else/>in-commerce/checkout/billing</inp2:m_if>" /> + <input class="button" type="submit" name="events[ord][OnCheckout]" value="<inp2:m_Phrase label="lu_cart_Checkout" />"> + + </form> + </td> + </tr> + </table> +</inp2:m_if> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/cart_indicator.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/order_preview.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/order_preview.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/order_preview.tpl (revision 12990) @@ -0,0 +1,296 @@ +<inp2:m_include template="in-commerce/blocks/checkout/options"/> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="orderitem_elem"> + <tr class="cart-item"> + <inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders"> + <td width="120"> + <inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /> + </td> + </inp2:m_if> + + <td> + <strong><inp2:Field name="ProductName"/></strong><inp2:m_if check="ord_BackorderFlag"> <span class="error"><inp2:m_phrase label="lu_cart_BackorderFlag" /></span></inp2:m_if> + <inp2:m_if check="HasOptions"> + <br/> + <span style="font-size: 8pt"> + <inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination --> + <inp2:PrintOptions render_as="option_element" currency="selected"/> + <inp2:m_else/> <!-- listed combinations --> + <inp2:PrintOptions render_as="option_element_no_price"/> + </inp2:m_if> + </span> + <br/> + </inp2:m_if> + <inp2:m_if check="HasDiscount"> + <br /> + <inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" currency="selected"/><br /> + <inp2:m_Phrase label="lu_comm_Discount" />: <span class="price1"><inp2:Field name="ItemDiscount" currency="selected" negative="1"/></span> + </inp2:m_if> + </td> + <td> + <strong><inp2:Field name="Price" currency="selected"/></strong> + </td> + <td><inp2:Field name="Quantity"/></td> + <td><strong><inp2:Field name="ExtendedPrice" currency="selected"/></strong></td> + </tr> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="order_form_shipping"> + <!-- shipping --> + <table width="100%" cellpadding="0" cellspacing="0"> + <tr class="cart-header"> + <td colspan="2"><inp2:m_Phrase label="lu_comm_ShipmentInfo"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingTo"/></td> + </tr> + <inp2:m_if check="Field" name="ShippingCompany"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingCompany"/></td> + </tr> + </inp2:m_if> + <inp2:m_if check="Field" name="ShippingEmail"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingEmail"/></td> + </tr> + </inp2:m_if> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingPhone"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingFax"/></td> + </tr> + <tr class="block-data2"> + <td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td> + <td style="text-align: right;"> + <inp2:m_if check="FieldEquals" field="ShippingAddress1" value="" inverse="inverse"> + <inp2:Field field="ShippingAddress1"/><br> + </inp2:m_if> + + <inp2:m_if check="FieldEquals" field="ShippingAddress2" value="" inverse="inverse"> + <inp2:Field field="ShippingAddress2"/><br> + </inp2:m_if> + <inp2:PrintLocation type="Shipping"/> + </td> + </tr> + </table> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="order_form_billing"> + <!-- billing --> + <table width="100%" cellpadding="0" cellspacing="0"> + <tr class="cart-header"> + <td colspan="2"><inp2:m_Phrase label="lu_comm_BillingInfo"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingTo"/></td> + </tr> + <inp2:m_if check="Field" name="BillingCompany"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingCompany"/></td> + </tr> + </inp2:m_if> + <inp2:m_if check="Field" name="BillingEmail"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingEmail"/></td> + </tr> + </inp2:m_if> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingPhone"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingFax"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingCompany"/></td> + </tr> + <tr class="block-data2"> + <td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td> + <td style="text-align: right;"> + <inp2:m_if check="FieldEquals" field="BillingAddress1" value="" inverse="inverse"> + <inp2:Field field="BillingAddress1"/><br> + </inp2:m_if> + + <inp2:m_if check="FieldEquals" field="BillingAddress2" value="" inverse="inverse"> + <inp2:Field field="BillingAddress2"/><br> + </inp2:m_if> + <inp2:PrintLocation type="Billing"/> + </td> + </tr> + + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_PaymentType"/>:</strong></td> + <td style="text-align: right;"><inp2:Field name="PaymentType" /></td> + </tr> + + <inp2:m_if check="UsingCreditCard"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_NameOnCard"/>:</strong></td> + <td style="text-align: right;"><inp2:Field name="PaymentNameOnCard"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_CardType"/>:</strong></td> + <td style="text-align: right;"><inp2:Field name="PaymentCardType" /></td> + </tr> + <tr class="block-data2"> + <td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_CardNumber"/>:</strong></td> + <td style="text-align: right;"><inp2:Field name="PaymentAccount" masked="masked"/></td> + </tr> + <tr class="block-data2"> + <td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Exp"/>:</strong></td> + <td style="text-align: right;"><inp2:Field name="PaymentCCExpDate"/></td> + </tr> + </inp2:m_if> + </table> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="order_form"> + <table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_OrderPreview"/> + </td> + </tr> + </table> + + <table class="block-no-border"> + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_OrderNumber"/><inp2:Field name="OrderNumber"/></strong> + </td> + </tr> + </table> + + <inp2:m_if check="OrderHasTangibleItems"> + <table class="block-no-border"> + <tr> + <td width="49%"> + <inp2:m_RenderElement name="order_form_shipping" PrefixSpecial="ord"/> + </td> + <td> </td> + <td width="49%"> + <inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/> + </td> + </tr> + </table> + <inp2:m_else /> + <table class="block-no-border"> + <tr> + <td> + <inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/> + </td> + </tr> + </table> + </inp2:m_if> + + <table> + <tr class="cart-header"> + <inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders"> + <td colspan="2"><inp2:m_Phrase label="lu_comm_ProductDescription"/></td> + <inp2:m_else/> + <td><inp2:m_Phrase label="lu_comm_ProductDescription"/></td> + </inp2:m_if> + + <td><inp2:m_Phrase label="lu_comm_YourPrice"/></td> + + <td><inp2:m_Phrase label="lu_comm_Qty"/>.</td> + <td><inp2:m_Phrase label="lu_comm_Total"/></td> + </tr> + + <inp2:ord_ListOrderItems render_as="orderitem_elem"/> + + <tr class="cart-subtotal"> + <td> + <inp2:m_if check="ord_HasDiscount"> + <inp2:m_Phrase label="lu_comm_TotalSavings" />: <span class="price1"><inp2:ord_Field name="DiscountTotal" currency="selected" /></span><br /> + </inp2:m_if> + </td> + <td style="text-align: right;" colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">5<inp2:m_else/>4</inp2:m_if>"> + <strong><inp2:m_Phrase label="lu_comm_Subtotal"/>: <span class="price1"><inp2:Field name="SubTotal" currency="selected"/></span></strong> + </td> + </tr> + </table> + + <table> + <tr class="cart-header"> + <td> + <inp2:m_Phrase label="lu_comm_OrderTotal"/> + </td> + </tr> + </table> + + <table class="block-no-border"> + + <inp2:m_DefineElement name="shipping_total"> + <tr class="block-data2"> + <td style="text-align: right;"><inp2:m_Phrase label="lu_comm_ShippingCost"/> (<inp2:ord_ShippingType />):</td> + <td style="text-align: right;"><inp2:ord_Field name="ShippingCost" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="processing_total"> + <tr class="block-data2"> + <td style="text-align: right;"><inp2:m_Phrase label="lu_comm_ProcessingFee"/>: </td> + <td style="text-align: right;"><inp2:ord_Field name="ProcessingFee" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="sub_total"> + <tr class="block-data2"> + <td style="text-align: right;"><inp2:m_Phrase label="lu_comm_SubTotal"/>: </td> + <td style="text-align: right;"><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="vat_total"> + <tr class="block-data2"> + <td style="text-align: right;"><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%: </td> + <td style="text-align: right;"><inp2:ord_Field name="VAT" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:ord_PrintTotals + shipping_render_as="shipping_total" + processing_render_as="processing_total" + sub_total_render_as="sub_total" + vat_render_as="vat_total"/> + + <tr class="block-data2"> + <td class="price3" style="text-align: right;"><strong><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</strong></td> + <td class="price3" style="text-align: right;"><span class="price1"><inp2:Field name="TotalAmount" currency="selected"/></span></td> + </tr> + </table> + + <br /> +</inp2:m_DefineElement> + +<inp2:ord_ShowOrder render_as="order_form" /> + +<table class="block-no-border"> + <tr class="block-data2"> + <td class="price3" style="text-align: right;"> + <form method="POST" action="<inp2:ord_GetFormAction/>"> + <inp2:ord_GetFormHiddenFields return_template="in-commerce/checkout/checkout_success" + cancel_template="in-commerce/checkout/billing" /> + <inp2:m_if check="ord_NeedsPlaceButton"> + <input type="submit" value="<inp2:m_Phrase label="lu_order_CompleteOrder" />" class="button"> + </inp2:m_if> + </form> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/order_preview.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.19.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/options.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/options.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/options.tpl (revision 12990) @@ -0,0 +1,28 @@ +<inp2:m_DefineElement name="option_value_element"> + <inp2:m_param name="value"/> <inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if> + <inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="option_element"> + <inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple --> + <strong><inp2:m_param name="option"/>:</strong> + <inp2:PrintOptionValues render_as="option_value_element" currency="selected"/> + <inp2:m_else/> + <strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/> + <inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if> + </inp2:m_if><br/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="option_value_element_no_price"> + <inp2:m_param name="value"/> + <inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="option_element_no_price"> + <inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple --> + <strong><inp2:m_param name="option"/>:</strong> + <inp2:PrintOptionValues render_as="option_value_element_no_price"/> + <inp2:m_else/> + <strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/> + </inp2:m_if><br/> +</inp2:m_DefineElement> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/options.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/checkout_steps.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/checkout_steps.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/checkout_steps.tpl (revision 12990) @@ -0,0 +1,43 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_CheckoutSteps"/></td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_DefineElement name="passed_checkout_step"> + <inp2:m_param name="number"/>. <a href="<inp2:m_param name="template_link"/>"><inp2:m_param name="title"/></a><br/> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="current_checkout_step"> + <span class="nav-bar-current"><inp2:m_param name="number"/>. <inp2:m_param name="title"/></span><br/> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="checkout_step"> + <inp2:m_param name="number"/>. <inp2:m_param name="title"/><br/> + </inp2:m_DefineElement> + + <inp2:m_if check="ord_OrderHasTangibleItems"> + + <inp2:ord_CheckoutSteps render_as="checkout_step" passed_step_render_as="passed_checkout_step" + current_step_render_as="current_checkout_step" + steps="lu_ShoppingCart,lu_comm_ShippingInfo,lu_comm_BillingInfo,lu_comm_OrderPreview,lu_comm_Confirmation" + templates="in-commerce/checkout/shop_cart, + in-commerce/checkout/shipping, + in-commerce/checkout/billing, + in-commerce/checkout/preview, + in-commerce/checkout/confirmation" /> + + <inp2:m_else/> + + <inp2:ord_CheckoutSteps render_as="checkout_step" passed_step_render_as="passed_checkout_step" + current_step_render_as="current_checkout_step" + steps="lu_ShoppingCart,lu_comm_BillingInfo,lu_comm_OrderPreview,lu_comm_Confirmation" + templates="in-commerce/checkout/shop_cart, + in-commerce/checkout/billing, + in-commerce/checkout/preview, + in-commerce/checkout/confirmation" /> + + </inp2:m_if> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/checkout_steps.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/checkout/thank_you.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/checkout/thank_you.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/checkout/thank_you.tpl (revision 12990) @@ -0,0 +1,14 @@ +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_OrderCompleted"/> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_comm_ThankYou"/>!<br/> + <br/> + <inp2:m_Phrase label="lu_comm_OrderSuccessfullyPlaced"/> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/checkout/thank_you.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturers.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturers.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturers.tpl (revision 12990) @@ -0,0 +1,81 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_Manufacturers"/></td> + </tr> + <tr> + <td class="block-data"> + + <inp2:manuf_InitList list_name="manufacturers" per_page="default" recursive="true" /> + + <inp2:m_DefineElement name="manuf_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> style="margin-top: 10px" border="0" /><br/> + </inp2:m_DefineElement> + + <table> + <tr> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/manufacturers/manuf_pagination" list_name="manufacturers" /> + </td> + </tr> + </table> + + <table> + <inp2:m_DefineElement name="manuf_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="33%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a><br /> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" Thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120"/></a> <br /> + <strong><inp2:m_Phrase label="lu_comm_MSRP"/>: </strong><span class="price-msrp"><inp2:Field name="MSRP" currency="selected" /></span><br /> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span><br /> + <strong><inp2:m_Phrase label="lu_comm_Added"/>:</strong><inp2:Field name="CreatedOn_date" /><br /> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a> + <inp2:m_else /> + <strong><inp2:m_phrase label="lu_comm_outofstock"/></strong> + </inp2:m_if> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="manuf_elem"> + <td class="block-data"> + <table> + <tr class="cart-header"> + <td> + <a href="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />" class="link-product1"><strong><inp2:Field field="Name" /></strong></a><br /> + </td> + </tr> + </table> + <table> + <inp2:p_ListProducts list_name="products_by_manuf" requery="1" types="manufacturer" recursive="1" + columns="3" + render_as="product_elem" per_page="3" /> + </table> + <inp2:m_DefineElement name="more_link"> + <a href="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a> + </inp2:m_DefineElement> + <inp2:p_MoreLink list_name="products_by_manuf" render_as="more_link" /> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="manuf_row_end"> + </tr> + </inp2:m_DefineElement> + + <inp2:manuf_ListManufacturers list_name="manufacturers" + columns="1" direction="V" + render_as="manuf_elem" + row_start_render_as="manuf_row_start" row_end_render_as="manuf_row_end" + empty_cell_render_as="manuf_empty_cell" /> + </table> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturers.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturers_dropdown.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturers_dropdown.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturers_dropdown.tpl (revision 12990) @@ -0,0 +1,26 @@ +<inp2:m_Get var="manuf_id" result_to_var="curr_manuf_id"/> + +<inp2:m_DefineElement name="manuf_elem_dropdown"> +<option value="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />" <inp2:m_if check="FieldEquals" name="ManufacturerId" value="$curr_manuf_id">selected="selected"</inp2:m_if> > +<inp2:Field field="Name" /></option></inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_Manufacturers"/></td> + </tr> + <tr> + <td class="block-data-big"> + + <form id="manufacturers" method="post" action="<inp2:m_FormAction />"> + <select name="Manufacturer" onchange="window.location.href=this.value"> + <inp2:manuf.custom_ListManufacturers list_name="manufacturers" render_as="manuf_elem_dropdown" per_page="-1" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:" parent_cat_id="any" /> + </select> + </form> + + </td> + </tr> +</table> + + + + Property changes on: releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturers_dropdown.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturer_products.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturer_products.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturer_products.tpl (revision 12990) @@ -0,0 +1,62 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_ProductsBy"/> <inp2:manuf_Field name="Name" /></td> + </tr> + <tr> + <td class="block-data"> + + <inp2:p_InitList types="manufacturer" list_name="list_by_manufacturer" per_page="default" recursive="true" parent_cat_id="any" /> + + <inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> + </inp2:m_DefineElement> + + <table> + <tr> + <td style="width: 300px"> + <inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_by_manufacturer" /> + </td> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_by_manufacturer" /> + </td> + </tr> + </table> + + <br /> + + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr> + <td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="list_by_manufacturer" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/manufacturers/manufacturer_products.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/manufacturers/manuf_pagination.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/manufacturers/manuf_pagination.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/manufacturers/manuf_pagination.tpl (revision 12990) @@ -0,0 +1,40 @@ +<inp2:m_DefineElement name="prev_page"> + <a class="pagination-bar" href="<inp2:PageLink/>"><<</a> + </td> + <td> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="no_prev_page"> + </td> + <td> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_current"> + <strong><inp2:m_param name="page"/></strong> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_separator"> + | +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_link"> + <a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_next"> + <a class="pagination-bar" href="<inp2:PageLink/>">>></a> +</inp2:m_DefineElement> + +<table style="width: 100%; text-align: left;"> + <tr> + <td style="width: 45%; text-align: right; "> + <strong><inp2:m_Phrase label="lu_comm_Page"/>: </strong> + + <inp2:manuf_PaginationBar + current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link" + prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page" + next_page_render_as="page_next" /> + </td> + <td> </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/manufacturers/manuf_pagination.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_featured.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_featured.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_featured.tpl (revision 12990) @@ -0,0 +1,60 @@ + +<inp2:p_InitList list_name="list_featured" types="featured" except="displayed" recursive="1" per_page="1" sort_by="random"/> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="featured-block"> + <tr> + <td class="featured-block-header"><inp2:m_Phrase label="lu_comm_Featured"/></td> + </tr> + <tr> + <td> + <table class="featured-block-data"> + <inp2:m_DefineElement name="featured_item"> + <td width="30%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" DefaultImage="in-commerce/img/no_picture.gif" MaxWidth="250" DefaultWidth="250" /></a><br /> + <span class="price2"><inp2:Field name="Price" currency="selected"/></span> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="price2"><inp2:m_Phrase label="lu_comm_BuyNow"/></a> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="23" height="23" border="0" vspace="4" /></a> + <inp2:m_else /> + <strong><inp2:m_phrase label="lu_comm_outofstock"/></strong> + </inp2:m_if> + </td> + <td width="70%" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product1"><inp2:field name="Name"/></a><br /> + + <inp2:m_if check="Field" name="ManufacturerId"> + <strong><inp2:m_Phrase label="lu_comm_Manufacturer"/>:</strong> <inp2:field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:ManufacturerLink template="in-commerce/store/manufacturer_products" />"><inp2:Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br /> + </inp2:m_if> + <br /> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><strong><inp2:Field name="MSRP" currency="selected"/></strong></span><br /></inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> <br /> + <br /> + <inp2:m_if check="CustomField" name="Availability"> + <strong><inp2:CustomFieldLabel field="Availability"/>:</strong> + <inp2:CustomField name="Availability"/> + <br /> + <br /> + </inp2:m_if> + <inp2:m_if check="CustomField" name="Features"> + <strong><inp2:CustomFieldLabel field="Features"/>:</strong> + <inp2:CustomField name="Features"/> + <br /> + <br /> + </inp2:m_if> + </td> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="list_featured" render_as="featured_item" columns="1" /> + </table> + <inp2:m_DefineElement name="more_link"> + <a href="<inp2:m_Link template="in-commerce/store/featured_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a><br /> + </inp2:m_DefineElement> + <inp2:p_MoreLink list_name="list_featured" render_as="more_link" /> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_featured.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.10.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/form_review_product.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/form_review_product.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/form_review_product.tpl (revision 12990) @@ -0,0 +1,90 @@ +<inp2:m_DefineElement name="product_star_on"> + <img src="img/star_rate.gif" alt=""> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_ReviewProduct"/></td> + </tr> + <tr> + <td class="block-data-single"> + + <table> + <tr> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:p_ProductLink template="__default__"/>"><inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + <inp2:m_if check="p_Available"> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a> + <inp2:m_else /> + <strong><inp2:m_phrase label="lu_comm_outofstock"/></strong> + </inp2:m_if> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:p_ProductLink template="__default__"/>" class="link-product2"><strong><inp2:p_Field field="Name" /></strong></a> + <inp2:m_if check="p_Available"> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="p_Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:p_Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="DescriptionExcerpt"/><br /> + <br /> + + <inp2:m_if check="p_AlreadyReviewed"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_comm_ErrorAlreadyReviewed"/>. + </td> + </tr> + </table> + <table> + <inp2:m_DefineElement name="review_row"> + <td> + <strong><inp2:m_Phrase label="lu_comm_ReviewBy"/> <inp2:Field name="ReviewedBy"/></strong>, <inp2:Field name="CreatedOn" format="_regional_DateFormat"/><br /> + <br /> + <inp2:field field="ReviewText"/><br /> + <hr /> + </td> + </inp2:m_DefineElement> + <inp2:p_ListReviews type="current_user" render_as="review_row" per_page="-1" main_special=""/> + </table> + <inp2:m_else /> + + <inp2:m_if check="rev.product_HasError" field="ReviewText"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:rev.product_Error field="ReviewText" /> + </td> + </tr> + </table> + </inp2:m_if> + <form method="POST" action="<inp2:m_FormAction />"> + <strong><inp2:m_Phrase label="lu_comm_YourReviewText"/>:</strong><br /> + <textarea name="<inp2:rev.product_InputName field="ReviewText"/>" cols="60" rows="15"><inp2:rev.product_field field="ReviewText"/></textarea><br /> + <br /> + <input type="hidden" name="success_template" value="__default__" /> + <input type="hidden" name="cancel_template" value="__default__" /> + <input type="submit" name="events[rev.product][OnAddReview]" class="button" value="<inp2:m_Phrase label="lu_add_review" no_editing="1"/>"> + <input type="submit" name="events[p][OnCancelAction]" class="button" value="<inp2:m_Phrase label="lu_Cancel" no_editing="1"/>"> + </form> + </inp2:m_if> + </td> + </tr> + </table> + + <br /> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/form_review_product.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.8 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/product_details.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/product_details.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/product_details.tpl (revision 12990) @@ -0,0 +1,237 @@ +<inp2:m_DefineElement name="product_edpick_mark"> + <img src="in-commerce/img/edpick.gif" alt="<inp2:m_Phrase label="lu_comm_EditorsPick" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_EditorsPick"/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="product_new_mark"> + <img src="in-commerce/img/new.gif" alt="<inp2:m_Phrase label="lu_comm_New" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_New"/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="product_pop_mark"> + <img src="in-commerce/img/toprated.gif" alt="<inp2:m_Phrase label="lu_comm_Pop" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_Pop"/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="product_topseller_mark"> + <img src="in-commerce/img/topseller.gif" alt="<inp2:m_Phrase label="lu_comm_TopSeller" no_editing="1"/>"> <inp2:m_Phrase label="lu_comm_TopSeller"/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="product_star_on"> + <img src="img/star_rate.gif" alt=""> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="product_star_off"> + <img src="img/star.gif" alt="" width="11" height="11"> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="imageLB"><inp2:m_param name="img_path" /></inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_ProductDetails"/></td> + </tr> + <tr> + <td class="block-data-single"> + <table style="vertical-align: top; float: top;"> + <tr> + <td style="text-align: center; width: 200px; padding-right: 10px;"> + <inp2:m_if check="p_ImageSrc" MaxWidth="fullsize"> + <a href="<inp2:p_Image render_as="imageLB" />" rel="lightbox" target="_blank"><inp2:p_Image render_as="product_image" DefaultImage="in-commerce/img/no_picture.gif" MaxWidth="250" DefaultWidth="250" /></a><br /><br /> + <a href="<inp2:p_Image render_as="imageLB" />" rel="lightbox" target="_blank"><img src="img/zoom.gif" alt="" border="0"></a> + <a href="<inp2:p_Image render_as="imageLB" />" rel="lightbox" target="_blank"><inp2:m_Phrase label="lu_comm_ZoomImage"/></a> + <!--## Check if image exists ##--> + <inp2:m_else/> + <inp2:p_Image render_as="product_image" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" align="center"/><br /> + </inp2:m_if> + <inp2:m_if check="p_HasAdditionalImages"> + + <a href="<inp2:p_ProductLink template="__default__" />#images"><img src="img/more_images.gif" alt="" border="0"></a> + <a href="<inp2:p_ProductLink template="__default__" />#images"><inp2:m_Phrase label="lu_comm_MoreImages"/></a> + </inp2:m_if> + <br /><br /> + <span class="price2"><inp2:p_Field name="Price" currency="selected"/></span> + <inp2:m_if check="p_Available"> + <inp2:m_if check="p_ShouldListOptions" required_only="1"><inp2:m_else/> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="price2"><inp2:m_Phrase label="lu_comm_BuyNow"/></a> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="23" height="23" border="0" vspace="4" /></a> + </inp2:m_if> + <inp2:m_else /> + <strong><inp2:m_phrase label="lu_comm_outofstock"/></strong> + </inp2:m_if> + </td> + <td> + <a href="<inp2:p_ProductLink template="__default__"/>" class="link-product1"><inp2:p_field name="Name"/></a><nobr><inp2:p_Rating star_on_render_as="product_star_on" star_off_render_as="product_star_off"/></nobr><br /> + + <inp2:p_EdPickMark render_as="product_edpick_mark"/> + <inp2:p_TopSellerMark render_as="product_topseller_mark"/> + <inp2:p_NewMark render_as="product_new_mark"/> + <inp2:p_PopMark render_as="product_pop_mark"/> + <br /> + + <inp2:m_if check="p_Field" name="ManufacturerId"> + <strong><inp2:m_Phrase label="lu_comm_Manufacturer"/>:</strong> <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br /> + </inp2:m_if> + <br /> + <strong><inp2:m_phrase label="lu_Added"/>:</strong> <inp2:p_field field="CreatedOn_date" format="_regional_DateFormat"/><br /> + <strong><inp2:m_phrase label="lu_Rating"/>:</strong> <inp2:p_field field="CachedRating"/> (<inp2:p_field field="CachedVotesQty"/> votes) <a href="<inp2:p_ProductLink template="in-commerce/product/rate_product" />"><inp2:m_Phrase label="lu_comm_RateThisProduct"/></a><br /> + <strong><inp2:m_phrase label="lu_Reviews"/>:</strong> <inp2:p_ReviewCount /> <a href="<inp2:p_ProductLink />#reviews"><inp2:m_Phrase label="lu_comm_ViewReviews"/></a> | <a href="<inp2:p_ProductLink template="in-commerce/product/review_product"/>"><inp2:m_Phrase label="lu_comm_ReviewThisProduct"/></a><br /><br /> + + <inp2:m_if check="p_Field" name="MSRP"> + <strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br /> + </inp2:m_if> + + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:p_Field name="Price" currency="selected"/></span> <br /> + + <inp2:m_if check="p_Savings"> + <span class="listing-field-name"> + <inp2:m_Phrase label="lu_fld_YouSave"/>: <inp2:p_Savings currency="selected" /> (<inp2:p_Savings type="percent"/>%) + </span><br/> + </inp2:m_if> + <br /> + + <inp2:m_if check="p_CustomField" name="Availability"> + <strong><inp2:p_CustomFieldLabel field="Availability"/>:</strong> + <inp2:p_CustomField name="Availability"/> + <br /> + <br /> + </inp2:m_if> + + + + <inp2:m_if check="p_HasQuantityPricing"> + <inp2:m_if check="p_IsTangible"> + <table> + <tr> + <td colspan="2" class="block-header"> + <inp2:m_Phrase label="lu_comm_QuantityPricing"/> + </td> + </tr> + <tr class="cart-header"> + <td> + <inp2:m_Phrase label="lu_comm_Quantity"/> + </td> + <td> + <inp2:m_Phrase label="lu_comm_Price"/> + </td> + </tr> + <inp2:m_DefineElement name="price_bracket"> + <tr class="cart-item-small"> + <td> + <inp2:Field name="MinQty"/> - <inp2:Field name="MaxQty"/> + </td> + <td> + <inp2:m_if check="Field" name="Negotiated"> + <a href="mailto:<inp2:conf_ConfigValue name="Comm_Contacts_Email"/>"><inp2:conf_ConfigValue name="Comm_Contacts_Email"/></a> + <inp2:m_else/> + <inp2:Field name="Price" currency="selected"/> + </inp2:m_if> + </td> + </tr> + </inp2:m_DefineElement> + <inp2:p_ListPriceBrackets render_as="price_bracket"/> + </table> + <br /> + </inp2:m_if> + <inp2:m_if check="p_IsSubscription"> + <table> + <tr> + <td colspan="3" class="block-header"> + <inp2:m_Phrase label="lu_comm_Pricing"/> + </td> + </tr> + <tr class="cart-header"> + <td> + <inp2:m_Phrase label="lu_comm_AccessDuration"/> + </td> + <td> + <inp2:m_Phrase label="lu_comm_Price"/> + </td> + <td> + + </td> + </tr> + <inp2:m_DefineElement name="access_price_bracket"> + <tr class="cart-item-small"> + <td> + <inp2:Field name="AccessDuration"/> <inp2:Field name="AccessUnit"/> + <br /> + <small><inp2:Field name="Description"/></small> + </td> + <td> + <inp2:Field name="Price" currency="selected"/> + </td> + <td> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" /></a> + </td> + </tr> + </inp2:m_DefineElement> + <inp2:p_ListPriceBrackets render_as="access_price_bracket"/> + </table> + <br /> + </inp2:m_if> + + </inp2:m_if> + <br /> + + <inp2:m_include template="in-commerce/blocks/products/form_options"/> + + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="Description"/> <br /> + <br /> + <inp2:m_if check="p_CustomField" name="Features"> + <strong><inp2:p_CustomFieldLabel field="Features"/>:</strong> + <inp2:p_CustomField name="Features"/> + <br /> + <br /> + </inp2:m_if> + + <inp2:m_if check="p_HasAdditionalImages"> + <a name="images"></a> + <strong><inp2:m_Phrase label="lu_comm_Images"/>:</strong><br /> + <br /> + <table> + <inp2:m_DefineElement name="image_elem"> + <td> + <a href="<inp2:p_PictureLink template="in-commerce/product/picture_fullsize.tpl" picture_list="1" />" target="_blank"><inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + <inp2:Field name="Name"/> + </td> + </inp2:m_DefineElement> + <inp2:m_DefineElement name="row_start_elem"><tr></inp2:m_DefineElement> + <inp2:m_DefineElement name="row_end_elem"></tr></inp2:m_DefineElement> + <inp2:m_DefineElement name="empty_cell_elem"><td> </td></inp2:m_DefineElement> + <inp2:p_ListImages render_as="image_elem" per_page="-1" types="additional" + row_start_render_as="row_start_elem" + row_end_render_as="row_end_elem" + empty_cell_render_as="empty_cell_elem" + direction="H" columns="3" main_special="" /> + </table><br /> + </inp2:m_if> + + <a name="reviews"></a> + <strong><inp2:m_Phrase label="lu_comm_Reviews"/>:</strong><br /> + <a href="<inp2:p_ProductLink template="in-commerce/product/review_product"/>"><inp2:m_Phrase label="lu_comm_ReviewThisProduct"/></a><br /> + <br /> + <table> + <inp2:m_DefineElement name="review_row"> + <tr> + <td> + <strong><inp2:m_Phrase label="lu_comm_ReviewBy"/> <inp2:Field name="ReviewedBy"/></strong>, <inp2:Field name="CreatedOn" format="_regional_DateFormat"/><br /> + <br /> + <inp2:field field="ReviewText"/><br /> + <hr /> + </td> + </tr> + </inp2:m_DefineElement> + <inp2:p_ListReviews render_as="review_row" per_page="-1" main_special="" /> + </table> + + <a name="related"></a> + <inp2:m_include template="in-commerce/blocks/products/products_related.tpl" data_exists="1"/> + + </td> + </tr> + </table> + </td> + </tr> +</table> Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/product_details.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.22.2.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_picks.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_picks.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_picks.tpl (revision 12990) @@ -0,0 +1,57 @@ +<inp2:p_InitList list_name="list_picks" types="pick" except="displayed" recursive="true" per_page="short_list" /> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="pick-products-block"> + <tr> + <td class="pick-products-block-header"><inp2:m_Phrase label="lu_comm_EditorsPick"/></td> + </tr> + <tr> + <td class="block-data"> + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a><br /> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a> + <inp2:m_else /> + <strong><inp2:m_phrase label="lu_comm_outofstock"/></strong> + </inp2:m_if> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr class="separator"> + <td colspan="2" ><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="list_picks" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + <inp2:m_DefineElement name="more_link"> + <a href="<inp2:m_Link template="in-commerce/store/editor_pick_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a> + </inp2:m_DefineElement> + <inp2:p_MoreLink list_name="list_picks" render_as="more_link"/> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_picks.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/form_recommend_product.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/form_recommend_product.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/form_recommend_product.tpl (revision 12990) @@ -0,0 +1,93 @@ + + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_RecommendThisProduct"/></td> + </tr> + <tr> + <td class="block-data-single"> + + <table> + <tr> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:p_ProductLink template="__default__"/>"><inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + <inp2:m_if check="p_Available"> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a> + <inp2:m_else /> + <strong><inp2:m_phrase label="lu_comm_outofstock"/></strong> + </inp2:m_if> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:p_ProductLink template="__default__"/>" class="link-product2"><strong><inp2:p_Field field="Name" /></strong></a> + <inp2:m_if check="p_Available"> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="p_Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:p_Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="DescriptionExcerpt"/><br /> + <br /> + + + + + <form method="POST" action="<inp2:m_FormAction />"> + <table class="form-data"> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_FriendName"/>:</strong></td> + <td><input type="text" name="friend_name"/></td> + <td> </td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_FriendEmail"/> *:</strong></td> + <td><input type="text" name="friend_email"/></td> + <td> + <inp2:m_if check="u_HasError" field="any"> + <br /> + <span class="error"><inp2:u_Error field="Email" /></span> + </inp2:m_if> + </td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_YourName"/>: </strong></td> + <td><input type="text" name="your_name" value="<inp2:u_Field name="FirstName" /> <inp2:u_Field name="LastName" />"/></td> + <td> </td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_YourEmail"/>:</strong></td> + <td><input type="text" name="your_email" value="<inp2:u_Field name="Email" />"/></td> + <td> </td> + </tr> + <tr> + <td><strong><inp2:m_Phrase label="lu_comm_Message"/>:</strong></td> + <td><textarea name="your_message" style="width: 300px; height: 150px"><inp2:m_Phrase label="lu_recommend_default_text" /></textarea></td> + <td> </td> + </tr> + <tr> + <td> </td> + <td><input type="submit" value="<inp2:m_Phrase label="lu_RecommendToFriend" />" name="events[p][OnRecommendProduct]" class="button" /> <input type="button" class="button" onclick="history.go(-1)" value="<inp2:m_phrase label="lu_Cancel" no_editing="1"/>"></td> + <td> </td> + </tr> + + </table> + <input type="hidden" name="template_success" value="in-commerce/product/confirm_recommend.tpl" /> + </form> + + + + + </td> + </tr> + </table> + + <br /> + + </td> + </tr> +</table> + Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/form_recommend_product.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_related.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_related.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_related.tpl (revision 12990) @@ -0,0 +1,53 @@ +<inp2:p_InitList list_name="list_related" types="related" except="displayed" parent_cat_id="any" per_page="-1" /> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_RelatedProducts"/></td> + </tr> + <tr> + <td class="block-data"> + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a><br /> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a> + <inp2:m_else /> + <strong><inp2:m_phrase label="lu_comm_outofstock"/></strong> + </inp2:m_if> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr class="separator"> + <td colspan="2" ><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:p_ListRelatedProducts list_name="list_related" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_related.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_new.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_new.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_new.tpl (revision 12990) @@ -0,0 +1,39 @@ +<inp2:p_InitList list_name="list_new" types="new" except="displayed" recursive="1" per_page="short_list"/> + +<inp2:m_DefineElement name="new_product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> style="margin-top: 10px" border="0" /><br/> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="new-products-block"> + <tr> + <td class="new-products-block-header"><inp2:m_Phrase label="lu_comm_NewProducts"/></td> + </tr> + <tr> + <td class="block-data"> + <table> + <inp2:m_DefineElement name="new_item"> + <td width="33%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a><br /> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="new_product_image" Thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> <br /> + + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>: </strong><span class="price-msrp"><inp2:Field name="MSRP" currency="selected" /></span><br /></inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span><br /> + <strong><inp2:m_Phrase label="lu_comm_Added"/>:</strong> <inp2:Field name="CreatedOn" format="_regional_DateFormat"/><br /> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a> + <inp2:m_else /> + <strong><inp2:m_phrase label="lu_comm_outofstock"/></strong> + </inp2:m_if> + </td> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="list_new" render_as="new_item" columns="3" /> + </table> + <inp2:m_DefineElement name="more_link"> + <a href="<inp2:m_Link template="in-commerce/store/new_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a> + </inp2:m_DefineElement> + <inp2:p_MoreLink list_name="list_new" render_as="more_link" /> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_new.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.8.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/form_rate_product.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/form_rate_product.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/form_rate_product.tpl (revision 12990) @@ -0,0 +1,77 @@ +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_RateProduct"/></td> + </tr> + <tr> + <td class="block-data-single"> + + <table> + <tr> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:p_ProductLink template="__default__"/>"><inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + <inp2:m_if check="p_Available"> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_BuyNow"/></strong></a> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="<inp2:m_Phrase label="lu_comm_BuyNow" no_editing="1"/>" width="15" height="17" border="0" vspace="4" style="vertical-align:middle" /></a> + <inp2:m_else /> + <strong><inp2:m_phrase label="lu_comm_outofstock"/></strong> + </inp2:m_if> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:p_ProductLink template="__default__"/>" class="link-product2"><strong><inp2:p_Field field="Name" /></strong></a> + <inp2:m_if check="p_Available"> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="p_Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:p_Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:p_Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="DescriptionExcerpt"/><br /> + <br /> + + <inp2:m_if check="p_HasError" field="CachedRating"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:p_Error field="CachedRating" /> + </td> + </tr> + </table> + </inp2:m_if> + + <strong><inp2:m_Phrase label="lu_comm_RateThisProduct"/></strong> + <form method="POST" action="<inp2:m_FormAction />"> + <table style="width: 60%;"> + <inp2:m_DefineElement name="product_star_on"> + <img src="img/star_rate.gif" alt="" width="11" height="11"> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_rate_row"> + <tr> + <td> </td> + <td> + <input type="radio" name="rating" value="<inp2:m_param name="rating"/>"> + <inp2:m_param name="stars"/> + </td> + <td><inp2:m_param name="label"/></td> + </tr> + </inp2:m_DefineElement> + <inp2:p_RateForm render_as="product_rate_row" labels="lu_comm_RateExcellent,lu_comm_RateVeryGood,lu_comm_RateGood,lu_comm_RateAverage,lu_comm_RateFair,lu_comm_RatePoor" star_render_as="product_star_on"/> + </table> + <br /> + <input type="hidden" name="success_template" value="__default__" /> + <input type="hidden" name="cancel_template" value="__default__" /> + <input type="submit" name="events[p][OnRateProduct]" class="button" value="<inp2:m_Phrase label="lu_btn_RateProduct" no_editing="1"/>"> + <input type="submit" name="events[p][OnCancelAction]" class="button" value="<inp2:m_Phrase label="lu_Cancel" no_editing="1"/>"> + </form> + + </td> + </tr> + </table> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/form_rate_product.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.9 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_recent.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_recent.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_recent.tpl (revision 12990) @@ -0,0 +1,32 @@ +<inp2:p_InitList list_name="list_recent" types="recent" parent_cat_id="any" recursive="true" per_page="short_list" except="in_cart" /> + +<table class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_RecentlyViewed"/></td> + </tr> + <tr> + <td class="block-data-big"> + <table> + <inp2:m_DefineElement name="recent_product"> + <td> + <a href="<inp2:ProductLink template="__default__"/>"><strong><inp2:Field field="Name" /></strong></a><br /> + <inp2:Field field="DescriptionExcerpt" first_chars="70" /><br /> + <span class="price"><strong><inp2:Field name="Price" currency="selected" /></strong></span><br /> + <br /> + </td> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="list_recent" render_as="recent_product" columns="1" /> + </table> + + <inp2:m_DefineElement name="more_link"> + <a href="<inp2:m_Link template="in-commerce/store/recent" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a><br /> + </inp2:m_DefineElement> + <inp2:p_MoreLink list_name="list_recent" render_as="more_link" /> + <img src="img/s.gif" alt="" width="5" height="10" border="0" /><br /> + <form method="post" action="<inp2:m_FormAction />"> + <input class="button" type="submit" name="events[p][OnClearRecent]" value="<inp2:m_Phrase label="lu_comm_Clear" no_editing="1"/>"/> + </form> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_recent.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_sorting.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_sorting.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_sorting.tpl (revision 12990) @@ -0,0 +1,16 @@ +<form method="post" action="<inp2:m_FormAction />"> + <strong><inp2:m_Phrase label="lu_comm_SortBy"/></strong> + + <select name="<inp2:p_CombinedSortingDropDownName/>"> + <option value="Name|asc" <inp2:p_SortingSelected sorting="l1_Name|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_NameAZ"/></option> + <option value="Name|desc" <inp2:p_SortingSelected sorting="l1_Name|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_NameZA"/></option> + <option value="Manufacturer|asc" <inp2:p_SortingSelected sorting="Manufacturer|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_ManufAZ"/></option> + <option value="Manufacturer|desc" <inp2:p_SortingSelected sorting="Manufacturer|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_ManufZA"/></option> + <option value="Price|asc" <inp2:p_SortingSelected sorting="Price|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_PriceLH"/></option> + <option value="Price|desc" <inp2:p_SortingSelected sorting="Price|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_PriceHL"/></option> + <option value="CreatedOn|asc" <inp2:p_SortingSelected sorting="CreatedOn|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_RecentToOld"/></option> + <option value="CreatedOn|desc" <inp2:p_SortingSelected sorting="CreatedOn|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_comm_OldToRecent"/></option> + </select> + + <input type="submit" class="button" name="<inp2:p_SubmitName event="OnSetSortingDirect"/>" value="<inp2:m_Phrase label="lu_comm_Sort" no_editing="1"/>" /> +</form> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_sorting.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_search_results.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_search_results.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_search_results.tpl (revision 12990) @@ -0,0 +1,143 @@ +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" style="margin: 2px;"/><br/> +</inp2:m_DefineElement> + +<inp2:p_InitList list_name="search_results" types="search" parent_cat_id="any" recursive="true" per_page="default" /> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_SearchResults"/> (<inp2:p_TotalRecords list_name="search_results" />)</td> + </tr> + <tr> + <td class="block-data"> + <span style="text-align: center"> + <form name="subsearch_form" id="subsearch_form" method="POST" action="<inp2:m_link template="in-commerce/store/search_results" />"> + <input type="text" name="keywords" id="keywords" style="width: 300px" value="<inp2:p_SearchKeywords />" /> + <input type="hidden" name="search_type" value="subsearch" /> + <input class="button" type="submit" value="<inp2:m_Phrase label="lu_comm_SearchInResults" no_editing="1"/>" /> + </form> + </span> + <br/> + <inp2:m_if check="m_ModuleEnabled" module="In-Edit"> + <inp2:m_include template="in-edit/blocks/search_short_results"/> + </inp2:m_if> + <inp2:m_if check="p_TotalRecords" list_name="search_results"> + <br /> + <table> + <tr> + <td style="width: 300px"> + <inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="search_results" /> + </td> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="search_results" /> + </td> + </tr> + </table> + <br /> + + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_search_relevance_normal"> + <small><inp2:m_Phrase label="lu_comm_Relevance"/>:</small><br/> + <table class="relevance-bar" width="70" height="5" align="right"> + <tr> + <td width="<inp2:m_param name="percent_on" />%" bgcolor="<inp2:m_param name="on_color" />"><img src="img/s.gif"></td> + <td width="<inp2:m_param name="percent_off" />%" bgcolor="<inp2:m_param name="off_color" />"><img src="img/s.gif"></td> + </tr> + </table> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_search_relevance_full"> + <small>Relevance:</small><br/> + <table class="relevance-bar" width="70" height="5" align="right"> + <tr> + <td width="100%" bgcolor="<inp2:m_param name="on_color" />"><img src="img/s.gif"></td> + </tr> + </table> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_search_highlight_opening"><span style="background: yellow"></inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_search_highlight_closing"></span></inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="16%" align="center" valign="top" class="block-data"> + <inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="product_search_relevance_normal" relevance_full_render_as="product_search_relevance_full" /><br/> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:SearchResultField field="Name" highlight_opening_render_as="product_search_highlight_opening" highlight_closing_render_as="product_search_highlight_closing" /></strong></a> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:SearchResultField field="DescriptionExcerpt" highlight_opening_render_as="product_search_highlight_opening" highlight_closing_render_as="product_search_highlight_closing" /> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr> + <td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + <inp2:p_ListProducts list_name="search_results" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + <inp2:m_else /> + + <inp2:m_DefineElement name="product_keywords_too_short"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_comm_KeywordsTooShort"/>!!! + </td> + </tr> + </table> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_no_found"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_comm_NoProductsFound"/>! + + </td> + </tr> + </table> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="adv_search_error"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_comm_NoCriteriaEntered"/> + + </td> + </tr> + </table> + </inp2:m_DefineElement> + <tr> + <td> + <inp2:p_ErrorMessage keywords_too_short_render_as="product_keywords_too_short" adv_search_error_render_as="adv_search_error" no_found_render_as="product_no_found" /><br /> + <inp2:m_Phrase label="lu_comm_TryRecomendedProductd"/>. + <br /><br /> + <inp2:m_include template="in-commerce/blocks/products/products_picks" /> + </td> + </tr> + </inp2:m_if> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_search_results.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/form_advanced_search.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/form_advanced_search.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/form_advanced_search.tpl (revision 12990) @@ -0,0 +1,107 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_AdvancedSearch"/></td> + </tr> + <tr> + <td class="block-data"> + <form method="POST" enctype="multipart/form-data" action="<inp2:m_link template="in-commerce/store/search_results" search_type="advanced" />"> + <table class="adv-search-form"> + <inp2:m_DefineElement name="adv_search_text"> + <tr> + <td> + <strong><inp2:m_param name="caption" /></strong> + </td> + <td style="text-align: center"> + <nobr> + <select name="verb[<inp2:m_param name="field" />]"> + <option value="contains"><inp2:m_Phrase label="lu_comm_Contains"/></option> + <option value="notcontains"><inp2:m_Phrase label="lu_comm_DoesntContain"/></option> + <option value="is"><inp2:m_Phrase label="lu_comm_ExactlyIs"/></option> + <option value="isnot"><inp2:m_Phrase label="lu_comm_IsNot"/></option> + </select> + + <input type="text" name="value[<inp2:m_param name="field" />]"> + </nobr> + </td> + <td style="text-align: right"> + <inp2:m_param name="andor" /> + </td> + </tr> + </inp2:m_DefineElement> + <inp2:m_DefineElement name="adv_search_boolean"> + <tr> + <td> + <strong><inp2:m_param name="caption" /></strong> + </td> + <td style="text-align: center"> + <input type="radio" name="value[<inp2:m_param name="field" />]" id="value[<inp2:m_param name="field" />]_true" value="1"> + <label for="value[<inp2:m_param name="field" />]_true"><inp2:m_Phrase label="lu_comm_Yes"/></label> + + <input type="radio" name="value[<inp2:m_param name="field" />]" id="value[<inp2:m_param name="field" />]_false" value="0"> + <label for="value[<inp2:m_param name="field" />]_false"><inp2:m_Phrase label="lu_comm_No"/></label> + + <input type="radio" name="value[<inp2:m_param name="field" />]" id="value[<inp2:m_param name="field" />]_any" value="-1" checked> + <label for="value[<inp2:m_param name="field" />]_any"><inp2:m_Phrase label="lu_comm_Both"/></label> + </td> + <td style="text-align: right"> + <inp2:m_param name="andor" /> + </td> + </tr> + </inp2:m_DefineElement> + <inp2:m_DefineElement name="adv_search_range"> + <tr> + <td> + <strong><inp2:m_param name="caption" /></strong> + </td> + <td style="text-align: center"> + <nobr><inp2:m_Phrase label="lu_comm_From"/>: <input type="text" name="value[<inp2:m_param name="field" />_from]" style="width:60px"> + <inp2:m_Phrase label="lu_comm_To"/>: <input type="text" name="value[<inp2:m_param name="field" />_to]" style="width:60px"></nobr> + </td> + <td style="text-align: right"> + <inp2:m_param name="andor" /> + </td> + </tr> + </inp2:m_DefineElement> + <inp2:m_DefineElement name="adv_search_date"> + <tr> + <td> + <strong><inp2:m_param name="caption" /></strong> + </td> + <td style="text-align: center"> + <select name="value[<inp2:m_param name="field" />]"> + <option value="0" selected><inp2:m_Phrase label="lu_comm_Any"/></option> + <option value="today"><inp2:m_Phrase label="lu_comm_Today"/></option> + <option value="yesterday"><inp2:m_Phrase label="lu_comm_Yesterday"/></option> + <option value="last_week"><inp2:m_Phrase label="lu_comm_LastWeek"/></option> + <option value="last_month"><inp2:m_Phrase label="lu_comm_LastMonth"/></option> + <option value="last_3_months"><inp2:m_Phrase label="lu_comm_Last3Months"/></option> + <option value="last_6_months"><inp2:m_Phrase label="lu_comm_Last6Months"/></option> + <option value="last_year"><inp2:m_Phrase label="lu_comm_LastYear"/></option> + </select> + </td> + <td style="text-align: right"> + <inp2:m_param name="andor" /> + </td> + </tr> + </inp2:m_DefineElement> + <inp2:m_DefineElement name="adv_search_andor"> + <span style="color: #555"> + <nobr><input type="radio" id="andor[<inp2:m_param name="field" />]_1" name="andor[<inp2:m_param name="field" />]" value="1" checked> + <label for="andor[<inp2:m_param name="field" />]_1"><inp2:m_Phrase label="lu_comm_And"/></label> + + <input type="radio" id="andor[<inp2:m_param name="field" />]_0" name="andor[<inp2:m_param name="field" />]" value="0"> + <label for="andor[<inp2:m_param name="field" />]_0"><inp2:m_Phrase label="lu_comm_Or"/></label></nobr> + </span> + </inp2:m_DefineElement> + <inp2:p_AdvancedSearchForm text_render_as="adv_search_text" boolean_render_as="adv_search_boolean" range_render_as="adv_search_range" date_render_as="adv_search_date" and_or_render_as="adv_search_andor" /> + <tr> + <td colspan="3" style="text-align: center"> + <input type="submit" value="<inp2:m_Phrase label="lu_comm_Go" no_editing="1"/>!" class="button"><br /> + <br /> + </td> + </tr> + </table> + </form> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/form_advanced_search.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_recent_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_recent_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_recent_list.tpl (revision 12990) @@ -0,0 +1,62 @@ +<inp2:p_InitList list_name="list_recent" types="recent" parent_cat_id="any" recursive="true" per_page="default" except="in_cart" /> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_RecentlyViewed"/></td> + </tr> + <tr> + <td class="block-data"> + + <table> + <tr> + <td style="width: 300px"> + <inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_recent" /> + </td> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_recent" /> + </td> + </tr> + </table> + + <br /> + + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td style="width: 16%; text-align: center" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + </td> + <td style="width: 84%;" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr> + <td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="list_recent" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_recent_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_new_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_new_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_new_list.tpl (revision 12990) @@ -0,0 +1,62 @@ +<inp2:p_InitList list_name="list_new" per_page="default" types="new" except="displayed" recursive="true" /> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_NewProducts"/></td> + </tr> + <tr> + <td class="block-data"> + + <table> + <tr> + <td style="width: 300px"> + <inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_new" /> + </td> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_new" /> + </td> + </tr> + </table> + + <br /> + + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td style="width: 16%; text-align: center" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + </td> + <td style="width: 84%;" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr> + <td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="list_new" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_new_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/form_options.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/form_options.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/form_options.tpl (revision 12990) @@ -0,0 +1,148 @@ + + + + +<inp2:m_if check="p_ShouldListOptions"> + <form name="add_to_cart" method="post" id="add_to_cart" action="<inp2:m_link pass="all,p"/>"> + <input type="hidden" name="events[ord]" id="events[ord]" value="OnAddToCart"> + <input type="hidden" name="m_t" value="in-commerce/checkout/shop_cart"> + <input type="hidden" name="p_id" value="<inp2:p_Field name="ProductId"/>"> + <input type="hidden" name="product_details_template" value="<inp2:m_Get var="t"/>"> + <input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart"> + + <inp2:m_if check="p_OptionsHaveError"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:p_OptionsError required="lu_comm_OptionsRequired" not_available="lu_comm_OptionsNotAvailable"/> + </td> + </tr> + </table> + </inp2:m_if> + + <inp2:m_if check="p_FieldEquals" field="OptionsSelectionMode" value="1"> <!-- Listable options (combinations) --> + + <script type="text/javascript"> + function BuyCombination(comb_id) + { + document.getElementById('qty[<inp2:p_Field name="ProductId"/>]['+comb_id+']').value = 1; + document.getElementById('add_to_cart').submit(); + } + </script> + + <inp2:m_DefineElement name="combination_option_element"> + <strong><inp2:m_Param name="option_name" />: </strong> + <inp2:m_Param name="option_value" /><inp2:m_if check="m_ParamEquals" param="is_last" value="1"><inp2:m_else/>, </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="combination_element"> + <tr class="cart-item-small"> + <td> + <input type="hidden" id="qty[<inp2:p_Field name="ProductId"/>][<inp2:Field name="CombinationId"/>]" name="qty[<inp2:p_Field name="ProductId"/>][<inp2:Field name="CombinationId"/>]" value="0"> + <inp2:ShowCombination render_as="combination_option_element"/> + </td> + <td> + <inp2:Field name="FinalPrice" currency="selected"/> + </td> + <td> + <a href="javascript:BuyCombination(<inp2:Field name="CombinationId"/>)"><inp2:m_Phrase label="lu_comm_BuyNow"/></a> + </td> + </tr> + </inp2:m_DefineElement> + <table style="margin: 0px;"> + <tr class="cart-header"> + <td><inp2:m_Phrase label="lu_comm_OptionsCombination"/></td> + <td><inp2:m_Phrase label="lu_comm_Price"/></td> + <td> </td> + </tr> + + <inp2:poc_PrintList2 per_page="-1" render_as="combination_element" row_start_render_as="html:" row_end_render_as="html:"/> + </table> + <br/> + <inp2:m_else/> <!-- Selectable options --> + <script type="text/javascript"> + function AddToCart() + { + document.getElementById('add_to_cart').submit(); + } + + function UpdateOptions() + { + document.getElementById('events[ord]').value = 'OnUpdateItemOptions'; + document.getElementById('add_to_cart').submit(); + } + + </script> + + <strong><inp2:m_Phrase label="lu_comm_SelectOptions"/>:</strong><br/> + + <inp2:m_DefineElement name="option_select_element"> + <option value="<inp2:m_param name="id"/>" <inp2:m_param name="selected"/>><inp2:m_param name="value"/><inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/>: (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if></option> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="option_cb_element"> + <input type="checkbox" <inp2:m_param name="selected"/> + name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>][]" + id="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>" + value="<inp2:m_param name="id"/>" /> + <label for="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>"> + <inp2:m_param name="value"/><inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/>: (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if> + </label> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="option_radio_element"> + <input type="radio" <inp2:m_param name="selected"/> + name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]" + id="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>" + value="<inp2:m_param name="id"/>" /> + <label for="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]_<inp2:m_param name="id"/>"> + <inp2:m_param name="value"/><inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/>: (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if> + </label> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="option_element"> + <tr> + <td style="padding-right: 10px"> + <inp2:Field name="Name"/><inp2:m_if check="FieldEquals" field="Required" value="1"><span class="error">*</span></inp2:m_if> : + </td> + <td> + <inp2:m_if check="FieldEquals" field="OptionType" value="1"> <!-- drop-down --> + <select name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]"> + <option value=""></option> + <inp2:ShowOptions render_as="option_select_element" currency="selected"/> + </select> + </inp2:m_if> + + <inp2:m_if check="FieldEquals" field="OptionType" value="5"> <!-- editbox --> + <input type="text" name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]" value="<inp2:OptionData/>"/> + </inp2:m_if> + + <inp2:m_if check="FieldEquals" field="OptionType" value="4"> <!-- textarea --> + <textarea cols="50" rows="5" name="options[<inp2:p_Field name="ProductId"/>][<inp2:Field name="ProductOptionId"/>]"><inp2:OptionData/></textarea> + </inp2:m_if> + + <inp2:m_if check="FieldEquals" field="OptionType" value="6"> <!-- checkboxeS --> + <inp2:ShowOptions render_as="option_cb_element" currency="selected"/> + </inp2:m_if> + + <inp2:m_if check="FieldEquals" field="OptionType" value="3"> <!-- radio buttons --> + <inp2:ShowOptions render_as="option_radio_element" currency="selected"/> + </inp2:m_if> + </td> + </tr> + </inp2:m_DefineElement> + + <table class="form-data" style="margin: 0px;" > + <inp2:p_ListOptions per_page="-1" render_as="option_element" row_start_render_as="html:" row_end_render_as="html:"/> + </table> + <inp2:m_if check="p_OptionsUpdateMode"> + <a href="javascript:UpdateOptions()" class="price2"><inp2:m_Phrase label="lu_comm_UpdateCartItem"/></a><br/> + <inp2:m_else/> + <a href="javascript:AddToCart()" class="price2"><inp2:m_Phrase label="lu_comm_BuyNow"/></a><br/> + </inp2:m_if> + <br/> + </inp2:m_if> + </form> +</inp2:m_if> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/form_options.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_wish_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_wish_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_wish_list.tpl (revision 12990) @@ -0,0 +1,75 @@ +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<inp2:p_InitList list_name="wish_list" types="wish_list" parent_cat_id="any" recursive="true" per_page="default" /> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_YourWishList"/> (<inp2:p_TotalRecords list_name="wish_list" />)</td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_if check="p_TotalRecords" list_name="wish_list"> + <table> + <tr> + <td style="width: 300px"> + <inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="wish_list" /> + </td> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="wish_list" /> + </td> + </tr> + </table> + <br /> + + + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + </td> + <td width="84%" class="block-data"> <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field name="Name" /></strong></a> + <inp2:m_if check="p_Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a><br /> + </inp2:m_if> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <inp2:m_DefineElement name="add_to_wish_list"> + <a href="<inp2:m_param name="wish_list_toggle_link" />"><inp2:m_Phrase label="lu_comm_AddToFav"/></a><br /> + </inp2:m_DefineElement> + <inp2:m_DefineElement name="remove_from_wish_list"> + <a href="<inp2:m_param name="wish_list_toggle_link" />"><inp2:m_Phrase label="lu_comm_RemoveFromFav"/></a><br /> + </inp2:m_DefineElement> + <inp2:WishListToggleLink add_to_wish_list_render_as="add_to_wish_list" remove_from_wish_list_render_as="remove_from_wish_list" /><br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt" /> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr> + <td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + <inp2:p_ListProducts list_name="wish_list" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + <inp2:m_else /> + <tr> + <td> + <inp2:m_Phrase label="lu_comm_YourWishListEmpty"/><br /> + <inp2:m_Phrase label="lu_comm_TryRecomendedProductd"/>. + <br /><br /> + <inp2:m_include template="in-commerce/blocks/products/products_picks" /> + </td> + </tr> + </inp2:m_if> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_wish_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/confirm_recommend.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/confirm_recommend.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/confirm_recommend.tpl (revision 12990) @@ -0,0 +1,20 @@ +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_recommend_title" /></td> + </tr> + <tr> + <td class="block-data"> + + <br /> + <br /> + <strong><inp2:m_Phrase label="lu_recommend_confirm" /></strong> + <br /> + <br /> + <inp2:m_Phrase label="lu_recommend_product_confirm_text" /> + <br /> + <br /> + <button onClick="window.location.href='<inp2:p_ProductLink template="__default__" />';" class="button" /><inp2:m_Phrase label="lu_comm_Ok"/></button> + + </td> + </tr> +</table> Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/confirm_recommend.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_current_cat.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_current_cat.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_current_cat.tpl (revision 12990) @@ -0,0 +1,62 @@ +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<inp2:p_InitList list_name="products_in_current_cat" per_page="default" except="displayed" /> + +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_Products"/></td> + </tr> + <tr> + <td class="block-data"> + <table> + <tr> + <td style="width: 50%"> + <inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="products_in_current_cat" /> + </td> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="products_in_current_cat" /> + </td> + </tr> + </table> + + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" Thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span><br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr> + <td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="products_in_current_cat" + render_as="product_elem" row_start_render_as="product_row_start" + row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" + columns="1" direction="V" /> + </table> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="products_in_current_cat" /> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_current_cat.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/product_actions.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/product_actions.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/product_actions.tpl (revision 12990) @@ -0,0 +1,29 @@ + <table border="0" cellspacing="0" cellpadding="0" class="actions-block"> + <tr> + <td class="actions-block-header"><inp2:m_Phrase label="lu_comm_Actions"/></td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_if check="p_Available"> + <inp2:m_if check="p_ShouldListOptions" required_only="1"><inp2:m_else/> + <a href="<inp2:p_AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><inp2:m_Phrase label="lu_comm_BuyThisProduct"/></a><br /> + </inp2:m_if> + <inp2:m_else /> + <strong><inp2:m_phrase label="lu_comm_outofstock"/></strong><br /> + </inp2:m_if> + <inp2:m_DefineElement name="add_to_wish_list"> + <a href="<inp2:m_param name="wish_list_toggle_link" />"><inp2:m_Phrase label="lu_comm_AddToFavourites"/></a><br /> + </inp2:m_DefineElement> + <inp2:m_DefineElement name="remove_from_wish_list"> + <a href="<inp2:m_param name="wish_list_toggle_link" />"><inp2:m_Phrase label="lu_comm_RemoveFromFav"/></a><br /> + </inp2:m_DefineElement> + <inp2:p_WishListToggleLink add_to_wish_list_render_as="add_to_wish_list" template_on_add="in-commerce/my_account/wishlist.tpl" remove_from_wish_list_render_as="remove_from_wish_list" /> + <br /> + <a href="<inp2:p_ProductLink template="__default__" />#reviews"><inp2:m_Phrase label="lu_comm_ViewReviews"/></a><br /> + <a href="<inp2:p_ProductLink template="__default__" />#related"><inp2:m_Phrase label="lu_comm_ViewRelatedProducts"/></a><br /> + <a href="<inp2:p_ProductLink template="in-commerce/product/review_product"/>"><inp2:m_Phrase label="lu_comm_ReviewThisProduct"/></a><br /> + <a href="<inp2:p_ProductLink template="in-commerce/product/rate_product" />"><inp2:m_Phrase label="lu_comm_RateThisProduct"/></a><br /> + <a href="<inp2:p_ProductLink template="in-commerce/product/recommend_product" />"><inp2:m_Phrase label="lu_comm_RecommendThisProduct"/></a><br /> + </td> + </tr> + </table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/product_actions.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_editor_picks.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_editor_picks.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_editor_picks.tpl (revision 12990) @@ -0,0 +1,62 @@ +<inp2:p_InitList list_name="list_editors_picks" per_page="default" types="pick" except="displayed" recursive="true" /> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_EditorsPicks"/></td> + </tr> + <tr> + <td class="block-data"> + + <table> + <tr> + <td style="width: 300px"> + <inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_editors_picks" /> + </td> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_editors_picks" /> + </td> + </tr> + </table> + + <br /> + + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr> + <td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="list_editors_picks" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_editor_picks.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_topsellers_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_topsellers_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_topsellers_list.tpl (revision 12990) @@ -0,0 +1,62 @@ +<inp2:p_InitList list_name="list_top_sellers" per_page="default" types="hot" except="displayed" recursive="true" /> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_TopSellers"/></td> + </tr> + <tr> + <td class="block-data"> + + <table> + <tr> + <td style="width: 300px"> + <inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_top_sellers" /> + </td> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_top_sellers" /> + </td> + </tr> + </table> + + <br /> + + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a> + </inp2:m_if> + <br /> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr> + <td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="list_top_sellers" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_topsellers_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_featured_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_featured_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_featured_list.tpl (revision 12990) @@ -0,0 +1,61 @@ +<inp2:p_InitList list_name="list_featured" per_page="default" types="featured" except="displayed" recursive="true" /> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_FeaturedProducts"/></td> + </tr> + <tr> + <td class="block-data"> + + <table> + <tr> + <td style="width: 300px"> + <inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="list_featured" /> + </td> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="list_featured" /> + </td> + </tr> + </table> + + <br /> + + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + </td> + <td width="84%" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>" class="link-product2"><strong><inp2:Field field="Name" /></strong></a> + <inp2:m_if check="Available"> + <a href="<inp2:AddToCartLink template="in-commerce/checkout/shop_cart" product_template="__default__"/>"><img src="in-commerce/img/buy2.gif" alt="" width="15" height="17" border="0" style="vertical-align:middle" /></a><br /> + </inp2:m_if> + <inp2:m_if check="Field" name="MSRP"><strong><inp2:m_Phrase label="lu_comm_MSRP"/>:</strong> <span class="price-msrp"><inp2:Field name="MSRP" currency="selected"/></span> <br /> </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_OurPrice"/>:</strong> <span class="price1"><inp2:Field name="Price" currency="selected"/></span> <br /> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt"/> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr> + <td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <inp2:p_ListProducts list_name="list_featured" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_featured_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_top_sellers.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_top_sellers.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_top_sellers.tpl (revision 12990) @@ -0,0 +1,33 @@ +<inp2:m_DefineElement name="more_link"> + <a href="<inp2:m_Link template="in-commerce/store/top_seller_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a> +</inp2:m_DefineElement> + +<inp2:p_InitList list_name="list_hot" types="pick" types="hot" except="displayed" recursive="1" per_page="short_list" /> + +<table border="0" cellspacing="0" cellpadding="0" class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_TopSellers"/></td> + </tr> + <tr> + <td class="block-data-big"> + + <inp2:m_DefineElement name="top_seller"> + <td> + <a href="<inp2:ProductLink template="__default__"/>"><strong><inp2:Field field="Name" /></strong></a><br /> + <inp2:Field field="DescriptionExcerpt" first_chars="70"/><br /> + <span class="price"><strong><inp2:Field name="Price" currency="selected"/></strong></span><br /> + <br /> + </td> + </inp2:m_DefineElement> + + <table> + <inp2:p_ListProducts list_name="list_hot" render_as="top_seller" columns="1" /> + </table> + + <inp2:m_DefineElement name="more_link"> + <a href="<inp2:m_Link template="in-commerce/store/top_seller_products" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a> + </inp2:m_DefineElement> + <inp2:p_MoreLink list_name="list_hot" render_as="more_link" /> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_top_sellers.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/product_fullsize_image.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/product_fullsize_image.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/product_fullsize_image.tpl (revision 12990) @@ -0,0 +1,6 @@ +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> + <br /><br /> +</inp2:m_DefineElement> + +<div align="center"><inp2:p_Image render_as="product_image" DefaultImage="in-commerce/img/no_product.gif"/></div> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/product_fullsize_image.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/products/products_pagination.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/products/products_pagination.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/products/products_pagination.tpl (revision 12990) @@ -0,0 +1,40 @@ +<inp2:m_DefineElement name="prev_page"> + <a class="pagination-bar" href="<inp2:PageLink/>"><<</a> + </td> + <td> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="no_prev_page"> + </td> + <td> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_current"> + <strong><inp2:m_param name="page"/></strong> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_separator"> + | +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_link"> + <a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_next"> + <a class="pagination-bar" href="<inp2:PageLink/>">>></a> +</inp2:m_DefineElement> + +<table style="width: 100%; text-align: left;"> + <tr> + <td style="width: 45%; text-align: right; "> + <strong><inp2:m_Phrase label="lu_comm_Page"/>: </strong> + + <inp2:p_PaginationBar + current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link" + prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page" + next_page_render_as="page_next" /> + </td> + <td> </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/products/products_pagination.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payment_type.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payment_type.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payment_type.tpl (revision 12990) @@ -0,0 +1,71 @@ +<form method="POST" enctype="multipart/form-data" action="<inp2:m_FormAction />"> + <table class="block-no-border"> + <tr> + <td class="block-header" colspan="3"><inp2:m_Phrase label="lu_comm_AffiliatePaymentType"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_CurrentAffiliatePaymentType" />:</strong> + </td> + <td class="block-data" colspan="2"> + <inp2:u_AffiliateField name="PaymentTypeId" /> + </td> + </tr> + + <tr> + <td class="block-data" colspan="3"> + <inp2:m_Phrase label="lu_comm_ChangeAffiliatePaymentTypeDescription"/> + </td> + </tr> + + <inp2:m_DefineElement name="affiliate_payment_type_elem"> + <tr> + <td style="padding: 3px"> + <input type="radio" name="PaymentTypeId" id="PaymentTypeId_<inp2:Field name="PaymentTypeId" />" value="<inp2:Field name="PaymentTypeId" />" <inp2:m_if check="u_AffiliatePaymentTypeChecked">checked</inp2:m_if> /> + </td> + <td style="padding: 3px"> + <label for="PaymentTypeId_<inp2:Field name="PaymentTypeId" />"><inp2:Field name="Name" /></label> + </td> + </tr> + <inp2:m_if check="Field" name="Description"> + <tr> + <td style="padding: 3px"> </td> + <td style="padding: 3px"><inp2:Field name="Description" /> </td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <tr> + <td style="vertical-align: top;" class="block-data"> + <strong><inp2:m_phrase label="lu_comm_ChooseAffiliatePaymentType"/>:</strong> + </td> + <td class="block-data" style="padding-bottom: 0px"> + <table class="block-no-border"> + <inp2:u_ListAffiliatesPaymentTypes render_as="affiliate_payment_type_elem" /> + <tr><td colspan="2" style="padding: 0px"> </td></tr> + </table> + </td> + <td class="error"> </td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_phrase label="lu_comm_Comments"/>:</strong> + </td> + <td class="block-data"> + <textarea name="Comments" id="Comments" cols="35" rows="5"><inp2:u_AffiliateField name="Comments" /></textarea> + </td> + <td class="error"> </td> + </tr> + + <tr> + <td class="block-data" colspan="2" style="padding-top: 0px"> + <input type="hidden" name="next_template" value="in-commerce/my_account/affiliate_payment_type_changed" /> + <input type="submit" class="button" name="events[affil][OnChangePaymentType]" id="events[affil][OnChangePaymentType]" value="<inp2:m_Phrase label="lu_comm_ChangePaymentType" no_editing="1"/>" /> + </td> + <td class="error"> </td> + </tr> + + </table> +</form> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payment_type.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate.tpl (revision 12990) @@ -0,0 +1,158 @@ +<script language="JavaScript"> + function showAffiliateAgreement() + { + window.open('<inp2:m_Link template="in-commerce/my_account/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300'); + } +</script> +<inp2:m_if check="u_IsAffiliate"> + <table class="block-no-border"> + <tr> + <td class="block-header" colspan="2"><inp2:m_Phrase label="lu_comm_AffiliateStatistics"/></td> + </tr> + <inp2:m_if check="u_AffiliateIsNotActive"> + <tr> + <td class="block-data" colspan="2"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_comm_AffiliateIsPendingOrDisabled"/> + </td> + </tr> + </table> + </td> + </tr> + </inp2:m_if> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat"/>"><strong><inp2:m_Phrase label="lu_comm_AffiliateStat"/></strong></a><br /> + <inp2:m_Phrase label="lu_comm_AffiliateStatText"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/affiliate_payments"/>"><strong><inp2:m_Phrase label="lu_comm_AffiliatePayments"/></strong></a><br /> + <inp2:m_Phrase label="lu_comm_AffiliatePaymentsText"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/affiliate_materials"/>"><strong><inp2:m_Phrase label="lu_comm_AffiliateMaterials"/></strong></a><br /> + <inp2:m_Phrase label="lu_comm_AffiliateMaterialsText"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/affiliate_payment_type"/>"><strong><inp2:m_Phrase label="lu_comm_ChangeAffiliatePaymentType"/></strong></a><br /> + <inp2:m_Phrase label="lu_comm_ChangeAffiliatePaymentTypeText"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <a href="javascript:showAffiliateAgreement()"><strong><inp2:m_Phrase label="lu_comm_TermsAndConditionsLink"/></strong></a><br /> + <inp2:m_Phrase label="lu_comm_TermsAndConditionsText"/> + + </td> + </tr> + </table> +<inp2:m_else /> + <form method="POST" enctype="multipart/form-data" action="<inp2:m_FormAction />"> + <table class="block-no-border"> + <tr> + <td class="block-header" colspan="3"><inp2:m_Phrase label="lu_comm_AffiliateRegistration"/></td> + </tr> + + <tr> + <td class="block-data" colspan="3"><inp2:m_Phrase label="lu_comm_BecomeAnAffiliateDescription"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_phrase label="lu_comm_SSNField"/>*:</strong> + </td> + <td class="block-data"> + <input type="text" name="SSN" id="SSN" value="<inp2:m_get var="SSN" />" /> + </td> + <td class="error"> + <inp2:m_if check="m_getequals" var="SSNRequiredError" value="1"> + <inp2:m_Phrase label="lu_comm_FieldIsRequired" /> + </inp2:m_if> + </td> + </tr> + + <inp2:m_DefineElement name="affiliate_payment_type_elem"> + <tr> + <td style="padding: 3px"> + <input type="radio" name="PaymentTypeId" id="PaymentTypeId_<inp2:Field name="PaymentTypeId" />" value="<inp2:Field name="PaymentTypeId" />" <inp2:m_if check="u_AffiliatePaymentTypeChecked">checked</inp2:m_if> /> + </td> + <td style="padding: 3px"> + <label for="PaymentTypeId_<inp2:Field name="PaymentTypeId" />"><inp2:Field name="Name" /></label> + </td> + </tr> + <inp2:m_if check="Field" name="Description"> + <tr> + <td style="padding: 3px"> </td> + <td style="padding: 3px"><inp2:Field name="Description" /> </td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + + <tr> + <td style="vertical-align: top;" class="block-data"> + <strong><inp2:m_phrase label="lu_comm_ChooseAffiliatePaymentType"/>:</strong> + </td> + <td class="block-data"> + <table class="block-no-border"> + <inp2:u_ListAffiliatesPaymentTypes render_as="affiliate_payment_type_elem" /> + <tr><td colspan="2" style="padding: 0px"> </td></tr> + </table> + </td> + <td class="error"> </td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_phrase label="lu_comm_Comments"/>:</strong> + </td> + <td class="block-data"> + <textarea name="Comments" id="Comments" cols="35" rows="5"><inp2:m_get var="Comments" /></textarea> + </td> + <td class="error"> </td> + </tr> + + <tr> + <td colspan="2" class="block-data"> + <input type="checkbox" name="AgreeToAffiliateTerms" id="AgreeToAffiliateTerms" /> + <strong><inp2:m_Phrase label="lu_comm_IAgreeTo" /> + <a href="javascript:showAffiliateAgreement()"><inp2:m_Phrase label="lu_comm_AffiliateAgreement" /></a> + <inp2:m_Phrase label="lu_comm_TermsAndConditions" /></strong> + <script type="text/javascript"> + function showAffiliateAgreement() + { + window.open('<inp2:m_Link template="in-commerce/my_account/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300'); + } + </script> + </td> + <td class="error"> + <inp2:m_if check="m_getequals" var="MustAgreeToTerms" value="1"> + <inp2:m_Phrase label="lu_comm_MustAgreeAffiliateTermsError" /> + </inp2:m_if> + </td> + </tr> + + <tr> + <td class="block-data" colspan="2" style="padding-top: 0px"> + <input type="hidden" name="next_template" value="in-commerce/my_account/affiliate_thankyou" /> + <input type="submit" class="button" name="events[affil][OnBecomeAffiliate]" id="events[affil][OnBecomeAffiliate]" value="<inp2:m_Phrase label="lu_comm_BecomeAnAffiliate" no_editing="1"/>" /> + </td> + <td class="error"> </td> + </tr> + + </table> + </form> +</inp2:m_if> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.8.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/my_profile.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/my_profile.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/my_profile.tpl (revision 12990) @@ -0,0 +1,194 @@ +<inp2:m_DefineElement name="destination"> + <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option> +</inp2:m_DefineElement> + +<form method="post" action="<inp2:m_FormAction />"> + +<table class="block-no-border"> + <tr> + <td class="block-header" colspan="2"> + <inp2:m_Phrase label="lu_comm_PersonalInfo"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_if check="u_HasError" field="any"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_AProblemWithForm"/> + + </td> + </tr> + </table> + </inp2:m_if> + <strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> <br /><br /> + + <table class="form-data"> + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_Password"/>:</strong> + </td> + <td class="block-data"> + <input type="password" name="<inp2:u_InputName field="Password"/>" value="" style="width: 100px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Password"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_VerifyPassword"/>:</strong> + </td> + <td class="block-data"> + <input type="password" name="<inp2:u_InputName field="VerifyPassword"/>" value="" style="width: 100px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="VerifyPassword"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_FirstName"/>:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:u_InputName field="FirstName"/>" value="<inp2:u_Field name="FirstName"/>" style="width: 200px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="FirstName"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_LastName"/>:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:u_InputName field="LastName"/>" value="<inp2:u_Field name="LastName"/>" style="width: 200px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="LastName"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_company"/>:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:u_InputName field="Company"/>" value="<inp2:u_Field name="Company"/>" style="width: 200px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Company"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_Phone"/>:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:u_InputName field="Phone"/>" value="<inp2:u_Field name="Phone"/>" style="width: 150px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Phone"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_Fax"/>:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:u_InputName field="Fax"/>" value="<inp2:u_Field name="Fax"/>" style="width: 150px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Fax"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_BirthDate"/> *:</strong><br> + </td> + <td class="block-data"> + <script src="inc/calendar.js"></script> + <input type="text" name="<inp2:u_InputName field="dob_date"/>" id="<inp2:u_InputName field="dob_date"/>" value="<inp2:u_Field name="dob_date" format="_regional_InputDateFormat"/>" style="width: 100px;" datepickerIcon="img/calendar.gif"/> + <script type="text/javascript"> + initCalendar('<inp2:u_InputName field="dob_date"/>', "<inp2:u_Format field="dob_date" input_format="1"/>"); + </script> + (<inp2:u_Format field="dob_date" input_format="1" human="true"/>, ex. <inp2:u_Format field="dob_date" sample="true"/>) + </td> + <td width="170" class="error"><inp2:u_Error field="dob_date"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_Email"/> *:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:u_InputName field="Email"/>" value="<inp2:u_Field field="Email"/>" style="width: 200px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Email"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:u_InputName field="Street"/>" value="<inp2:u_Field name="Street"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Street"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:u_InputName field="Street2"/>" value="<inp2:u_Field name="Street2"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Street2"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_City"/>:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:u_InputName field="City"/>" value="<inp2:u_Field name="City"/>" style="width: 100px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="City"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_state"/>:</strong></td> + <td> + <input type="text" name="<inp2:u_InputName field="State"/>" value="<inp2:u_Field name="State"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:u_Error field="State"/></td> + </tr> + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_ZipCode"/>:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:u_InputName field="Zip"/>" value="<inp2:u_Field name="Zip"/>" style="width: 60px;" /> + </td> + <td width="170" class="error"><inp2:u_Error field="Zip"/></td> + </tr> + <tr> + <td> + <strong><inp2:m_phrase label="lu_country"/>:</strong></td> + <td> + <select name="<inp2:u_InputName field="Country"/>" style="width: 300px;"> + <option value=""></option> + <inp2:u_PredefinedOptions field="Country" render_as="destination" selected_param="selected" selected="selected=\"selected\""/> + </select> + </td> + <td class="error"><inp2:u_Error field="Country"/></td> + </tr> + <tr> + <td colspan="3" valign="bottom" height="35"> + <input class="button" type="submit" id="events[u][OnUpdate]" name="events[u][OnUpdate]" value="<inp2:m_Phrase label="lu_comm_Update" no_editing="1"/>"/> + <input type="hidden" name="next_template" value="in-commerce/my_account/account"/> + </td> + </tr> + </table> + </td> + </tr> + +</table> +</form> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/my_profile.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/all_downloads.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/all_downloads.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/all_downloads.tpl (revision 12990) @@ -0,0 +1,70 @@ +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:p_Field name="Name" /> - <inp2:m_Phrase label="lu_comm_ProductFiles"/></td> + </tr> + <tr> + <td class="block-data-single"> + <table style="vertical-align: top; float: top;"> + <tr> + <td style="text-align: center; width: 200px; padding-right: 10px;"> + <a href="<inp2:m_Link template="in-commerce/product/picture_fullsize.tpl" pass="all,p" />" target="_blank"><inp2:p_Image render_as="product_image" DefaultImage="in-commerce/img/no_picture.gif" MaxWidth="250" DefaultWidth="250" /></a><br /> + </td> + <td> + <a href="<inp2:p_ProductLink template="__default__"/>" class="link-product1"><inp2:p_field name="Name"/></a><br /> + + <inp2:m_if check="p_Field" name="ManufacturerId"> + <strong><inp2:m_Phrase label="lu_comm_Manufacturer"/>:</strong> <inp2:p_field name="ManufacturerId"/> (<inp2:m_Phrase label="lu_comm_OtherProductsBy"/> <a href="<inp2:p_ManufacturerLink template="in-commerce/store/manufacturer_products" />"><inp2:p_Field name="ManufacturerId"/></a> <inp2:m_Phrase label="lu_comm_OtherProducts"/>) <br /> + </inp2:m_if> + <br /> + + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:p_Field name="Description"/> <br /><br /> + + <inp2:m_if check="p_CustomField" name="Features"> + <strong><inp2:p_CustomFieldLabel field="Features"/>:</strong> + <inp2:p_CustomField name="Features"/> + <br /> + <br /> + </inp2:m_if> + + <strong><inp2:m_Phrase label="lu_comm_Files"/>:</strong><br /><br /> + <table> + <inp2:m_DefineElement name="file_row"> + <inp2:m_if check="p_UniqueFileName"> + <tr> + <td><inp2:m_Phrase label="lu_comm_Name"/>:</td><td><inp2:Field name="Name"/> </td> + </tr> + </inp2:m_if> + <tr> + <td><inp2:m_Phrase label="lu_comm_FileName"/>:</td><td><a href="<inp2:p_ProductFileLink template="in-commerce/my_account/download" />"><inp2:Field name="FilePath"/></a> </td> + </tr> + <inp2:m_if check="Field" name="Version"> + <tr> + <td><inp2:m_Phrase label="lu_comm_Version"/>:</td><td><inp2:Field name="Version"/> </td> + </tr> + </inp2:m_if> + <tr> + <td><inp2:m_Phrase label="lu_comm_Size"/>:</td><td><inp2:Field name="Size" /> </td> + </tr> + <tr> + <td><inp2:m_Phrase label="lu_comm_AddedOn"/>:</td><td><inp2:Field name="AddedOn" format="_regional_DateFormat"/> </td> + </tr> + <tr> + <td><inp2:m_Phrase label="lu_comm_DownloadLink"/>:</td><td><strong><a href="<inp2:p_ProductFileLink template="in-commerce/my_account/download" />"><inp2:m_Phrase label="lu_comm_DownloadNow" /></a></strong></td> + </tr> + <tr> + <td colspan="2"><hr /></td> + </tr> + </inp2:m_DefineElement> + <inp2:p_ListFiles render_as="file_row" per_page="-1" main_special="" /> + </table> + + </td> + </tr> + </table> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/all_downloads.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_date_filter.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_date_filter.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_date_filter.tpl (revision 12990) @@ -0,0 +1,45 @@ +<form method="POST" action="<inp2:m_FormAction />"> +<table class="adv-search-form"> + <tr class="<inp2:m_odd_even odd="table-color1" even="table-color2"/>"> + <inp2:m_inc param="tab_index" by="1"/> + <td class="text"> + <strong><inp2:m_phrase label="la_from_date"/></strong> + </td> + + <td> + <script src="inc/calendar.js"></script> + <input type="text" name="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="from" grid="$grid_name"/>" id="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="from" grid="$grid_name"/>" value="<inp2:{$prefix}_SearchField field="$field" filter_type="date_range" type="from" grid="$grid_name"/>" size="<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" edit_size="1"/>" datepickerIcon="img/calendar.gif"/> + <span class="small">(<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" human="true"/>)</span> + <script type="text/javascript"> + initCalendar("<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="from" grid="$grid_name"/>", "<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1"/>"); + </script> + + </td> + + <td class="error"><inp2:{$prefix}_SearchError field="$field"/> </td> + </tr> + <tr> + <td class="text"> + <strong><inp2:m_phrase label="la_to_date"/></strong> + </td> + + <td> + <input type="text" class="input-text" name="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="to" grid="$grid_name"/>" id="<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="to" grid="$grid_name"/>" value="<inp2:{$prefix}_SearchField field="$field" filter_type="date_range" type="to" grid="$grid_name"/>" size="<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" edit_size="1"/>" datepickerIcon="img/calendar.gif"/> + <span class="small">(<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1" human="true"/>)</span> + <script type="text/javascript"> + initCalendar("<inp2:{$prefix}_SearchInputName field="$field" filter_type="date_range" type="to" grid="$grid_name"/>", "<inp2:{$prefix}_SearchFormat field="{$field}_date" input_format="1"/>"); + </script> + + </td> + + <td class="error"><inp2:{$prefix}_SearchError field="$field"/> </td> + </tr> + <tr> + <td colspan="3" style="text-align: center;"> + <input class="button" type="submit" name="events[<inp2:m_param name="prefix"/>][OnSearch]" value="<inp2:m_phrase label="lu_search" />"> + <input class="button" type="submit" name="events[<inp2:m_param name="prefix"/>][OnSearchReset]" value="<inp2:m_phrase label="lu_reset" />"> + </td> + </tr> +</table> +<input type="hidden" name="grid_name" value="<inp2:m_param name="grid_name"/>" /> +</form> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_date_filter.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat_orders_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat_orders_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat_orders_list.tpl (revision 12990) @@ -0,0 +1,81 @@ +<inp2:visits_InitList list_name="visitors_orders_list" types="myvisitororders" grid="visitsincommerce" per_page="5" /> + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_TotalOrders"/> + </td> + </tr> +</table> + +<inp2:m_include template="in-commerce/blocks/my_account/affiliate_date_filter" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/> +<br /> + +<table> + <tr> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_visitors_pagination" list_name="visitors_orders_list" data_exists="1"/> + </td> + </tr> +</table> +<br /> + +<table> + <inp2:m_DefineElement name="myvisitors_header"> + <tr class="cart-header"> + <td style="width: 30%"><inp2:m_Phrase label="lu_comm_Date"/></td> + <td style="width: 30%"><inp2:m_Phrase label="lu_comm_OrderNumber"/></td> + + <td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_OrderTotalAmount"/></td> + <td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_OrderCommissionEarned"/></td> + + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myvisitors_item"> + <tr class="cart-item"> + <td ><inp2:Field field="VisitDate" format="_regional_DateFormat"/></td> + <td ><inp2:Field field="OrderNumber"/></td> + <td style="text-align: right"> + <strong><inp2:Field field="OrderTotalAmount" currency="selected"/></strong> + </td> + <td style="text-align: right"> + <strong><inp2:Field field="OrderAffiliateCommission" currency="selected"/></strong> + </td> + + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myvisitors_empty"> + <tr class="block-data"> + <td> + <strong><inp2:m_Phrase label="lu_comm_DontHaveOrders"/></strong> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="affiliate_info" > + <tr> + <td class="block-data"> </td> + <td class="block-data"> </td> + <td class="block-data" style="text-align: right"> + <inp2:m_Phrase label="lu_comm_Total"/>: + <inp2:m_param name="OrderTotalAmount" /> + </td> + <td class="block-data" style="text-align: right"> + <inp2:m_Phrase label="lu_comm_Total"/>: + <inp2:m_param name="OrderAffiliateCommission" /> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myvisitors_footer"> + <inp2:AffiliateOrderInfo list_name="visitors_orders_list" types="myvisitororders" render_as="affiliate_info" currency="selected" /> + </inp2:m_DefineElement> + + <inp2:visits_ListVisitors list_name="visitors_orders_list" item_render_as="myvisitors_item" header_render_as="myvisitors_header" footer_render_as="myvisitors_footer" empty_myvisitors_render_as="myvisitors_empty" /> + + + + +</table> Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat_orders_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3.16.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat_visits_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat_visits_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat_visits_list.tpl (revision 12990) @@ -0,0 +1,85 @@ +<inp2:visits_InitList list_name="visitors_list" types="myvisitors" grid="visitsincommerce" per_page="5" /> + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_TotalVisitors"/> + </td> + </tr> +</table> + +<inp2:m_include template="in-commerce/blocks/my_account/affiliate_date_filter" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/> +<br /> + +<table> + <tr> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_visitors_pagination" list_name="visitors_list" data_exists="1"/> + </td> + </tr> +</table> +<br /> + +<table> + <inp2:m_DefineElement name="myvisitors_header"> + <tr class="cart-header"> + <td style="width: 30%"><inp2:m_Phrase label="lu_comm_Date"/></td> + <td style="width: 30%"><inp2:m_Phrase label="lu_comm_Referer"/></td> + <td ><inp2:m_Phrase label="lu_comm_OrderCount"/></td> + <td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_OrderTotalAmount"/></td> + <td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_OrderCommissionEarned"/></td> + + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="affiliate_info" > + <tr> + <td class="block-data"> </td> + <td class="block-data"> </td> + <td class="block-data"> </td> + <td class="block-data" style="text-align: right"> + <inp2:m_Phrase label="lu_comm_Total"/>: + <inp2:m_param name="OrderTotalAmount" /> + </td> + <td class="block-data" style="text-align: right"> + <inp2:m_Phrase label="lu_comm_Total"/>: + <inp2:m_param name="OrderAffiliateCommission" /> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myvisitors_footer"> + <inp2:AffiliateOrderInfo list_name="visitors_list" types="myvisitors" render_as="affiliate_info" currency="selected" /> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myvisitors_item"> + <tr class="cart-item"> + <td ><inp2:Field field="VisitDate" format="_regional_DateFormat"/></td> + <td > + <inp2:m_if check="FieldEquals" field="Referer" value=""> + <inp2:m_Phrase label="lu_visit_DirectReferer"/> + <inp2:m_else/> + <div style="overflow: hidden"><a href="<inp2:Field field="Referer"/>"><inp2:Field field="Referer"/></a></div> + </inp2:m_if> + </td> + <td ><inp2:Field field="OrderCountByVisit" /></td> + <td style="text-align: right"> + <strong><inp2:Field field="OrderTotalAmountSum" currency="selected"/> </strong> + </td> + <td style="text-align: right"> + <strong><inp2:Field field="OrderAffiliateCommissionSum" currency="selected"/></strong> + </td> + + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myvisitors_empty"> + <tr class="block-data"> + <td> + <strong><inp2:m_Phrase label="lu_comm_DontHaveVisitors"/></strong> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:visits_ListVisitors list_name="visitors_list" item_render_as="myvisitors_item" header_render_as="myvisitors_header" footer_render_as="myvisitors_footer" empty_myvisitors_render_as="myvisitors_empty" /> +</table> Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat_visits_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.26.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat.tpl (revision 12990) @@ -0,0 +1,67 @@ +<inp2:visits_InitList list_name="visitors_list" types="myvisitors" grid="visitsincommerce" per_page="5" /> +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_AffiliateStatistics"/> + </td> + </tr> +</table> + + + + +<inp2:m_DefineElement name="affiliate_info" > + + <table class="adv-search-form" style="width: 50%"> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_comm_TotalVisitors"/> + </td> + <td class="block-data"> + <inp2:m_param name="TotalVisitors" /> + </td> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat_visits_list"/>"><inp2:m_Phrase label="lu_comm_details"/></a> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_comm_TotalOrders"/> + </td> + <td class="block-data"> + <inp2:m_param name="OrderCount" /> + </td> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat_orders_list"/>"><inp2:m_Phrase label="lu_comm_details"/></a> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_comm_TotalOrderAmount"/> + </td> + <td class="block-data"> + <inp2:m_param name="OrderTotalAmount" /> + </td> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat_orders_list"/>"><inp2:m_Phrase label="lu_comm_details"/></a> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_comm_TotalCommissionEarned"/> + </td> + <td class="block-data"> + <inp2:m_param name="OrderAffiliateCommission" /> + </td> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat_orders_list"/>"><inp2:m_Phrase label="lu_comm_details"/></a> + </td> + </tr> + </table> +</inp2:m_DefineElement> + +<inp2:m_include template="in-commerce/blocks/my_account/affiliate_date_filter" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/> +<br /> + +<inp2:visits_AffiliateOrderInfo list_name="visitors_list" types="myvisitors" render_as="affiliate_info" currency="selected" /> + Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_stat.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5.22.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/address_edit.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/address_edit.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/address_edit.tpl (revision 12990) @@ -0,0 +1,182 @@ +<inp2:m_DefineElement name="destination"> + <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_param name="option"/></option> +</inp2:m_DefineElement> + +<form method="post" action="<inp2:m_FormAction />"> + +<table class="block-no-border"> + <tr> + <td class="block-header" colspan="2"> + <inp2:m_Phrase label="lu_comm_MyAddresses"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_if check="addr_HasError" field="any"> + <table class="warning"> + <tr> + <td valign="top" align="left" class="block-data"> + <img src="img/message.gif" alt="" width="19" height="19" /> + <span class="warning-text"><inp2:m_Phrase label="lu_Warning"/></span><br /> + <inp2:m_Phrase label="lu_AProblemWithForm"/> + + </td> + </tr> + </table> + </inp2:m_if> + <inp2:m_if check="u.current_Field" name="cust_shipping_addr_block"> + + <strong><inp2:m_Phrase label="lu_AddressModificationBlocked"/></strong> + + <inp2:m_else/> + <strong>* <inp2:m_Phrase label="lu_IndicatesRequired"/>.</strong> <br /><br /> + + <table class="form-data"> + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_FullName"/> *:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:addr_InputName field="To"/>" value="<inp2:addr_Field name="To"/>" style="width: 200px;" /> + </td> + <td width="170" class="error"><inp2:addr_Error field="To"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_Company"/>:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:addr_InputName field="Company"/>" value="<inp2:addr_Field name="Company"/>" style="width: 200px;" /> + </td> + <td width="170" class="error"><inp2:addr_Error field="Company"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 1 *:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:addr_InputName field="Address1"/>" value="<inp2:addr_Field name="Address1"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:addr_Error field="Address1"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_AddressLine"/> 2:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:addr_InputName field="Address2"/>" value="<inp2:addr_Field name="Address2"/>" style="width: 300px;" /> + </td> + <td width="170" class="error"><inp2:addr_Error field="Address2"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_City"/> *:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:addr_InputName field="City"/>" value="<inp2:addr_Field name="City"/>" style="width: 100px;" /> + </td> + <td width="170" class="error"><inp2:addr_Error field="City"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_state"/> *:</strong></td> + <td> + <input type="text" name="<inp2:addr_InputName field="State"/>" value="<inp2:addr_Field name="State"/>" style="width: 200px;" /> + </td> + <td class="error"><inp2:addr_Error field="State"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_ZipCode"/> *:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:addr_InputName field="Zip"/>" value="<inp2:addr_Field name="Zip"/>" style="width: 60px;" /> + </td> + <td width="170" class="error"><inp2:addr_Error field="Zip"/></td> + </tr> + + <tr> + <td> + <strong><inp2:m_phrase label="lu_country"/> *:</strong></td> + <td> + <select name="<inp2:addr_InputName field="Country"/>" style="width: 300px;"> + <option value=""></option> + <inp2:addr_PredefinedOptions field="Country" render_as="destination" selected_param="selected" selected="selected=\"selected\""/> + </select> + </td> + <td class="error"><inp2:addr_Error field="Country"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_Phone"/> *:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:addr_InputName field="Phone"/>" value="<inp2:addr_Field name="Phone"/>" style="width: 150px;" /> + </td> + <td width="170" class="error"><inp2:addr_Error field="Phone"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_Fax"/>:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:addr_InputName field="Fax"/>" value="<inp2:addr_Field name="Fax"/>" style="width: 150px;" /> + </td> + <td width="170" class="error"><inp2:addr_Error field="Fax"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_Email"/>:</strong> + </td> + <td class="block-data"> + <input type="text" name="<inp2:addr_InputName field="Email"/>" value="<inp2:addr_Field field="Email"/>" style="width: 200px;" /> + </td> + <td width="170" class="error"><inp2:addr_Error field="Email"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_LastUsedAsShipping"/>:</strong> + </td> + <td class="block-data"> + <input type="checkbox" name="<inp2:addr_InputName field="LastUsedAsShipping"/>" value="1"<inp2:m_if check="addr_Field" field="LastUsedAsShipping" value="1"> checked</inp2:m_if> /> + </td> + <td width="170" class="error"><inp2:addr_Error field="LastUsedAsShipping"/></td> + </tr> + + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_LastUsedAsBilling"/>:</strong> + </td> + <td class="block-data"> + <input type="checkbox" name="<inp2:addr_InputName field="LastUsedAsBilling"/>" value="1"<inp2:m_if check="addr_Field" field="LastUsedAsBilling" value="1"> checked</inp2:m_if> /> + </td> + <td width="170" class="error"><inp2:addr_Error field="LastUsedAsBilling"/></td> + </tr> + + <tr> + <td colspan="3" valign="bottom" height="35"> + <input class="button" type="submit" name="events[addr][<inp2:addr_SaveEvent/>]" value="<inp2:m_if check="addr_IsNewMode"><inp2:m_Phrase label="lu_comm_Create"/><inp2:m_else/><inp2:m_Phrase label="lu_comm_Update"/></inp2:m_if>"/> + <input type="hidden" name="<inp2:addr_InputName field="PortalUserId"/>" value="<inp2:addr_Field field="PortalUserId"/>" /> + <input type="hidden" name="next_template" value="in-commerce/my_account/address"/> + </td> + </tr> + </table> + + </inp2:m_if> + + </td> + </tr> + +</table> +</form> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/address_edit.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/address_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/address_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/address_list.tpl (revision 12990) @@ -0,0 +1,87 @@ +<inp2:addr_InitList list_name="my_addresses_list" types="myaddresses" per_page="10" /> + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_MyAddresses"/> + </td> + </tr> +</table> + +<table> + <tr> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/my_account/address_pagination" list_name="my_addresses_list" data_exists="1"/> + </td> + </tr> +</table> +<br /> + <inp2:m_DefineElement name="myaddress_item_tr"> + <tr class="cart-item"> + <td> + <strong><inp2:Field field="To"/></strong><br /> + <inp2:m_if check="Field" name="Company"> + <inp2:Field field="Company"/><br /> + </inp2:m_if> + <inp2:m_if check="FieldEquals" field="Address1" value="" inverse="inverse"> + <inp2:Field field="Address1"/><br /> + </inp2:m_if> + + <inp2:m_if check="FieldEquals" field="Address2" value="" inverse="inverse"> + <inp2:Field field="Address2"/><br /> + </inp2:m_if> + <inp2:PrintLocation/><br /> + </td> + <td> + <inp2:m_if check="Field" name="Email"> + <inp2:Field field="Email"/><br /> + </inp2:m_if> + + <inp2:m_if check="Field" name="Phone"> + <inp2:m_Phrase name="lu_Phone"/>: <inp2:Field field="Phone"/><br /> + </inp2:m_if> + + <inp2:m_if check="Field" name="Fax"> + <inp2:m_Phrase name="lu_Fax"/>: <inp2:Field field="Fax"/><br /> + </inp2:m_if> + </td> + <td> + <inp2:m_if check="Field" field="LastUsedAsShipping" value="1"><inp2:m_Phrase label="lu_LastUsedAsShipping"/><br/></inp2:m_if> + <inp2:m_if check="Field" field="LastUsedAsBilling" value="1"><inp2:m_Phrase label="lu_LastUsedAsBilling"/></inp2:m_if> + <br /> + </td> + <td> + <inp2:m_if check="u.current_Field" name="cust_shipping_addr_block" inverse="1"> + <inp2:m_if check="IsProfileAddress"> + <a href="<inp2:m_Link template="in-commerce/my_account/profile"/>"><inp2:m_Phrase label="lu_Edit"/></a> + <inp2:m_else /> + <a href="<inp2:EditLink template="in-commerce/my_account/address_edit"/>"><inp2:m_Phrase label="lu_Edit"/></a> + <a href="javascript:if(confirm('<inp2:m_Phrase name="lu_comm_DeleteAddress" escape="1"/> ?')) window.location.href = '<inp2:DeleteLink escape="1"/>';"><inp2:m_Phrase label="lu_Delete"/></a> + </inp2:m_if> + </inp2:m_if> + <br /><br /> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myaddress_empty"> + <td> + <strong><inp2:m_Phrase label="lu_comm_DontHaveAddresses"/></strong> + </td> + </inp2:m_DefineElement> + + <inp2:m_if check="ord_AllowAddAddress"> + <div style="margin: 10px; display: inline;"> + <a href="<inp2:addr_NewLink template="in-commerce/my_account/address_edit"/>"><inp2:m_Phrase label="lu_Comm_NewAddress"/></a> <br /><br /> + </div> + </inp2:m_if> + + <table> + <tr class="cart-header"> + <td><inp2:m_Phrase label="lu_Address"/></td> + <td><inp2:m_Phrase label="lu_ContactInfo"/></td> + <td><inp2:m_Phrase label="lu_AddressUsedAs"/></td> + <td> </td> + </tr> + <inp2:addr_ListAddresses list_name="my_addresses_list" columns="1" direction="H" render_as="myaddress_item_tr" empty_myaddresses_render_as="myaddress_empty" row_start_render_as="html:" row_end_render_as="html:"/> + </table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/address_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/my_account.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/my_account.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/my_account.tpl (revision 12990) @@ -0,0 +1,60 @@ +<table class="block-no-border"> + <tr> + <td class="block-header" colspan="2"><inp2:m_Phrase label="lu_comm_MyAccount"/></td> + </tr> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/profile"/>"><strong><inp2:m_Phrase label="lu_comm_PersonalInfo"/></strong></a><br /> + <inp2:m_Phrase label="lu_comm_PersonalInfoText"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/address"/>"><strong><inp2:m_Phrase label="lu_comm_AddressList"/></strong></a><br /> + <inp2:m_Phrase label="lu_commAddressListText"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/wishlist"/>"><strong><inp2:m_Phrase label="lu_comm_WishList"/></strong></a><br /> + <inp2:m_Phrase label="lu_comm_WishListText"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/orders"/>"><strong><inp2:m_Phrase label="lu_comm_Orders"/></strong></a><br /> + <inp2:m_Phrase label="lu_comm_OrdersText"/> + + </td> + </tr> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/downloads"/>"><strong><inp2:m_Phrase label="lu_comm_Downloads"/></strong></a><br /> + <inp2:m_Phrase label="lu_comm_DownloadsText"/> + + </td> + </tr> + + <inp2:m_if check="u_IsAffiliateOrRegisterAsAffiliateAllowed"> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="in-commerce/my_account/affiliate"/>"><strong><inp2:m_Phrase label="lu_comm_Affiliate"/></strong></a><br /> + <inp2:m_Phrase label="lu_comm_AffiliateText"/> + + </td> + </tr> + </inp2:m_if> + + <inp2:m_if check="m_LoggedIn"> + <tr> + <td class="block-data"> + <a href="<inp2:u_LogoutLink />"><strong><inp2:m_Phrase label="lu_Logout"/></strong></a><br /> + <inp2:m_Phrase label="lu_LogoutText"/> + + </td> + </tr> + </inp2:m_if> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/my_account.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.9 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/my_downloads.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/my_downloads.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/my_downloads.tpl (revision 12990) @@ -0,0 +1,74 @@ +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<inp2:p_InitList list_name="my_downloads" types="my_downloads" parent_cat_id="any" recursive="true" per_page="default" /> + +<table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_YourDownloads"/> (<inp2:p_TotalRecords list_name="my_downloads" />)</td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_if check="p_TotalRecords" list_name="my_downloads"> + <table> + <tr> + <td style="width: 300px"> + <inp2:m_include template="in-commerce/blocks/products/products_sorting" list_name="my_downloads" /> + </td> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/products/products_pagination" list_name="my_downloads" /> + </td> + </tr> + </table> + <br /> + + + <table> + <inp2:m_DefineElement name="product_row_start"> + <tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_elem"> + <td width="16%" align="center" valign="top" class="block-data"> + <a href="<inp2:ProductLink template="__default__"/>"><inp2:Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /></a> + </td> + <td width="84%" class="block-data"> + <inp2:m_if check="p_HasFiles"> + <a href="<inp2:ProductLink template="in-commerce/my_account/downloads_more"/>" class="link-product2"><strong><inp2:Field name="Name" /></strong></a><br /> + <inp2:m_else /> + <strong><inp2:Field name="Name" /></strong><br /> + </inp2:m_if> + <strong><inp2:m_Phrase label="lu_comm_Description"/>:</strong> <inp2:Field name="DescriptionExcerpt" /><br /><br /> + <inp2:m_if check="p_HasFiles"> + <a href="<inp2:ProductFileLink template="in-commerce/my_account/download"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_DownloadNow" /></strong></a><br /> + <a href="<inp2:ProductLink template="in-commerce/my_account/downloads_more"/>" class="link-product2"><strong><inp2:m_Phrase label="lu_comm_MoreFiles" />...</strong></a><br /> + <inp2:m_else /> + <inp2:m_Phrase label="lu_comm_NoFilesForThisProduct" /> + </inp2:m_if> + </td> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="product_row_end"> + </tr> + <inp2:m_if check="NotLastItem"> + <tr> + <td colspan="2" style="background: #CCCCCC; height: 1px; padding: 0px"><img src="img/s.gif" alt="" width="1" height="1" /></td> + </tr> + </inp2:m_if> + </inp2:m_DefineElement> + <inp2:p_ListProducts list_name="my_downloads" columns="1" direction="V" render_as="product_elem" row_start_render_as="product_row_start" row_end_render_as="product_row_end" empty_cell_render_as="product_empty_cell" /> + </table> + <inp2:m_else /> + <tr> + <td> + <inp2:m_Phrase label="lu_comm_YourDownloadListEmpty"/><br /> + <inp2:m_Phrase label="lu_comm_TryRecommendedProducts"/>. + <br /><br /> + <inp2:m_include template="in-commerce/blocks/products/products_picks" /> + </td> + </tr> + </inp2:m_if> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/my_downloads.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/myaccount_navigation.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/myaccount_navigation.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/myaccount_navigation.tpl (revision 12990) @@ -0,0 +1,52 @@ +<table class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_YourAccount"/></td> + </tr> + <tr> + <td class="block-data-big"> + <ul class="list-no-squares"> + <inp2:m_if check="m_IsActive" template="in-commerce/my_account/profile"> + <li><strong><inp2:m_phrase label="lu_comm_PersonalInfo" /></strong></li> + <inp2:m_else /> + <li><a href="<inp2:m_Link template="in-commerce/my_account/profile" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_PersonalInfo" /></a></li> + </inp2:m_if> + + <inp2:m_if check="m_IsActive" template="in-commerce/my_account/address"> + <li><strong><inp2:m_phrase label="lu_comm_AddressList" /></strong></li> + <inp2:m_else /> + <li><a href="<inp2:m_Link template="in-commerce/my_account/address" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_AddressList" /></a></li> + </inp2:m_if> + + <inp2:m_if check="m_IsActive" template="in-commerce/my_account/wishlist"> + <li><strong><inp2:m_phrase label="lu_comm_WishList" /></strong></li> + <inp2:m_else /> + <li><a href="<inp2:m_Link template="in-commerce/my_account/wishlist" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_WishList" /></a></li> + </inp2:m_if> + + <inp2:m_if check="m_IsActive" template="in-commerce/my_account/orders"> + <li><a href="<inp2:m_Link template="in-commerce/my_account/orders" m_cat_id="0"/>"><strong><inp2:m_phrase label="lu_comm_Orders" /></strong></a></li> + <inp2:m_else /> + <li><a href="<inp2:m_Link template="in-commerce/my_account/orders" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_Orders" /></a></li> + </inp2:m_if> + + <inp2:m_if check="m_IsActive" template="in-commerce/my_account/downloads"> + <li><a href="<inp2:m_Link template="in-commerce/my_account/downloads" m_cat_id="0"/>"><strong><inp2:m_phrase label="lu_comm_Downloads" /></strong></a></li> + <inp2:m_else /> + <li><a href="<inp2:m_Link template="in-commerce/my_account/downloads" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_Downloads" /></a></li> + </inp2:m_if> + + <inp2:m_if check="u_IsAffiliateOrRegisterAsAffiliateAllowed"> + <inp2:m_if check="m_IsActive" template="in-commerce/my_account/affiliate"> + <li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate" m_cat_id="0"/>"><strong><inp2:m_phrase label="lu_comm_Affiliate" /></strong></a></li> + <inp2:m_else /> + <li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate" m_cat_id="0"/>"><inp2:m_phrase label="lu_comm_Affiliate" /></a></li> + </inp2:m_if> + </inp2:m_if> + + <inp2:m_if check="m_LoggedIn"> + <li><a href="<inp2:u_LogoutLink />"><inp2:m_phrase label="lu_Logout" /></a></li> + </inp2:m_if> + </ul> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/myaccount_navigation.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/address_pagination.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/address_pagination.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/address_pagination.tpl (revision 12990) @@ -0,0 +1,40 @@ +<inp2:m_DefineElement name="prev_page"> + <a class="pagination-bar" href="<inp2:PageLink/>"><<</a> + </td> + <td> +</inp2:m_DefineElement > + +<inp2:m_DefineElement name="no_prev_page"> + </td> + <td> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_current"> + <strong><inp2:m_param name="page"/></strong> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_separator"> + | +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_link"> + <a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_next"> + <a class="pagination-bar" href="<inp2:PageLink/>">>></a> +</inp2:m_DefineElement> + +<table style="width: 100%; text-align: left;"> + <tr> + <td style="width: 45%; text-align: right; "> + <strong><inp2:m_Phrase label="lu_comm_Page"/>: </strong> + + <inp2:addr_PaginationBar + current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link" + prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page" + next_page_render_as="page_next" /> + </td> + <td> </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/address_pagination.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_navigation.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_navigation.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_navigation.tpl (revision 12990) @@ -0,0 +1,45 @@ +<inp2:m_if check="u_IsAffiliate"> + <table class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_Affiliate"/></td> + </tr> + <tr> + <td class="block-data-big"> + <ul class="list-no-squares"> + + <inp2:m_if check="m_IsActive" template="in-commerce/my_account/affiliate_stat"> + <li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat"/>"><strong><inp2:m_phrase label="lu_comm_AffiliateStat" /></strong></a></li> + <inp2:m_else /> + <li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate_stat"/>"><inp2:m_phrase label="lu_comm_AffiliateStat" /></a></li> + </inp2:m_if> + + <inp2:m_if check="m_IsActive" template="in-commerce/my_account/affiliate_payments"> + <li><strong><inp2:m_phrase label="lu_comm_AffiliatePayments" /></strong></li> + <inp2:m_else /> + <li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate_payments"/>"><inp2:m_phrase label="lu_comm_AffiliatePayments" /></a></li> + </inp2:m_if> + + <inp2:m_if check="m_IsActive" template="in-commerce/my_account/affiliate_materials"> + <li><strong><inp2:m_phrase label="lu_comm_AffiliateMaterials" /></strong></li> + <inp2:m_else /> + <li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate_materials"/>"><inp2:m_phrase label="lu_comm_AffiliateMaterials" /></a></li> + </inp2:m_if> + + <inp2:m_if check="m_IsActive" template="in-commerce/my_account/affiliate_payment_type"> + <li><strong><inp2:m_phrase label="lu_comm_ChangeAffiliatePaymentType" /></strong></li> + <inp2:m_else /> + <li><a href="<inp2:m_Link template="in-commerce/my_account/affiliate_payment_type"/>"><inp2:m_phrase label="lu_comm_ChangeAffiliatePaymentType" /></a></li> + </inp2:m_if> + + <li><a href="javascript:showAffiliateAgreement()"><inp2:m_phrase label="lu_comm_TermsAndConditionsLink" /></a></li> + </ul> + <script type="text/javascript"> + function showAffiliateAgreement() + { + window.open('<inp2:m_Link template="in-commerce/my_account/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300'); + } + </script> + </td> + </tr> + </table> +</inp2:m_if> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_navigation.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/my_payments_pagination.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/my_payments_pagination.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/my_payments_pagination.tpl (revision 12990) @@ -0,0 +1,40 @@ +<inp2:m_DefineElement name="prev_page"> + <a class="pagination-bar" href="<inp2:PageLink/>"><<</a> + </td> + <td> +</inp2:m_DefineElement > + +<inp2:m_DefineElement name="no_prev_page"> + </td> + <td> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_current"> + <strong><inp2:m_param name="page"/></strong> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_separator"> + | +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_link"> + <a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_next"> + <a class="pagination-bar" href="<inp2:PageLink/>">>></a> +</inp2:m_DefineElement> + +<table style="width: 500px; text-align: left;"> + <tr> + <td style="width: 45%; text-align: right; "> + <strong><inp2:m_Phrase label="lu_comm_Page"/>: </strong> + + <inp2:ord_PaymentsPaginationBar + current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link" + prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page" + next_page_render_as="page_next" /> + </td> + <td> </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/my_payments_pagination.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payments_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payments_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payments_list.tpl (revision 12990) @@ -0,0 +1,49 @@ +<inp2:ord_InitPaymentsList list_name="my_payments_list" types="my_payments" per_page="10" /> + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_ComissionPayments"/> (<inp2:ord_PaymentsCount list_name="my_payments_list" />) + </td> + </tr> +</table> + +<table> + <tr> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/my_account/my_payments_pagination" list_name="my_payments_list" data_exists="1"/> + </td> + </tr> +</table> +<br /> + +<table style="width: 500px;"> + <inp2:m_DefineElement name="mypayments_header"> + <tr class="cart-header"> + <td><inp2:m_Phrase label="lu_comm_Date"/></td> + <td><inp2:m_Phrase label="lu_comm_PaymentReference"/></td> + <td style="text-align: center"><inp2:m_Phrase label="lu_comm_PaymentAmount"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="mypayment_item"> + <tr class="cart-item"> + <td ><inp2:Field field="PaymentDate" /></td> + <td ><inp2:Field field="PaymentReference" /></td> + <td style="text-align: right"> + <strong><inp2:Field field="Amount" currency="selected"/></strong> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="mypayments_empty"> + <tr class="block-data"> + <td> + <strong><inp2:m_Phrase label="lu_comm_DontHavePayments"/></strong> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:ord_ListPayments list_name="my_payments_list" item_render_as="mypayment_item" header_render_as="mypayments_header" empty_mypayments_render_as="mypayments_empty" /> + +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payments_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_materials.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_materials.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_materials.tpl (revision 12990) @@ -0,0 +1,27 @@ +<inp2:m_if check="u_IsAffiliate"> + <table class="block-no-border"> + <tr> + <td class="block-header" colspan="2"><inp2:m_Phrase label="lu_comm_AffiliateMaterials"/></td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_comm_AffilliateMaterialsToRefer"/>: + <br /><br /> + <a href="<inp2:affil_GetUserAffiliateLink template="index"/>"><inp2:affil_GetUserAffiliateLink template="index"/></a> + </td> + </tr> + <tr> + <td class="block-data"> + <inp2:m_Phrase label="lu_comm_AffilliateMaterialsCode"/>: + <blockquote style="border: 1px dashed #cccccc; background-color: #f3f3f3; padding: 8px"> + <small> + <a href="<inp2:affil_GetUserAffiliateLink template="index"/>"> + <inp2:conf_ConfigValue name="Site_Name"/> + </a> + </small> + </blockquote> + <inp2:m_Phrase label="lu_comm_AffilliateMaterialsCopy"/> + </td> + </tr> + </table> +</inp2:m_if> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_materials.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payment_type_changed.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payment_type_changed.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payment_type_changed.tpl (revision 12990) @@ -0,0 +1,8 @@ +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_AffiliatePaymentType"/></td> + </tr> + <tr> + <td class="block-data"><inp2:m_Phrase label="lu_comm_AffiliatePaymentTypeChangedMessage"/></td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_payment_type_changed.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_thankyou.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_thankyou.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_thankyou.tpl (revision 12990) @@ -0,0 +1,8 @@ +<table class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_AffiliateRegistration"/></td> + </tr> + <tr> + <td class="block-data"><inp2:m_Phrase label="lu_comm_ThankYouForBecomingAffiliate"/></td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_thankyou.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_visitors_pagination.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_visitors_pagination.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_visitors_pagination.tpl (revision 12990) @@ -0,0 +1,40 @@ +<inp2:m_DefineElement name="prev_page"> + <a class="pagination-bar" href="<inp2:PageLink/>"><<</a> + </td> + <td> +</inp2:m_DefineElement > + +<inp2:m_DefineElement name="no_prev_page"> + </td> + <td> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_current"> + <strong><inp2:m_param name="page"/></strong> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_separator"> + | +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_link"> + <a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_next"> + <a class="pagination-bar" href="<inp2:PageLink/>">>></a> +</inp2:m_DefineElement> + +<table style="width: 100%; text-align: left;"> + <tr> + <td style="width: 45%; text-align: right; "> + <strong><inp2:m_Phrase label="lu_comm_Page"/>: </strong> + + <inp2:visits_PaginationBar + current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link" + prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page" + next_page_render_as="page_next" /> + </td> + <td> </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/my_account/affiliate_visitors_pagination.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/orders/order_details.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/orders/order_details.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/orders/order_details.tpl (revision 12990) @@ -0,0 +1,334 @@ +<inp2:m_DefineElement name="option_value_element"> + <inp2:m_param name="value"/> <inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if> + <inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="option_element"> + <inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple --> + <strong><inp2:m_param name="option"/>:</strong> + <inp2:PrintOptionValues render_as="option_value_element"/> + <inp2:m_else/> + <strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/> + <inp2:m_if check="m_ParamEquals" name="price" value=""><inp2:m_else/> (<inp2:m_param name="sign"/><inp2:m_param name="price"/> <inp2:m_param name="price_type"/>)</inp2:m_if> + </inp2:m_if><br/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="option_value_element_no_price"> + <inp2:m_param name="value"/> + <inp2:m_if check="m_ParamEquals" name="is_last" value="1"><inp2:m_else/>, </inp2:m_if> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="option_element_no_price"> + <inp2:m_if check="m_ParamEquals" param="type" value="6"> <!-- checkboxes - multiple --> + <strong><inp2:m_param name="option"/>:</strong> + <inp2:PrintOptionValues render_as="option_value_element_no_price"/> + <inp2:m_else/> + <strong><inp2:m_param name="option"/>:</strong> <inp2:m_param name="value"/> + </inp2:m_if><br/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="product_image"> + <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" /><br/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="orderitem_elem"> + <tr class="cart-item"> + <inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders"> + <td width="120"> + <inp2:p_Image render_as="product_image" thumbnail="1" DefaultImage="in-commerce/img/no_picture_list.gif" MaxWidth="120" MaxHeight="120" DefaultWidth="120" /> + </td> + </inp2:m_if> + + <td> + <inp2:m_if check="ProductExists"> + <a href="<inp2:ProductLink template="__default__" />"><inp2:Field field="ProductName"/></a> + <inp2:m_else/> + <inp2:Field field="ProductName"/> + </inp2:m_if> + <inp2:m_if check="HasOptions"> + <br/> + <span style="font-size: 8pt"> + <inp2:m_if check="DisplayOptionsPricing"> <!-- selectable options or overriding combination --> + <inp2:PrintOptions render_as="option_element" currency="selected"/> + <inp2:m_else/> <!-- listed combinations --> + <inp2:PrintOptions render_as="option_element_no_price"/> + </inp2:m_if> + </span> + <br/> + </inp2:m_if> + <inp2:m_if check="HasDiscount"> + <br /> + <inp2:m_Phrase label="lu_comm_RegularPrice" />: <inp2:Field name="FlatPrice" currency="selected"/><br /> + <inp2:m_Phrase label="lu_comm_Discount" />: <span class="price1">- <inp2:Field name="ItemDiscount" currency="selected" negative="1"/></span> + </inp2:m_if> + </td> + <td><strong><inp2:Field field="Price" currency="selected"/></strong></td> + <td><inp2:Field field="Quantity"/></td> + <td><strong><inp2:Field field="ExtendedPrice" currency="selected"/></strong></td> + </tr> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="order_form_shipping"> + <!-- shipping --> + <table width="100%" cellpadding="0" cellspacing="0"> + <tr class="cart-header"> + <td colspan="2"><inp2:m_Phrase label="lu_comm_ShipmentInfo"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingTo"/></td> + </tr> + <inp2:m_if check="Field" name="ShippingCompany"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingCompany"/></td> + </tr> + </inp2:m_if> + <inp2:m_if check="Field" name="ShippingEmail"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingEmail"/></td> + </tr> + </inp2:m_if> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingPhone"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingFax"/></td> + </tr> + <tr class="block-data2"> + <td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td> + <td style="text-align: right;"> + <inp2:m_if check="FieldEquals" field="ShippingAddress1" value="" inverse="inverse"> + <inp2:Field field="ShippingAddress1"/><br> + </inp2:m_if> + + <inp2:m_if check="FieldEquals" field="ShippingAddress2" value="" inverse="inverse"> + <inp2:Field field="ShippingAddress2"/><br> + </inp2:m_if> + <inp2:PrintLocation type="Shipping"/> + </td> + </tr> + <inp2:m_if check="Field" name="ShippingTracking"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_ShippingTracking"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="ShippingTracking"/></td> + </tr> + </inp2:m_if> + </table> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="order_form_billing"> + <!-- billing --> + <table width="100%" cellpadding="0" cellspacing="0"> + <tr class="cart-header"> + <td colspan="2"><inp2:m_Phrase label="lu_comm_BillingInfo"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_Name"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingTo"/></td> + </tr> + <inp2:m_if check="Field" name="BillingCompany"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_Company"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingCompany"/></td> + </tr> + </inp2:m_if> + <inp2:m_if check="Field" name="BillingEmail"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_EmailAddress"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingEmail"/></td> + </tr> + </inp2:m_if> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_PhoneNumber"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingPhone"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_FaxNumber"/></strong>:</td> + <td style="text-align: right;"><inp2:Field field="BillingFax"/></td> + </tr> + <tr class="block-data2"> + <td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Address"/></strong>:</td> + <td style="text-align: right;"> + <inp2:m_if check="FieldEquals" field="BillingAddress1" value="" inverse="inverse"> + <inp2:Field field="BillingAddress1"/><br> + </inp2:m_if> + + <inp2:m_if check="FieldEquals" field="BillingAddress2" value="" inverse="inverse"> + <inp2:Field field="BillingAddress2"/><br> + </inp2:m_if> + <inp2:PrintLocation type="Billing"/> + </td> + </tr> + + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_PaymentType"/>:</strong></td> + <td style="text-align: right;"><inp2:Field name="PaymentType" /></td> + </tr> + + <inp2:m_if check="UsingCreditCard"> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_NameOnCard"/>:</strong></td> + <td style="text-align: right;"><inp2:Field name="PaymentNameOnCard"/></td> + </tr> + <tr class="block-data2"> + <td><strong><inp2:m_Phrase label="lu_comm_CardType"/>:</strong></td> + <td style="text-align: right;"><inp2:Field name="PaymentCardType" /></td> + </tr> + <tr class="block-data2"> + <td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_CardNumber"/>:</strong></td> + <td style="text-align: right;"><inp2:Field name="PaymentAccount" masked="masked"/></td> + </tr> + <tr class="block-data2"> + <td style="vertical-align: top;"><strong><inp2:m_Phrase label="lu_comm_Exp"/>:</strong></td> + <td style="text-align: right;"><inp2:Field name="PaymentCCExpDate"/></td> + </tr> + </inp2:m_if> + </table> +</inp2:m_DefineElement> + +<form method="post" action="<inp2:m_FormAction/>"> + <inp2:m_DefineElement name="order_form"> + <table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_OrderPreview"/> + </td> + </tr> + </table> + + <table> + <tr> + <td class="block-data"> + <strong><inp2:m_Phrase label="lu_comm_OrderNumber"/><inp2:Field field="OrderNumber"/></strong> + </td> + </tr> + </table> + <inp2:m_if check="FieldEquals" field="IsRecurringBilling" value="1"> + <table class="notice"> + <tr> + <td valign="top" align="left" class="block-data"> + <strong><inp2:m_Phrase label="lu_recurring_notice"/></strong> <inp2:m_Phrase label="lu_recurring_next_charge"/> <inp2:Field name="NextCharge" format="_regional_DateFormat"/> <inp2:m_Phrase label="lu_or"/> <inp2:m_GetConfig var="Comm_RecurringChargeInverval"/> <inp2:m_Phrase label="lu_recurring_charge_advance"/><br> + <a href="<inp2:m_link template="in-commerce/my_account/cancel_recurring" pass="ord"/>"><inp2:m_Phrase label="lu_recurring_cancel"/></a> + </td> + </tr> + </table> + </inp2:m_if> + + + <inp2:m_if check="OrderHasTangibleItems"> + <table class="block-no-border"> + <tr> + <td width="49%"> + <inp2:m_RenderElement name="order_form_shipping" PrefixSpecial="ord"/> + </td> + <td> </td> + <td width="49%"> + <inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/> + </td> + </tr> + </table> + <inp2:m_else /> + <table class="block-no-border"> + <tr> + <td> + <inp2:m_RenderElement name="order_form_billing" PrefixSpecial="ord"/> + </td> + </tr> + </table> + </inp2:m_if> + + <table> + <tr class="cart-header"> + <inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders"> + <td colspan="2"><inp2:m_Phrase label="lu_comm_ProductDescription"/></td> + <inp2:m_else/> + <td><inp2:m_Phrase label="lu_comm_ProductDescription"/></td> + </inp2:m_if> + + <td><inp2:m_Phrase label="lu_comm_Price"/></td> + + <td><inp2:m_Phrase label="lu_comm_Qty"/>.</td> + <td><inp2:m_Phrase label="lu_comm_Total"/></td> + </tr> + + <inp2:ord_ListOrderItems render_as="orderitem_elem"/> + + <tr class="cart-subtotal"> + <td> + <inp2:m_if check="ord_HasDiscount"> + <inp2:m_Phrase label="lu_comm_TotalSavings" />: <span class="price1"><inp2:ord_Field name="DiscountTotal" currency="selected" /></span><br /> + </inp2:m_if> + </td> + <td style="text-align: right;" colspan="<inp2:m_if check="m_GetConfig" name="ShowProductImagesInOrders">5<inp2:m_else/>4</inp2:m_if>"> + <strong><inp2:m_Phrase label="lu_comm_SubTotal"/>: <span class="price1"><inp2:Field field="SubTotal" currency="selected"/></span></strong> + + </td> + </tr> + </table> + + <table> + <tr class="cart-header"> + <td> + <inp2:m_Phrase label="lu_comm_OrderTotal"/> + </td> + </tr> + </table> + + <table class="block-no-border"> + <inp2:m_DefineElement name="shipping_total"> + <tr class="block-data2"> + <td style="text-align: right;"><inp2:m_Phrase label="lu_comm_ShippingCost"/> (<inp2:ord_ShippingType />):</td> + <td style="text-align: right;"><inp2:ord_Field name="ShippingCost" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="processing_total"> + <tr class="block-data2"> + <td style="text-align: right;"><inp2:m_Phrase label="lu_comm_ProcessingFee"/>: </td> + <td style="text-align: right;"><inp2:ord_Field name="ProcessingFee" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="sub_total"> + <tr class="block-data2"> + <td style="text-align: right;"><inp2:m_Phrase label="lu_comm_SubTotal"/>: </td> + <td style="text-align: right;"><inp2:ord_Field name="AmountWithoutVAT" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="vat_total"> + <tr class="block-data2"> + <td style="text-align: right;"><inp2:m_Phrase label="lu_comm_VAT"/> <inp2:ord_Field name="VATPercent"/>%: </td> + <td style="text-align: right;"><inp2:ord_Field name="VAT" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="return_total"> + <tr class="block-data2"> + <td style="text-align: right;"><inp2:m_Phrase label="lu_fld_ReturnTotal"/>: </td> + <td style="text-align: right;"><inp2:ord_Field name="ReturnTotal" currency="selected"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:ord_PrintTotals + shipping_render_as="shipping_total" + processing_render_as="processing_total" + sub_total_render_as="sub_total" + vat_render_as="vat_total" + return_render_as="return_total"/> + + <tr class="block-data2"> + <td class="price3" style="text-align: right;"><strong><inp2:m_Phrase label="lu_comm_GrandTotal"/>:</strong></td> + <td class="price3" style="text-align: right;"><span class="price1"><inp2:Field name="TotalAmount" currency="selected"/></span></td> + </tr> + </table> + + <br /> + </inp2:m_DefineElement> + + <inp2:ord_ShowOrder render_as="order_form" /> +</form> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/orders/order_details.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.21.2.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/orders/orders_recent.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/orders/orders_recent.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/orders/orders_recent.tpl (revision 12990) @@ -0,0 +1,58 @@ + +<inp2:ord_InitList list_name="my_recentorders_list" types="myrecentorders" per_page="5" /> + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_RecentOrders"/> + </td> + </tr> +</table> + +<table class="main-table"> + + <inp2:m_DefineElement name="myorder_header"> + <tr class="cart-header"> + <td style="width: 30%"><inp2:m_Phrase label="lu_comm_OrderNumberText"/></td> + <td style="width: 30%"><inp2:m_Phrase label="lu_comm_Date"/></td> + <td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_Amount"/></td> + <td style="text-align: center; width: 25%"><inp2:m_Phrase label="lu_comm_Status"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myorder_item"> + <tr class="cart-item"> + <td ><a href="<inp2:m_Link template="in-commerce/my_account/orders_detail" pass="m,ord"/>"><inp2:Field field="OrderNumber"/></a> <inp2:m_if check="FieldEquals" field="IsRecurringBilling" value="1"><strong>(<inp2:m_Phrase label="lu_Recurring"/>)</strong></inp2:m_if></td> + <td ><inp2:Field field="OrderDate" format="_regional_DateFormat"/></td> + <td style="text-align: right"> + <strong><inp2:Field field="TotalAmount" currency="selected"/></strong> + </td> + <td style="text-align: center;"><inp2:Field field="Status"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myorder_empty"> + <tr class="block-data"> + <td> + <strong><inp2:m_Phrase label="lu_comm_DontHaveOrders"/></strong> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:ord_ListOrders list_name="my_recentorders_list" item_render_as="myorder_item" header_render_as="myorder_header" empty_myorders_render_as="myorder_empty" /> + +</table> + +<inp2:m_DefineElement name="more_link"> + <br /> + <br /> + <a href="<inp2:m_Link template="in-commerce/my_account/orders" />"><inp2:m_Phrase label="lu_comm_MoreOrders"/>...</a> + <br /> + <br /> +</inp2:m_DefineElement> + +<inp2:ord_MoreLink list_name="my_recentorders_list" render_as="more_link" /> + + + + Property changes on: releases/1.0.0-B1/in-commerce/blocks/orders/orders_recent.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.7 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/orders/orders_all.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/orders/orders_all.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/orders/orders_all.tpl (revision 12990) @@ -0,0 +1,50 @@ +<inp2:ord_InitList list_name="my_orders_list" types="myorders" per_page="10" /> + +<table class="block-no-border"> + <tr> + <td class="block-header"> + <inp2:m_Phrase label="lu_comm_MyOrders"/> + </td> + </tr> +</table> + +<table> + <tr> + <td style="text-align: center;"> + <inp2:m_include template="in-commerce/blocks/orders/orders_pagination" list_name="my_orders_list" data_exists="1"/> + </td> + </tr> +</table> +<br /> + +<table> + <inp2:m_DefineElement name="myorder_header"> + <tr class="cart-header"> + <td style="width: 30%"><inp2:m_Phrase label="lu_comm_OrderNumberText"/></td> + <td style="width: 30%"><inp2:m_Phrase label="lu_comm_Date"/></td> + <td style="text-align: center; width: 15%"><inp2:m_Phrase label="lu_comm_Amount"/></td> + <td style="text-align: center; width: 25%"><inp2:m_Phrase label="lu_comm_Status"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myorder_item"> + <tr class="cart-item"> + <td ><a href="<inp2:m_Link template="in-commerce/my_account/orders_detail" pass="m,ord"/>"><inp2:Field field="OrderNumber"/></a> <inp2:m_if check="FieldEquals" field="IsRecurringBilling" value="1"><strong>(<inp2:m_Phrase label="lu_Recurring"/>)</strong></inp2:m_if></td> + <td ><inp2:Field field="OrderDate" format="_regional_DateFormat"/></td> + <td style="text-align: right"> + <strong><inp2:Field field="TotalAmount" currency="selected"/></strong> + </td> + <td style="text-align: center;"><inp2:Field field="Status"/></td> + </tr> + </inp2:m_DefineElement> + + <inp2:m_DefineElement name="myorder_empty"> + <tr class="block-data"> + <td> + <strong><inp2:m_Phrase label="lu_comm_DontHaveOrders"/></strong> + </td> + </tr> + </inp2:m_DefineElement> + + <inp2:ord_ListOrders list_name="my_orders_list" item_render_as="myorder_item" header_render_as="myorder_header" empty_myorders_render_as="myorder_empty" /> +</table> Property changes on: releases/1.0.0-B1/in-commerce/blocks/orders/orders_all.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.7 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/orders/orders_pagination.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/orders/orders_pagination.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/orders/orders_pagination.tpl (revision 12990) @@ -0,0 +1,40 @@ +<inp2:m_DefineElement name="prev_page"> + <a class="pagination-bar" href="<inp2:PageLink/>"><<</a> + </td> + <td> +</inp2:m_DefineElement > + +<inp2:m_DefineElement name="no_prev_page"> + </td> + <td> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_current"> + <strong><inp2:m_param name="page"/></strong> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_separator"> + | +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_link"> + <a class="pagination-bar" href="<inp2:PageLink/>"><inp2:m_param name="page"/></a> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="page_next"> + <a class="pagination-bar" href="<inp2:PageLink/>">>></a> +</inp2:m_DefineElement> + +<table style="width: 100%; text-align: left;"> + <tr> + <td style="width: 45%; text-align: right; "> + <strong><inp2:m_Phrase label="lu_comm_Page"/>: </strong> + + <inp2:ord_PaginationBar + current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link" + prev_page_render_as="prev_page" no_prev_page_render_as="no_prev_page" + next_page_render_as="page_next" /> + </td> + <td> </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/orders/orders_pagination.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/categories/current_path.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/categories/current_path.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/categories/current_path.tpl (revision 12990) @@ -0,0 +1,33 @@ +<inp2:m_DefaultParam titles="" templates="" show_category="0"/> + +<inp2:m_DefineElement name="root_category"> + <a class="link-nav-bar" href="<inp2:c_CategoryLink template="__default__" />"><inp2:m_RootCategoryName/></a> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="module_root"> + <inp2:m_param name="separator"/> + <a class="link-nav-bar" href="<inp2:c_CategoryLink template="in-commerce/index" cat_id="0"/>"><inp2:m_param name="title"/></a> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="nav_link"> + <inp2:m_param name="separator"/> + <inp2:m_if check="m_Param" name="category"> + <a class="link-nav-bar" href="<inp2:c_CategoryLink template="__default__" />"><inp2:m_param name="title"/></a> + <inp2:m_else/> + <a class="link-nav-bar" href="<inp2:m_Link template="$template" m_cat_id="0"/>"><inp2:m_param name="title"/></a> + </inp2:m_if> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="module_item"> + <inp2:m_param name="separator"/> + <a class="link-nav-bar" href="<inp2:{$prefix}_ItemLink template="$template" />"><inp2:m_param name="title"/></a> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="current_item"> + <inp2:m_param name="separator"/> + <span> <inp2:m_param name="title"/></span> +</inp2:m_DefineElement> + +<div class="nav-bar"> + <inp2:c_CategoryPath separator=">" render_as="nav_link" current_render_as="current_item" module_item_render_as="module_item" root_cat_render_as="root_category" titles="$titles" templates="$templates" show_category="$show_category" module_root_render_as="module_root"/> +</div> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/categories/current_path.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3.2.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/categories/categories_home.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/categories/categories_home.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/categories/categories_home.tpl (revision 12990) @@ -0,0 +1,37 @@ +<inp2:m_DefineElement name="more_link_elem"> + <li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:m_Phrase label="lu_more_products"/>...</a></li> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="subcategory_elem"> + <inp2:m_if check="IsCurrent"> + <li><inp2:field name="Name"/></li> + <inp2:m_else/> + <li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:field name="Name"/></a></li> + </inp2:m_if> +</inp2:m_DefineElement> + +<table class="categories-block"> + <tr> + <td class="categories-block-header"><inp2:m_Phrase label="lu_comm_Categories"/></td> + </tr> + <tr> + <td class="block-data-big"> + <table> + <inp2:m_DefineElement name="category_elem"> + <td style="width: <inp2:ColumnWidth/>"> + <inp2:m_if check="IsCurrent"> + <strong><inp2:field name="Name"/></strong> + <inp2:m_else/> + <a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="subcat"><inp2:field name="Name"/></a><br /> + </inp2:m_if> + <ul class="block-data-big-ul"> + <inp2:ListCategories requery="1" render_as="subcategory_elem" more_link_render_as="more_link_elem" max_items="4" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:"/> + + </ul> + </td> + </inp2:m_DefineElement> + <inp2:c_ListCategories render_as="category_elem" per_page="-1" columns="1" direction="H" parent_cat_id="Root" module="In-Commerce"/> + </table> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/categories/categories_home.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/categories/categories_home_alt.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/categories/categories_home_alt.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/categories/categories_home_alt.tpl (revision 12990) @@ -0,0 +1,45 @@ +<inp2:m_DefineElement name="more_link_elem"> + <li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:m_Phrase label="lu_more_products"/>...</a></li> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="subcategory_elem"> + <inp2:m_if check="IsCurrent"> + <li><inp2:field name="Name"/></li> + <inp2:m_else/> + <li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:field name="Name"/></a></li> + </inp2:m_if> + <inp2:m_if check="IsActive"> + <inp2:m_if check="SubCatCount"> + <ul class="block-data-big-ul"> + <inp2:ListCategories no_table="1" requery="1" per_page="-1" render_as="subcategory_elem" more_link_render_as="more_link_elem" max_items="4" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:"/> + </ul> + </inp2:m_if> + </inp2:m_if> +</inp2:m_DefineElement> + +<table class="categories-block"> + <tr> + <td class="categories-block-header"><inp2:m_Phrase label="lu_comm_Categories"/></td> + </tr> + <tr> + <td class="block-data-big"> + <table> + <inp2:m_DefineElement name="category_elem"> + <td style="width: <inp2:ColumnWidth/>"> + <inp2:m_if check="IsCurrent"> + <strong><inp2:field name="Name"/></strong> + <inp2:m_else/> + <a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="subcat"><inp2:field name="Name"/></a><br /> + </inp2:m_if> + <inp2:m_if check="IsActive"> + <ul class="block-data-big-ul"> + <inp2:ListCategories no_table="1" requery="1" render_as="subcategory_elem" per_page="-1" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:"/> + </ul> + </inp2:m_if> + </td> + </inp2:m_DefineElement> + <inp2:c_ListCategories render_as="category_elem" per_page="-1" columns="1" direction="H" parent_cat_id="Root" module="In-Commerce"/> + </table> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/categories/categories_home_alt.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/categories/sub_categories.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/categories/sub_categories.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/categories/sub_categories.tpl (revision 12990) @@ -0,0 +1,33 @@ +<inp2:m_RequireLogin permissions="CATEGORY.VIEW" login_template="platform/login/login_register"/> + +<inp2:m_DefineElement name="more_link_elem"> + <li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:m_Phrase label="lu_more_products"/>...</a></li> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="subcategory_elem"> + <li><a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>"><inp2:field name="Name"/></a></li> +</inp2:m_DefineElement> + +<table class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_SubCategories"/></td> + </tr> + <tr> + <td class="block-data-big"> + + <table> + <inp2:m_DefineElement name="category_elem"> + <td style="width: <inp2:ColumnWidth/>"> + <a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="subcat"><inp2:field name="Name"/></a><br /> + <ul class="block-data-big-ul"> + <inp2:ListCategories requery="1" render_as="subcategory_elem" max_items="4" more_link_render_as="more_link_elem" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:"/> + </ul> + </td> + </inp2:m_DefineElement> + + <inp2:c_ListCategories requery="1" render_as="category_elem" per_page="-1" columns="3" page_var="m_cat_page" direction="H"/> + </table> + + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/categories/sub_categories.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.7.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/categories/title_path.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/categories/title_path.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/categories/title_path.tpl (revision 12990) @@ -0,0 +1,15 @@ +<inp2:m_DefineElement name="root_category"> + <inp2:c_RootCategoryName/> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="title_category"> + <inp2:m_param name="cat_name"/> + <inp2:m_param name="separator"/> +</inp2:m_DefineElement> + + +<inp2:m_DefineElement name="current_title"> + <inp2:m_param name="cat_name"/> +</inp2:m_DefineElement> + +<inp2:c_CategoryPath separator=">" render_as="title_category" current_render_as="current_title" module_root_render_as="title_category" root_cat_render_as="html:" /> Property changes on: releases/1.0.0-B1/in-commerce/blocks/categories/title_path.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/categories/manufacturers.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/categories/manufacturers.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/categories/manufacturers.tpl (revision 12990) @@ -0,0 +1,25 @@ +<inp2:manuf_InitList list_name="manufacturers_in_category" per_page="-1" recursive="true" /> + +<table class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_Manufacturers"/></td> + </tr> + <tr> + <td class="block-data"> + <ul class="block-data-ul"> + <inp2:m_DefineElement name="manuf_elem"> + <li> + <a href="<inp2:m_Link template="in-commerce/store/manufacturer_products" pass="all,manuf" />" class="link-product2"><strong><inp2:Field field="Name" /></strong></a> + </li> + </inp2:m_DefineElement> + + <inp2:manuf_ListManufacturers list_name="manufacturers_in_category" + columns="1" direction="V" + render_as="manuf_elem" + row_start_render_as="html:" row_end_render_as="html:" + empty_cell_render_as="manuf_empty_cell" /> + </ul> + <a href="<inp2:m_Link template="in-commerce/store/manufacturers" />"><inp2:m_Phrase label="lu_comm_MoreLink"/>...</a><br /> + </td> + </tr> +</table> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/blocks/categories/manufacturers.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/blocks/misc/register_as_affiliate.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/blocks/misc/register_as_affiliate.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/blocks/misc/register_as_affiliate.tpl (revision 12990) @@ -0,0 +1,14 @@ +<inp2:m_if check="m_AllowAffiliateRegistration"> + <inp2:m_if check="m_LoggedIn" inverse="1"> + <table border="0" cellspacing="0" cellpadding="0" class="block"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_comm_Affiliates"/></td> + </tr> + <tr> + <td class="block-data"> + <a href="<inp2:m_Link template="platform/login/register" RegisterAsAffiliate="on" />"><inp2:m_Phrase label="lu_comm_RegisterAsAffiliate"/></a> + </td> + </tr> + </table> + </inp2:m_if> +</inp2:m_if> Property changes on: releases/1.0.0-B1/in-commerce/blocks/misc/register_as_affiliate.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/cancel_recurring.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/cancel_recurring.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/cancel_recurring.tpl (revision 12990) @@ -0,0 +1,53 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_CancelRecurring_title" /></td> + </tr> + <tr> + <td class="block-data"> + + <br /> + <strong><inp2:m_Phrase label="lu_CancelRecurring_confirm" /></strong> + <br /> + <br /> + + <inp2:m_Phrase label="lu_CancelRecurring_confirm_prompt" /> + + <br /> + <br /> + <form method="POST" action="<inp2:m_FormAction />"> + <input class="button" name="events[ord][OnCancelRecurring]" type="submit" value="<inp2:m_Phrase label="lu_comm_Yes" no_editing="1"/>" /> + <input class="button" type="button" value="<inp2:m_Phrase label="lu_No" no_editing="1"/>" onClick="window.location.href='<inp2:m_Link template="in-commerce/my_account/account"/>'" /> + <input type="hidden" name="cancelrecurring_ok_template" value="in-commerce/my_account/cancel_recurring_ok"/> + </form> + </td> + </tr> + </table> + </td> + <td class="main-column-right" valign="top"> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/cancel_recurring.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/cancel_recurring_ok.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/cancel_recurring_ok.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/cancel_recurring_ok.tpl (revision 12990) @@ -0,0 +1,46 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <table border="0" cellspacing="0" cellpadding="0" class="block-no-border"> + <tr> + <td class="block-header"><inp2:m_Phrase label="lu_CancelRecurring_title" /></td> + </tr> + <tr> + <td class="block-data"> + + <br /> + <strong><inp2:m_Phrase label="lu_CancelRecurring_confirm" /></strong> + <br /> + <br /> + + <inp2:m_Phrase label="lu_CancelRecurring_ok" /> + + </td> + </tr> + </table> + </td> + <td class="main-column-right" valign="top"> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/cancel_recurring_ok.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/address.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/address.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/address.tpl (revision 12990) @@ -0,0 +1,39 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAddresses"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/address_list"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/address.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/address_edit.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/address_edit.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/address_edit.tpl (revision 12990) @@ -0,0 +1,39 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAddresses"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/address_edit"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/address_edit.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/orders.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/orders.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/orders.tpl (revision 12990) @@ -0,0 +1,39 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyOrders"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/orders/orders_all"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/orders.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/affiliate_payment_type.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/affiliate_payment_type.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/affiliate_payment_type.tpl (revision 12990) @@ -0,0 +1,41 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_payment_type"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/affiliate_payment_type.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/affiliate_materials.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/affiliate_materials.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/affiliate_materials.tpl (revision 12990) @@ -0,0 +1,42 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_materials"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/affiliate_materials.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/affiliate_stat_orders_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/affiliate_stat_orders_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/affiliate_stat_orders_list.tpl (revision 12990) @@ -0,0 +1,42 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_stat_orders_list"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/affiliate_stat_orders_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/affiliate_payments.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/affiliate_payments.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/affiliate_payments.tpl (revision 12990) @@ -0,0 +1,42 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_payments_list"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/affiliate_payments.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/affiliate_stat_visits_list.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/affiliate_stat_visits_list.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/affiliate_stat_visits_list.tpl (revision 12990) @@ -0,0 +1,42 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_stat_visits_list"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/affiliate_stat_visits_list.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/affiliate_stat.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/affiliate_stat.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/affiliate_stat.tpl (revision 12990) @@ -0,0 +1,42 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_stat"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/affiliate_stat.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/downloads_more.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/downloads_more.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/downloads_more.tpl (revision 12990) @@ -0,0 +1,43 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:p_Field name="Name"/> <inp2:m_Phrase label="lu_comm_downloads" /></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> + +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/my_account/all_downloads.tpl"/> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers.tpl" data_exists="1" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1" /> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/downloads_more.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/orders_detail.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/orders_detail.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/orders_detail.tpl (revision 12990) @@ -0,0 +1,39 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_OrderPreview"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/orders/order_details" data_exists="1"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/orders_detail.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/affiliate.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/affiliate.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/affiliate.tpl (revision 12990) @@ -0,0 +1,41 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/affiliate.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/account.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/account.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/account.tpl (revision 12990) @@ -0,0 +1,40 @@ +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/my_account"/> + + <inp2:m_include template="in-commerce/blocks/orders/orders_recent"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/account.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/downloads.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/downloads.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/downloads.tpl (revision 12990) @@ -0,0 +1,41 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_YourDownloads"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/my_downloads.tpl"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers.tpl" data_exists="1" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1" /> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/downloads.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/profile.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/profile.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/profile.tpl (revision 12990) @@ -0,0 +1,39 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_PersonalInfo"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/my_profile"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/profile.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/wishlist.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/wishlist.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/wishlist.tpl (revision 12990) @@ -0,0 +1,41 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_YourWishList"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/products/products_wish_list.tpl"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/> + + <inp2:m_include template="in-commerce/blocks/my_account/myaccount_navigation" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers.tpl" data_exists="1" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent.tpl" data_exists="1" /> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/wishlist.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/affiliate_payment_type_changed.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/affiliate_payment_type_changed.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/affiliate_payment_type_changed.tpl (revision 12990) @@ -0,0 +1,36 @@ +<inp2:m_RequireLogin login_template="platform/login/login_register" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_payment_type_changed"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/affiliate_payment_type_changed.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/affiliate_agreement.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/affiliate_agreement.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/affiliate_agreement.tpl (revision 12990) @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<div style="padding: 10px;"> +<p> +Place your affiliate terms & conditions here +</p> +</div> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/affiliate_agreement.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/affiliate_thankyou.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/affiliate_thankyou.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/affiliate_thankyou.tpl (revision 12990) @@ -0,0 +1,35 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_MyAccount"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/my_account/affiliate_thankyou"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/affiliate_thankyou.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/my_account/download.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/my_account/download.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/my_account/download.tpl (revision 12990) @@ -0,0 +1 @@ +<inp2:p_FileDownload /> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/my_account/download.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/checkout/shipping.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/checkout/shipping.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/checkout/shipping.tpl (revision 12990) @@ -0,0 +1,56 @@ +<inp2:m_RequireLogin condition="Comm_RequireLoginBeforeCheckout" login_template="platform/login/login_register"/> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_cart_Checkout"/> :: <inp2:m_Phrase label="lu_comm_ShippingInfo"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + <script type="text/javascript"> + function catchFormEnter(e, id) + { + if (typeof(e) == 'undefined') e = window.event; + if (!e) return; + + if (e.keyCode == 13) { //enter + if (typeof(document.all) == 'undefined') e.preventDefault(); + e.cancelBubble = true; + e.returnValue = false; + + document.getElementById(id).focus(); + document.getElementById(id).click(); + return false; + } + } + </script> + <form method="post" onkeypress="catchFormEnter(event, 'events[ord][OnUpdate]')" action="<inp2:m_FormAction />"> + <inp2:m_include template="in-commerce/blocks/checkout/shipping_address"/> + + <inp2:m_include template="in-commerce/blocks/checkout/shipping_options"/> + </form> + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/checkout_steps"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/checkout/shipping.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6.2.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/checkout/login_register.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/checkout/login_register.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/checkout/login_register.tpl (revision 12990) @@ -0,0 +1,38 @@ +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="LU_COMM_REGISTRATION"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + <form method="post" action="<inp2:m_FormAction />"> + + <inp2:m_include template="in-commerce/blocks/checkout/thank_you"/> + + <inp2:m_include template="in-commerce/blocks/checkout/form_register"/> + + </form> + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/checkout/login_register.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/checkout/billing.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/checkout/billing.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/checkout/billing.tpl (revision 12990) @@ -0,0 +1,57 @@ +<inp2:m_RequireLogin condition="Comm_RequireLoginBeforeCheckout" login_template="platform/login/login_register"/> +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_cart_Checkout"/> :: <inp2:m_Phrase label="lu_comm_BillingInfo"/> </title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td class="main-column-center"> + <script type="text/javascript"> + function catchFormEnter(e, id) + { + if (typeof(e) == 'undefined') e = window.event; + if (!e) return; + + if (e.keyCode == 13) { //enter + if (typeof(document.all) == 'undefined') e.preventDefault(); + e.cancelBubble = true; + e.returnValue = false; + + document.getElementById(id).focus(); + document.getElementById(id).click(); + return false; + } + } + </script> + + <form id="billing_info" method="post" onkeypress="catchFormEnter(event, 'events[ord][OnUpdate]')" action="<inp2:m_FormAction />"> + <inp2:m_include template="in-commerce/blocks/checkout/billing_address"/> + + <inp2:m_include template="in-commerce/blocks/checkout/billing_options"/> + </form> + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/checkout_steps"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/checkout/billing.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/checkout/preview.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/checkout/preview.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/checkout/preview.tpl (revision 12990) @@ -0,0 +1,36 @@ +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_cart_Checkout"/> :: <inp2:m_Phrase label="lu_comm_OrderPreview"/> </title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/checkout/order_preview"/> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/checkout_steps"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/checkout/preview.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/checkout/checkout_success.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/checkout/checkout_success.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/checkout/checkout_success.tpl (revision 12990) @@ -0,0 +1,36 @@ +<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_cart_Checkout"/> :: <inp2:m_Phrase label="lu_comm_OrderCompleted"/> </title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/checkout/thank_you"/> + + <inp2:m_include template="in-commerce/blocks/checkout/form_register"/> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/checkout/checkout_success.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/checkout/discount_info.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/checkout/discount_info.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/checkout/discount_info.tpl (revision 12990) @@ -0,0 +1,22 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:m_Phrase label="lu_comm_DiscountInfo" /></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<div style="padding: 10px;"> +<p> +<inp2:m_if check="ord_ItemFieldEquals" field="DiscountType" value="discount"> + <inp2:m_Phrase label="lu_comm_ItemIsEligibleForDiscount" />: +<inp2:m_else /> + <inp2:m_Phrase label="lu_comm_CouponHasBeenApplied" />: +</inp2:m_if> +<br /> +<span class="price1"><inp2:ord_DiscountField name="Name" /></span> +</p> +</div> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/checkout/discount_info.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/checkout/shop_cart.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/checkout/shop_cart.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/checkout/shop_cart.tpl (revision 12990) @@ -0,0 +1,35 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_YourCart"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/checkout/shop_cart"/> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/checkout_steps"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/checkout/shop_cart.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/checkout/cvv2help.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/checkout/cvv2help.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/checkout/cvv2help.tpl (revision 12990) @@ -0,0 +1,16 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<div style="padding: 10px;"> +<p> +<inp2:m_Phrase label="lu_cvv2_help" /> +</p> +</div> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/checkout/cvv2help.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/contact_info.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/contact_info.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/contact_info.tpl (revision 12990) @@ -0,0 +1,37 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_ContactInformation"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + <form method="post" action="<inp2:m_FormAction />"> + + <inp2:m_include template="platform/blocks/common/contact_info"/> + + </form> + </td> + <td class="main-column-right"> + + + + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/in-commerce/store/contact_info.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/category.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/category.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/category.tpl (revision 12990) @@ -0,0 +1,62 @@ +<inp2:m_RequireLogin permissions="CATEGORY.VIEW" login_template="platform/login/login_register"/> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> + +</head> +<body> + +<inp2:c_CheckModuleRoot module="In-Commerce" home_template="in-commerce/index"/> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<inp2:m_include template="in-commerce/blocks/categories/current_path" /> + +<table class="main-table"> + <tr> + <td class="main-column-left" valign="top"> + + <inp2:m_include template="in-commerce/blocks/categories/categories_home" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/credit_cards" /> + + </td> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/categories/sub_categories" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_featured" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_picks" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_new" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_current_cat" data_exists="1"/> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/categories/manufacturers" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/store/category.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.11 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/featured_products.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/featured_products.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/featured_products.tpl (revision 12990) @@ -0,0 +1,41 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_FeaturedProducts"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<inp2:m_include template="in-commerce/blocks/categories/current_path" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/products/products_featured_list" /> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1" /> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/store/featured_products.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/search_results.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/search_results.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/search_results.tpl (revision 12990) @@ -0,0 +1,37 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_SearchResults"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + <inp2:m_include template="in-commerce/blocks/products/products_search_results" /> + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/in-commerce/store/search_results.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/top_seller_products.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/top_seller_products.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/top_seller_products.tpl (revision 12990) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_TopSellers"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<inp2:m_include template="in-commerce/blocks/categories/current_path" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/products/products_topsellers_list" /> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1" /> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/store/top_seller_products.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/new_products.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/new_products.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/new_products.tpl (revision 12990) @@ -0,0 +1,41 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_NewProducts"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<inp2:m_include template="in-commerce/blocks/categories/current_path" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/products/products_new_list" /> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/store/new_products.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/editor_pick_products.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/editor_pick_products.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/editor_pick_products.tpl (revision 12990) @@ -0,0 +1,41 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_EditorsPicks"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<inp2:m_include template="in-commerce/blocks/categories/current_path" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/products/products_editor_picks" /> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1" /> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/store/editor_pick_products.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/manufacturer_products.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/manufacturer_products.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/manufacturer_products.tpl (revision 12990) @@ -0,0 +1,42 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_ProductsBy"/> <inp2:manuf_Field name="Name" /> </title> +<inp2:m_include template="platform/blocks/common/html_head" /> + +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<inp2:m_include template="in-commerce/blocks/categories/current_path" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/manufacturers/manufacturer_products" /> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/store/manufacturer_products.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/manufacturers.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/manufacturers.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/manufacturers.tpl (revision 12990) @@ -0,0 +1,42 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_Manufacturers"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> + +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<inp2:m_include template="in-commerce/blocks/categories/current_path" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/manufacturers/manufacturers" /> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/store/manufacturers.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/recent.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/recent.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/recent.tpl (revision 12990) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> :: <inp2:m_Phrase label="lu_comm_RecentlyViewed"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<inp2:m_include template="in-commerce/blocks/categories/current_path" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/products/products_recent_list" /> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/store/recent.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/store/advanced_search.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/store/advanced_search.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/store/advanced_search.tpl (revision 12990) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_AdvancedSearch"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/products/form_advanced_search" /> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent" data_exists="1"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/store/advanced_search.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/product/review_product.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/product/review_product.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/product/review_product.tpl (revision 12990) @@ -0,0 +1,40 @@ +<inp2:m_RequireLogin permissions="CATEGORY.VIEW,PRODUCT.REVIEW|CATEGORY.VIEW,PRODUCT.REVIEW.PENDING" login_template="platform/login/login_register"/> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> <inp2:p_Field name="Name"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:p_AddToRecent /> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/products/form_review_product.tpl"/> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/> + + <inp2:m_include template="in-commerce/blocks/products/product_actions.tpl"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent.tpl"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/product/review_product.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/product/details.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/product/details.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/product/details.tpl (revision 12990) @@ -0,0 +1,41 @@ +<inp2:m_RequireLogin permissions="CATEGORY.VIEW" login_template="platform/login/login_register"/> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> <inp2:p_Field name="Name"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> + +<body> + +<inp2:p_AddToRecent /> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<inp2:m_include template="in-commerce/blocks/categories/current_path" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + <inp2:m_include template="in-commerce/blocks/products/product_details.tpl"/> + </td> + <td class="main-column-right"> + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/> + + <inp2:m_include template="in-commerce/blocks/products/product_actions.tpl"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent.tpl"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/product/details.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.9 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/product/rate_product.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/product/rate_product.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/product/rate_product.tpl (revision 12990) @@ -0,0 +1,40 @@ +<inp2:m_RequireLogin permissions="PRODUCT.RATE,CATEGORY.VIEW" login_template="platform/login/login_register"/> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> <inp2:p_Field name="Name"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:p_AddToRecent /> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="in-commerce/blocks/products/form_rate_product.tpl"/> + + </td> + <td class="main-column-right"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/> + + <inp2:m_include template="in-commerce/blocks/products/product_actions.tpl"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent.tpl"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/product/rate_product.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/product/confirm_recommend.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/product/confirm_recommend.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/product/confirm_recommend.tpl (revision 12990) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_recommend_confirm"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/products/confirm_recommend" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/mailing_list"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/product/confirm_recommend.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/product/picture_fullsize.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/product/picture_fullsize.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/product/picture_fullsize.tpl (revision 12990) @@ -0,0 +1,15 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> <inp2:p_Field name="Name"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> + +</head> +<body> + +<inp2:m_include template="in-commerce/blocks/products/product_fullsize_image" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/product/picture_fullsize.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/product/recommend_product.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/product/recommend_product.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/product/recommend_product.tpl (revision 12990) @@ -0,0 +1,37 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_include template="in-commerce/blocks/categories/title_path"/> <inp2:p_Field name="Name"/> :: <inp2:m_Phrase label="lu_comm_RecommendThisProduct"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/products/form_recommend_product" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator.tpl"/> + + <inp2:m_include template="in-commerce/blocks/products/product_actions.tpl"/> + + <inp2:m_include template="in-commerce/blocks/products/products_recent.tpl"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/in-commerce/product/recommend_product.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/index.tpl =================================================================== --- releases/1.0.0-B1/in-commerce/index.tpl (nonexistent) +++ releases/1.0.0-B1/in-commerce/index.tpl (revision 12990) @@ -0,0 +1,53 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-left" valign="top"> + + <inp2:m_include template="in-commerce/blocks/categories/categories_home" data_exists="1"/> + + + <inp2:m_include template="platform/blocks/common/credit_cards" /> + + </td> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/products/products_featured" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_new" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_picks" data_exists="1"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/recommend_site"/> + + <inp2:m_include template="platform/blocks/common/mailing_list"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/in-commerce/index.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/no_picture_list.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/no_picture_list.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/no_picture.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/no_picture.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/buy.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/buy.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/edpick.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/edpick.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/buy2.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/buy2.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/delete.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/delete.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/toprated.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/toprated.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/visa.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/visa.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/master_card.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/master_card.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/american_express.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/american_express.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/new.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/new.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/topseller.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/topseller.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/in-commerce/img/novus.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/in-commerce/img/novus.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/redirect.tpl =================================================================== --- releases/1.0.0-B1/redirect.tpl (nonexistent) +++ releases/1.0.0-B1/redirect.tpl (revision 12990) @@ -0,0 +1,74 @@ +<inp2:m_SetDefaultCategory module="In-Commerce"/> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> + <title><inp2:conf_ConfigValue name="Site_Name"/></title> + <inp2:m_include template="platform/blocks/common/html_head" /> + <script type="text/javascript"> + function exec_refresh() + { + window.status = "Redirecting..." + myvar; + myvar = myvar + " ."; + var timerID = setTimeout("exec_refresh();", 100); + if (timeout > 0) + { + timeout -= 1; + } + else + { + clearTimeout(timerID); + window.status = ""; + window.location = "<inp2:m_get name="redirect_to_js"/>"; + } + } + + var myvar = ""; + var timeout = 20; + exec_refresh(); + </script> +</head> + +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-left" valign="top"> + + <inp2:m_include template="in-commerce/blocks/categories/categories_home" data_exists="1" /> + + <inp2:m_include template="platform/blocks/common/credit_cards" /> + + </td> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/redirect" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/misc/register_as_affiliate" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/recommend_site"/> + + <inp2:m_include template="platform/blocks/common/mailing_list"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/redirect.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/no_permission.tpl =================================================================== --- releases/1.0.0-B1/no_permission.tpl (nonexistent) +++ releases/1.0.0-B1/no_permission.tpl (revision 12990) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_comm_NoPermissions"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/login/no_permission_warning" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/mailing_list"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/no_permission.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/error_notfound.tpl =================================================================== --- releases/1.0.0-B1/error_notfound.tpl (nonexistent) +++ releases/1.0.0-B1/error_notfound.tpl (revision 12990) @@ -0,0 +1,39 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: <inp2:m_Phrase label="lu_error_404_title"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="platform/blocks/common/not_found_warning" /> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/mailing_list"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> \ No newline at end of file Property changes on: releases/1.0.0-B1/error_notfound.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/index.tpl =================================================================== --- releases/1.0.0-B1/index.tpl (nonexistent) +++ releases/1.0.0-B1/index.tpl (revision 12990) @@ -0,0 +1,55 @@ +<inp2:m_SetDefaultCategory module="In-Commerce"/> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/></title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-left" valign="top"> + + <inp2:m_include template="in-commerce/blocks/categories/categories_home" data_exists="1" /> + + <inp2:m_include template="platform/blocks/common/credit_cards" /> + + </td> + <td class="main-column-center" valign="top"> + + <inp2:m_include template="in-commerce/blocks/products/products_featured" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_new" data_exists="1"/> + + <inp2:m_include template="in-commerce/blocks/products/products_picks" data_exists="1"/> + + </td> + <td class="main-column-right" valign="top"> + + <inp2:m_include template="in-commerce/blocks/checkout/cart_indicator" /> + + <inp2:m_include template="platform/blocks/common/login" /> + + <inp2:m_include template="in-commerce/blocks/misc/register_as_affiliate" /> + + <inp2:m_include template="in-commerce/blocks/products/products_top_sellers" data_exists="1"/> + + <inp2:m_include template="platform/blocks/common/recommend_site"/> + + <inp2:m_include template="platform/blocks/common/mailing_list"/> + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> Property changes on: releases/1.0.0-B1/index.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.8 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/phrases_edit.tpl =================================================================== --- releases/1.0.0-B1/phrases_edit.tpl (nonexistent) +++ releases/1.0.0-B1/phrases_edit.tpl (revision 12990) @@ -0,0 +1,37 @@ +<inp2:m_if check="m_ConstOn" const="DBG_PHRASES"> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + +<head> +<title><inp2:conf_ConfigValue name="Site_Name"/> :: </title> +<inp2:m_include template="platform/blocks/common/html_head" /> +</head> +<body> + +<inp2:m_include template="platform/blocks/common/header" /> + +<inp2:m_include template="platform/blocks/common/toolbar" /> + +<table class="main-table"> + <tr> + <td class="main-column-center"> + + <inp2:m_include template="platform/blocks/common/form_phrase"/> + + </td> + <td class="main-column-right"> + + + + + </td> + </tr> +</table> + +<inp2:m_include template="platform/blocks/common/footer" /> + +<inp2:m_include template="platform/blocks/common/copyright" /> + +</body> +</html> +</inp2:m_if> \ No newline at end of file Property changes on: releases/1.0.0-B1/phrases_edit.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/inc/lbox/prototype.js =================================================================== --- releases/1.0.0-B1/inc/lbox/prototype.js (nonexistent) +++ releases/1.0.0-B1/inc/lbox/prototype.js (revision 12990) @@ -0,0 +1,1785 @@ +/* Prototype JavaScript framework, version 1.4.0 + * (c) 2005 Sam Stephenson <sam@conio.net> + * + * THIS FILE IS AUTOMATICALLY GENERATED. When sending patches, please diff + * against the source tree, available from the Prototype darcs repository. + * + * Prototype is freely distributable under the terms of an MIT-style license. + * + * For details, see the Prototype web site: http://prototype.conio.net/ + * +/*--------------------------------------------------------------------------*/ + +var Prototype = { + Version: '1.4.0', + ScriptFragment: '(?:<script.*?>)((\n|\r|.)*?)(?:<\/script>)', + + emptyFunction: function() {}, + K: function(x) {return x} +} + +var Class = { + create: function() { + return function() { + this.initialize.apply(this, arguments); + } + } +} + +var Abstract = new Object(); + +Object.extend = function(destination, source) { + for (property in source) { + destination[property] = source[property]; + } + return destination; +} + +Object.inspect = function(object) { + try { + if (object == undefined) return 'undefined'; + if (object == null) return 'null'; + return object.inspect ? object.inspect() : object.toString(); + } catch (e) { + if (e instanceof RangeError) return '...'; + throw e; + } +} + +Function.prototype.bind = function() { + var __method = this, args = $A(arguments), object = args.shift(); + return function() { + return __method.apply(object, args.concat($A(arguments))); + } +} + +Function.prototype.bindAsEventListener = function(object) { + var __method = this; + return function(event) { + return __method.call(object, event || window.event); + } +} + +Object.extend(Number.prototype, { + toColorPart: function() { + var digits = this.toString(16); + if (this < 16) return '0' + digits; + return digits; + }, + + succ: function() { + return this + 1; + }, + + times: function(iterator) { + $R(0, this, true).each(iterator); + return this; + } +}); + +var Try = { + these: function() { + var returnValue; + + for (var i = 0; i < arguments.length; i++) { + var lambda = arguments[i]; + try { + returnValue = lambda(); + break; + } catch (e) {} + } + + return returnValue; + } +} + +/*--------------------------------------------------------------------------*/ + +var PeriodicalExecuter = Class.create(); +PeriodicalExecuter.prototype = { + initialize: function(callback, frequency) { + this.callback = callback; + this.frequency = frequency; + this.currentlyExecuting = false; + + this.registerCallback(); + }, + + registerCallback: function() { + setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); + }, + + onTimerEvent: function() { + if (!this.currentlyExecuting) { + try { + this.currentlyExecuting = true; + this.callback(); + } finally { + this.currentlyExecuting = false; + } + } + } +} + +/*--------------------------------------------------------------------------*/ + +function $() { + var elements = new Array(); + + for (var i = 0; i < arguments.length; i++) { + var element = arguments[i]; + if (typeof element == 'string') + element = document.getElementById(element); + + if (arguments.length == 1) + return element; + + elements.push(element); + } + + return elements; +} +Object.extend(String.prototype, { + stripTags: function() { + return this.replace(/<\/?[^>]+>/gi, ''); + }, + + stripScripts: function() { + return this.replace(new RegExp(Prototype.ScriptFragment, 'img'), ''); + }, + + extractScripts: function() { + var matchAll = new RegExp(Prototype.ScriptFragment, 'img'); + var matchOne = new RegExp(Prototype.ScriptFragment, 'im'); + return (this.match(matchAll) || []).map(function(scriptTag) { + return (scriptTag.match(matchOne) || ['', ''])[1]; + }); + }, + + evalScripts: function() { + return this.extractScripts().map(eval); + }, + + escapeHTML: function() { + var div = document.createElement('div'); + var text = document.createTextNode(this); + div.appendChild(text); + return div.innerHTML; + }, + + unescapeHTML: function() { + var div = document.createElement('div'); + div.innerHTML = this.stripTags(); + return div.childNodes[0] ? div.childNodes[0].nodeValue : ''; + }, + + toQueryParams: function() { + var pairs = this.match(/^\??(.*)$/)[1].split('&'); + return pairs.inject({}, function(params, pairString) { + var pair = pairString.split('='); + params[pair[0]] = pair[1]; + return params; + }); + }, + + toArray: function() { + return this.split(''); + }, + + camelize: function() { + var oStringList = this.split('-'); + if (oStringList.length == 1) return oStringList[0]; + + var camelizedString = this.indexOf('-') == 0 + ? oStringList[0].charAt(0).toUpperCase() + oStringList[0].substring(1) + : oStringList[0]; + + for (var i = 1, len = oStringList.length; i < len; i++) { + var s = oStringList[i]; + camelizedString += s.charAt(0).toUpperCase() + s.substring(1); + } + + return camelizedString; + }, + + inspect: function() { + return "'" + this.replace('\\', '\\\\').replace("'", '\\\'') + "'"; + } +}); + +String.prototype.parseQuery = String.prototype.toQueryParams; + +var $break = new Object(); +var $continue = new Object(); + +var Enumerable = { + each: function(iterator) { + var index = 0; + try { + this._each(function(value) { + try { + iterator(value, index++); + } catch (e) { + if (e != $continue) throw e; + } + }); + } catch (e) { + if (e != $break) throw e; + } + }, + + all: function(iterator) { + var result = true; + this.each(function(value, index) { + result = result && !!(iterator || Prototype.K)(value, index); + if (!result) throw $break; + }); + return result; + }, + + any: function(iterator) { + var result = true; + this.each(function(value, index) { + if (result = !!(iterator || Prototype.K)(value, index)) + throw $break; + }); + return result; + }, + + collect: function(iterator) { + var results = []; + this.each(function(value, index) { + results.push(iterator(value, index)); + }); + return results; + }, + + detect: function (iterator) { + var result; + this.each(function(value, index) { + if (iterator(value, index)) { + result = value; + throw $break; + } + }); + return result; + }, + + findAll: function(iterator) { + var results = []; + this.each(function(value, index) { + if (iterator(value, index)) + results.push(value); + }); + return results; + }, + + grep: function(pattern, iterator) { + var results = []; + this.each(function(value, index) { + var stringValue = value.toString(); + if (stringValue.match(pattern)) + results.push((iterator || Prototype.K)(value, index)); + }) + return results; + }, + + include: function(object) { + var found = false; + this.each(function(value) { + if (value == object) { + found = true; + throw $break; + } + }); + return found; + }, + + inject: function(memo, iterator) { + this.each(function(value, index) { + memo = iterator(memo, value, index); + }); + return memo; + }, + + invoke: function(method) { + var args = $A(arguments).slice(1); + return this.collect(function(value) { + return value[method].apply(value, args); + }); + }, + + max: function(iterator) { + var result; + this.each(function(value, index) { + value = (iterator || Prototype.K)(value, index); + if (value >= (result || value)) + result = value; + }); + return result; + }, + + min: function(iterator) { + var result; + this.each(function(value, index) { + value = (iterator || Prototype.K)(value, index); + if (value <= (result || value)) + result = value; + }); + return result; + }, + + partition: function(iterator) { + var trues = [], falses = []; + this.each(function(value, index) { + ((iterator || Prototype.K)(value, index) ? + trues : falses).push(value); + }); + return [trues, falses]; + }, + + pluck: function(property) { + var results = []; + this.each(function(value, index) { + results.push(value[property]); + }); + return results; + }, + + reject: function(iterator) { + var results = []; + this.each(function(value, index) { + if (!iterator(value, index)) + results.push(value); + }); + return results; + }, + + sortBy: function(iterator) { + return this.collect(function(value, index) { + return {value: value, criteria: iterator(value, index)}; + }).sort(function(left, right) { + var a = left.criteria, b = right.criteria; + return a < b ? -1 : a > b ? 1 : 0; + }).pluck('value'); + }, + + toArray: function() { + return this.collect(Prototype.K); + }, + + zip: function() { + var iterator = Prototype.K, args = $A(arguments); + if (typeof args.last() == 'function') + iterator = args.pop(); + + var collections = [this].concat(args).map($A); + return this.map(function(value, index) { + iterator(value = collections.pluck(index)); + return value; + }); + }, + + inspect: function() { + return '#<Enumerable:' + this.toArray().inspect() + '>'; + } +} + +Object.extend(Enumerable, { + map: Enumerable.collect, + find: Enumerable.detect, + select: Enumerable.findAll, + member: Enumerable.include, + entries: Enumerable.toArray +}); +var $A = Array.from = function(iterable) { + if (!iterable) return []; + if (iterable.toArray) { + return iterable.toArray(); + } else { + var results = []; + for (var i = 0; i < iterable.length; i++) + results.push(iterable[i]); + return results; + } +} + +Object.extend(Array.prototype, Enumerable); + +Array.prototype._reverse = Array.prototype.reverse; + +Object.extend(Array.prototype, { + _each: function(iterator) { + for (var i = 0; i < this.length; i++) + iterator(this[i]); + }, + + clear: function() { + this.length = 0; + return this; + }, + + first: function() { + return this[0]; + }, + + last: function() { + return this[this.length - 1]; + }, + + compact: function() { + return this.select(function(value) { + return value != undefined || value != null; + }); + }, + + flatten: function() { + return this.inject([], function(array, value) { + return array.concat(value.constructor == Array ? + value.flatten() : [value]); + }); + }, + + without: function() { + var values = $A(arguments); + return this.select(function(value) { + return !values.include(value); + }); + }, + + indexOf: function(object) { + for (var i = 0; i < this.length; i++) + if (this[i] == object) return i; + return -1; + }, + + reverse: function(inline) { + return (inline !== false ? this : this.toArray())._reverse(); + }, + + shift: function() { + var result = this[0]; + for (var i = 0; i < this.length - 1; i++) + this[i] = this[i + 1]; + this.length--; + return result; + }, + + inspect: function() { + return '[' + this.map(Object.inspect).join(', ') + ']'; + } +}); +var Hash = { + _each: function(iterator) { + for (key in this) { + var value = this[key]; + if (typeof value == 'function') continue; + + var pair = [key, value]; + pair.key = key; + pair.value = value; + iterator(pair); + } + }, + + keys: function() { + return this.pluck('key'); + }, + + values: function() { + return this.pluck('value'); + }, + + merge: function(hash) { + return $H(hash).inject($H(this), function(mergedHash, pair) { + mergedHash[pair.key] = pair.value; + return mergedHash; + }); + }, + + toQueryString: function() { + return this.map(function(pair) { + return pair.map(encodeURIComponent).join('='); + }).join('&'); + }, + + inspect: function() { + return '#<Hash:{' + this.map(function(pair) { + return pair.map(Object.inspect).join(': '); + }).join(', ') + '}>'; + } +} + +function $H(object) { + var hash = Object.extend({}, object || {}); + Object.extend(hash, Enumerable); + Object.extend(hash, Hash); + return hash; +} +ObjectRange = Class.create(); +Object.extend(ObjectRange.prototype, Enumerable); +Object.extend(ObjectRange.prototype, { + initialize: function(start, end, exclusive) { + this.start = start; + this.end = end; + this.exclusive = exclusive; + }, + + _each: function(iterator) { + var value = this.start; + do { + iterator(value); + value = value.succ(); + } while (this.include(value)); + }, + + include: function(value) { + if (value < this.start) + return false; + if (this.exclusive) + return value < this.end; + return value <= this.end; + } +}); + +var $R = function(start, end, exclusive) { + return new ObjectRange(start, end, exclusive); +} + +var Ajax = { + getTransport: function() { + return Try.these( + function() {return new ActiveXObject('Msxml2.XMLHTTP')}, + function() {return new ActiveXObject('Microsoft.XMLHTTP')}, + function() {return new XMLHttpRequest()} + ) || false; + }, + + activeRequestCount: 0 +} + +Ajax.Responders = { + responders: [], + + _each: function(iterator) { + this.responders._each(iterator); + }, + + register: function(responderToAdd) { + if (!this.include(responderToAdd)) + this.responders.push(responderToAdd); + }, + + unregister: function(responderToRemove) { + this.responders = this.responders.without(responderToRemove); + }, + + dispatch: function(callback, request, transport, json) { + this.each(function(responder) { + if (responder[callback] && typeof responder[callback] == 'function') { + try { + responder[callback].apply(responder, [request, transport, json]); + } catch (e) {} + } + }); + } +}; + +Object.extend(Ajax.Responders, Enumerable); + +Ajax.Responders.register({ + onCreate: function() { + Ajax.activeRequestCount++; + }, + + onComplete: function() { + Ajax.activeRequestCount--; + } +}); + +Ajax.Base = function() {}; +Ajax.Base.prototype = { + setOptions: function(options) { + this.options = { + method: 'post', + asynchronous: true, + parameters: '' + } + Object.extend(this.options, options || {}); + }, + + responseIsSuccess: function() { + return this.transport.status == undefined + || this.transport.status == 0 + || (this.transport.status >= 200 && this.transport.status < 300); + }, + + responseIsFailure: function() { + return !this.responseIsSuccess(); + } +} + +Ajax.Request = Class.create(); +Ajax.Request.Events = + ['Uninitialized', 'Loading', 'Loaded', 'Interactive', 'Complete']; + +Ajax.Request.prototype = Object.extend(new Ajax.Base(), { + initialize: function(url, options) { + this.transport = Ajax.getTransport(); + this.setOptions(options); + this.request(url); + }, + + request: function(url) { + var parameters = this.options.parameters || ''; + if (parameters.length > 0) parameters += '&_='; + + try { + this.url = url; + if (this.options.method == 'get' && parameters.length > 0) + this.url += (this.url.match(/\?/) ? '&' : '?') + parameters; + + Ajax.Responders.dispatch('onCreate', this, this.transport); + + this.transport.open(this.options.method, this.url, + this.options.asynchronous); + + if (this.options.asynchronous) { + this.transport.onreadystatechange = this.onStateChange.bind(this); + setTimeout((function() {this.respondToReadyState(1)}).bind(this), 10); + } + + this.setRequestHeaders(); + + var body = this.options.postBody ? this.options.postBody : parameters; + this.transport.send(this.options.method == 'post' ? body : null); + + } catch (e) { + this.dispatchException(e); + } + }, + + setRequestHeaders: function() { + var requestHeaders = + ['X-Requested-With', 'XMLHttpRequest', + 'X-Prototype-Version', Prototype.Version]; + + if (this.options.method == 'post') { + requestHeaders.push('Content-type', + 'application/x-www-form-urlencoded'); + + /* Force "Connection: close" for Mozilla browsers to work around + * a bug where XMLHttpReqeuest sends an incorrect Content-length + * header. See Mozilla Bugzilla #246651. + */ + if (this.transport.overrideMimeType) + requestHeaders.push('Connection', 'close'); + } + + if (this.options.requestHeaders) + requestHeaders.push.apply(requestHeaders, this.options.requestHeaders); + + for (var i = 0; i < requestHeaders.length; i += 2) + this.transport.setRequestHeader(requestHeaders[i], requestHeaders[i+1]); + }, + + onStateChange: function() { + var readyState = this.transport.readyState; + if (readyState != 1) + this.respondToReadyState(this.transport.readyState); + }, + + header: function(name) { + try { + return this.transport.getResponseHeader(name); + } catch (e) {} + }, + + evalJSON: function() { + try { + return eval(this.header('X-JSON')); + } catch (e) {} + }, + + evalResponse: function() { + try { + return eval(this.transport.responseText); + } catch (e) { + this.dispatchException(e); + } + }, + + respondToReadyState: function(readyState) { + var event = Ajax.Request.Events[readyState]; + var transport = this.transport, json = this.evalJSON(); + + if (event == 'Complete') { + try { + (this.options['on' + this.transport.status] + || this.options['on' + (this.responseIsSuccess() ? 'Success' : 'Failure')] + || Prototype.emptyFunction)(transport, json); + } catch (e) { + this.dispatchException(e); + } + + if ((this.header('Content-type') || '').match(/^text\/javascript/i)) + this.evalResponse(); + } + + try { + (this.options['on' + event] || Prototype.emptyFunction)(transport, json); + Ajax.Responders.dispatch('on' + event, this, transport, json); + } catch (e) { + this.dispatchException(e); + } + + /* Avoid memory leak in MSIE: clean up the oncomplete event handler */ + if (event == 'Complete') + this.transport.onreadystatechange = Prototype.emptyFunction; + }, + + dispatchException: function(exception) { + (this.options.onException || Prototype.emptyFunction)(this, exception); + Ajax.Responders.dispatch('onException', this, exception); + } +}); + +Ajax.Updater = Class.create(); + +Object.extend(Object.extend(Ajax.Updater.prototype, Ajax.Request.prototype), { + initialize: function(container, url, options) { + this.containers = { + success: container.success ? $(container.success) : $(container), + failure: container.failure ? $(container.failure) : + (container.success ? null : $(container)) + } + + this.transport = Ajax.getTransport(); + this.setOptions(options); + + var onComplete = this.options.onComplete || Prototype.emptyFunction; + this.options.onComplete = (function(transport, object) { + this.updateContent(); + onComplete(transport, object); + }).bind(this); + + this.request(url); + }, + + updateContent: function() { + var receiver = this.responseIsSuccess() ? + this.containers.success : this.containers.failure; + var response = this.transport.responseText; + + if (!this.options.evalScripts) + response = response.stripScripts(); + + if (receiver) { + if (this.options.insertion) { + new this.options.insertion(receiver, response); + } else { + Element.update(receiver, response); + } + } + + if (this.responseIsSuccess()) { + if (this.onComplete) + setTimeout(this.onComplete.bind(this), 10); + } + } +}); + +Ajax.PeriodicalUpdater = Class.create(); +Ajax.PeriodicalUpdater.prototype = Object.extend(new Ajax.Base(), { + initialize: function(container, url, options) { + this.setOptions(options); + this.onComplete = this.options.onComplete; + + this.frequency = (this.options.frequency || 2); + this.decay = (this.options.decay || 1); + + this.updater = {}; + this.container = container; + this.url = url; + + this.start(); + }, + + start: function() { + this.options.onComplete = this.updateComplete.bind(this); + this.onTimerEvent(); + }, + + stop: function() { + this.updater.onComplete = undefined; + clearTimeout(this.timer); + (this.onComplete || Prototype.emptyFunction).apply(this, arguments); + }, + + updateComplete: function(request) { + if (this.options.decay) { + this.decay = (request.responseText == this.lastText ? + this.decay * this.options.decay : 1); + + this.lastText = request.responseText; + } + this.timer = setTimeout(this.onTimerEvent.bind(this), + this.decay * this.frequency * 1000); + }, + + onTimerEvent: function() { + this.updater = new Ajax.Updater(this.container, this.url, this.options); + } +}); +document.getElementsByClassName = function(className, parentElement) { + var children = ($(parentElement) || document.body).getElementsByTagName('*'); + return $A(children).inject([], function(elements, child) { + if (child.className.match(new RegExp("(^|\\s)" + className + "(\\s|$)"))) + elements.push(child); + return elements; + }); +} + +/*--------------------------------------------------------------------------*/ + +if (!window.Element) { + var Element = new Object(); +} + +Object.extend(Element, { + visible: function(element) { + return $(element).style.display != 'none'; + }, + + toggle: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + Element[Element.visible(element) ? 'hide' : 'show'](element); + } + }, + + hide: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + element.style.display = 'none'; + } + }, + + show: function() { + for (var i = 0; i < arguments.length; i++) { + var element = $(arguments[i]); + element.style.display = ''; + } + }, + + remove: function(element) { + element = $(element); + element.parentNode.removeChild(element); + }, + + update: function(element, html) { + $(element).innerHTML = html.stripScripts(); + setTimeout(function() {html.evalScripts()}, 10); + }, + + getHeight: function(element) { + element = $(element); + return element.offsetHeight; + }, + + classNames: function(element) { + return new Element.ClassNames(element); + }, + + hasClassName: function(element, className) { + if (!(element = $(element))) return; + return Element.classNames(element).include(className); + }, + + addClassName: function(element, className) { + if (!(element = $(element))) return; + return Element.classNames(element).add(className); + }, + + removeClassName: function(element, className) { + if (!(element = $(element))) return; + return Element.classNames(element).remove(className); + }, + + // removes whitespace-only text node children + cleanWhitespace: function(element) { + element = $(element); + for (var i = 0; i < element.childNodes.length; i++) { + var node = element.childNodes[i]; + if (node.nodeType == 3 && !/\S/.test(node.nodeValue)) + Element.remove(node); + } + }, + + empty: function(element) { + return $(element).innerHTML.match(/^\s*$/); + }, + + scrollTo: function(element) { + element = $(element); + var x = element.x ? element.x : element.offsetLeft, + y = element.y ? element.y : element.offsetTop; + window.scrollTo(x, y); + }, + + getStyle: function(element, style) { + element = $(element); + var value = element.style[style.camelize()]; + if (!value) { + if (document.defaultView && document.defaultView.getComputedStyle) { + var css = document.defaultView.getComputedStyle(element, null); + value = css ? css.getPropertyValue(style) : null; + } else if (element.currentStyle) { + value = element.currentStyle[style.camelize()]; + } + } + + if (window.opera && ['left', 'top', 'right', 'bottom'].include(style)) + if (Element.getStyle(element, 'position') == 'static') value = 'auto'; + + return value == 'auto' ? null : value; + }, + + setStyle: function(element, style) { + element = $(element); + for (name in style) + element.style[name.camelize()] = style[name]; + }, + + getDimensions: function(element) { + element = $(element); + if (Element.getStyle(element, 'display') != 'none') + return {width: element.offsetWidth, height: element.offsetHeight}; + + // All *Width and *Height properties give 0 on elements with display none, + // so enable the element temporarily + var els = element.style; + var originalVisibility = els.visibility; + var originalPosition = els.position; + els.visibility = 'hidden'; + els.position = 'absolute'; + els.display = ''; + var originalWidth = element.clientWidth; + var originalHeight = element.clientHeight; + els.display = 'none'; + els.position = originalPosition; + els.visibility = originalVisibility; + return {width: originalWidth, height: originalHeight}; + }, + + makePositioned: function(element) { + element = $(element); + var pos = Element.getStyle(element, 'position'); + if (pos == 'static' || !pos) { + element._madePositioned = true; + element.style.position = 'relative'; + // Opera returns the offset relative to the positioning context, when an + // element is position relative but top and left have not been defined + if (window.opera) { + element.style.top = 0; + element.style.left = 0; + } + } + }, + + undoPositioned: function(element) { + element = $(element); + if (element._madePositioned) { + element._madePositioned = undefined; + element.style.position = + element.style.top = + element.style.left = + element.style.bottom = + element.style.right = ''; + } + }, + + makeClipping: function(element) { + element = $(element); + if (element._overflow) return; + element._overflow = element.style.overflow; + if ((Element.getStyle(element, 'overflow') || 'visible') != 'hidden') + element.style.overflow = 'hidden'; + }, + + undoClipping: function(element) { + element = $(element); + if (element._overflow) return; + element.style.overflow = element._overflow; + element._overflow = undefined; + } +}); + +var Toggle = new Object(); +Toggle.display = Element.toggle; + +/*--------------------------------------------------------------------------*/ + +Abstract.Insertion = function(adjacency) { + this.adjacency = adjacency; +} + +Abstract.Insertion.prototype = { + initialize: function(element, content) { + this.element = $(element); + this.content = content.stripScripts(); + + if (this.adjacency && this.element.insertAdjacentHTML) { + try { + this.element.insertAdjacentHTML(this.adjacency, this.content); + } catch (e) { + if (this.element.tagName.toLowerCase() == 'tbody') { + this.insertContent(this.contentFromAnonymousTable()); + } else { + throw e; + } + } + } else { + this.range = this.element.ownerDocument.createRange(); + if (this.initializeRange) this.initializeRange(); + this.insertContent([this.range.createContextualFragment(this.content)]); + } + + setTimeout(function() {content.evalScripts()}, 10); + }, + + contentFromAnonymousTable: function() { + var div = document.createElement('div'); + div.innerHTML = '<table><tbody>' + this.content + '</tbody></table>'; + return $A(div.childNodes[0].childNodes[0].childNodes); + } +} + +var Insertion = new Object(); + +Insertion.Before = Class.create(); +Insertion.Before.prototype = Object.extend(new Abstract.Insertion('beforeBegin'), { + initializeRange: function() { + this.range.setStartBefore(this.element); + }, + + insertContent: function(fragments) { + fragments.each((function(fragment) { + this.element.parentNode.insertBefore(fragment, this.element); + }).bind(this)); + } +}); + +Insertion.Top = Class.create(); +Insertion.Top.prototype = Object.extend(new Abstract.Insertion('afterBegin'), { + initializeRange: function() { + this.range.selectNodeContents(this.element); + this.range.collapse(true); + }, + + insertContent: function(fragments) { + fragments.reverse(false).each((function(fragment) { + this.element.insertBefore(fragment, this.element.firstChild); + }).bind(this)); + } +}); + +Insertion.Bottom = Class.create(); +Insertion.Bottom.prototype = Object.extend(new Abstract.Insertion('beforeEnd'), { + initializeRange: function() { + this.range.selectNodeContents(this.element); + this.range.collapse(this.element); + }, + + insertContent: function(fragments) { + fragments.each((function(fragment) { + this.element.appendChild(fragment); + }).bind(this)); + } +}); + +Insertion.After = Class.create(); +Insertion.After.prototype = Object.extend(new Abstract.Insertion('afterEnd'), { + initializeRange: function() { + this.range.setStartAfter(this.element); + }, + + insertContent: function(fragments) { + fragments.each((function(fragment) { + this.element.parentNode.insertBefore(fragment, + this.element.nextSibling); + }).bind(this)); + } +}); + +/*--------------------------------------------------------------------------*/ + +Element.ClassNames = Class.create(); +Element.ClassNames.prototype = { + initialize: function(element) { + this.element = $(element); + }, + + _each: function(iterator) { + this.element.className.split(/\s+/).select(function(name) { + return name.length > 0; + })._each(iterator); + }, + + set: function(className) { + this.element.className = className; + }, + + add: function(classNameToAdd) { + if (this.include(classNameToAdd)) return; + this.set(this.toArray().concat(classNameToAdd).join(' ')); + }, + + remove: function(classNameToRemove) { + if (!this.include(classNameToRemove)) return; + this.set(this.select(function(className) { + return className != classNameToRemove; + }).join(' ')); + }, + + toString: function() { + return this.toArray().join(' '); + } +} + +Object.extend(Element.ClassNames.prototype, Enumerable); +var Field = { + clear: function() { + for (var i = 0; i < arguments.length; i++) + $(arguments[i]).value = ''; + }, + + focus: function(element) { + $(element).focus(); + }, + + present: function() { + for (var i = 0; i < arguments.length; i++) + if ($(arguments[i]).value == '') return false; + return true; + }, + + select: function(element) { + $(element).select(); + }, + + activate: function(element) { + element = $(element); + element.focus(); + if (element.select) + element.select(); + } +} + +/*--------------------------------------------------------------------------*/ + +var Form = { + serialize: function(form) { + var elements = Form.getElements($(form)); + var queryComponents = new Array(); + + for (var i = 0; i < elements.length; i++) { + var queryComponent = Form.Element.serialize(elements[i]); + if (queryComponent) + queryComponents.push(queryComponent); + } + + return queryComponents.join('&'); + }, + + getElements: function(form) { + form = $(form); + var elements = new Array(); + + for (tagName in Form.Element.Serializers) { + var tagElements = form.getElementsByTagName(tagName); + for (var j = 0; j < tagElements.length; j++) + elements.push(tagElements[j]); + } + return elements; + }, + + getInputs: function(form, typeName, name) { + form = $(form); + var inputs = form.getElementsByTagName('input'); + + if (!typeName && !name) + return inputs; + + var matchingInputs = new Array(); + for (var i = 0; i < inputs.length; i++) { + var input = inputs[i]; + if ((typeName && input.type != typeName) || + (name && input.name != name)) + continue; + matchingInputs.push(input); + } + + return matchingInputs; + }, + + disable: function(form) { + var elements = Form.getElements(form); + for (var i = 0; i < elements.length; i++) { + var element = elements[i]; + element.blur(); + element.disabled = 'true'; + } + }, + + enable: function(form) { + var elements = Form.getElements(form); + for (var i = 0; i < elements.length; i++) { + var element = elements[i]; + element.disabled = ''; + } + }, + + findFirstElement: function(form) { + return Form.getElements(form).find(function(element) { + return element.type != 'hidden' && !element.disabled && + ['input', 'select', 'textarea'].include(element.tagName.toLowerCase()); + }); + }, + + focusFirstElement: function(form) { + Field.activate(Form.findFirstElement(form)); + }, + + reset: function(form) { + $(form).reset(); + } +} + +Form.Element = { + serialize: function(element) { + element = $(element); + var method = element.tagName.toLowerCase(); + var parameter = Form.Element.Serializers[method](element); + + if (parameter) { + var key = encodeURIComponent(parameter[0]); + if (key.length == 0) return; + + if (parameter[1].constructor != Array) + parameter[1] = [parameter[1]]; + + return parameter[1].map(function(value) { + return key + '=' + encodeURIComponent(value); + }).join('&'); + } + }, + + getValue: function(element) { + element = $(element); + var method = element.tagName.toLowerCase(); + var parameter = Form.Element.Serializers[method](element); + + if (parameter) + return parameter[1]; + } +} + +Form.Element.Serializers = { + input: function(element) { + switch (element.type.toLowerCase()) { + case 'submit': + case 'hidden': + case 'password': + case 'text': + return Form.Element.Serializers.textarea(element); + case 'checkbox': + case 'radio': + return Form.Element.Serializers.inputSelector(element); + } + return false; + }, + + inputSelector: function(element) { + if (element.checked) + return [element.name, element.value]; + }, + + textarea: function(element) { + return [element.name, element.value]; + }, + + select: function(element) { + return Form.Element.Serializers[element.type == 'select-one' ? + 'selectOne' : 'selectMany'](element); + }, + + selectOne: function(element) { + var value = '', opt, index = element.selectedIndex; + if (index >= 0) { + opt = element.options[index]; + value = opt.value; + if (!value && !('value' in opt)) + value = opt.text; + } + return [element.name, value]; + }, + + selectMany: function(element) { + var value = new Array(); + for (var i = 0; i < element.length; i++) { + var opt = element.options[i]; + if (opt.selected) { + var optValue = opt.value; + if (!optValue && !('value' in opt)) + optValue = opt.text; + value.push(optValue); + } + } + return [element.name, value]; + } +} + +/*--------------------------------------------------------------------------*/ + +var $F = Form.Element.getValue; + +/*--------------------------------------------------------------------------*/ + +Abstract.TimedObserver = function() {} +Abstract.TimedObserver.prototype = { + initialize: function(element, frequency, callback) { + this.frequency = frequency; + this.element = $(element); + this.callback = callback; + + this.lastValue = this.getValue(); + this.registerCallback(); + }, + + registerCallback: function() { + setInterval(this.onTimerEvent.bind(this), this.frequency * 1000); + }, + + onTimerEvent: function() { + var value = this.getValue(); + if (this.lastValue != value) { + this.callback(this.element, value); + this.lastValue = value; + } + } +} + +Form.Element.Observer = Class.create(); +Form.Element.Observer.prototype = Object.extend(new Abstract.TimedObserver(), { + getValue: function() { + return Form.Element.getValue(this.element); + } +}); + +Form.Observer = Class.create(); +Form.Observer.prototype = Object.extend(new Abstract.TimedObserver(), { + getValue: function() { + return Form.serialize(this.element); + } +}); + +/*--------------------------------------------------------------------------*/ + +Abstract.EventObserver = function() {} +Abstract.EventObserver.prototype = { + initialize: function(element, callback) { + this.element = $(element); + this.callback = callback; + + this.lastValue = this.getValue(); + if (this.element.tagName.toLowerCase() == 'form') + this.registerFormCallbacks(); + else + this.registerCallback(this.element); + }, + + onElementEvent: function() { + var value = this.getValue(); + if (this.lastValue != value) { + this.callback(this.element, value); + this.lastValue = value; + } + }, + + registerFormCallbacks: function() { + var elements = Form.getElements(this.element); + for (var i = 0; i < elements.length; i++) + this.registerCallback(elements[i]); + }, + + registerCallback: function(element) { + if (element.type) { + switch (element.type.toLowerCase()) { + case 'checkbox': + case 'radio': + Event.observe(element, 'click', this.onElementEvent.bind(this)); + break; + case 'password': + case 'text': + case 'textarea': + case 'select-one': + case 'select-multiple': + Event.observe(element, 'change', this.onElementEvent.bind(this)); + break; + } + } + } +} + +Form.Element.EventObserver = Class.create(); +Form.Element.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), { + getValue: function() { + return Form.Element.getValue(this.element); + } +}); + +Form.EventObserver = Class.create(); +Form.EventObserver.prototype = Object.extend(new Abstract.EventObserver(), { + getValue: function() { + return Form.serialize(this.element); + } +}); +if (!window.Event) { + var Event = new Object(); +} + +Object.extend(Event, { + KEY_BACKSPACE: 8, + KEY_TAB: 9, + KEY_RETURN: 13, + KEY_ESC: 27, + KEY_LEFT: 37, + KEY_UP: 38, + KEY_RIGHT: 39, + KEY_DOWN: 40, + KEY_DELETE: 46, + + element: function(event) { + return event.target || event.srcElement; + }, + + isLeftClick: function(event) { + return (((event.which) && (event.which == 1)) || + ((event.button) && (event.button == 1))); + }, + + pointerX: function(event) { + return event.pageX || (event.clientX + + (document.documentElement.scrollLeft || document.body.scrollLeft)); + }, + + pointerY: function(event) { + return event.pageY || (event.clientY + + (document.documentElement.scrollTop || document.body.scrollTop)); + }, + + stop: function(event) { + if (event.preventDefault) { + event.preventDefault(); + event.stopPropagation(); + } else { + event.returnValue = false; + event.cancelBubble = true; + } + }, + + // find the first node with the given tagName, starting from the + // node the event was triggered on; traverses the DOM upwards + findElement: function(event, tagName) { + var element = Event.element(event); + while (element.parentNode && (!element.tagName || + (element.tagName.toUpperCase() != tagName.toUpperCase()))) + element = element.parentNode; + return element; + }, + + observers: false, + + _observeAndCache: function(element, name, observer, useCapture) { + if (!this.observers) this.observers = []; + if (element.addEventListener) { + this.observers.push([element, name, observer, useCapture]); + element.addEventListener(name, observer, useCapture); + } else if (element.attachEvent) { + this.observers.push([element, name, observer, useCapture]); + element.attachEvent('on' + name, observer); + } + }, + + unloadCache: function() { + if (!Event.observers) return; + for (var i = 0; i < Event.observers.length; i++) { + Event.stopObserving.apply(this, Event.observers[i]); + Event.observers[i][0] = null; + } + Event.observers = false; + }, + + observe: function(element, name, observer, useCapture) { + var element = $(element); + useCapture = useCapture || false; + + if (name == 'keypress' && + (navigator.appVersion.match(/Konqueror|Safari|KHTML/) + || element.attachEvent)) + name = 'keydown'; + + this._observeAndCache(element, name, observer, useCapture); + }, + + stopObserving: function(element, name, observer, useCapture) { + var element = $(element); + useCapture = useCapture || false; + + if (name == 'keypress' && + (navigator.appVersion.match(/Konqueror|Safari|KHTML/) + || element.detachEvent)) + name = 'keydown'; + + if (element.removeEventListener) { + element.removeEventListener(name, observer, useCapture); + } else if (element.detachEvent) { + element.detachEvent('on' + name, observer); + } + } +}); + +/* prevent memory leaks in IE */ +Event.observe(window, 'unload', Event.unloadCache, false); +var Position = { + // set to true if needed, warning: firefox performance problems + // NOT neeeded for page scrolling, only if draggable contained in + // scrollable elements + includeScrollOffsets: false, + + // must be called before calling withinIncludingScrolloffset, every time the + // page is scrolled + prepare: function() { + this.deltaX = window.pageXOffset + || document.documentElement.scrollLeft + || document.body.scrollLeft + || 0; + this.deltaY = window.pageYOffset + || document.documentElement.scrollTop + || document.body.scrollTop + || 0; + }, + + realOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.scrollTop || 0; + valueL += element.scrollLeft || 0; + element = element.parentNode; + } while (element); + return [valueL, valueT]; + }, + + cumulativeOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + } while (element); + return [valueL, valueT]; + }, + + positionedOffset: function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + element = element.offsetParent; + if (element) { + p = Element.getStyle(element, 'position'); + if (p == 'relative' || p == 'absolute') break; + } + } while (element); + return [valueL, valueT]; + }, + + offsetParent: function(element) { + if (element.offsetParent) return element.offsetParent; + if (element == document.body) return element; + + while ((element = element.parentNode) && element != document.body) + if (Element.getStyle(element, 'position') != 'static') + return element; + + return document.body; + }, + + // caches x/y coordinate pair to use with overlap + within: function(element, x, y) { + if (this.includeScrollOffsets) + return this.withinIncludingScrolloffsets(element, x, y); + this.xcomp = x; + this.ycomp = y; + this.offset = this.cumulativeOffset(element); + + return (y >= this.offset[1] && + y < this.offset[1] + element.offsetHeight && + x >= this.offset[0] && + x < this.offset[0] + element.offsetWidth); + }, + + withinIncludingScrolloffsets: function(element, x, y) { + var offsetcache = this.realOffset(element); + + this.xcomp = x + offsetcache[0] - this.deltaX; + this.ycomp = y + offsetcache[1] - this.deltaY; + this.offset = this.cumulativeOffset(element); + + return (this.ycomp >= this.offset[1] && + this.ycomp < this.offset[1] + element.offsetHeight && + this.xcomp >= this.offset[0] && + this.xcomp < this.offset[0] + element.offsetWidth); + }, + + // within must be called directly before + overlap: function(mode, element) { + if (!mode) return 0; + if (mode == 'vertical') + return ((this.offset[1] + element.offsetHeight) - this.ycomp) / + element.offsetHeight; + if (mode == 'horizontal') + return ((this.offset[0] + element.offsetWidth) - this.xcomp) / + element.offsetWidth; + }, + + clone: function(source, target) { + source = $(source); + target = $(target); + target.style.position = 'absolute'; + var offsets = this.cumulativeOffset(source); + target.style.top = offsets[1] + 'px'; + target.style.left = offsets[0] + 'px'; + target.style.width = source.offsetWidth + 'px'; + target.style.height = source.offsetHeight + 'px'; + }, + + page: function(forElement) { + var valueT = 0, valueL = 0; + + var element = forElement; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + + // Safari fix + if (element.offsetParent==document.body) + if (Element.getStyle(element,'position')=='absolute') break; + + } while (element = element.offsetParent); + + element = forElement; + do { + valueT -= element.scrollTop || 0; + valueL -= element.scrollLeft || 0; + } while (element = element.parentNode); + + return [valueL, valueT]; + }, + + clone: function(source, target) { + var options = Object.extend({ + setLeft: true, + setTop: true, + setWidth: true, + setHeight: true, + offsetTop: 0, + offsetLeft: 0 + }, arguments[2] || {}) + + // find page position of source + source = $(source); + var p = Position.page(source); + + // find coordinate system to use + target = $(target); + var delta = [0, 0]; + var parent = null; + // delta [0,0] will do fine with position: fixed elements, + // position:absolute needs offsetParent deltas + if (Element.getStyle(target,'position') == 'absolute') { + parent = Position.offsetParent(target); + delta = Position.page(parent); + } + + // correct by body offsets (fixes Safari) + if (parent == document.body) { + delta[0] -= document.body.offsetLeft; + delta[1] -= document.body.offsetTop; + } + + // set position + if(options.setLeft) target.style.left = (p[0] - delta[0] + options.offsetLeft) + 'px'; + if(options.setTop) target.style.top = (p[1] - delta[1] + options.offsetTop) + 'px'; + if(options.setWidth) target.style.width = source.offsetWidth + 'px'; + if(options.setHeight) target.style.height = source.offsetHeight + 'px'; + }, + + absolutize: function(element) { + element = $(element); + if (element.style.position == 'absolute') return; + Position.prepare(); + + var offsets = Position.positionedOffset(element); + var top = offsets[1]; + var left = offsets[0]; + var width = element.clientWidth; + var height = element.clientHeight; + + element._originalLeft = left - parseFloat(element.style.left || 0); + element._originalTop = top - parseFloat(element.style.top || 0); + element._originalWidth = element.style.width; + element._originalHeight = element.style.height; + + element.style.position = 'absolute'; + element.style.top = top + 'px';; + element.style.left = left + 'px';; + element.style.width = width + 'px';; + element.style.height = height + 'px';; + }, + + relativize: function(element) { + element = $(element); + if (element.style.position == 'relative') return; + Position.prepare(); + + element.style.position = 'relative'; + var top = parseFloat(element.style.top || 0) - (element._originalTop || 0); + var left = parseFloat(element.style.left || 0) - (element._originalLeft || 0); + + element.style.top = top + 'px'; + element.style.left = left + 'px'; + element.style.height = element._originalHeight; + element.style.width = element._originalWidth; + } +} + +// Safari returns margins on body which is incorrect if the child is absolutely +// positioned. For performance reasons, redefine Position.cumulativeOffset for +// KHTML/WebKit only. +if (/Konqueror|Safari|KHTML/.test(navigator.userAgent)) { + Position.cumulativeOffset = function(element) { + var valueT = 0, valueL = 0; + do { + valueT += element.offsetTop || 0; + valueL += element.offsetLeft || 0; + if (element.offsetParent == document.body) + if (Element.getStyle(element, 'position') == 'absolute') break; + + element = element.offsetParent; + } while (element); + + return [valueL, valueT]; + } +} \ No newline at end of file Property changes on: releases/1.0.0-B1/inc/lbox/prototype.js ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Index: releases/1.0.0-B1/inc/lbox/lightbox.css =================================================================== --- releases/1.0.0-B1/inc/lbox/lightbox.css (nonexistent) +++ releases/1.0.0-B1/inc/lbox/lightbox.css (revision 12990) @@ -0,0 +1,79 @@ +#lightbox{ + position: absolute; + left: 0; + width: 100%; + z-index: 100; + text-align: center; + line-height: 0; + } + +#lightbox a img{ border: none; } + +#outerImageContainer{ + position: relative; + background-color: #fff; + width: 250px; + height: 250px; + margin: 0 auto; + } + +#imageContainer{ + padding: 10px; + } + +#loading{ + position: absolute; + top: 40%; + left: 0%; + height: 25%; + width: 100%; + text-align: center; + line-height: 0; + } +#hoverNav{ + position: absolute; + top: 0; + left: 0; + height: 100%; + width: 100%; + z-index: 10; + } +#imageContainer>#hoverNav{ left: 0;} +#hoverNav a{ outline: none;} + +#prevLink, #nextLink{ + width: 49%; + height: 100%; + background: transparent url(../../img/s.gif) no-repeat; /* Trick IE into showing hover */ + display: block; + } +#prevLink { left: 0; float: left;} +#nextLink { right: 0; float: right;} +#prevLink:hover, #prevLink:visited:hover { background: url(../../img/lbox/prevlabel.gif) left 15% no-repeat; } +#nextLink:hover, #nextLink:visited:hover { background: url(../../img/lbox/nextlabel.gif) right 15% no-repeat; } + + +#imageDataContainer{ + font: 10px Verdana, Helvetica, sans-serif; + background-color: #fff; + margin: 0 auto; + line-height: 1.4em; + overflow: auto; + width: 100% + } + +#imageData{ padding:0 10px; color: #666; } +#imageData #imageDetails{ width: 70%; float: left; text-align: left; } +#imageData #caption{ font-weight: bold; } +#imageData #numberDisplay{ display: block; clear: left; padding-bottom: 1.0em; } +#imageData #bottomNavClose{ width: 66px; float: right; padding-bottom: 0.7em; } + +#overlay{ + position: absolute; + top: 0; + left: 0; + z-index: 90; + width: 100%; + height: 500px; + background-color: #000; + } \ No newline at end of file Property changes on: releases/1.0.0-B1/inc/lbox/lightbox.css ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Index: releases/1.0.0-B1/inc/lbox/effects.js =================================================================== --- releases/1.0.0-B1/inc/lbox/effects.js (nonexistent) +++ releases/1.0.0-B1/inc/lbox/effects.js (revision 12990) @@ -0,0 +1,903 @@ +// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) +// Contributors: +// Justin Palmer (http://encytemedia.com/) +// Mark Pilgrim (http://diveintomark.org/) +// Martin Bialasinki +// +// See scriptaculous.js for full license. + +/* ------------- element ext -------------- */ + +// converts rgb() and #xxx to #xxxxxx format, +// returns self (or first argument) if not convertable +String.prototype.parseColor = function() { + var color = '#'; + if(this.slice(0,4) == 'rgb(') { + var cols = this.slice(4,this.length-1).split(','); + var i=0; do { color += parseInt(cols[i]).toColorPart() } while (++i<3); + } else { + if(this.slice(0,1) == '#') { + if(this.length==4) for(var i=1;i<4;i++) color += (this.charAt(i) + this.charAt(i)).toLowerCase(); + if(this.length==7) color = this.toLowerCase(); + } + } + return(color.length==7 ? color : (arguments[0] || this)); +} + +Element.collectTextNodes = function(element) { + return $A($(element).childNodes).collect( function(node) { + return (node.nodeType==3 ? node.nodeValue : + (node.hasChildNodes() ? Element.collectTextNodes(node) : '')); + }).flatten().join(''); +} + +Element.collectTextNodesIgnoreClass = function(element, className) { + return $A($(element).childNodes).collect( function(node) { + return (node.nodeType==3 ? node.nodeValue : + ((node.hasChildNodes() && !Element.hasClassName(node,className)) ? + Element.collectTextNodes(node) : '')); + }).flatten().join(''); +} + +Element.setStyle = function(element, style) { + element = $(element); + for(k in style) element.style[k.camelize()] = style[k]; +} + +Element.setContentZoom = function(element, percent) { + Element.setStyle(element, {fontSize: (percent/100) + 'em'}); + if(navigator.appVersion.indexOf('AppleWebKit')>0) window.scrollBy(0,0); +} + +Element.getOpacity = function(element){ + var opacity; + if (opacity = Element.getStyle(element, 'opacity')) + return parseFloat(opacity); + if (opacity = (Element.getStyle(element, 'filter') || '').match(/alpha\(opacity=(.*)\)/)) + if(opacity[1]) return parseFloat(opacity[1]) / 100; + return 1.0; +} + +Element.setOpacity = function(element, value){ + element= $(element); + if (value == 1){ + Element.setStyle(element, { opacity: + (/Gecko/.test(navigator.userAgent) && !/Konqueror|Safari|KHTML/.test(navigator.userAgent)) ? + 0.999999 : null }); + if(/MSIE/.test(navigator.userAgent)) + Element.setStyle(element, {filter: Element.getStyle(element,'filter').replace(/alpha\([^\)]*\)/gi,'')}); + } else { + if(value < 0.00001) value = 0; + Element.setStyle(element, {opacity: value}); + if(/MSIE/.test(navigator.userAgent)) + Element.setStyle(element, + { filter: Element.getStyle(element,'filter').replace(/alpha\([^\)]*\)/gi,'') + + 'alpha(opacity='+value*100+')' }); + } +} + +Element.getInlineOpacity = function(element){ + return $(element).style.opacity || ''; +} + +Element.childrenWithClassName = function(element, className) { + return $A($(element).getElementsByTagName('*')).select( + function(c) { return Element.hasClassName(c, className) }); +} + +Array.prototype.call = function() { + var args = arguments; + this.each(function(f){ f.apply(this, args) }); +} + +/*--------------------------------------------------------------------------*/ + +var Effect = { + tagifyText: function(element) { + var tagifyStyle = 'position:relative'; + if(/MSIE/.test(navigator.userAgent)) tagifyStyle += ';zoom:1'; + element = $(element); + $A(element.childNodes).each( function(child) { + if(child.nodeType==3) { + child.nodeValue.toArray().each( function(character) { + element.insertBefore( + Builder.node('span',{style: tagifyStyle}, + character == ' ' ? String.fromCharCode(160) : character), + child); + }); + Element.remove(child); + } + }); + }, + multiple: function(element, effect) { + var elements; + if(((typeof element == 'object') || + (typeof element == 'function')) && + (element.length)) + elements = element; + else + elements = $(element).childNodes; + + var options = Object.extend({ + speed: 0.1, + delay: 0.0 + }, arguments[2] || {}); + var masterDelay = options.delay; + + $A(elements).each( function(element, index) { + new effect(element, Object.extend(options, { delay: index * options.speed + masterDelay })); + }); + }, + PAIRS: { + 'slide': ['SlideDown','SlideUp'], + 'blind': ['BlindDown','BlindUp'], + 'appear': ['Appear','Fade'] + }, + toggle: function(element, effect) { + element = $(element); + effect = (effect || 'appear').toLowerCase(); + var options = Object.extend({ + queue: { position:'end', scope:(element.id || 'global') } + }, arguments[2] || {}); + Effect[Element.visible(element) ? + Effect.PAIRS[effect][1] : Effect.PAIRS[effect][0]](element, options); + } +}; + +var Effect2 = Effect; // deprecated + +/* ------------- transitions ------------- */ + +Effect.Transitions = {} + +Effect.Transitions.linear = function(pos) { + return pos; +} +Effect.Transitions.sinoidal = function(pos) { + return (-Math.cos(pos*Math.PI)/2) + 0.5; +} +Effect.Transitions.reverse = function(pos) { + return 1-pos; +} +Effect.Transitions.flicker = function(pos) { + return ((-Math.cos(pos*Math.PI)/4) + 0.75) + Math.random()/4; +} +Effect.Transitions.wobble = function(pos) { + return (-Math.cos(pos*Math.PI*(9*pos))/2) + 0.5; +} +Effect.Transitions.pulse = function(pos) { + return (Math.floor(pos*10) % 2 == 0 ? + (pos*10-Math.floor(pos*10)) : 1-(pos*10-Math.floor(pos*10))); +} +Effect.Transitions.none = function(pos) { + return 0; +} +Effect.Transitions.full = function(pos) { + return 1; +} + +/* ------------- core effects ------------- */ + +Effect.ScopedQueue = Class.create(); +Object.extend(Object.extend(Effect.ScopedQueue.prototype, Enumerable), { + initialize: function() { + this.effects = []; + this.interval = null; + }, + _each: function(iterator) { + this.effects._each(iterator); + }, + add: function(effect) { + var timestamp = new Date().getTime(); + + var position = (typeof effect.options.queue == 'string') ? + effect.options.queue : effect.options.queue.position; + + switch(position) { + case 'front': + // move unstarted effects after this effect + this.effects.findAll(function(e){ return e.state=='idle' }).each( function(e) { + e.startOn += effect.finishOn; + e.finishOn += effect.finishOn; + }); + break; + case 'end': + // start effect after last queued effect has finished + timestamp = this.effects.pluck('finishOn').max() || timestamp; + break; + } + + effect.startOn += timestamp; + effect.finishOn += timestamp; + this.effects.push(effect); + if(!this.interval) + this.interval = setInterval(this.loop.bind(this), 40); + }, + remove: function(effect) { + this.effects = this.effects.reject(function(e) { return e==effect }); + if(this.effects.length == 0) { + clearInterval(this.interval); + this.interval = null; + } + }, + loop: function() { + var timePos = new Date().getTime(); + this.effects.invoke('loop', timePos); + } +}); + +Effect.Queues = { + instances: $H(), + get: function(queueName) { + if(typeof queueName != 'string') return queueName; + + if(!this.instances[queueName]) + this.instances[queueName] = new Effect.ScopedQueue(); + + return this.instances[queueName]; + } +} +Effect.Queue = Effect.Queues.get('global'); + +Effect.DefaultOptions = { + transition: Effect.Transitions.sinoidal, + duration: 1.0, // seconds + fps: 25.0, // max. 25fps due to Effect.Queue implementation + sync: false, // true for combining + from: 0.0, + to: 1.0, + delay: 0.0, + queue: 'parallel' +} + +Effect.Base = function() {}; +Effect.Base.prototype = { + position: null, + start: function(options) { + this.options = Object.extend(Object.extend({},Effect.DefaultOptions), options || {}); + this.currentFrame = 0; + this.state = 'idle'; + this.startOn = this.options.delay*1000; + this.finishOn = this.startOn + (this.options.duration*1000); + this.event('beforeStart'); + if(!this.options.sync) + Effect.Queues.get(typeof this.options.queue == 'string' ? + 'global' : this.options.queue.scope).add(this); + }, + loop: function(timePos) { + if(timePos >= this.startOn) { + if(timePos >= this.finishOn) { + this.render(1.0); + this.cancel(); + this.event('beforeFinish'); + if(this.finish) this.finish(); + this.event('afterFinish'); + return; + } + var pos = (timePos - this.startOn) / (this.finishOn - this.startOn); + var frame = Math.round(pos * this.options.fps * this.options.duration); + if(frame > this.currentFrame) { + this.render(pos); + this.currentFrame = frame; + } + } + }, + render: function(pos) { + if(this.state == 'idle') { + this.state = 'running'; + this.event('beforeSetup'); + if(this.setup) this.setup(); + this.event('afterSetup'); + } + if(this.state == 'running') { + if(this.options.transition) pos = this.options.transition(pos); + pos *= (this.options.to-this.options.from); + pos += this.options.from; + this.position = pos; + this.event('beforeUpdate'); + if(this.update) this.update(pos); + this.event('afterUpdate'); + } + }, + cancel: function() { + if(!this.options.sync) + Effect.Queues.get(typeof this.options.queue == 'string' ? + 'global' : this.options.queue.scope).remove(this); + this.state = 'finished'; + }, + event: function(eventName) { + if(this.options[eventName + 'Internal']) this.options[eventName + 'Internal'](this); + if(this.options[eventName]) this.options[eventName](this); + }, + inspect: function() { + return '#<Effect:' + $H(this).inspect() + ',options:' + $H(this.options).inspect() + '>'; + } +} + +Effect.Parallel = Class.create(); +Object.extend(Object.extend(Effect.Parallel.prototype, Effect.Base.prototype), { + initialize: function(effects) { + this.effects = effects || []; + this.start(arguments[1]); + }, + update: function(position) { + this.effects.invoke('render', position); + }, + finish: function(position) { + this.effects.each( function(effect) { + effect.render(1.0); + effect.cancel(); + effect.event('beforeFinish'); + if(effect.finish) effect.finish(position); + effect.event('afterFinish'); + }); + } +}); + +Effect.Opacity = Class.create(); +Object.extend(Object.extend(Effect.Opacity.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + // make this work on IE on elements without 'layout' + if(/MSIE/.test(navigator.userAgent) && (!this.element.hasLayout)) + Element.setStyle(this.element, {zoom: 1}); + var options = Object.extend({ + from: Element.getOpacity(this.element) || 0.0, + to: 1.0 + }, arguments[1] || {}); + this.start(options); + }, + update: function(position) { + Element.setOpacity(this.element, position); + } +}); + +Effect.Move = Class.create(); +Object.extend(Object.extend(Effect.Move.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + var options = Object.extend({ + x: 0, + y: 0, + mode: 'relative' + }, arguments[1] || {}); + this.start(options); + }, + setup: function() { + // Bug in Opera: Opera returns the "real" position of a static element or + // relative element that does not have top/left explicitly set. + // ==> Always set top and left for position relative elements in your stylesheets + // (to 0 if you do not need them) + Element.makePositioned(this.element); + this.originalLeft = parseFloat(Element.getStyle(this.element,'left') || '0'); + this.originalTop = parseFloat(Element.getStyle(this.element,'top') || '0'); + if(this.options.mode == 'absolute') { + // absolute movement, so we need to calc deltaX and deltaY + this.options.x = this.options.x - this.originalLeft; + this.options.y = this.options.y - this.originalTop; + } + }, + update: function(position) { + Element.setStyle(this.element, { + left: this.options.x * position + this.originalLeft + 'px', + top: this.options.y * position + this.originalTop + 'px' + }); + } +}); + +// for backwards compatibility +Effect.MoveBy = function(element, toTop, toLeft) { + return new Effect.Move(element, + Object.extend({ x: toLeft, y: toTop }, arguments[3] || {})); +}; + +Effect.Scale = Class.create(); +Object.extend(Object.extend(Effect.Scale.prototype, Effect.Base.prototype), { + initialize: function(element, percent) { + this.element = $(element) + var options = Object.extend({ + scaleX: true, + scaleY: true, + scaleContent: true, + scaleFromCenter: false, + scaleMode: 'box', // 'box' or 'contents' or {} with provided values + scaleFrom: 100.0, + scaleTo: percent + }, arguments[2] || {}); + this.start(options); + }, + setup: function() { + this.restoreAfterFinish = this.options.restoreAfterFinish || false; + this.elementPositioning = Element.getStyle(this.element,'position'); + + this.originalStyle = {}; + ['top','left','width','height','fontSize'].each( function(k) { + this.originalStyle[k] = this.element.style[k]; + }.bind(this)); + + this.originalTop = this.element.offsetTop; + this.originalLeft = this.element.offsetLeft; + + var fontSize = Element.getStyle(this.element,'font-size') || '100%'; + ['em','px','%'].each( function(fontSizeType) { + if(fontSize.indexOf(fontSizeType)>0) { + this.fontSize = parseFloat(fontSize); + this.fontSizeType = fontSizeType; + } + }.bind(this)); + + this.factor = (this.options.scaleTo - this.options.scaleFrom)/100; + + this.dims = null; + if(this.options.scaleMode=='box') + this.dims = [this.element.offsetHeight, this.element.offsetWidth]; + if(/^content/.test(this.options.scaleMode)) + this.dims = [this.element.scrollHeight, this.element.scrollWidth]; + if(!this.dims) + this.dims = [this.options.scaleMode.originalHeight, + this.options.scaleMode.originalWidth]; + }, + update: function(position) { + var currentScale = (this.options.scaleFrom/100.0) + (this.factor * position); + if(this.options.scaleContent && this.fontSize) + Element.setStyle(this.element, {fontSize: this.fontSize * currentScale + this.fontSizeType }); + this.setDimensions(this.dims[0] * currentScale, this.dims[1] * currentScale); + }, + finish: function(position) { + if (this.restoreAfterFinish) Element.setStyle(this.element, this.originalStyle); + }, + setDimensions: function(height, width) { + var d = {}; + if(this.options.scaleX) d.width = width + 'px'; + if(this.options.scaleY) d.height = height + 'px'; + if(this.options.scaleFromCenter) { + var topd = (height - this.dims[0])/2; + var leftd = (width - this.dims[1])/2; + if(this.elementPositioning == 'absolute') { + if(this.options.scaleY) d.top = this.originalTop-topd + 'px'; + if(this.options.scaleX) d.left = this.originalLeft-leftd + 'px'; + } else { + if(this.options.scaleY) d.top = -topd + 'px'; + if(this.options.scaleX) d.left = -leftd + 'px'; + } + } + Element.setStyle(this.element, d); + } +}); + +Effect.Highlight = Class.create(); +Object.extend(Object.extend(Effect.Highlight.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + var options = Object.extend({ startcolor: '#ffff99' }, arguments[1] || {}); + this.start(options); + }, + setup: function() { + // Prevent executing on elements not in the layout flow + if(Element.getStyle(this.element, 'display')=='none') { this.cancel(); return; } + // Disable background image during the effect + this.oldStyle = { + backgroundImage: Element.getStyle(this.element, 'background-image') }; + Element.setStyle(this.element, {backgroundImage: 'none'}); + if(!this.options.endcolor) + this.options.endcolor = Element.getStyle(this.element, 'background-color').parseColor('#ffffff'); + if(!this.options.restorecolor) + this.options.restorecolor = Element.getStyle(this.element, 'background-color'); + // init color calculations + this._base = $R(0,2).map(function(i){ return parseInt(this.options.startcolor.slice(i*2+1,i*2+3),16) }.bind(this)); + this._delta = $R(0,2).map(function(i){ return parseInt(this.options.endcolor.slice(i*2+1,i*2+3),16)-this._base[i] }.bind(this)); + }, + update: function(position) { + Element.setStyle(this.element,{backgroundColor: $R(0,2).inject('#',function(m,v,i){ + return m+(Math.round(this._base[i]+(this._delta[i]*position)).toColorPart()); }.bind(this)) }); + }, + finish: function() { + Element.setStyle(this.element, Object.extend(this.oldStyle, { + backgroundColor: this.options.restorecolor + })); + } +}); + +Effect.ScrollTo = Class.create(); +Object.extend(Object.extend(Effect.ScrollTo.prototype, Effect.Base.prototype), { + initialize: function(element) { + this.element = $(element); + this.start(arguments[1] || {}); + }, + setup: function() { + Position.prepare(); + var offsets = Position.cumulativeOffset(this.element); + if(this.options.offset) offsets[1] += this.options.offset; + var max = window.innerHeight ? + window.height - window.innerHeight : + document.body.scrollHeight - + (document.documentElement.clientHeight ? + document.documentElement.clientHeight : document.body.clientHeight); + this.scrollStart = Position.deltaY; + this.delta = (offsets[1] > max ? max : offsets[1]) - this.scrollStart; + }, + update: function(position) { + Position.prepare(); + window.scrollTo(Position.deltaX, + this.scrollStart + (position*this.delta)); + } +}); + +/* ------------- combination effects ------------- */ + +Effect.Fade = function(element) { + var oldOpacity = Element.getInlineOpacity(element); + var options = Object.extend({ + from: Element.getOpacity(element) || 1.0, + to: 0.0, + afterFinishInternal: function(effect) { with(Element) { + if(effect.options.to!=0) return; + hide(effect.element); + setStyle(effect.element, {opacity: oldOpacity}); }} + }, arguments[1] || {}); + return new Effect.Opacity(element,options); +} + +Effect.Appear = function(element) { + var options = Object.extend({ + from: (Element.getStyle(element, 'display') == 'none' ? 0.0 : Element.getOpacity(element) || 0.0), + to: 1.0, + beforeSetup: function(effect) { with(Element) { + setOpacity(effect.element, effect.options.from); + show(effect.element); }} + }, arguments[1] || {}); + return new Effect.Opacity(element,options); +} + +Effect.Puff = function(element) { + element = $(element); + var oldStyle = { opacity: Element.getInlineOpacity(element), position: Element.getStyle(element, 'position') }; + return new Effect.Parallel( + [ new Effect.Scale(element, 200, + { sync: true, scaleFromCenter: true, scaleContent: true, restoreAfterFinish: true }), + new Effect.Opacity(element, { sync: true, to: 0.0 } ) ], + Object.extend({ duration: 1.0, + beforeSetupInternal: function(effect) { with(Element) { + setStyle(effect.effects[0].element, {position: 'absolute'}); }}, + afterFinishInternal: function(effect) { with(Element) { + hide(effect.effects[0].element); + setStyle(effect.effects[0].element, oldStyle); }} + }, arguments[1] || {}) + ); +} + +Effect.BlindUp = function(element) { + element = $(element); + Element.makeClipping(element); + return new Effect.Scale(element, 0, + Object.extend({ scaleContent: false, + scaleX: false, + restoreAfterFinish: true, + afterFinishInternal: function(effect) { with(Element) { + [hide, undoClipping].call(effect.element); }} + }, arguments[1] || {}) + ); +} + +Effect.BlindDown = function(element) { + element = $(element); + var oldHeight = Element.getStyle(element, 'height'); + var elementDimensions = Element.getDimensions(element); + return new Effect.Scale(element, 100, + Object.extend({ scaleContent: false, + scaleX: false, + scaleFrom: 0, + scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, + restoreAfterFinish: true, + afterSetup: function(effect) { with(Element) { + makeClipping(effect.element); + setStyle(effect.element, {height: '0px'}); + show(effect.element); + }}, + afterFinishInternal: function(effect) { with(Element) { + undoClipping(effect.element); + setStyle(effect.element, {height: oldHeight}); + }} + }, arguments[1] || {}) + ); +} + +Effect.SwitchOff = function(element) { + element = $(element); + var oldOpacity = Element.getInlineOpacity(element); + return new Effect.Appear(element, { + duration: 0.4, + from: 0, + transition: Effect.Transitions.flicker, + afterFinishInternal: function(effect) { + new Effect.Scale(effect.element, 1, { + duration: 0.3, scaleFromCenter: true, + scaleX: false, scaleContent: false, restoreAfterFinish: true, + beforeSetup: function(effect) { with(Element) { + [makePositioned,makeClipping].call(effect.element); + }}, + afterFinishInternal: function(effect) { with(Element) { + [hide,undoClipping,undoPositioned].call(effect.element); + setStyle(effect.element, {opacity: oldOpacity}); + }} + }) + } + }); +} + +Effect.DropOut = function(element) { + element = $(element); + var oldStyle = { + top: Element.getStyle(element, 'top'), + left: Element.getStyle(element, 'left'), + opacity: Element.getInlineOpacity(element) }; + return new Effect.Parallel( + [ new Effect.Move(element, {x: 0, y: 100, sync: true }), + new Effect.Opacity(element, { sync: true, to: 0.0 }) ], + Object.extend( + { duration: 0.5, + beforeSetup: function(effect) { with(Element) { + makePositioned(effect.effects[0].element); }}, + afterFinishInternal: function(effect) { with(Element) { + [hide, undoPositioned].call(effect.effects[0].element); + setStyle(effect.effects[0].element, oldStyle); }} + }, arguments[1] || {})); +} + +Effect.Shake = function(element) { + element = $(element); + var oldStyle = { + top: Element.getStyle(element, 'top'), + left: Element.getStyle(element, 'left') }; + return new Effect.Move(element, + { x: 20, y: 0, duration: 0.05, afterFinishInternal: function(effect) { + new Effect.Move(effect.element, + { x: -40, y: 0, duration: 0.1, afterFinishInternal: function(effect) { + new Effect.Move(effect.element, + { x: 40, y: 0, duration: 0.1, afterFinishInternal: function(effect) { + new Effect.Move(effect.element, + { x: -40, y: 0, duration: 0.1, afterFinishInternal: function(effect) { + new Effect.Move(effect.element, + { x: 40, y: 0, duration: 0.1, afterFinishInternal: function(effect) { + new Effect.Move(effect.element, + { x: -20, y: 0, duration: 0.05, afterFinishInternal: function(effect) { with(Element) { + undoPositioned(effect.element); + setStyle(effect.element, oldStyle); + }}}) }}) }}) }}) }}) }}); +} + +Effect.SlideDown = function(element) { + element = $(element); + Element.cleanWhitespace(element); + // SlideDown need to have the content of the element wrapped in a container element with fixed height! + var oldInnerBottom = Element.getStyle(element.firstChild, 'bottom'); + var elementDimensions = Element.getDimensions(element); + return new Effect.Scale(element, 100, Object.extend({ + scaleContent: false, + scaleX: false, + scaleFrom: 0, + scaleMode: {originalHeight: elementDimensions.height, originalWidth: elementDimensions.width}, + restoreAfterFinish: true, + afterSetup: function(effect) { with(Element) { + makePositioned(effect.element); + makePositioned(effect.element.firstChild); + if(window.opera) setStyle(effect.element, {top: ''}); + makeClipping(effect.element); + setStyle(effect.element, {height: '0px'}); + show(element); }}, + afterUpdateInternal: function(effect) { with(Element) { + setStyle(effect.element.firstChild, {bottom: + (effect.dims[0] - effect.element.clientHeight) + 'px' }); }}, + afterFinishInternal: function(effect) { with(Element) { + undoClipping(effect.element); + undoPositioned(effect.element.firstChild); + undoPositioned(effect.element); + setStyle(effect.element.firstChild, {bottom: oldInnerBottom}); }} + }, arguments[1] || {}) + ); +} + +Effect.SlideUp = function(element) { + element = $(element); + Element.cleanWhitespace(element); + var oldInnerBottom = Element.getStyle(element.firstChild, 'bottom'); + return new Effect.Scale(element, 0, + Object.extend({ scaleContent: false, + scaleX: false, + scaleMode: 'box', + scaleFrom: 100, + restoreAfterFinish: true, + beforeStartInternal: function(effect) { with(Element) { + makePositioned(effect.element); + makePositioned(effect.element.firstChild); + if(window.opera) setStyle(effect.element, {top: ''}); + makeClipping(effect.element); + show(element); }}, + afterUpdateInternal: function(effect) { with(Element) { + setStyle(effect.element.firstChild, {bottom: + (effect.dims[0] - effect.element.clientHeight) + 'px' }); }}, + afterFinishInternal: function(effect) { with(Element) { + [hide, undoClipping].call(effect.element); + undoPositioned(effect.element.firstChild); + undoPositioned(effect.element); + setStyle(effect.element.firstChild, {bottom: oldInnerBottom}); }} + }, arguments[1] || {}) + ); +} + +// Bug in opera makes the TD containing this element expand for a instance after finish +Effect.Squish = function(element) { + return new Effect.Scale(element, window.opera ? 1 : 0, + { restoreAfterFinish: true, + beforeSetup: function(effect) { with(Element) { + makeClipping(effect.element); }}, + afterFinishInternal: function(effect) { with(Element) { + hide(effect.element); + undoClipping(effect.element); }} + }); +} + +Effect.Grow = function(element) { + element = $(element); + var options = Object.extend({ + direction: 'center', + moveTransistion: Effect.Transitions.sinoidal, + scaleTransition: Effect.Transitions.sinoidal, + opacityTransition: Effect.Transitions.full + }, arguments[1] || {}); + var oldStyle = { + top: element.style.top, + left: element.style.left, + height: element.style.height, + width: element.style.width, + opacity: Element.getInlineOpacity(element) }; + + var dims = Element.getDimensions(element); + var initialMoveX, initialMoveY; + var moveX, moveY; + + switch (options.direction) { + case 'top-left': + initialMoveX = initialMoveY = moveX = moveY = 0; + break; + case 'top-right': + initialMoveX = dims.width; + initialMoveY = moveY = 0; + moveX = -dims.width; + break; + case 'bottom-left': + initialMoveX = moveX = 0; + initialMoveY = dims.height; + moveY = -dims.height; + break; + case 'bottom-right': + initialMoveX = dims.width; + initialMoveY = dims.height; + moveX = -dims.width; + moveY = -dims.height; + break; + case 'center': + initialMoveX = dims.width / 2; + initialMoveY = dims.height / 2; + moveX = -dims.width / 2; + moveY = -dims.height / 2; + break; + } + + return new Effect.Move(element, { + x: initialMoveX, + y: initialMoveY, + duration: 0.01, + beforeSetup: function(effect) { with(Element) { + hide(effect.element); + makeClipping(effect.element); + makePositioned(effect.element); + }}, + afterFinishInternal: function(effect) { + new Effect.Parallel( + [ new Effect.Opacity(effect.element, { sync: true, to: 1.0, from: 0.0, transition: options.opacityTransition }), + new Effect.Move(effect.element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }), + new Effect.Scale(effect.element, 100, { + scaleMode: { originalHeight: dims.height, originalWidth: dims.width }, + sync: true, scaleFrom: window.opera ? 1 : 0, transition: options.scaleTransition, restoreAfterFinish: true}) + ], Object.extend({ + beforeSetup: function(effect) { with(Element) { + setStyle(effect.effects[0].element, {height: '0px'}); + show(effect.effects[0].element); }}, + afterFinishInternal: function(effect) { with(Element) { + [undoClipping, undoPositioned].call(effect.effects[0].element); + setStyle(effect.effects[0].element, oldStyle); }} + }, options) + ) + } + }); +} + +Effect.Shrink = function(element) { + element = $(element); + var options = Object.extend({ + direction: 'center', + moveTransistion: Effect.Transitions.sinoidal, + scaleTransition: Effect.Transitions.sinoidal, + opacityTransition: Effect.Transitions.none + }, arguments[1] || {}); + var oldStyle = { + top: element.style.top, + left: element.style.left, + height: element.style.height, + width: element.style.width, + opacity: Element.getInlineOpacity(element) }; + + var dims = Element.getDimensions(element); + var moveX, moveY; + + switch (options.direction) { + case 'top-left': + moveX = moveY = 0; + break; + case 'top-right': + moveX = dims.width; + moveY = 0; + break; + case 'bottom-left': + moveX = 0; + moveY = dims.height; + break; + case 'bottom-right': + moveX = dims.width; + moveY = dims.height; + break; + case 'center': + moveX = dims.width / 2; + moveY = dims.height / 2; + break; + } + + return new Effect.Parallel( + [ new Effect.Opacity(element, { sync: true, to: 0.0, from: 1.0, transition: options.opacityTransition }), + new Effect.Scale(element, window.opera ? 1 : 0, { sync: true, transition: options.scaleTransition, restoreAfterFinish: true}), + new Effect.Move(element, { x: moveX, y: moveY, sync: true, transition: options.moveTransition }) + ], Object.extend({ + beforeStartInternal: function(effect) { with(Element) { + [makePositioned, makeClipping].call(effect.effects[0].element) }}, + afterFinishInternal: function(effect) { with(Element) { + [hide, undoClipping, undoPositioned].call(effect.effects[0].element); + setStyle(effect.effects[0].element, oldStyle); }} + }, options) + ); +} + +Effect.Pulsate = function(element) { + element = $(element); + var options = arguments[1] || {}; + var oldOpacity = Element.getInlineOpacity(element); + var transition = options.transition || Effect.Transitions.sinoidal; + var reverser = function(pos){ return transition(1-Effect.Transitions.pulse(pos)) }; + reverser.bind(transition); + return new Effect.Opacity(element, + Object.extend(Object.extend({ duration: 3.0, from: 0, + afterFinishInternal: function(effect) { Element.setStyle(effect.element, {opacity: oldOpacity}); } + }, options), {transition: reverser})); +} + +Effect.Fold = function(element) { + element = $(element); + var oldStyle = { + top: element.style.top, + left: element.style.left, + width: element.style.width, + height: element.style.height }; + Element.makeClipping(element); + return new Effect.Scale(element, 5, Object.extend({ + scaleContent: false, + scaleX: false, + afterFinishInternal: function(effect) { + new Effect.Scale(element, 1, { + scaleContent: false, + scaleY: false, + afterFinishInternal: function(effect) { with(Element) { + [hide, undoClipping].call(effect.element); + setStyle(effect.element, oldStyle); + }} }); + }}, arguments[1] || {})); +} Property changes on: releases/1.0.0-B1/inc/lbox/effects.js ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Index: releases/1.0.0-B1/inc/lbox/lightbox.js =================================================================== --- releases/1.0.0-B1/inc/lbox/lightbox.js (nonexistent) +++ releases/1.0.0-B1/inc/lbox/lightbox.js (revision 12990) @@ -0,0 +1,817 @@ +// ----------------------------------------------------------------------------------- +// +// Lightbox v2.03.3 +// by Lokesh Dhakar - http://www.huddletogether.com +// 5/21/06 +// +// For more information on this script, visit: +// http://huddletogether.com/projects/lightbox2/ +// +// Licensed under the Creative Commons Attribution 2.5 License - http://creativecommons.org/licenses/by/2.5/ +// +// Credit also due to those who have helped, inspired, and made their code available to the public. +// Including: Scott Upton(uptonic.com), Peter-Paul Koch(quirksmode.com), Thomas Fuchs(mir.aculo.us), and others. +// +// +// ----------------------------------------------------------------------------------- +/* + + Table of Contents + ----------------- + Configuration + Global Variables + + Extending Built-in Objects + - Object.extend(Element) + - Array.prototype.removeDuplicates() + - Array.prototype.empty() + + Lightbox Class Declaration + - initialize() + - updateImageList() + - start() + - changeImage() + - resizeImageContainer() + - showImage() + - updateDetails() + - updateNav() + - enableKeyboardNav() + - disableKeyboardNav() + - keyboardAction() + - preloadNeighborImages() + - end() + + Miscellaneous Functions + - getPageScroll() + - getPageSize() + - getKey() + - listenKey() + - showSelectBoxes() + - hideSelectBoxes() + - showFlash() + - hideFlash() + - pause() + - initLightbox() + + Function Calls + - addLoadEvent(initLightbox) + +*/ +// ----------------------------------------------------------------------------------- + +// +// Configuration +// +var fileLoadingImage = inportalBase+'img/lbox/loading.gif'; +var fileBottomNavCloseImage = inportalBase+'img/lbox/closelabel.gif'; + +var overlayOpacity = 0.2; // controls transparency of shadow overlay + +var animate = true; // toggles resizing animations +var resizeSpeed = 7; // controls the speed of the image resizing animations (1=slowest and 10=fastest) + +var borderSize = 10; //if you adjust the padding in the CSS, you will need to update this variable + +// ----------------------------------------------------------------------------------- + +// +// Global Variables +// +var imageArray = new Array; +var activeImage; + +if(animate == true){ + overlayDuration = 0.2; // shadow fade in/out duration + if(resizeSpeed > 10){ resizeSpeed = 10;} + if(resizeSpeed < 1){ resizeSpeed = 1;} + resizeDuration = (11 - resizeSpeed) * 0.15; +} else { + overlayDuration = 0; + resizeDuration = 0; +} + +// ----------------------------------------------------------------------------------- + +// +// Additional methods for Element added by SU, Couloir +// - further additions by Lokesh Dhakar (huddletogether.com) +// +Object.extend(Element, { + getWidth: function(element) { + element = $(element); + return element.offsetWidth; + }, + setWidth: function(element,w) { + element = $(element); + element.style.width = w +"px"; + }, + setHeight: function(element,h) { + element = $(element); + element.style.height = h +"px"; + }, + setTop: function(element,t) { + element = $(element); + element.style.top = t +"px"; + }, + setLeft: function(element,l) { + element = $(element); + element.style.left = l +"px"; + }, + setSrc: function(element,src) { + element = $(element); + element.src = src; + }, + setHref: function(element,href) { + element = $(element); + element.href = href; + }, + setInnerHTML: function(element,content) { + element = $(element); + element.innerHTML = content; + } +}); + +// ----------------------------------------------------------------------------------- + +// +// Extending built-in Array object +// - array.removeDuplicates() +// - array.empty() +// +Array.prototype.removeDuplicates = function () { + for(i = 0; i < this.length; i++){ + for(j = this.length-1; j>i; j--){ + if(this[i][0] == this[j][0]){ + this.splice(j,1); + } + } + } +} + +// ----------------------------------------------------------------------------------- + +Array.prototype.empty = function () { + for(i = 0; i <= this.length; i++){ + this.shift(); + } +} + +// ----------------------------------------------------------------------------------- + +// +// Lightbox Class Declaration +// - initialize() +// - start() +// - changeImage() +// - resizeImageContainer() +// - showImage() +// - updateDetails() +// - updateNav() +// - enableKeyboardNav() +// - disableKeyboardNav() +// - keyboardNavAction() +// - preloadNeighborImages() +// - end() +// +// Structuring of code inspired by Scott Upton (http://www.uptonic.com/) +// +var Lightbox = Class.create(); + +Lightbox.prototype = { + + // initialize() + // Constructor runs on completion of the DOM loading. Calls updateImageList and then + // the function inserts html at the bottom of the page which is used to display the shadow + // overlay and the image container. + // + initialize: function() { + + this.updateImageList(); + + // Code inserts html at the bottom of the page that looks similar to this: + // + // <div id="overlay"></div> + // <div id="lightbox"> + // <div id="outerImageContainer"> + // <div id="imageContainer"> + // <img id="lightboxImage"> + // <div style="" id="hoverNav"> + // <a href="#" id="prevLink"></a> + // <a href="#" id="nextLink"></a> + // </div> + // <div id="loading"> + // <a href="#" id="loadingLink"> + // <img src="images/loading.gif"> + // </a> + // </div> + // </div> + // </div> + // <div id="imageDataContainer"> + // <div id="imageData"> + // <div id="imageDetails"> + // <span id="caption"></span> + // <span id="numberDisplay"></span> + // </div> + // <div id="bottomNav"> + // <a href="#" id="bottomNavClose"> + // <img src="images/close.gif"> + // </a> + // </div> + // </div> + // </div> + // </div> + + + var objBody = document.getElementsByTagName("body").item(0); + + var objOverlay = document.createElement("div"); + objOverlay.setAttribute('id','overlay'); + objOverlay.style.display = 'none'; + objOverlay.onclick = function() { myLightbox.end(); } + objBody.appendChild(objOverlay); + + var objLightbox = document.createElement("div"); + objLightbox.setAttribute('id','lightbox'); + objLightbox.style.display = 'none'; + objLightbox.onclick = function(e) { // close Lightbox is user clicks shadow overlay + if (!e) var e = window.event; + var clickObj = Event.element(e).id; + if ( clickObj == 'lightbox') { + myLightbox.end(); + } + }; + objBody.appendChild(objLightbox); + + var objOuterImageContainer = document.createElement("div"); + objOuterImageContainer.setAttribute('id','outerImageContainer'); + objLightbox.appendChild(objOuterImageContainer); + + // When Lightbox starts it will resize itself from 250 by 250 to the current image dimension. + // If animations are turned off, it will be hidden as to prevent a flicker of a + // white 250 by 250 box. + if(animate){ + Element.setWidth('outerImageContainer', 250); + Element.setHeight('outerImageContainer', 250); + } else { + Element.setWidth('outerImageContainer', 1); + Element.setHeight('outerImageContainer', 1); + } + + var objImageContainer = document.createElement("div"); + objImageContainer.setAttribute('id','imageContainer'); + objOuterImageContainer.appendChild(objImageContainer); + + var objLightboxImage = document.createElement("img"); + objLightboxImage.setAttribute('id','lightboxImage'); + objImageContainer.appendChild(objLightboxImage); + + var objHoverNav = document.createElement("div"); + objHoverNav.setAttribute('id','hoverNav'); + objImageContainer.appendChild(objHoverNav); + + var objPrevLink = document.createElement("a"); + objPrevLink.setAttribute('id','prevLink'); + objPrevLink.setAttribute('href','#'); + objHoverNav.appendChild(objPrevLink); + + var objNextLink = document.createElement("a"); + objNextLink.setAttribute('id','nextLink'); + objNextLink.setAttribute('href','#'); + objHoverNav.appendChild(objNextLink); + + var objLoading = document.createElement("div"); + objLoading.setAttribute('id','loading'); + objImageContainer.appendChild(objLoading); + + var objLoadingLink = document.createElement("a"); + objLoadingLink.setAttribute('id','loadingLink'); + objLoadingLink.setAttribute('href','#'); + objLoadingLink.onclick = function() { myLightbox.end(); return false; } + objLoading.appendChild(objLoadingLink); + + var objLoadingImage = document.createElement("img"); + objLoadingImage.setAttribute('src', fileLoadingImage); + objLoadingLink.appendChild(objLoadingImage); + + var objImageDataContainer = document.createElement("div"); + objImageDataContainer.setAttribute('id','imageDataContainer'); + objLightbox.appendChild(objImageDataContainer); + + var objImageData = document.createElement("div"); + objImageData.setAttribute('id','imageData'); + objImageDataContainer.appendChild(objImageData); + + var objImageDetails = document.createElement("div"); + objImageDetails.setAttribute('id','imageDetails'); + objImageData.appendChild(objImageDetails); + + var objCaption = document.createElement("span"); + objCaption.setAttribute('id','caption'); + objImageDetails.appendChild(objCaption); + + var objNumberDisplay = document.createElement("span"); + objNumberDisplay.setAttribute('id','numberDisplay'); + objImageDetails.appendChild(objNumberDisplay); + + var objBottomNav = document.createElement("div"); + objBottomNav.setAttribute('id','bottomNav'); + objImageData.appendChild(objBottomNav); + + var objBottomNavCloseLink = document.createElement("a"); + objBottomNavCloseLink.setAttribute('id','bottomNavClose'); + objBottomNavCloseLink.setAttribute('href','#'); + objBottomNavCloseLink.onclick = function() { myLightbox.end(); return false; } + objBottomNav.appendChild(objBottomNavCloseLink); + + var objBottomNavCloseImage = document.createElement("img"); + objBottomNavCloseImage.setAttribute('src', fileBottomNavCloseImage); + objBottomNavCloseLink.appendChild(objBottomNavCloseImage); + }, + + + // + // updateImageList() + // Loops through anchor tags looking for 'lightbox' references and applies onclick + // events to appropriate links. You can rerun after dynamically adding images w/ajax. + // + updateImageList: function() { + if (!document.getElementsByTagName){ return; } + var anchors = document.getElementsByTagName('a'); + var areas = document.getElementsByTagName('area'); + + // loop through all anchor tags + for (var i=0; i<anchors.length; i++){ + var anchor = anchors[i]; + + var relAttribute = String(anchor.getAttribute('rel')); + + // use the string.match() method to catch 'lightbox' references in the rel attribute + if (anchor.getAttribute('href') && (relAttribute.toLowerCase().match('lightbox'))){ + anchor.onclick = function () {myLightbox.start(this); return false;} + } + } + + // loop through all area tags + // todo: combine anchor & area tag loops + for (var i=0; i< areas.length; i++){ + var area = areas[i]; + + var relAttribute = String(area.getAttribute('rel')); + + // use the string.match() method to catch 'lightbox' references in the rel attribute + if (area.getAttribute('href') && (relAttribute.toLowerCase().match('lightbox'))){ + area.onclick = function () {myLightbox.start(this); return false;} + } + } + }, + + + // + // start() + // Display overlay and lightbox. If image is part of a set, add siblings to imageArray. + // + start: function(imageLink) { + + hideSelectBoxes(); + hideFlash(); + + // stretch overlay to fill page and fade in + var arrayPageSize = getPageSize(); + Element.setWidth('overlay', arrayPageSize[0]); + Element.setHeight('overlay', arrayPageSize[1]); + + new Effect.Appear('overlay', { duration: overlayDuration, from: 0.0, to: overlayOpacity }); + + imageArray = []; + imageNum = 0; + + if (!document.getElementsByTagName){ return; } + var anchors = document.getElementsByTagName( imageLink.tagName); + + // if image is NOT part of a set.. + if((imageLink.getAttribute('rel') == 'lightbox')){ + // add single image to imageArray + imageArray.push(new Array(imageLink.getAttribute('href'), imageLink.getAttribute('title'))); + } else { + // if image is part of a set.. + + // loop through anchors, find other images in set, and add them to imageArray + for (var i=0; i<anchors.length; i++){ + var anchor = anchors[i]; + if (anchor.getAttribute('href') && (anchor.getAttribute('rel') == imageLink.getAttribute('rel'))){ + imageArray.push(new Array(anchor.getAttribute('href'), anchor.getAttribute('title'))); + } + } + imageArray.removeDuplicates(); + while(imageArray[imageNum][0] != imageLink.getAttribute('href')) { imageNum++;} + } + + // calculate top and left offset for the lightbox + var arrayPageScroll = getPageScroll(); + var lightboxTop = arrayPageScroll[1] + (arrayPageSize[3] / 10); + var lightboxLeft = arrayPageScroll[0]; + Element.setTop('lightbox', lightboxTop); + Element.setLeft('lightbox', lightboxLeft); + + Element.show('lightbox'); + + this.changeImage(imageNum); + }, + + // + // changeImage() + // Hide most elements and preload image in preparation for resizing image container. + // + changeImage: function(imageNum) { + + activeImage = imageNum; // update global var + + // hide elements during transition + if(animate){ Element.show('loading');} + Element.hide('lightboxImage'); + Element.hide('hoverNav'); + Element.hide('prevLink'); + Element.hide('nextLink'); + Element.hide('imageDataContainer'); + Element.hide('numberDisplay'); + + imgPreloader = new Image(); + + // once image is preloaded, resize image container + imgPreloader.onload=function(){ + Element.setSrc('lightboxImage', imageArray[activeImage][0]); + myLightbox.resizeImageContainer(imgPreloader.width, imgPreloader.height); + + imgPreloader.onload=function(){}; // clear onLoad, IE behaves irratically with animated gifs otherwise + } + imgPreloader.src = imageArray[activeImage][0]; + }, + + // + // resizeImageContainer() + // + resizeImageContainer: function( imgWidth, imgHeight) { + + // get curren width and height + this.widthCurrent = Element.getWidth('outerImageContainer'); + this.heightCurrent = Element.getHeight('outerImageContainer'); + + // get new width and height + var widthNew = (imgWidth + (borderSize * 2)); + var heightNew = (imgHeight + (borderSize * 2)); + + // scalars based on change from old to new + this.xScale = ( widthNew / this.widthCurrent) * 100; + this.yScale = ( heightNew / this.heightCurrent) * 100; + + // calculate size difference between new and old image, and resize if necessary + wDiff = this.widthCurrent - widthNew; + hDiff = this.heightCurrent - heightNew; + + if(!( hDiff == 0)){ new Effect.Scale('outerImageContainer', this.yScale, {scaleX: false, duration: resizeDuration, queue: 'front'}); } + if(!( wDiff == 0)){ new Effect.Scale('outerImageContainer', this.xScale, {scaleY: false, delay: resizeDuration, duration: resizeDuration}); } + + // if new and old image are same size and no scaling transition is necessary, + // do a quick pause to prevent image flicker. + if((hDiff == 0) && (wDiff == 0)){ + if (navigator.appVersion.indexOf("MSIE")!=-1){ pause(250); } else { pause(100);} + } + + Element.setHeight('prevLink', imgHeight); + Element.setHeight('nextLink', imgHeight); + Element.setWidth( 'imageDataContainer', widthNew); + + this.showImage(); + }, + + // + // showImage() + // Display image and begin preloading neighbors. + // + showImage: function(){ + Element.hide('loading'); + new Effect.Appear('lightboxImage', { duration: resizeDuration, queue: 'end', afterFinish: function(){ myLightbox.updateDetails(); } }); + this.preloadNeighborImages(); + }, + + // + // updateDetails() + // Display caption, image number, and bottom nav. + // + updateDetails: function() { + + // if caption is not null + if(imageArray[activeImage][1]){ + Element.show('caption'); + Element.setInnerHTML( 'caption', imageArray[activeImage][1]); + } + + // if image is part of set display 'Image x of x' + if(imageArray.length > 1){ + Element.show('numberDisplay'); + Element.setInnerHTML( 'numberDisplay', "Image " + eval(activeImage + 1) + " of " + imageArray.length); + } + + new Effect.Parallel( + [ new Effect.SlideDown( 'imageDataContainer', { sync: true, duration: resizeDuration, from: 0.0, to: 1.0 }), + new Effect.Appear('imageDataContainer', { sync: true, duration: resizeDuration }) ], + { duration: resizeDuration, afterFinish: function() { + // update overlay size and update nav + var arrayPageSize = getPageSize(); + Element.setHeight('overlay', arrayPageSize[1]); + myLightbox.updateNav(); + } + } + ); + }, + + // + // updateNav() + // Display appropriate previous and next hover navigation. + // + updateNav: function() { + + Element.show('hoverNav'); + + // if not first image in set, display prev image button + if(activeImage != 0){ + Element.show('prevLink'); + document.getElementById('prevLink').onclick = function() { + myLightbox.changeImage(activeImage - 1); return false; + } + } + + // if not last image in set, display next image button + if(activeImage != (imageArray.length - 1)){ + Element.show('nextLink'); + document.getElementById('nextLink').onclick = function() { + myLightbox.changeImage(activeImage + 1); return false; + } + } + + this.enableKeyboardNav(); + }, + + // + // enableKeyboardNav() + // + enableKeyboardNav: function() { + document.onkeydown = this.keyboardAction; + }, + + // + // disableKeyboardNav() + // + disableKeyboardNav: function() { + document.onkeydown = ''; + }, + + // + // keyboardAction() + // + keyboardAction: function(e) { + if (e == null) { // ie + keycode = event.keyCode; + escapeKey = 27; + } else { // mozilla + keycode = e.keyCode; + escapeKey = e.DOM_VK_ESCAPE; + } + + key = String.fromCharCode(keycode).toLowerCase(); + + if((key == 'x') || (key == 'o') || (key == 'c') || (keycode == escapeKey)){ // close lightbox + myLightbox.end(); + } else if((key == 'p') || (keycode == 37)){ // display previous image + if(activeImage != 0){ + myLightbox.disableKeyboardNav(); + myLightbox.changeImage(activeImage - 1); + } + } else if((key == 'n') || (keycode == 39)){ // display next image + if(activeImage != (imageArray.length - 1)){ + myLightbox.disableKeyboardNav(); + myLightbox.changeImage(activeImage + 1); + } + } + + }, + + // + // preloadNeighborImages() + // Preload previous and next images. + // + preloadNeighborImages: function(){ + + if((imageArray.length - 1) > activeImage){ + preloadNextImage = new Image(); + preloadNextImage.src = imageArray[activeImage + 1][0]; + } + if(activeImage > 0){ + preloadPrevImage = new Image(); + preloadPrevImage.src = imageArray[activeImage - 1][0]; + } + + }, + + // + // end() + // + end: function() { + this.disableKeyboardNav(); + Element.hide('lightbox'); + new Effect.Fade('overlay', { duration: overlayDuration}); + showSelectBoxes(); + showFlash(); + } +} + +// ----------------------------------------------------------------------------------- + +// +// getPageScroll() +// Returns array with x,y page scroll values. +// Core code from - quirksmode.com +// +function getPageScroll(){ + + var xScroll, yScroll; + + if (self.pageYOffset) { + yScroll = self.pageYOffset; + xScroll = self.pageXOffset; + } else if (document.documentElement && document.documentElement.scrollTop){ // Explorer 6 Strict + yScroll = document.documentElement.scrollTop; + xScroll = document.documentElement.scrollLeft; + } else if (document.body) {// all other Explorers + yScroll = document.body.scrollTop; + xScroll = document.body.scrollLeft; + } + + arrayPageScroll = new Array(xScroll,yScroll) + return arrayPageScroll; +} + +// ----------------------------------------------------------------------------------- + +// +// getPageSize() +// Returns array with page width, height and window width, height +// Core code from - quirksmode.com +// Edit for Firefox by pHaez +// +function getPageSize(){ + + var xScroll, yScroll; + + if (window.innerHeight && window.scrollMaxY) { + xScroll = window.innerWidth + window.scrollMaxX; + yScroll = window.innerHeight + window.scrollMaxY; + } else if (document.body.scrollHeight > document.body.offsetHeight){ // all but Explorer Mac + xScroll = document.body.scrollWidth; + yScroll = document.body.scrollHeight; + } else { // Explorer Mac...would also work in Explorer 6 Strict, Mozilla and Safari + xScroll = document.body.offsetWidth; + yScroll = document.body.offsetHeight; + } + + var windowWidth, windowHeight; + +// console.log(self.innerWidth); +// console.log(document.documentElement.clientWidth); + + if (self.innerHeight) { // all except Explorer + if(document.documentElement.clientWidth){ + windowWidth = document.documentElement.clientWidth; + } else { + windowWidth = self.innerWidth; + } + windowHeight = self.innerHeight; + } else if (document.documentElement && document.documentElement.clientHeight) { // Explorer 6 Strict Mode + windowWidth = document.documentElement.clientWidth; + windowHeight = document.documentElement.clientHeight; + } else if (document.body) { // other Explorers + windowWidth = document.body.clientWidth; + windowHeight = document.body.clientHeight; + } + + // for small pages with total height less then height of the viewport + if(yScroll < windowHeight){ + pageHeight = windowHeight; + } else { + pageHeight = yScroll; + } + +// console.log("xScroll " + xScroll) +// console.log("windowWidth " + windowWidth) + + // for small pages with total width less then width of the viewport + if(xScroll < windowWidth){ + pageWidth = xScroll; + } else { + pageWidth = windowWidth; + } +// console.log("pageWidth " + pageWidth) + + arrayPageSize = new Array(pageWidth,pageHeight,windowWidth,windowHeight) + return arrayPageSize; +} + +// ----------------------------------------------------------------------------------- + +// +// getKey(key) +// Gets keycode. If 'x' is pressed then it hides the lightbox. +// +function getKey(e){ + if (e == null) { // ie + keycode = event.keyCode; + } else { // mozilla + keycode = e.which; + } + key = String.fromCharCode(keycode).toLowerCase(); + + if(key == 'x'){ + } +} + +// ----------------------------------------------------------------------------------- + +// +// listenKey() +// +function listenKey () { document.onkeypress = getKey; } + +// --------------------------------------------------- + +function showSelectBoxes(){ + var selects = document.getElementsByTagName("select"); + for (i = 0; i != selects.length; i++) { + selects[i].style.visibility = "visible"; + } +} + +// --------------------------------------------------- + +function hideSelectBoxes(){ + var selects = document.getElementsByTagName("select"); + for (i = 0; i != selects.length; i++) { + selects[i].style.visibility = "hidden"; + } +} + +// --------------------------------------------------- + +function showFlash(){ + var flashObjects = document.getElementsByTagName("object"); + for (i = 0; i < flashObjects.length; i++) { + flashObjects[i].style.visibility = "visible"; + } + + var flashEmbeds = document.getElementsByTagName("embed"); + for (i = 0; i < flashEmbeds.length; i++) { + flashEmbeds[i].style.visibility = "visible"; + } +} + +// --------------------------------------------------- + +function hideFlash(){ + var flashObjects = document.getElementsByTagName("object"); + for (i = 0; i < flashObjects.length; i++) { + flashObjects[i].style.visibility = "hidden"; + } + + var flashEmbeds = document.getElementsByTagName("embed"); + for (i = 0; i < flashEmbeds.length; i++) { + flashEmbeds[i].style.visibility = "hidden"; + } + +} + + +// --------------------------------------------------- + +// +// pause(numberMillis) +// Pauses code execution for specified time. Uses busy code, not good. +// Help from Ran Bar-On [ran2103@gmail.com] +// + +function pause(ms){ + var date = new Date(); + curDate = null; + do{var curDate = new Date();} + while( curDate - date < ms); +} +/* +function pause(numberMillis) { + var curently = new Date().getTime() + sender; + while (new Date().getTime(); +} +*/ +// --------------------------------------------------- + + + +function initLightbox() { myLightbox = new Lightbox(); } +Event.observe(window, 'load', initLightbox, false); \ No newline at end of file Property changes on: releases/1.0.0-B1/inc/lbox/lightbox.js ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Index: releases/1.0.0-B1/inc/lbox/scriptaculous.js =================================================================== --- releases/1.0.0-B1/inc/lbox/scriptaculous.js (nonexistent) +++ releases/1.0.0-B1/inc/lbox/scriptaculous.js (revision 12990) @@ -0,0 +1,45 @@ +// Copyright (c) 2005 Thomas Fuchs (http://script.aculo.us, http://mir.aculo.us) +// +// Permission is hereby granted, free of charge, to any person obtaining +// a copy of this software and associated documentation files (the +// "Software"), to deal in the Software without restriction, including +// without limitation the rights to use, copy, modify, merge, publish, +// distribute, sublicense, and/or sell copies of the Software, and to +// permit persons to whom the Software is furnished to do so, subject to +// the following conditions: +// +// The above copyright notice and this permission notice shall be +// included in all copies or substantial portions of the Software. +// +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +var Scriptaculous = { + Version: '1.5.1', + require: function(libraryName) { + // inserting via DOM fails in Safari 2.0, so brute force approach + document.write('<script type="text/javascript" src="'+libraryName+'"></script>'); + }, + load: function() { + if((typeof Prototype=='undefined') || + parseFloat(Prototype.Version.split(".")[0] + "." + + Prototype.Version.split(".")[1]) < 1.4) + throw("script.aculo.us requires the Prototype JavaScript framework >= 1.4.0"); + + $A(document.getElementsByTagName("script")).findAll( function(s) { + return (s.src && s.src.match(/scriptaculous\.js(\?.*)?$/)) + }).each( function(s) { + var path = s.src.replace(/scriptaculous\.js(\?.*)?$/,''); + var includes = s.src.match(/\?.*load=([a-z,]*)/); + (includes ? includes[1] : 'builder,effects,dragdrop,controls,slider').split(',').each( + function(include) { Scriptaculous.require(path+include+'.js') }); + }); + } +} + +Scriptaculous.load(); \ No newline at end of file Property changes on: releases/1.0.0-B1/inc/lbox/scriptaculous.js ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Index: releases/1.0.0-B1/inc/ajax.js =================================================================== --- releases/1.0.0-B1/inc/ajax.js (nonexistent) +++ releases/1.0.0-B1/inc/ajax.js (revision 12990) @@ -0,0 +1,240 @@ +function preg_print_pre(obj, reg) +{ + if (!reg) reg = /.*/; + var p = '' + for (var prop in obj) { + if (prop.match(reg) ) { + p += prop + ': '+obj[prop] + '\n' + } + } + alert(p) +} + + +// Main AJAX classs +function Request() {} + +Request.timeout = 60000; //60 seconds +Request.method = 'GET'; +Request.headers = new Array(); +Request.params = null; + +Request.makeRequest = function(p_url, p_busyReq, p_progId, p_successCallBack, p_errorCallBack, p_pass, p_object) { + //p_url: the web service url + //p_busyReq: is a request for this object currently in progress? + //p_progId: element id where progress HTML should be shown + //p_successCallBack: callback function for successful response + //p_errorCallBack: callback function for erroneous response + //p_pass: string of params to pass to callback functions + //p_object: object of params to pass to callback functions + + if (p_busyReq) return; + var req = Request.getRequest(); + if (req != null) { + p_busyReq = true; + Request.showProgress(p_progId); + req.onreadystatechange = function() { + if (req.readyState == 4) { + p_busyReq = false; + window.clearTimeout(toId); + try { + if (req.status == 200) { + // preg_print_pre(req) + p_successCallBack(req, p_pass, p_object); + } else { + p_errorCallBack(req, p_pass, p_object); + } + Request.hideProgress(p_progId); + } + catch (e) { +// alert('AJAX error') + } + } + } + var $ajax_mark = (p_url.indexOf('?') ? '&' : '?') + 'ajax=yes'; + req.open(Request.method, p_url + $ajax_mark, true); + + if (Request.method == 'POST') { + Request.headers['Content-type'] = 'application/x-www-form-urlencoded'; + Request.headers['referer'] = p_url; + } + else { + Request.headers['If-Modified-Since'] = 'Sat, 1 Jan 2000 00:00:00 GMT'; + } + + Request.sendHeaders(req); + if (Request.method == 'POST') { + req.send(Request.params); + Request.method = 'GET'; // restore method back to GET + } + else { + req.send(null); + } + + var toId = window.setTimeout( function() {if (p_busyReq) req.abort();}, Request.timeout ); + } +} + +Request.processRedirect = function($request) { + var $match_redirect = new RegExp('^#redirect#(.*)').exec($request.responseText); + if ($match_redirect != null) { + // redirect to external template requested + window.location.href = $match_redirect[1]; + return true; + } + return false; +} +Request.sendHeaders = function($request) { + for (var $header_name in Request.headers) { + if (typeof Request.headers[$header_name] == 'function') { + continue; + } + $request.setRequestHeader($header_name, Request.headers[$header_name]); + } + Request.headers = new Array(); // reset header afterwards +} + +Request.getRequest = function() { + var xmlHttp; + try { xmlHttp = new ActiveXObject('MSXML2.XMLHTTP'); return xmlHttp; } catch (e) {} + try { xmlHttp = new ActiveXObject('Microsoft.XMLHTTP'); return xmlHttp; } catch (e) {} + try { xmlHttp = new XMLHttpRequest(); return xmlHttp; } catch(e) {} + return null; +} + +Request.showProgress = function(p_id) { + if (p_id != '') { + Request.setOpacity(20, p_id); + + if (!document.getElementById(p_id + '_progress')) { + document.body.appendChild(Request.getProgressObject(p_id)); + } + else { + var $progress_div = document.getElementById(p_id + '_progress'); + $progress_div.style.top = getRealTop(p_id) + 'px'; + $progress_div.style.height = document.getElementById(p_id).clientHeight; + $progress_div.style.display = 'block'; + } +// document.getElementById(p_id).innerHTML = Request.getProgressHtml(); + } +} + +Request.hideProgress = function(p_id) { + if (p_id != '') { + document.getElementById(p_id + '_progress').style.display = 'none'; + Request.setOpacity(100, p_id); + } +} + +Request.setOpacity = function (opacity, id) { + var elem = typeof(id)=='string' ? document.getElementById(id) : id; + var object = elem.style; + object.opacity = (opacity / 100); + object.MozOpacity = (opacity / 100); + object.KhtmlOpacity = (opacity / 100); + object.filter = "alpha(opacity=" + opacity + ")"; +} + +Request.getProgressHtml = function() { + return "<p class='progress'>" + Request.progressText + "<br /><img src='img/ajax_progress.gif' align='absmiddle' width='100' height='7' alt='" + Request.progressText + "'/></p>"; +} + +Request.getProgressObject = function($id) { + var $div = document.createElement('DIV'); + var $parent_div = document.getElementById($id); + + $div.id = $id + '_progress'; + + $div.style.width = $parent_div.clientWidth + 'px'; + $div.style.height = '150px'; // default height if div is empty (first ajax request for div) + $div.style.left = getRealLeft($parent_div) + 'px'; + $div.style.top = getRealTop($parent_div) + 'px'; + $div.style.position = 'absolute'; + + /*$div.style.border = '1px solid green'; + $div.style.backgroundColor = '#FF0000';*/ + + $div.innerHTML = '<table style="width: 100%; height: 100%;"><tr><td style="text-align: center;">'+Request.progressText+'<br /><img src="img/ajax_progress.gif" align="absmiddle" width="100" height="7" alt="'+escape(Request.progressText)+'" /></td></tr></table>'; + return $div; +} + +Request.getErrorHtml = function(p_req) { + //TODO: implement accepted way to handle request error + return '[status: ' + p_req.status + '; status_text: ' + p_req.statusText + '; responce_text: ' + p_req.responseText + ']'; +} + +Request.serializeForm = function(theform) { + if (typeof(theform) == 'string') { + theform = document.getElementById(theform); + } + + var els = theform.elements; + var len = els.length; + var queryString = ''; + + Request.addField = function(name, value) { + if (queryString.length > 0) queryString += '&'; + queryString += encodeURIComponent(name) + '=' + encodeURIComponent(value); + }; + + for (var i = 0; i<len; i++) { + var el = els[i]; + if (el.disabled) continue; + + switch(el.type) { + case 'text': + case 'password': + case 'hidden': + case 'textarea': + Request.addField(el.name, el.value); + break; + + case 'select-one': + if (el.selectedIndex >= 0) { + Request.addField(el.name, el.options[el.selectedIndex].value); + } + break; + + case 'select-multiple': + for (var j = 0; j < el.options.length; j++) { + if (!el.options[j].selected) continue; + Request.addField(el.name, el.options[j].value); + } + break; + + case 'checkbox': + case 'radio': + if (!el.checked) continue; + Request.addField(el.name,el.value); + break; + } + } + return queryString; +}; + +function RatingManager ($url) { + this.Url = $url; + this.BusyRequest = false; +} + +RatingManager.prototype.makeVote = function ($vote, $prefix, $id, $size) { + var $url = this.Url.replace('#PREFIX#', $prefix).replace('#VOTE#', $vote).replace('#ID#', $id).replace('#SIZE#', $size); + + Request.makeRequest($url, this.BusyRequest, '', this.successCallback, this.errorCallback, [$vote, $prefix, $id], this); +} + +RatingManager.prototype.successCallback = function ($request, $params, $object) { + var response = $request.responseText; + + if (response.substring(0, 5) == '@err:') { + alert(response.substring(5)); + return ; + } + + document.getElementById('page_rating_' + $params[2]).innerHTML = response; +} + + +RatingManager.prototype.errorCallback = function($request, $params, $object) { + alert('AJAX Error; class: RatingManager; ' + Request.getErrorHtml($request)); +} \ No newline at end of file Property changes on: releases/1.0.0-B1/inc/ajax.js ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Index: releases/1.0.0-B1/inc/captcha_image.tpl =================================================================== --- releases/1.0.0-B1/inc/captcha_image.tpl (nonexistent) +++ releases/1.0.0-B1/inc/captcha_image.tpl (revision 12990) @@ -0,0 +1 @@ +<inp2:m_NoDebug/><inp2:m_CaptchaImage /> \ No newline at end of file Property changes on: releases/1.0.0-B1/inc/captcha_image.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/inc/style.css =================================================================== --- releases/1.0.0-B1/inc/style.css (nonexistent) +++ releases/1.0.0-B1/inc/style.css (revision 12990) @@ -0,0 +1,419 @@ +body { + padding: 0px; + background-color: #ffffff; + font-family: arial, verdana, helvetica; + font-size: small; + width: auto; + margin: 15px; + } + +p, td { + font-family: arial, verdana, helvetica; + color: #000000; + font-size: small; + } + +input, select, textarea { + font-family: arial, verdana, helvetica; + color: #000000; + font-size: small; + } + +form { + margin: 0; + display: inline; + } + +table { + border-collapse: collapse; + width: 100%; + padding: 0px; + margin: 0px auto; +} + +td { + padding: 0px; + margin: 0px; + vertical-align: top; +} + +a, a:active { + color: #003399; + text-decoration: underline; + } + +a:hover { + color: #A20303; + } + +.error { + color: #A20303; + font-weight: bold; +} + +td.toolbar { + color:#FFFFFF; + background-color:#FD6500; + padding-top:7px; + padding-bottom:7px; + padding-left:20px; + padding-right:20px; + font-size: small; + } + +a.toolbar { + color:#FFFFFF; + text-decoration: none; + } + +a.toolbar:hover { + color:#FFFFFF; + text-decoration: underline; + } + +.block { + border: 1px solid #999999; + margin-bottom: 10px; + } + +.block-no-border { + border: 0px; + margin-bottom: 10px; + } + +td.block-header { + background-color: #003399; + color: #FFFFFF; + font-size: small; + font-weight: bold; + padding: 5px; + } + +td.block-header-orange { + background-color: #FD6500; + color: #FFFFFF; + font-size: small; + font-weight: bold; + padding: 5px; + } + + + +td.block-data, .block-data td { + padding: 10px; + } + +td.block-data-single { + padding: 10px 0px 10px 10px; + } + +.block-data-ul { + padding-left: 0px; + margin-left: 25px; + margin-top: 5px; + list-style-type: square; + } + +.block-data-big { + padding: 10px; + font-size: small; + } + +.block-data-big-ul { + font-size: small; + padding-left: 0px; + margin-left: 25px; + margin-top: 5px; + color: #003399; + list-style-type: square; + } + +.separator td { + padding: 0px; + background-color: #CCCCCC; +} + +.block-data2, .block-data2 td { + padding: 1px 10px 1px 10px; + } + +.subcat, a.subcat { + color: #A20303; + font-weight: bold; + text-decoration: none; + } + +a.subcat:hover { + text-decoration: underline; +} + +.price1 { + color: #A20303; + font-weight: bold; + } + +.price2 { + display: block; + font-weight: bold; + font-size: medium; + padding: 2px; + } + +.price-msrp { + text-decoration:line-through; + } + +.header { + margin-bottom: 5px; +} + +.header td { + font-size: small; + } + +.toolbar-block { + border: 1px solid #777; + width: 100%; +} + +.main-table { + width: 100%; + margin: 0px auto; +} + +.main-column-left { + width:200px; + padding-top:10px; + padding-right:10px; + } + +.main-column-center { + padding-top:10px; + padding-right:10px; + } + +.main-column-single { + padding-top:10px; + } + +.main-column-right { + width:200px; + padding-top:10px; + } + +.link-product1 { + font-size: medium; + font-weight: bold; + } +.link-product2 { + font-size: small; + font-weight: bold; + } + +.link-nav-bar { + font-weight: bold; +} + +.nav-bar { + padding: 4px 10px 0px 4px; +} + +.nav-bar-current { + color: #A20303; + font-weight: bold; +} + +.cart-header td { + background-color: #EBEBEB; + color: #000000; + font-weight: bold; + padding: 2px; + padding-left: 10px; + border-bottom: 1px solid #989898; +} + +.cart-item td { + color: #000000; + padding:10px; + border-bottom: 1px solid #989898; +} + +.cart-item-small td { + color: #000000; + padding: 2px 10px 2px 10px; + border-bottom: 1px solid #989898; +} + +.cart-subtotal td { + color: #000000; + padding: 4px 10px 4px 10px; +} + +.form-data { + width: auto; + margin: 10px; +} + +.form-data td { + padding: 2px; + padding-right: 10px; + border: none; + vertical-align: middle; +} + +.adv-search-form { + width: auto; + border: 1px solid #ccc; + display: table-inline; +} + +.adv-search-form td { + padding: 5px 10px 5px 10px; + vertical-align: middle; + text-align: left; + border-bottom: 1px solid #aaa; +} + +.warning { + border: 1px solid #A1060A; + padding: 20px; + margin-top: 5px; + margin-bottom: 5px; +} +.warning-text { + color: #A20303; + font-weight: bold; + font-size: 16px; +} + +.notice { + border: 1px solid #23BC06; + padding: 20px; + margin-top: 5px; + margin-bottom: 5px; +} +.notice-text { + color: #23BC06; + font-weight: bold; + font-size: 16px; +} + +.relevance-bar td { + border: 1px solid #FF0000; + padding: 0px; + margin: 0px; +} + +.pagination-bar td { + padding: 5px; + font-weight: bold; +} + +a.pagination-bar { + font-weight: bold; +} + +.hidden { + display: none; +} + + + + +/* ---- Calendar ---- */ + +.calendar { + font-family: tahoma,verdana,sans-serif; + color: #000; + font-size: 11px; + border: 1px solid #83B2C5; + width: 225px; + position: relative; + z-index: 1; + display: none; + cursor: default; + +} + + +.calendar table { + /*font-family: tahoma,verdana,sans-serif;*/ + color: #000; + font-size: 11px; + background-color: #fefefe; + width: auto; + cursor: default; + border-collapse: separate; + +} + +.calendar table td { + text-align: center; + padding: 2px; + text-align: center; +} + +.calendar tbody .disabled { + color: #999; +} + +.calendar tbody .emptyrow { + display: none; + +} + +.calendar tbody .today { + font-weight: bold; + background-color: #eeeeee; + border: 1px solid #aaaaaa !important; +} + +.calendar tbody .emptycell { + visibility: hidden; +} + +.calendar tbody .active { + background-color: red; +} + +.calendar thead .title { + font-weight: bold; +} + +.calendar thead .headrow { + +} + +.calendar thead .active { + background-color: #c4c0b8; + padding: 2px 0px 0px 2px; + +} + + + +.calendar thead .hilite { + background-color: #e4e0d8; +} + +.calendar tfoot .title { + font-weight: normal; +} + +.combo { position: absolute; display: none; width: 4em; top: 0px; left: 0px; cursor: default; border-top: 1px solid #fff; border-right: 1px solid #000; border-bottom: 1px solid #000; border-left: 1px solid #fff; background: #e4e0d8; font-size: smaller; padding: 1px;} +.combo .label { text-align: center; padding: 1px;} +.combo .active { background: #c4c0b8; padding: 0px; border-top: 1px solid #000; border-right: 1px solid #fff; border-bottom: 1px solid #fff; border-left: 1px solid #000;} +.combo .hilite { background: #048; color: #fea;} + +.dpContainer { + display: inline; + +} + +.list-no-squares { + padding: 0px; + list-style-type: none; + margin: 0px; +} + +/* ---- /Calendar ---- */ \ No newline at end of file Property changes on: releases/1.0.0-B1/inc/style.css ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/inc/calendar.js =================================================================== --- releases/1.0.0-B1/inc/calendar.js (nonexistent) +++ releases/1.0.0-B1/inc/calendar.js (revision 12990) @@ -0,0 +1,1320 @@ +var cbPath = ""; + /* +preloadImage(cbPath); +preloadImage(cbPathO); +preloadImage(cbPathA); +*/ + +//addScript("core.js"); +//addScript("lang.js"); + +//addCss("wnd.css"); +//addCss("calendar.css"); + +function initCalendar(id, dateFormat) +{ + var input = document.getElementById(id); + if (!input) return; + input.dateFormat = dateFormat; + var cbPath = input.getAttribute("datepickerIcon"); + + var inputContainer = document.createElement("DIV"); + inputContainer.className = "dpContainer"; + inputContainer.noWrap = true; + var pNode = input.parentNode; + pNode.insertBefore(inputContainer, input.nextSibling); +// inputContainer.appendChild(pNode.removeChild(input)); + + var calendarButton = document.createElement("IMG"); + calendarButton.setAttribute("width", "19"); + calendarButton.setAttribute("height", "15"); + calendarButton.setAttribute("align", "absMiddle"); + calendarButton.style.width=19 + calendarButton.style.height=15 + calendarButton.style.cursor = "hand"; + + calendarButton.setAttribute("hspace", 2); + calendarButton.src = cbPath; + calendarButton.style.paddingLeft = '10px'; + calendarButton.onmouseover = cbMouseOver; + calendarButton.onmouseout = cbMouseOut; + calendarButton.onmouseup = calendarButton.onmouseout; + calendarButton.onmousedown = cbMouseDown; + calendarButton.showCalendar = wnd_showCalendar; + inputContainer.appendChild(calendarButton); + inputContainer.dateInput = input; +} + +var calendar; + +function cbMouseOver(e) +{ + // this.src = cbPathO; + var evt = (e) ? e : event; if (evt) evt.cancelBubble = true; +} + +function cbMouseOut(e) +{ + // this.src = cbPath; + var evt = (e) ? e : event; if (evt) evt.cancelBubble = true; +} + +function cbMouseDown(e) +{ + // this.src = cbPathA; + // alert("cbMouseDown"); + var evt = (e) ? e : event; if (evt) evt.cancelBubble = true; + this.showCalendar(); +} + +function wnd_showCalendar() +{ + var el = this.parentNode.dateInput; + if (calendar != null) calendar.hide(); + else + { + var calendarObject = new Calendar(false, null, dateSelected, closeHandler); + calendar = calendarObject; + calendarObject.setRange(1900, 2070); + calendarObject.create(); + } + calendar.setDateFormat(el.dateFormat); + calendar.parseDate(el.value); + calendar.sel = el; + calendar.showAtElement(el); + + Calendar.addEvent(document, "mousedown", checkCalendar); + return false; +} + +function dateSelected(calendarObject, date) +{ + calendarObject.sel.value = date; + calendarObject.callCloseHandler(); +} + +function closeHandler(calendarObject) +{ + calendarObject.hide(); + Calendar.removeEvent(document, "mousedown", checkCalendar); +} + +function checkCalendar(ev) +{ + var el = Calendar.is_ie ? Calendar.getElement(ev) : Calendar.getTargetElement(ev); + + for (; el != null; el = el.parentNode) + if (el == calendar.element || el.tagName == "A") break; + + if (el == null) + { + calendar.callCloseHandler(); + Calendar.stopEvent(ev); + } +} + +function preloadImage(path) +{ + var img = new Image(); + img.src = path; + preloadImages.push(img); +} + +function addCss(path) +{ + path = cssPath + path; + document.write("<link rel='stylesheet' href='" + path + "' type='text/css'/>"); +} + +/*<CORE>*/ +/* Copyright Mihai Bazon, 2002 +* http://students.infoiasi.ro/~mishoo +* +* Version: 0.9.1 +* +* Feel free to use this script under the terms of the GNU General Public +* License, as long as you do not remove or alter this notice. +*/ + +/** The Calendar object constructor. */ +Calendar = function (mondayFirst, dateStr, onSelected, onClose) { + // member variables + this.activeDiv = null; + this.currentDateEl = null; + this.checkDisabled = null; + this.timeout = null; + this.onSelected = onSelected || null; + this.onClose = onClose || null; + this.dragging = false; + this.minYear = 1970; + this.maxYear = 2050; + this.dateFormat = Calendar._TT["DEF_DATE_FORMAT"]; + this.ttDateFormat = Calendar._TT["TT_DATE_FORMAT"]; + this.isPopup = true; + this.mondayFirst = mondayFirst; + this.dateStr = dateStr; + // HTML elements + this.table = null; + this.element = null; + this.tbody = null; + this.daynames = null; + // Combo boxes + this.monthsCombo = null; + this.yearsCombo = null; + this.hilitedMonth = null; + this.activeMonth = null; + this.hilitedYear = null; + this.activeYear = null; + + // one-time initializations + if (!Calendar._DN3) { + // table of short day names + var ar = new Array(); + for (var i = 8; i > 0;) { + ar[--i] = Calendar._DN[i].substr(0, 3); + } + Calendar._DN3 = ar; + // table of short month names + ar = new Array(); + for (var i = 12; i > 0;) { + ar[--i] = Calendar._MN[i].substr(0, 3); + } + Calendar._MN3 = ar; + } +}; + +// ** constants + +/// "static", needed for event handlers. +Calendar._C = null; + +/// detect a special case of "web browser" +Calendar.is_ie = ( (navigator.userAgent.toLowerCase().indexOf("msie") != -1) && +(navigator.userAgent.toLowerCase().indexOf("opera") == -1) ); + +// short day names array (initialized at first constructor call) +Calendar._DN3 = null; + +// short month names array (initialized at first constructor call) +Calendar._MN3 = null; + +// BEGIN: UTILITY FUNCTIONS; beware that these might be moved into a separate +// library, at some point. + +Calendar.getAbsolutePos = function(el) { + var r = { x: el.offsetLeft, y: el.offsetTop }; + if (el.offsetParent) { + var tmp = Calendar.getAbsolutePos(el.offsetParent); + r.x += tmp.x; + r.y += tmp.y; + } + return r; +}; + +Calendar.isRelated = function (el, evt) { + var related = evt.relatedTarget; + if (!related) { + var type = evt.type; + if (type == "mouseover") { + related = evt.fromElement; + } else if (type == "mouseout") { + related = evt.toElement; + } + } + while (related) { + if (related == el) { + return true; + } + related = related.parentNode; + } + return false; +}; + +Calendar.removeClass = function(el, className) { + if (!(el && el.className)) { + return; + } + var cls = el.className.split(" "); + var ar = new Array(); + for (var i = cls.length; i > 0;) { + if (cls[--i] != className) { + ar[ar.length] = cls[i]; + } + } + el.className = ar.join(" "); +}; + +Calendar.addClass = function(el, className) { + el.className += " " + className; +}; + +Calendar.getElement = function(ev) { + if (Calendar.is_ie) { + return window.event.srcElement; + } else { + return ev.currentTarget; + } +}; + +Calendar.getTargetElement = function(ev) { + if (Calendar.is_ie) { + return window.event.srcElement; + } else { + return ev.target; + } +}; + +Calendar.stopEvent = function(ev) { + if (Calendar.is_ie) { + window.event.cancelBubble = true; + window.event.returnValue = false; + } else { + ev.preventDefault(); + ev.stopPropagation(); + } +}; + +Calendar.addEvent = function(el, evname, func) { + if (Calendar.is_ie) { + el.attachEvent("on" + evname, func); + } else { + el.addEventListener(evname, func, true); + } +}; + +Calendar.removeEvent = function(el, evname, func) { + if (Calendar.is_ie) { + el.detachEvent("on" + evname, func); + } else { + el.removeEventListener(evname, func, true); + } +}; + +Calendar.createElement = function(type, parent) { + var el = null; + if (document.createElementNS) { + // use the XHTML namespace; IE won't normally get here unless + // _they_ "fix" the DOM2 implementation. + el = document.createElementNS("http://www.w3.org/1999/xhtml", type); + } else { + el = document.createElement(type); + } + if (typeof parent != "undefined") { + parent.appendChild(el); + } + return el; +}; + +// END: UTILITY FUNCTIONS + +// BEGIN: CALENDAR STATIC FUNCTIONS + +/** Internal -- adds a set of events to make some element behave like a button. */ +Calendar._add_evs = function(el) { + with (Calendar) { + addEvent(el, "mouseover", dayMouseOver); + addEvent(el, "mousedown", dayMouseDown); + addEvent(el, "mouseout", dayMouseOut); + if (is_ie) { + addEvent(el, "dblclick", dayMouseDblClick); + el.setAttribute("unselectable", true); + } + } +}; + +Calendar.findMonth = function(el) { + if (typeof el.month != "undefined") { + return el; + } else if (typeof el.parentNode.month != "undefined") { + return el.parentNode; + } + return null; +}; + +Calendar.findYear = function(el) { + if (typeof el.year != "undefined") { + return el; + } else if (typeof el.parentNode.year != "undefined") { + return el.parentNode; + } + return null; +}; + +Calendar.showMonthsCombo = function () { + var cal = Calendar._C; + if (!cal) { + return false; + } + var cal = cal; + var cd = cal.activeDiv; + var mc = cal.monthsCombo; + if (cal.hilitedMonth) { + Calendar.removeClass(cal.hilitedMonth, "hilite"); + } + if (cal.activeMonth) { + Calendar.removeClass(cal.activeMonth, "active"); + } + var mon = cal.monthsCombo.getElementsByTagName("div")[cal.date.getMonth()]; + Calendar.addClass(mon, "active"); + cal.activeMonth = mon; + mc.style.left = cd.offsetLeft; + mc.style.top = cd.offsetTop + cd.offsetHeight; + mc.style.display = "block"; +}; + +Calendar.showYearsCombo = function (fwd) { + var cal = Calendar._C; + if (!cal) { + return false; + } + var cal = cal; + var cd = cal.activeDiv; + var yc = cal.yearsCombo; + if (cal.hilitedYear) { + Calendar.removeClass(cal.hilitedYear, "hilite"); + } + if (cal.activeYear) { + Calendar.removeClass(cal.activeYear, "active"); + } + cal.activeYear = null; + var Y = cal.date.getFullYear() + (fwd ? 1 : -1); + var yr = yc.firstChild; + var show = false; + for (var i = 12; i > 0; --i) { + if (Y >= cal.minYear && Y <= cal.maxYear) { + yr.firstChild.data = Y; + yr.year = Y; + yr.style.display = "block"; + show = true; + } else { + yr.style.display = "none"; + } + yr = yr.nextSibling; + Y += fwd ? 2 : -2; + } + if (show) { + yc.style.left = cd.offsetLeft; + yc.style.top = cd.offsetTop + cd.offsetHeight; + yc.style.display = "block"; + } +}; + +// event handlers + +Calendar.tableMouseUp = function(ev) { + var cal = Calendar._C; + if (!cal) { + return false; + } + if (cal.timeout) { + clearTimeout(cal.timeout); + } + var el = cal.activeDiv; + if (!el) { + return false; + } + var target = Calendar.getTargetElement(ev); + Calendar.removeClass(el, "active"); + if (target == el || target.parentNode == el) { + Calendar.cellClick(el); + } + var mon = Calendar.findMonth(target); + var date = null; + if (mon) { + date = new Date(cal.date); + if (mon.month != date.getMonth()) { + date.setMonth(mon.month); + cal.setDate(date); + } + } else { + var year = Calendar.findYear(target); + if (year) { + date = new Date(cal.date); + if (year.year != date.getFullYear()) { + date.setFullYear(year.year); + cal.setDate(date); + } + } + } + with (Calendar) { + removeEvent(document, "mouseup", tableMouseUp); + removeEvent(document, "mouseover", tableMouseOver); + removeEvent(document, "mousemove", tableMouseOver); + cal._hideCombos(); + stopEvent(ev); + _C = null; + } +}; + +Calendar.tableMouseOver = function (ev) { + var cal = Calendar._C; + if (!cal) { + return; + } + var el = cal.activeDiv; + var target = Calendar.getTargetElement(ev); + if (target == el || target.parentNode == el) { + Calendar.addClass(el, "hilite active"); + } else { + Calendar.removeClass(el, "active"); + Calendar.removeClass(el, "hilite"); + } + var mon = Calendar.findMonth(target); + if (mon) { + if (mon.month != cal.date.getMonth()) { + if (cal.hilitedMonth) { + Calendar.removeClass(cal.hilitedMonth, "hilite"); + } + Calendar.addClass(mon, "hilite"); + cal.hilitedMonth = mon; + } else if (cal.hilitedMonth) { + Calendar.removeClass(cal.hilitedMonth, "hilite"); + } + } else { + var year = Calendar.findYear(target); + if (year) { + if (year.year != cal.date.getFullYear()) { + if (cal.hilitedYear) { + Calendar.removeClass(cal.hilitedYear, "hilite"); + } + Calendar.addClass(year, "hilite"); + cal.hilitedYear = year; + } else if (cal.hilitedYear) { + Calendar.removeClass(cal.hilitedYear, "hilite"); + } + } + } + Calendar.stopEvent(ev); +}; + +Calendar.tableMouseDown = function (ev) { + if (Calendar.getTargetElement(ev) == Calendar.getElement(ev)) { + Calendar.stopEvent(ev); + } +}; + +Calendar.calDragIt = function (ev) { + var cal = Calendar._C; + if (!(cal && cal.dragging)) { + return false; + } + var posX; + var posY; + if (Calendar.is_ie) { + posY = window.event.clientY + document.body.scrollTop; + posX = window.event.clientX + document.body.scrollLeft; + } else { + posX = ev.pageX; + posY = ev.pageY; + } + cal.hideShowCovered(); + var st = cal.element.style; + st.left = (posX - cal.xOffs) + "px"; + st.top = (posY - cal.yOffs) + "px"; + Calendar.stopEvent(ev); +}; + +Calendar.calDragEnd = function (ev) { + var cal = Calendar._C; + if (!cal) { + return false; + } + cal.dragging = false; + with (Calendar) { + removeEvent(document, "mousemove", calDragIt); + removeEvent(document, "mouseover", stopEvent); + removeEvent(document, "mouseup", calDragEnd); + tableMouseUp(ev); + } + cal.hideShowCovered(); +}; + +Calendar.dayMouseDown = function(ev) { + var el = Calendar.getElement(ev); + if (el.disabled) { + return false; + } + var cal = el.calendar; + cal.activeDiv = el; + Calendar._C = cal; + if (el.navtype != 300) with (Calendar) { + addClass(el, "hilite active"); + addEvent(document, "mouseover", tableMouseOver); + addEvent(document, "mousemove", tableMouseOver); + addEvent(document, "mouseup", tableMouseUp); + } else if (cal.isPopup) { + cal._dragStart(ev); + } + Calendar.stopEvent(ev); + if (el.navtype == -1 || el.navtype == 1) { + cal.timeout = setTimeout("Calendar.showMonthsCombo()", 250); + } else if (el.navtype == -2 || el.navtype == 2) { + cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.showYearsCombo(true)" : "Calendar.showYearsCombo(false)", 250); + } else { + cal.timeout = null; + } +}; + +Calendar.dayMouseDblClick = function(ev) { + Calendar.cellClick(Calendar.getElement(ev)); + if (Calendar.is_ie) { + document.selection.empty(); + } +}; + +Calendar.dayMouseOver = function(ev) { + var el = Calendar.getElement(ev); + if (Calendar.isRelated(el, ev) || Calendar._C || el.disabled) { + return false; + } + if (el.ttip) { + if (el.ttip.substr(0, 1) == "_") { + var date = null; + with (el.calendar.date) { + date = new Date(getFullYear(), getMonth(), el.caldate); + } + el.ttip = date.print(el.calendar.ttDateFormat) + el.ttip.substr(1); + } + el.calendar.tooltips.firstChild.data = el.ttip; + } + if (el.navtype != 300) { + Calendar.addClass(el, "hilite"); + } + Calendar.stopEvent(ev); +}; + +Calendar.dayMouseOut = function(ev) { + with (Calendar) { + var el = getElement(ev); + if (isRelated(el, ev) || _C || el.disabled) { + return false; + } + removeClass(el, "hilite"); + el.calendar.tooltips.firstChild.data = _TT["SEL_DATE"]; + stopEvent(ev); + } +}; + +/** +* A generic "click" handler :) handles all types of buttons defined in this +* calendar. +*/ +Calendar.cellClick = function(el) { + var cal = el.calendar; + var closing = false; + var newdate = false; + var date = null; + if (typeof el.navtype == "undefined") { + Calendar.removeClass(cal.currentDateEl, "selected"); + Calendar.addClass(el, "selected"); + closing = (cal.currentDateEl == el); + if (!closing) { + cal.currentDateEl = el; + } + cal.date.setDate(el.caldate); + date = cal.date; + newdate = true; + } else { + if (el.navtype == 200) { + Calendar.removeClass(el, "hilite"); + cal.callCloseHandler(); + return; + } + date = (el.navtype == 0) ? new Date() : new Date(cal.date); + var year = date.getFullYear(); + var mon = date.getMonth(); + var setMonth = function (mon) { + var day = date.getDate(); + var max = date.getMonthDays(); + if (day > max) { + date.setDate(max); + } + date.setMonth(mon); + }; + switch (el.navtype) { + case -2: + if (year > cal.minYear) { + date.setFullYear(year - 1); + } + break; + case -1: + if (mon > 0) { + setMonth(mon - 1); + } else if (year-- > cal.minYear) { + date.setFullYear(year); + setMonth(11); + } + break; + case 1: + if (mon < 11) { + setMonth(mon + 1); + } else if (year < cal.maxYear) { + date.setFullYear(year + 1); + setMonth(0); + } + break; + case 2: + if (year < cal.maxYear) { + date.setFullYear(year + 1); + } + break; + case 100: + cal.setMondayFirst(!cal.mondayFirst); + return; + } + if (!date.equalsTo(cal.date)) { + cal.setDate(date); + newdate = el.navtype == 0; + } + } + if (newdate) { + cal.callHandler(); + } + if (closing) { + Calendar.removeClass(el, "hilite"); + cal.callCloseHandler(); + } +}; + +// END: CALENDAR STATIC FUNCTIONS + +// BEGIN: CALENDAR OBJECT FUNCTIONS + +/** +* This function creates the calendar inside the given parent. If _par is +* null than it creates a popup calendar inside the BODY element. If _par is +* an element, be it BODY, then it creates a non-popup calendar (still +* hidden). Some properties need to be set before calling this function. +*/ +Calendar.prototype.create = function (_par) { + var parent = null; + if (! _par) { + // default parent is the document body, in which case we create + // a popup calendar. + parent = document.getElementsByTagName("body")[0]; + this.isPopup = true; + } else { + parent = _par; + this.isPopup = false; + } + this.date = this.dateStr ? new Date(this.dateStr) : new Date(); + + var table = Calendar.createElement("table"); + this.table = table; + table.cellSpacing = 0; + table.cellPadding = 0; + table.style.width = 'auto'; + table.calendar = this; + Calendar.addEvent(table, "mousedown", Calendar.tableMouseDown); + + var div = Calendar.createElement("div"); + this.element = div; + div.className = "calendar"; + if (this.isPopup) { + div.style.position = "absolute"; + div.style.display = "none"; + } + div.appendChild(table); + + var thead = Calendar.createElement("thead", table); + var cell = null; + var row = null; + + var cal = this; + var hh = function (text, cs, navtype) { + cell = Calendar.createElement("td", row); + cell.colSpan = cs; + cell.className = "calendar_button"; + Calendar._add_evs(cell); + cell.calendar = cal; + cell.navtype = navtype; + if (text.substr(0, 1) != "&") { + cell.appendChild(document.createTextNode(text)); + } + else { + // FIXME: dirty hack for entities + cell.innerHTML = text; + } + return cell; + }; + + row = Calendar.createElement("tr", thead); + row.className = "headrow"; + + hh("-", 1, 100).ttip = Calendar._TT["TOGGLE"]; + this.title = hh("", this.isPopup ? 5 : 6, 300); + this.title.className = "title"; + if (this.isPopup) { + this.title.ttip = Calendar._TT["DRAG_TO_MOVE"]; + this.title.style.cursor = "move"; + hh("X", 1, 200).ttip = Calendar._TT["CLOSE"]; + } + + row = Calendar.createElement("tr", thead); + row.className = "headrow"; + + hh("«", 1, -2).ttip = Calendar._TT["PREV_YEAR"]; + hh("‹", 1, -1).ttip = Calendar._TT["PREV_MONTH"]; + hh(Calendar._TT["TODAY"], 3, 0).ttip = Calendar._TT["GO_TODAY"]; + hh("›", 1, 1).ttip = Calendar._TT["NEXT_MONTH"]; + hh("»", 1, 2).ttip = Calendar._TT["NEXT_YEAR"]; + + // day names + row = Calendar.createElement("tr", thead); + row.className = "daynames"; + this.daynames = row; + for (var i = 7; i > 0; --i) { + cell = Calendar.createElement("td", row); + cell.appendChild(document.createTextNode("")); + if (!i) { + cell.navtype = 100; + cell.calendar = this; + Calendar._add_evs(cell); + } + } + this._displayWeekdays(); + + var tbody = Calendar.createElement("tbody", table); + this.tbody = tbody; + + for (i = 6; i > 0; --i) { + row = Calendar.createElement("tr", tbody); + for (var j = 7; j > 0; --j) { + cell = Calendar.createElement("td", row); + cell.appendChild(document.createTextNode("")); + cell.calendar = this; + Calendar._add_evs(cell); + } + } + + var tfoot = Calendar.createElement("tfoot", table); + + row = Calendar.createElement("tr", tfoot); + row.className = "footrow"; + + cell = hh(Calendar._TT["SEL_DATE"], 7, 300); + cell.className = "title"; + if (this.isPopup) { + cell.ttip = Calendar._TT["DRAG_TO_MOVE"]; + cell.style.cursor = "move"; + } + this.tooltips = cell; + + div = Calendar.createElement("div", this.element); + this.monthsCombo = div; + div.className = "combo"; + for (i = 0; i < Calendar._MN.length; ++i) { + var mn = Calendar.createElement("div"); + mn.className = "label"; + mn.month = i; + mn.appendChild(document.createTextNode(Calendar._MN3[i])); + div.appendChild(mn); + } + + div = Calendar.createElement("div", this.element); + this.yearsCombo = div; + div.className = "combo"; + for (i = 12; i > 0; --i) { + var yr = Calendar.createElement("div"); + yr.className = "label"; + yr.appendChild(document.createTextNode("")); + div.appendChild(yr); + } + + this._init(this.mondayFirst, this.date); + parent.appendChild(this.element); +}; + +/** +* (RE)Initializes the calendar to the given date and style (if mondayFirst is +* true it makes Monday the first day of week, otherwise the weeks start on +* Sunday. +*/ +Calendar.prototype._init = function (mondayFirst, date) { + var today = new Date(); + var year = date.getFullYear(); + if (year < this.minYear) { + year = this.minYear; + date.setFullYear(year); + } else if (year > this.maxYear) { + year = this.maxYear; + date.setFullYear(year); + } + this.mondayFirst = mondayFirst; + this.date = new Date(date); + var month = date.getMonth(); + var mday = date.getDate(); + var no_days = date.getMonthDays(); + date.setDate(1); + var wday = date.getDay(); + var MON = mondayFirst ? 1 : 0; + var SAT = mondayFirst ? 5 : 6; + var SUN = mondayFirst ? 6 : 0; + if (mondayFirst) { + wday = (wday > 0) ? (wday - 1) : 6; + } + var iday = 1; + var row = this.tbody.firstChild; + var MN = Calendar._MN3[month]; + var hasToday = ((today.getFullYear() == year) && (today.getMonth() == month)); + var todayDate = today.getDate(); + for (var i = 0; i < 6; ++i) { + if (iday > no_days) { + row.className = "emptyrow"; + row = row.nextSibling; + continue; + } + var cell = row.firstChild; + row.className = "daysrow"; + for (var j = 0; j < 7; ++j) { + if ((!i && j < wday) || iday > no_days) { + cell.className = "emptycell"; + cell = cell.nextSibling; + continue; + } + cell.firstChild.data = iday; + cell.className = "day"; + cell.disabled = false; + if (typeof this.checkDisabled == "function") { + date.setDate(iday); + if (this.checkDisabled(date)) { + cell.className += " disabled"; + cell.disabled = true; + } + } + if (!cell.disabled) { + cell.caldate = iday; + cell.ttip = "_"; + if (iday == mday) { + cell.className += " selected"; + this.currentDateEl = cell; + } + if (hasToday && (iday == todayDate)) { + cell.className += " today"; + cell.ttip += Calendar._TT["PART_TODAY"]; + } + if (wday == SAT || wday == SUN) { + cell.className += " weekend"; + } + } + ++iday; + ((++wday) ^ 7) || (wday = 0); + cell = cell.nextSibling; + } + row = row.nextSibling; + } + this.title.firstChild.data = Calendar._MN[month] + ", " + year; + // PROFILE + // this.tooltips.firstChild.data = "Generated in " + ((new Date()) - today) + " ms"; +}; + +/** +* Calls _init function above for going to a certain date (but only if the +* date is different than the currently selected one). +*/ +Calendar.prototype.setDate = function (date) { + if (!date.equalsTo(this.date)) { + this._init(this.mondayFirst, date); + } +}; + +/** Modifies the "mondayFirst" parameter (EU/US style). */ +Calendar.prototype.setMondayFirst = function (mondayFirst) { + this._init(mondayFirst, this.date); + this._displayWeekdays(); +}; + +/** +* Allows customization of what dates are enabled. The "unaryFunction" +* parameter must be a function object that receives the date (as a JS Date +* object) and returns a boolean value. If the returned value is true then +* the passed date will be marked as disabled. +*/ +Calendar.prototype.setDisabledHandler = function (unaryFunction) { + this.checkDisabled = unaryFunction; +}; + +/** Customization of allowed year range for the calendar. */ +Calendar.prototype.setRange = function (a, z) { + this.minYear = a; + this.maxYear = z; +}; + +/** Calls the first user handler (selectedHandler). */ +Calendar.prototype.callHandler = function () { + if (this.onSelected) { + this.onSelected(this, this.date.print(this.dateFormat)); + } +}; + +/** Calls the second user handler (closeHandler). */ +Calendar.prototype.callCloseHandler = function () { + if (this.onClose) { + this.onClose(this); + } + this.hideShowCovered(); +}; + +/** Removes the calendar object from the DOM tree and destroys it. */ +Calendar.prototype.destroy = function () { + var el = this.element.parentNode; + el.removeChild(this.element); + Calendar._C = null; + delete el; +}; + +/** +* Moves the calendar element to a different section in the DOM tree (changes +* its parent). +*/ +Calendar.prototype.reparent = function (new_parent) { + var el = this.element; + el.parentNode.removeChild(el); + new_parent.appendChild(el); +}; + +/** Shows the calendar. */ +Calendar.prototype.show = function () { + this.element.style.display = "block"; + this.hideShowCovered(); +}; + +/** +* Hides the calendar. Also removes any "hilite" from the class of any TD +* element. +*/ +Calendar.prototype.hide = function () { + var trs = this.table.getElementsByTagName("td"); + for (var i = trs.length; i > 0; ) { + Calendar.removeClass(trs[--i], "hilite"); + } + this.element.style.display = "none"; +}; + +/** +* Shows the calendar at a given absolute position (beware that, depending on +* the calendar element style -- position property -- this might be relative +* to the parent's containing rectangle). +*/ +Calendar.prototype.showAt = function (x, y) { + var s = this.element.style; + s.left = x + "px"; + s.top = y + "px"; + this.show(); +}; + +/** Shows the calendar near a given element. */ +Calendar.prototype.showAtElement = function (el) { + var p = Calendar.getAbsolutePos(el); + + var cw = 190; + var ch = -200; + + if (Calendar.is_ie) + { + var posX = getWndX(el) + el.offsetWidth + 18; if (posX + ch > document.body.scrollLeft + document.body.offsetWidth) posX = document.body.scrollLeft + document.body.offsetWidth - ch + var posY = p.y + el.offsetHeight; if (posY + cw > document.body.scrollTop + document.body.offsetHeight) posY = getWndY(el) - cw; + //document.body.scrollTop + document.body.offsetHeight - cw - el.offsetHeight + this.showAt(posX, posY); + } + else + { + // for other browsers types + this.showAt(getWndX(el) + el.offsetWidth + 30, p.y + el.offsetHeight-200); + } +}; + +function getWndC(object, c) +{ + pos = 0; + while (object != null) + { + pos += (c == "y") ? object.offsetTop : object.offsetLeft; + object = object.offsetParent; + } + return pos; +} + +function getWndX(object) {return getWndC(object, "x")} +function getWndY(object) {return getWndC(object, "y")} + + +/** Customizes the date format. */ +Calendar.prototype.setDateFormat = function (str) { + this.dateFormat = str; +}; + +/** Customizes the tooltip date format. */ +Calendar.prototype.setTtDateFormat = function (str) { + this.ttDateFormat = str; +}; + +/** +* Tries to identify the date represented in a string. If successful it also +* calls this.setDate which moves the calendar to the given date. +*/ +Calendar.prototype.parseDate = function (str, fmt) { + var y = 0; + var m = -1; + var d = 0; + var a = str.split(/\W+/); + if (!fmt) { + fmt = this.dateFormat; + } + var b = fmt.split(/\W+/); + var i = 0, j = 0; + for (i = 0; i < a.length; ++i) { + if (b[i] == "D" || b[i] == "DD") { + continue; + } + if (b[i] == "j" || b[i] == "d") { + d = a[i]; + } + if (b[i] == "n" || b[i] == "m") { + m = a[i]-1; + } + // if (b[i] == "y") { + // y = a[i]; + // } + if ((b[i] == "Y")||(b[i] == "y")) { + // if (b[i] == "yy") { + if (a[i].length == 4) { + y = a[i]; + } + else { + if (parseInt(a[i]) < 70) { + y = parseInt(a[i]) + 2000; + } + else { + y = parseInt(a[i]) + 1900; + } + } + } + if (b[i] == "M" || b[i] == "MM") { + for (j = 0; j < 12; ++j) { + if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { m = j; break; } + } + } + } + if (y != 0 && m != -1 && d != 0) { + this.setDate(new Date(y, m, d)); + return; + } + y = 0; m = -1; d = 0; + for (i = 0; i < a.length; ++i) { + if (a[i].search(/[a-zA-Z]+/) != -1) { + var t = -1; + for (j = 0; j < 12; ++j) { + if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { t = j; break; } + } + if (t != -1) { + if (m != -1) { + d = m+1; + } + m = t; + } + } else if (parseInt(a[i]) <= 12 && m == -1) { + m = a[i]-1; + } else if (parseInt(a[i]) > 31 && y == 0) { + y = a[i]; + } else if (d == 0) { + d = a[i]; + } + } + if (y == 0) { + var today = new Date(); + y = today.getFullYear(); + } + if (m != -1 && d != 0) { + this.setDate(new Date(y, m, d)); + } +}; + +Calendar.prototype.hideShowCovered = function () { + var tags = new Array("applet", "iframe", "select"); + var el = this.element; + + var p = Calendar.getAbsolutePos(el); + var EX1 = p.x; + var EX2 = el.offsetWidth + EX1; + var EY1 = p.y; + var EY2 = el.offsetHeight + EY1; + + for (var k = tags.length; k > 0; ) { + var ar = document.getElementsByTagName(tags[--k]); + var cc = null; + + for (var i = ar.length; i > 0;) { + cc = ar[--i]; + + p = Calendar.getAbsolutePos(cc); + var CX1 = p.x; + var CX2 = cc.offsetWidth + CX1; + var CY1 = p.y; + var CY2 = cc.offsetHeight + CY1; + + if ((CX1 > EX2) || (CX2 < EX1) || (CY1 > EY2) || (CY2 < EY1)) { + cc.style.visibility = "visible"; + } else { + cc.style.visibility = "hidden"; + } + } + } +}; + +/** Internal function; it displays the bar with the names of the weekday. */ +Calendar.prototype._displayWeekdays = function () { + var MON = this.mondayFirst ? 0 : 1; + var SUN = this.mondayFirst ? 6 : 0; + var SAT = this.mondayFirst ? 5 : 6; + var cell = this.daynames.firstChild; + for (var i = 0; i < 7; ++i) { + cell.className = "day name"; + if (!i) { + cell.ttip = this.mondayFirst ? Calendar._TT["SUN_FIRST"] : Calendar._TT["MON_FIRST"]; + cell.navtype = 100; + cell.calendar = this; + Calendar._add_evs(cell); + } + if (i == SUN || i == SAT) { + Calendar.addClass(cell, "weekend"); + } + cell.firstChild.data = Calendar._DN3[i + 1 - MON]; + cell = cell.nextSibling; + } +}; + +/** Internal function. Hides all combo boxes that might be displayed. */ +Calendar.prototype._hideCombos = function () { + this.monthsCombo.style.display = "none"; + this.yearsCombo.style.display = "none"; +}; + +/** Internal function. Starts dragging the element. */ +Calendar.prototype._dragStart = function (ev) { + if (this.dragging) { + return; + } + this.dragging = true; + var posX; + var posY; + if (Calendar.is_ie) { + posY = window.event.clientY + document.body.scrollTop; + posX = window.event.clientX + document.body.scrollLeft; + } else { + posY = ev.clientY + window.scrollY; + posX = ev.clientX + window.scrollX; + } + var st = this.element.style; + this.xOffs = posX - parseInt(st.left); + this.yOffs = posY - parseInt(st.top); + with (Calendar) { + addEvent(document, "mousemove", calDragIt); + addEvent(document, "mouseover", stopEvent); + addEvent(document, "mouseup", calDragEnd); + } +}; + +// BEGIN: DATE OBJECT PATCHES + +/** Adds the number of days array to the Date object. */ +Date._MD = new Array(31,28,31,30,31,30,31,31,30,31,30,31); + +/** Returns the number of days in the current month */ +Date.prototype.getMonthDays = function() { + var year = this.getFullYear(); + var month = this.getMonth(); + if (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) { + return 29; + } else { + return Date._MD[month]; + } +}; + +/** Checks dates equality (ignores time) */ +Date.prototype.equalsTo = function(date) { + return ((this.getFullYear() == date.getFullYear()) && + (this.getMonth() == date.getMonth()) && + (this.getDate() == date.getDate())); +}; + +/** Prints the date in a string according to the given format. */ +Date.prototype.print = function (frm) { + var str = new String(frm); + var m = this.getMonth(); + var d = this.getDate(); + var y = this.getFullYear(); + var w = this.getDay(); + var s = new Array(); + s["j"] = d; + s["d"] = (d < 10) ? ("0" + d) : d; + s["n"] = 1+m; + s["m"] = (m < 9) ? ("0" + (1+m)) : (1+m); + s["Y"] = y; + s["y"] = new String(y).substr(2, 2); + with (Calendar) { + s["D"] = _DN3[w]; + s["DD"] = _DN[w]; + s["M"] = _MN3[m]; + s["MM"] = _MN[m]; + } + var re = /(.*)(\W|^)(j|d|n|m|y|Y|MM|M|DD|D)(\W|$)(.*)/; + while (re.exec(str) != null) { + str = RegExp.$1 + RegExp.$2 + s[RegExp.$3] + RegExp.$4 + RegExp.$5; + } + return str; +}; + +// END: DATE OBJECT PATCHES +/*</CORE>*/ +/*<LANG>*/ +Calendar._DN = new Array +("Sunday", +"Monday", +"Tuesday", +"Wednesday", +"Thursday", +"Friday", +"Saturday", +"Sunday"); +Calendar._MN = new Array +("January", +"February", +"March", +"April", +"May", +"June", +"July", +"August", +"September", +"October", +"November", +"December"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["TOGGLE"] = "Toggle first day of week"; +Calendar._TT["PREV_YEAR"] = "Prev. year (hold for menu)"; +Calendar._TT["PREV_MONTH"] = "Prev. month (hold for menu)"; +Calendar._TT["GO_TODAY"] = "Go Today"; +Calendar._TT["NEXT_MONTH"] = "Next month (hold for menu)"; +Calendar._TT["NEXT_YEAR"] = "Next year (hold for menu)"; +Calendar._TT["SEL_DATE"] = "Select date"; +Calendar._TT["DRAG_TO_MOVE"] = "Drag to move"; +Calendar._TT["PART_TODAY"] = " (today)"; +Calendar._TT["MON_FIRST"] = "Display Monday first"; +Calendar._TT["SUN_FIRST"] = "Display Sunday first"; +Calendar._TT["CLOSE"] = "Close"; +Calendar._TT["TODAY"] = "Today"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd"; +Calendar._TT["TT_DATE_FORMAT"] = "D, M d"; +/*</LANG>*/ +/*</CSS>*/ +//document.write("<style type=\"text/css\">") +//document.write(".calendar { width: 225px; z-Index: 1; position: relative; display: none; border-top: 2px solid #fff; border-right: 2px solid #000; border-bottom: 2px solid #000; border-left: 2px solid #fff; font-size: 11px; color: #000; cursor: default; background: #d4d0c8; font-family: tahoma,verdana,sans-serif;}.calendar table { width: auto; border-top: 1px solid #000; border-right: 1px solid #fff; border-bottom: 1px solid #fff; border-left: 1px solid #000; font-size: 11px; color: #000; cursor: default; background: #d4d0c8; font-family: tahoma,verdana,sans-serif;}/* Header part -- contains navigation buttons and day names. */.calendar .calendar_button { text-align: center; padding: 1px; border-top: 1px solid #fff; border-right: 1px solid #000; border-bottom: 1px solid #000; border-left: 1px solid #fff;}.calendar thead .title { font-weight: bold; padding: 1px; border: 1px solid #000; background: #848078; color: #fff; text-align: center;}.calendar thead .headrow { /* Row <TR> containing navigation buttons */}.calendar thead .daynames { /* Row <TR> containing the day names */}.calendar thead .name { /* Cells <TD> containing the day names */ border-bottom: 1px solid #000; padding: 2px; text-align: center; background: #f4f0e8;}.calendar thead .weekend { /* How a weekend day name shows in header */ color: #f00;}.calendar thead .hilite { /* How do the buttons in header appear when hover */ border-top: 2px solid #fff; border-right: 2px solid #000; border-bottom: 2px solid #000; border-left: 2px solid #fff; padding: 0px; background: #e4e0d8;}.calendar thead .active { /* Active (pressed) buttons in header */ padding: 2px 0px 0px 2px; border-top: 1px solid #000; border-right: 1px solid #fff; border-bottom: 1px solid #fff; border-left: 1px solid #000; background: #c4c0b8;}/* The body part -- contains all the days in month. */.calendar tbody .day { /* Cells <TD> containing month days dates */ width: 2em; text-align: right; padding: 2px 4px 2px 2px;}.calendar tbody .hilite { /* Hovered cells <TD> */ padding: 1px 3px 1px 1px; border-top: 1px solid #fff; border-right: 1px solid #000; border-bottom: 1px solid #000; border-left: 1px solid #fff;}.calendar tbody .active { /* Active (pressed) cells <TD> */ padding: 2px 2px 0px 2px; border-top: 1px solid #000; border-right: 1px solid #fff; border-bottom: 1px solid #fff; border-left: 1px solid #000;}.calendar tbody .selected { /* Cell showing selected date */ font-weight: bold; border-top: 1px solid #000; border-right: 1px solid #fff; border-bottom: 1px solid #fff; border-left: 1px solid #000; padding: 2px 2px 0px 2px; background: #e4e0d8;}.calendar tbody .weekend { /* Cells showing weekend days */ color: #f00;}.calendar tbody .today { /* Cell showing today date */ font-weight: bold; color: #00f;}.calendar tbody .disabled { color: #999; }.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ visibility: hidden;}.calendar tbody .emptyrow { display: none;} .calendar tfoot .footrow { }.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ background: #f4f0e8; padding: 1px; border: 1px solid #000; background: #848078; color: #fff; text-align: center;}.calendar tfoot .hilite { /* Hover style for buttons in footer */ border-top: 1px solid #fff; border-right: 1px solid #000; border-bottom: 1px solid #000; border-left: 1px solid #fff; padding: 1px; background: #e4e0d8;}.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ padding: 2px 0px 0px 2px; border-top: 1px solid #000; border-right: 1px solid #fff; border-bottom: 1px solid #fff; border-left: 1px solid #000;}/* Combo boxes (menus that display months/years for direct selection) */.combo { position: absolute; display: none; width: 4em; top: 0px; left: 0px; cursor: default; border-top: 1px solid #fff; border-right: 1px solid #000; border-bottom: 1px solid #000; border-left: 1px solid #fff; background: #e4e0d8; font-size: smaller; padding: 1px;}.combo .label { text-align: center; padding: 1px;}.combo .active { background: #c4c0b8; padding: 0px; border-top: 1px solid #000; border-right: 1px solid #fff; border-bottom: 1px solid #fff; border-left: 1px solid #000;}.combo .hilite { background: #048; color: #fea;}"); +//document.write(".dpContainer {display: inline;}"); +//document.write("</style>") +/* The main calendar widget. DIV containing a table. */ + Property changes on: releases/1.0.0-B1/inc/calendar.js ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.4 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: releases/1.0.0-B1/img/resized =================================================================== --- releases/1.0.0-B1/img/resized (nonexistent) +++ releases/1.0.0-B1/img/resized (revision 12990) Property changes on: releases/1.0.0-B1/img/resized ___________________________________________________________________ Added: svn:ignore ## -0,0 +1 ## +*.* Index: releases/1.0.0-B1/img/lbox/prev.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/lbox/prev.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/lbox/prevlabel.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/lbox/prevlabel.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/lbox/loading.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/lbox/loading.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/lbox/next.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/lbox/next.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/lbox/nextlabel.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/lbox/nextlabel.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/lbox/close.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/lbox/close.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/lbox/closelabel.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/lbox/closelabel.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/lbox/more_images.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/lbox/more_images.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/prevlabel.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/prevlabel.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/prev.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/prev.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/loading.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/loading.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/nextlabel.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/nextlabel.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/next.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/next.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/closelabel.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/closelabel.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/close.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/close.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/zoom.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/zoom.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/more_images.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/more_images.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/logo.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/logo.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.3 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/vcss.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/vcss.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/adv_search.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/adv_search.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/zoom_picture.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/zoom_picture.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/s.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/s.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/message.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/message.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/star_rate.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/star_rate.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/calendar.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/calendar.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/star.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/star.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property Index: releases/1.0.0-B1/img/valid-xhtml10.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: releases/1.0.0-B1/img/valid-xhtml10.gif ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.2 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +application/octet-stream \ No newline at end of property