Page MenuHomeIn-Portal Phabricator

electronics
No OneTemporary

File Metadata

Created
Thu, Aug 14, 7:32 PM

electronics

This file is larger than 256 KB, so syntax highlighting was skipped.
Index: branches/1.0.x/.smsignore
===================================================================
--- branches/1.0.x/.smsignore (nonexistent)
+++ branches/1.0.x/.smsignore (revision 13321)
@@ -0,0 +1 @@
+phrases_edit\.tpl
\ No newline at end of file
Property changes on: branches/1.0.x/.smsignore
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/designs/form.tpl
===================================================================
--- branches/1.0.x/designs/form.tpl (nonexistent)
+++ branches/1.0.x/designs/form.tpl (revision 13321)
@@ -0,0 +1,93 @@
+<!--##
+<NAME>Forms - Section Template</NAME>
+<DESC>Online Form</DESC>
+<SECTION>System</SECTION>
+##-->
+<inp2:m_include template="elements/dynamic_forms.elm"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:st_PageInfo type="title"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <div class="movable-area">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="elements/side_boxes/recommend_site.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="elements/side_boxes/mailing_list.elm" design="blue_box"/>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+ <div class="movable-area">
+ <div class="movable-element">
+ <inp2:m_include template="elements/navigation_bar.elm"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:st_PageInfo type="title"/>
+ </inp2:m_Capture>
+
+ <inp2:st_ContentBlock num="1"/>
+ <p>
+ <span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+ <inp2:formsubs_PresetFormFields/>
+
+ <inp2:m_if check="formsubs_HasError" field="any">
+ <inp2:m_RenderElement name="error_message" />
+ </inp2:m_if>
+
+ <img src="<inp2:m_TemplatesBase />img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+ <form method="post" action="<inp2:m_FormAction m_cat_id="0" m_cat_page="1"/>">
+
+ <table class="form-data fullwidth">
+ <inp2:formflds_PrintList render_as="form_field" SourcePrefix="formsubs" per_page="-1"/>
+
+ <inp2:m_RenderElement design="inp_edit_buttons">
+ <input type="reset" class="button" name="Reset" value="<inp2:m_Phrase label="lu_Reset" no_editing="1"/>"/>
+ <input type="submit" class="button" name="events[formsubs][OnCreate]" value="<inp2:m_Phrase label="lu_send" no_editing="1"/>"/>
+
+ <input type="hidden" name="<inp2:formsubs_InputName field="FormId"/>" value="<inp2:m_Get var="form_id"/>"/>
+ <input type="hidden" name="form_id" value="<inp2:m_Get var="form_id"/>"/>
+ <input type="hidden" name="success_template" value="<inp2:st_Field name="FormSubmittedTemplate"/>"/>
+ </inp2:m_RenderElement>
+ </table>
+ </form>
+ </p>
+ <inp2:st_ContentBlock num="2"/>
+ </inp2:m_RenderElement>
+ </div>
+ </div>
+
+ <script type="text/javascript">
+ $(document).ready(
+ function() {
+ $('textarea.input-textarea').autoResize({
+ // On resize:
+ onResize : function() {
+ $(this).css({opacity:0.8});
+ },
+ // After resize:
+ animateCallback : function() {
+ $(this).css({opacity:1});
+ },
+ // Quite slow animation:
+ animateDuration : 300,
+ // More extra space:
+ extraSpace : 30
+ });
+ }
+ );
+ </script>
+
+</inp2:m_DefineElement>
+
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/1.0.x/designs/.smsignore
===================================================================
--- branches/1.0.x/designs/.smsignore (nonexistent)
+++ branches/1.0.x/designs/.smsignore (revision 13321)
@@ -0,0 +1 @@
+.*\.tpl
\ No newline at end of file
Property changes on: branches/1.0.x/designs/.smsignore
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/designs/popup_design.des.tpl
===================================================================
--- branches/1.0.x/designs/popup_design.des.tpl (nonexistent)
+++ branches/1.0.x/designs/popup_design.des.tpl (revision 13321)
@@ -0,0 +1,27 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<inp2:m_include template="elements/side_boxes.elm"/>
+<inp2:m_include template="elements/content_boxes.elm"/>
+<inp2:m_include template="elements/forms.elm"/>
+
+<html xmlns="http://www.w3.org/1999/xhtml">
+ <head>
+ <inp2:m_DefineElement name="cms_page_title">
+ <inp2:st_PageInfo type="htmlhead_title"/>
+ </inp2:m_DefineElement>
+
+ <title><inp2:m_GetConfig name="Site_Name"/> :: <inp2:m_RenderElement name="page_title" default_element="cms_page_title" no_editing="1"/></title>
+
+ <meta http-equiv="Content-Type" content="text/html; charset=<inp2:lang.current_Field name="Charset"/>" />
+ <inp2:m_ModuleInclude template="elements/html_head.elm" in-portal_template="elements/html_head.elm"/>
+ </head>
+ <body>
+ <inp2:m_RenderElement name="content"/>
+ <br />
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br /></div>
+ <br />
+
+ <div style="text-align: center;">
+ <a href="<inp2:m_Link/>" onclick="window.close(); return false;"><inp2:m_Phrase name="lu_btn_CloseWindow"/></a>
+ </div>
+ </body>
+</html>
\ No newline at end of file
Index: branches/1.0.x/designs/default_design.des.tpl
===================================================================
--- branches/1.0.x/designs/default_design.des.tpl (nonexistent)
+++ branches/1.0.x/designs/default_design.des.tpl (revision 13321)
@@ -0,0 +1,84 @@
+<inp2:m_CheckSSL/>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<inp2:m_include template="elements/side_boxes.elm"/>
+<inp2:m_include template="elements/content_boxes.elm"/>
+<inp2:m_include template="elements/forms.elm"/>
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<inp2:lang.current_Field name="Locale" db="1"/>" lang="<inp2:lang.current_Field name="Locale" db="1"/>">
+ <head>
+ <inp2:m_DefineElement name="cms_page_title">
+ <inp2:st_PageInfo type="htmlhead_title"/>
+ </inp2:m_DefineElement>
+
+ <title><inp2:m_GetConfig name="Site_Name"/> :: <inp2:m_RenderElement name="page_title" default_element="cms_page_title" no_editing="1"/></title>
+
+ <!--## Include module specific HEADER (meta information inside) template ##-->
+ <inp2:m_ModuleInclude template="elements/html_head.elm" in-portal_template="elements/html_head.elm"/>
+ <!--## /Include module specific HEADER template ##-->
+
+ <inp2:st_EditingScripts/>
+ <!--## /Include module specific HEADER template ##-->
+ </head>
+ <body>
+ <inp2:st_EditPage mode="start"/>
+ <div align="center">
+ <div align="left" style="width:800px">
+
+ <table class="fullwidth">
+ <tr>
+ <td>
+ <inp2:m_include template="elements/header.elm"/>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <inp2:m_include template="elements/menu.elm"/>
+ </td>
+ </tr>
+ </table>
+
+ <table class="fullwidth">
+ <tr>
+ <!-- SIDEBAR -->
+ <td style="width: 200px;" valign="top">
+ <inp2:m_DefineElement name="cms_sidebar">
+ <inp2:m_Include template="elements/side_boxes/common_sideboxes.elm"/>
+ </inp2:m_DefineElement>
+ <div class="movable-area">
+ <inp2:m_RenderElement name="sidebar" default_element="cms_sidebar"/>
+
+ <inp2:m_Include template="elements/side_boxes/payment_seal.elm"/>
+ </div>
+ </td>
+ <!-- /SIDEBAR -->
+
+ <!-- SEPARATOR -->
+ <td width="5">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="5" height="1" alt=""/><br />
+ </td>
+ <!-- /SEPARATOR -->
+
+ <!-- CONTENT -->
+ <td style="width: auto;" valign="top">
+ <inp2:m_RenderElement name="content"/>
+ <br />
+ </td>
+ <!-- /CONTENT -->
+ </tr>
+ </table>
+
+ <table class="fullwidth">
+ <tr>
+ <td >
+ <inp2:m_include template="elements/footer.elm"/>
+ </td>
+ </tr>
+ </table>
+
+ </div>
+ </div>
+ <inp2:st_EditPage mode="end"/>
+ <inp2:m_include template="elements/tracking.elm"/>
+ </body>
+</html>
\ No newline at end of file
Index: branches/1.0.x/designs/general.tpl
===================================================================
--- branches/1.0.x/designs/general.tpl (nonexistent)
+++ branches/1.0.x/designs/general.tpl (revision 13321)
@@ -0,0 +1,69 @@
+<!--##
+<NAME>General - Section Template</NAME>
+<DESC>General</DESC>
+<SECTION>System</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:st_PageInfo type="title"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <div class="movable-area">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="elements/side_boxes/recommend_site.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="elements/side_boxes/mailing_list.elm" design="blue_box"/>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+ <div class="movable-area">
+ <div class="movable-element">
+ <inp2:m_include template="elements/navigation_bar.elm"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:st_PageInfo type="title"/>
+ </inp2:m_Capture>
+
+ <inp2:st_ContentBlock num="1"/>
+
+ <inp2:m_DefineElement name="menu_element" no_editing="1">
+ <li>
+ <a href="<inp2:m_Link template='$template' m_cat_id='$cat_id' use_section='$use_section' m_cat_page='1'/>" title="<inp2:m_Param name="title"/>"><inp2:m_Param name="title"/></a>
+ </li>
+ </inp2:m_DefineElement>
+
+ <ul style="padding: 0 0 0 40px; margin: 11px 0 11px 0;">
+ <inp2:st_CachedMenu render_as="menu_element"/>
+ </ul>
+
+ <inp2:st_ContentBlock num="2"/>
+
+ </inp2:m_RenderElement>
+ </div>
+ <div class="movable-area">
+ <!--## RELATED TO PAGE ITEMS ##-->
+ <!--##
+ <div class="movable-element">
+ <inp2:m_RenderElement design="content_box" related_to="Category" data_exists="1">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_RelatedItems"/>
+ </inp2:m_Capture>
+
+ <inp2:m_ModuleInclude template="elements/content_boxes/related_items" related_to="$related_to" />
+ </inp2:m_RenderElement>
+ </div>
+ ##-->
+ <!--## // RELATED TO PAGE ITEMS ##-->
+
+</inp2:m_DefineElement>
+
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Index: branches/1.0.x/in-commerce/module_info.xml
===================================================================
--- branches/1.0.x/in-commerce/module_info.xml (nonexistent)
+++ branches/1.0.x/in-commerce/module_info.xml (revision 13321)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<module_info>
+ <section_design_template>in-commerce/designs/section</section_design_template>
+ <item_design_template>in-commerce/products/product_details</item_design_template>
+</module_info>
\ No newline at end of file
Property changes on: branches/1.0.x/in-commerce/module_info.xml
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/in-commerce/my_account/affiliate/affiliate_payment_type.tpl
===================================================================
--- branches/1.0.x/in-commerce/my_account/affiliate/affiliate_payment_type.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/my_account/affiliate/affiliate_payment_type.tpl (revision 13321)
@@ -0,0 +1,69 @@
+<!--##
+<NAME>Affiliate - Payment Type</NAME>
+<DESC>Affiliate Payment Type page</DESC>
+<SECTION>System||My Account||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_Phrase label="lu_title_AffiliatePaymentType"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <inp2:m_Include template="elements/side_boxes/common_sideboxes.elm"/>
+ <inp2:m_if check="u_IsAffiliate">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+ </div>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm"
+ titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_AffiliatePaymentType"
+ templates="my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics,in-commerce/my_account/affiliate/affiliate_payment_type"/>
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_AffiliatePaymentType"/>
+ </inp2:m_Capture>
+
+ <table class="form-data fullwidth">
+ <tr>
+ <td class="field-name" style="width:155px">
+ <strong><inp2:m_Phrase label="lu_CurrentAffiliatePaymentType" />:</strong>
+ </td>
+ <td class="field-name"><inp2:u_AffiliateField name="PaymentTypeId" /></td>
+ </tr>
+ <tr><td colspan="2" style="padding-left:15px"><inp2:m_Phrase label="lu_ChangeAffiliatePaymentTypeDescription"/><br /><br /></td></tr>
+ </table>
+
+ <img src="<inp2:m_TemplatesBase />img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br />
+ <br />
+ <inp2:m_include template="in-commerce/elements/forms.elm"/>
+ <form method="post" action="<inp2:m_FormAction/>">
+ <table border="0" class="form-data fullwidth">
+ <inp2:m_RenderElement name="inp_affiliate_payment_types" field="PaymentTypeId" title="lu_fld_AffiliatePaymentType" style="width:155px"/>
+ <inp2:m_RenderElement name="inp_affiliate_textarea" field="Comments" title="lu_fld_AffiliateComments" cols="35" rows="5" style="width:155px" is_last="1"/>
+
+ <inp2:m_RenderElement design="inp_edit_buttons">
+ <input type="hidden" name="next_template" value="in-commerce/my_account/affiliate/affiliate_payment_type_changed" />
+ <input type="submit" class="button" name="events[affil][OnChangePaymentType]" id="events[affil][OnChangePaymentType]" value="<inp2:m_Phrase label="lu_ChangePaymentType"/>" />
+ </inp2:m_RenderElement>
+ </table>
+ </form>
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/my_account/affiliate/affiliate.tpl
===================================================================
--- branches/1.0.x/in-commerce/my_account/affiliate/affiliate.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/my_account/affiliate/affiliate.tpl (revision 13321)
@@ -0,0 +1,111 @@
+<!--##
+<NAME>Affiliate</NAME>
+<DESC>Affiliate page</DESC>
+<SECTION>System||My Account||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_Phrase label="lu_title_Affiliate"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<script language="JavaScript">
+function showAffiliateAgreement()
+{
+ window.open('<inp2:m_Link template="in-commerce/my_account/affiliate/affiliate_agreement" />', null, 'menubar=no,toolbars=no,width=500,height=300');
+}
+</script>
+
+<inp2:m_DefineElement name="affiliate_element">
+ <a href="<inp2:m_Link template="$template"/>">
+ <strong><inp2:m_Phrase label="$label"/></strong></a><br />
+ <inp2:m_Phrase label="$text"/><br /><br />
+</inp2:m_DefineElement>
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <inp2:m_Include template="elements/side_boxes/common_sideboxes.elm"/>
+ <inp2:m_if check="u_IsAffiliate">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+ </div>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm"
+ titles="lu_title_MyAccount,lu_title_Affiliate"
+ templates="my_account/my_account,in-commerce/my_account/affiliate/affiliate"/>
+
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_if check="u_IsAffiliate">
+ <!-- Affiliate Section List -->
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_Affiliate"/>
+ </inp2:m_Capture>
+
+ <inp2:m_if check="u_AffiliateIsNotActive">
+ <table class="warning-message fullwidth">
+ <tr>
+ <td width="30">
+ <img src="<inp2:m_TemplatesBase />img/warning_icon.gif" width="21" height="18" alt=""/>
+ </td>
+ <td><inp2:m_phrase name="lu_Warning"/></td>
+ </tr>
+ </table>
+ <br />
+ <inp2:m_Phrase label="lu_AffiliateIsPendingOrDisabled"/><br /><br />
+ </inp2:m_if>
+
+ <inp2:m_RenderElement name="affiliate_element" template="in-commerce/my_account/affiliate/affiliate_statistics" label="lu_comm_AffiliateStatistics" text="lu_AffiliateStatisticsText"/>
+ <inp2:m_RenderElement name="affiliate_element" template="in-commerce/my_account/affiliate/affiliate_payments" label="lu_AffiliatePayments" text="lu_AffiliatePaymentsText"/>
+ <inp2:m_RenderElement name="affiliate_element" template="in-commerce/my_account/affiliate/affiliate_materials" label="lu_AffiliateMaterials" text="lu_AffiliateMaterialsText"/>
+ <inp2:m_RenderElement name="affiliate_element" template="in-commerce/my_account/affiliate/affiliate_payment_type" label="lu_ChangePaymentType" text="lu_ChangePaymentTypeText"/>
+
+ <a href="<inp2:m_Link t='in-commerce/my_account/affiliate'/>" onclick="showAffiliateAgreement();return false;">
+ <strong><inp2:m_Phrase label="lu_TermsAndConditionsLink"/></strong></a><br />
+ <inp2:m_Phrase label="lu_TermsAndConditionsText"/><br /><br />
+ <!-- End Of Affiliate Section List -->
+ <inp2:m_else />
+ <!-- Affiliate Registration -->
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_AffiliateRegistration"/>
+ </inp2:m_Capture>
+
+ <inp2:m_Phrase label="lu_BecomeAnAffiliateDescription"/><br /><br />
+
+ <inp2:m_if check="u_HasError" field="any">
+ <inp2:m_RenderElement name="error_message" />
+ </inp2:m_if>
+
+ <img src="<inp2:m_TemplatesBase />img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br />
+ <br />
+ <inp2:m_include template="in-commerce/elements/forms.elm"/>
+ <form method="post" action="<inp2:m_FormAction/>">
+ <table border="0" class="form-data fullwidth">
+ <inp2:m_RenderElement name="inp_affiliate_box" field="SSN" title="lu_fld_SSNField" style="width:155px" required="1"/>
+ <inp2:m_RenderElement name="inp_affiliate_payment_types" field="PaymentTypeId" title="lu_fld_AffiliatePaymentType" style="width:155px"/>
+ <inp2:m_RenderElement name="inp_affiliate_textarea" field="Comments" title="lu_fld_AffiliateComments" cols="35" rows="5" style="width:155px"/>
+ <inp2:m_RenderElement name="inp_affiliate_terms_checkbox"/>
+
+ <inp2:m_RenderElement design="inp_edit_buttons">
+ <input type="hidden" name="next_template" value="in-commerce/my_account/affiliate/affiliate_thankyou" />
+ <input type="submit" class="button" name="events[affil][OnBecomeAffiliate]" id="events[affil][OnBecomeAffiliate]" value="<inp2:m_Phrase label="lu_comm_BecomeAnAffiliate"/>" />
+ </inp2:m_RenderElement>
+ </table>
+ </form>
+ </inp2:m_if>
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/my_account/affiliate/affiliate_payments.tpl
===================================================================
--- branches/1.0.x/in-commerce/my_account/affiliate/affiliate_payments.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/my_account/affiliate/affiliate_payments.tpl (revision 13321)
@@ -0,0 +1,65 @@
+<!--##
+<NAME>Affiliate Payments</NAME>
+<DESC>Affiliate Payments List page</DESC>
+<SECTION>System||My Account||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_Phrase label="lu_title_ComissionPayments"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <inp2:m_Include template="elements/side_boxes/common_sideboxes.elm"/>
+ <inp2:m_if check="u_IsAffiliate">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+ </div>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm"
+ titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_ComissionPayments"
+ templates="my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics,in-commerce/my_account/affiliate/affiliate_payments"/>
+ <inp2:m_RenderElement design="content_box" block_no_data="no_payments">
+
+ <inp2:apayments_InitList list_name="my_payments_list" types="my_payments"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_ComissionPayments"/> (<inp2:apayments_TotalRecords list_name="my_payments_list" />)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/affiliates.elm"/>
+
+ <table class="fullwidth">
+ <inp2:m_RenderElement name="separator" colspan="4"/>
+ <tr class="sub-section-header">
+ <td><inp2:m_Phrase label="lu_Date"/></td>
+ <td><inp2:m_Phrase label="lu_PaymentReference"/></td>
+ <td><inp2:m_Phrase label="lu_PaymentAmount"/></td>
+ </tr>
+ <inp2:m_RenderElement name="separator" colspan="4"/>
+
+ <inp2:m_include template="in-commerce/elements/affiliates.elm"/>
+
+ <inp2:apayments_PrintList list_name="my_payments_list" render_as="payment_element"/>
+ </table>
+
+ <inp2:m_include template="elements/pagination.elm" prefix="apayments" list_name="my_payments_list"/>
+
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/my_account/affiliate/affiliate_materials.tpl
===================================================================
--- branches/1.0.x/in-commerce/my_account/affiliate/affiliate_materials.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/my_account/affiliate/affiliate_materials.tpl (revision 13321)
@@ -0,0 +1,72 @@
+<!--##
+<NAME>Affiliate Materials</NAME>
+<DESC>Affiliate Materials page</DESC>
+<SECTION>System||My Account||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_Phrase label="lu_AffiliateMaterials"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <inp2:m_Include template="elements/side_boxes/common_sideboxes.elm"/>
+ <inp2:m_if check="u_IsAffiliate">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+ </div>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm"
+ titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_ComissionPayments"
+ templates="my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics,in-commerce/my_account/affiliate/affiliate_materials"/>
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_ComissionPayments"/>
+ </inp2:m_Capture>
+
+ <inp2:m_if check="u_IsAffiliate">
+ <table>
+ <tr>
+ <td colspan="2"><inp2:m_Phrase label="lu_AffiliateMaterials"/></td>
+ </tr>
+ <tr>
+ <td>
+ <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>
+ <inp2:m_Phrase label="lu_comm_AffilliateMaterialsCode"/>:
+ <blockquote style="border: 1px dashed #cccccc; background-color: #f3f3f3; padding: 8px">
+ <small>
+ &lt;a href="<inp2:affil_GetUserAffiliateLink template="index"/>"&gt;
+ <inp2:conf_ConfigValue name="Site_Name"/>
+ &lt;/a&gt;
+ </small>
+ </blockquote>
+ <inp2:m_Phrase label="lu_comm_AffilliateMaterialsCopy"/>
+ </td>
+ </tr>
+ </table>
+ </inp2:m_if>
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/my_account/affiliate/affiliate_thankyou.tpl
===================================================================
--- branches/1.0.x/in-commerce/my_account/affiliate/affiliate_thankyou.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/my_account/affiliate/affiliate_thankyou.tpl (revision 13321)
@@ -0,0 +1,42 @@
+<!--##
+<NAME>Affiliate Thank you</NAME>
+<DESC>Thank you for Becoming Affiliate</DESC>
+<SECTION>System||My Account||Affiliates</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_AffiliateRegistration"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <inp2:m_Include template="elements/side_boxes/common_sideboxes.elm"/>
+ <inp2:m_if check="u_IsAffiliate">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+ </div>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm"
+ titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateRegistration"
+ templates="my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_thankyou"/>
+
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_AffiliateRegistration"/>
+ </inp2:m_Capture>
+
+ <inp2:m_Phrase label="lu_ThankYouForBecomingAffiliate"/>
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/my_account/affiliate/affiliate_statistics_orders_list.tpl
===================================================================
--- branches/1.0.x/in-commerce/my_account/affiliate/affiliate_statistics_orders_list.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/my_account/affiliate/affiliate_statistics_orders_list.tpl (revision 13321)
@@ -0,0 +1,67 @@
+<!--##
+<NAME>Affiliate - Orders List</NAME>
+<DESC>Affiliate Orders List page</DESC>
+<SECTION>System||My Account||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_Phrase label="lu_title_AffiliateStatisticsOrders"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <inp2:m_Include template="elements/side_boxes/common_sideboxes.elm"/>
+ <inp2:m_if check="u_IsAffiliate">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+ </div>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm"
+ titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_AffiliateStatisticsOrders"
+ templates="my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics,in-commerce/my_account/affiliate/affiliate_statistics_orders_list"/>
+
+ <inp2:m_RenderElement design="content_box" block_no_data="no_orders">
+
+ <inp2:visits_InitList list_name="visitors_orders_list" types="myvisitororders" grid="visitsincommerce"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_AffiliateStatisticsOrders"/>
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/affiliate_date_filter.elm" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+
+ <inp2:m_include template="in-commerce/elements/affiliates.elm"/>
+
+ <table class="fullwidth">
+ <inp2:m_RenderElement name="separator" colspan="4"/>
+ <tr class="sub-section-header">
+ <td><inp2:m_Phrase label="lu_col_Date"/></td>
+ <td><inp2:m_Phrase label="lu_col_OrderNumber"/></td>
+ <td><inp2:m_Phrase label="lu_col_OrderTotalAmount"/></td>
+ <td><inp2:m_Phrase label="lu_col_OrderCommissionEarned"/></td>
+ </tr>
+ <inp2:m_RenderElement name="separator" colspan="5"/>
+ <inp2:visits_PrintList list_name="visitors_orders_list" render_as="my_order_element"/>
+ <inp2:visits_AffiliateOrderInfo list_name="visitors_orders_list" types="myvisitors" render_as="affiliate_orders_info" currency="selected" />
+ </table>
+
+ <inp2:m_include template="elements/pagination.elm" prefix="visits" list_name="visitors_orders_list"/>
+
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/my_account/affiliate/affiliate_statistics_visits_list.tpl
===================================================================
--- branches/1.0.x/in-commerce/my_account/affiliate/affiliate_statistics_visits_list.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/my_account/affiliate/affiliate_statistics_visits_list.tpl (revision 13321)
@@ -0,0 +1,66 @@
+<!--##
+<NAME>Affiliate Visits List</NAME>
+<DESC>Affiliate Visits List page</DESC>
+<SECTION>System||My Account||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_Phrase label="lu_title_AffiliateStatisticsVisits"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <inp2:m_Include template="elements/side_boxes/common_sideboxes.elm"/>
+ <inp2:m_if check="u_IsAffiliate">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+ </div>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm"
+ titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_AffiliateStatisticsVisits"
+ templates="my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics,in-commerce/my_account/affiliate/affiliate_statistics_visits_list"/>
+
+ <inp2:m_RenderElement design="content_box" block_no_data="no_visitors">
+ <inp2:visits_InitList list_name="visitors_list" types="myvisitors" grid="visitsincommerce"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_AffiliateStatisticsVisits"/> (<inp2:visits_TotalRecords list_name="visitors_list" />)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/affiliate_date_filter.elm" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+
+ <inp2:m_include template="in-commerce/elements/affiliates.elm"/>
+
+ <table class="fullwidth">
+ <inp2:m_RenderElement name="separator" colspan="5"/>
+ <tr class="sub-section-header">
+ <td><inp2:m_Phrase label="lu_col_Date"/></td>
+ <td><inp2:m_Phrase label="lu_col_Referer"/></td>
+ <td><inp2:m_Phrase label="lu_col_OrderCount"/></td>
+ <td><inp2:m_Phrase label="lu_col_OrderTotalAmount"/></td>
+ <td><inp2:m_Phrase label="lu_col_OrderCommissionEarned"/></td>
+ </tr>
+ <inp2:m_RenderElement name="separator" colspan="5"/>
+ <inp2:visits_PrintList list_name="visitors_list" render_as="my_visitor_element"/>
+ <inp2:visits_AffiliateOrderInfo list_name="visitors_list" types="myvisitors" render_as="affiliate_visits_info" currency="selected" />
+ </table>
+
+ <inp2:m_include template="elements/pagination.elm" prefix="visits" list_name="visitors_list"/>
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
Index: branches/1.0.x/in-commerce/my_account/affiliate/affiliate_agreement.tpl
===================================================================
--- branches/1.0.x/in-commerce/my_account/affiliate/affiliate_agreement.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/my_account/affiliate/affiliate_agreement.tpl (revision 13321)
@@ -0,0 +1,7 @@
+<!--##
+<NAME>Affiliate Agreement</NAME>
+<DESC>Affiliate Agreement page</DESC>
+<SECTION>System||My Account||Affiliates</SECTION>
+##-->
+
+Affiliate Agreement gones here
\ No newline at end of file
Index: branches/1.0.x/in-commerce/my_account/affiliate/affiliate_payment_type_changed.tpl
===================================================================
--- branches/1.0.x/in-commerce/my_account/affiliate/affiliate_payment_type_changed.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/my_account/affiliate/affiliate_payment_type_changed.tpl (revision 13321)
@@ -0,0 +1,43 @@
+<!--##
+<NAME>Affiliate - Payment Type Changed</NAME>
+<DESC>Affiliate Payment Type Changed page</DESC>
+<SECTION>System||My Account||Affiliates</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_Phrase label="lu_title_AffiliatePaymentTypeChanged"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <inp2:m_Include template="elements/side_boxes/common_sideboxes.elm"/>
+ <inp2:m_if check="u_IsAffiliate">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+ </div>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm"
+ titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics,lu_title_AffiliatePaymentType,lu_title_AffiliatePaymentTypeChanged"
+ templates="my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_payment_type,in-commerce/my_account/affiliate/affiliate_payment_type_changed"/>
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_AffiliatePaymentTypeChanged"/>
+ </inp2:m_Capture>
+
+ <inp2:m_Phrase label="lu_AffiliatePaymentTypeChangedMessage"/>
+
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/my_account/affiliate/affiliate_statistics.tpl
===================================================================
--- branches/1.0.x/in-commerce/my_account/affiliate/affiliate_statistics.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/my_account/affiliate/affiliate_statistics.tpl (revision 13321)
@@ -0,0 +1,52 @@
+<!--##
+<NAME>Affiliate Statistics</NAME>
+<DESC>Affiliate Statistics page</DESC>
+<SECTION>System||My Account||Affiliates</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="login/register"/> <!--## LOGIN REQUIRED ##-->
+<inp2:m_CheckSSL mode="required" condition="Require_SSL" /> <!--## CHECK IF SSL REQUIRED ##-->
+<inp2:m_RequireAffiliate registration_template="in-commerce/my_account/affiliate/affiliate" /> <!--## MUST BE AN AFFILIATE ##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_Phrase label="lu_title_AffiliateStatistics"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <inp2:m_Include template="elements/side_boxes/common_sideboxes.elm"/>
+ <inp2:m_if check="u_IsAffiliate">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-commerce/elements/side_boxes/affiliate_navigation.elm" design="blue_box"/>
+ </div>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+<!--## /SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm"
+ titles="lu_title_MyAccount,lu_title_Affiliate,lu_title_AffiliateStatistics"
+ templates="my_account/my_account,in-commerce/my_account/affiliate/affiliate,in-commerce/my_account/affiliate/affiliate_statistics"/>
+
+ <inp2:m_RenderElement design="content_box">
+ <inp2:visits_InitList list_name="visitors_list" types="myvisitors" grid="visitsincommerce" per_page="5"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_AffiliateStatistics"/>
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/affiliate_date_filter.elm" prefix="visits.incommerce" field="VisitDate" grid_name="visitsincommerce"/>
+
+ <inp2:m_include template="in-commerce/elements/affiliates.elm"/>
+
+ <inp2:visits_AffiliateOrderInfo list_name="visitors_list" types="myvisitors" render_as="affiliate_info" currency="selected"/>
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/elements/content_boxes/home_page_items.elm.tpl
===================================================================
--- branches/1.0.x/in-commerce/elements/content_boxes/home_page_items.elm.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/elements/content_boxes/home_page_items.elm.tpl (revision 13321)
@@ -0,0 +1,73 @@
+<table class="fullwidth">
+ <tr>
+ <td class="home-baner-cell">
+
+ <div id="slider">
+ <ul>
+ <li><a href=""><img src="<inp2:m_TemplatesBase />img/banners/home/banner1.gif" width="400" height="161" alt="" /></a></li>
+ <li><a href=""><img src="<inp2:m_TemplatesBase />img/banners/home/banner2.gif" width="400" height="161" alt="" /></a></li>
+ <li><a href=""><img src="<inp2:m_TemplatesBase />img/banners/home/banner3.gif" width="400" height="161" alt="" /></a></li>
+ <li><a href=""><img src="<inp2:m_TemplatesBase />img/banners/home/banner4.gif" width="400" height="161" alt="" /></a></li>
+ <!--##
+ <li><a href=""><img src="<inp2:m_TemplatesBase />img/banners/home/banner5.gif" width="400" height="161" alt="" /></a></li>
+ ##-->
+ </ul>
+ </div>
+ </td>
+ <td class="home-login-cell" valign="top">
+ <inp2:m_include template="elements/side_boxes/login.elm"/>
+ </td>
+ </tr>
+</table>
+<img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="4" alt="" /><br />
+
+<inp2:m_RenderElement design="content_box" data_exists="1">
+
+ <inp2:p_InitList list_name="new_products" types="new" recursive="true" per_page="2" />
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_NewProducts"/>
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/products.elm"/>
+
+ <table class="fullwidth">
+ <inp2:p_ListProducts list_name="new_products" render_as="product_short_element" columns="2" direction="H" />
+ </table>
+<!--##
+ <inp2:m_DefineElement name="more_link">
+ <div style="text-align: right;">
+ <a href="<inp2:m_Link template="in-commerce/products/new_products" />"><inp2:m_Phrase label="lu_More"/>...</a>
+ </div>
+ </inp2:m_DefineElement>
+
+ <inp2:p_MoreLink list_name="new_products" render_as="more_link"/>
+##-->
+</inp2:m_RenderElement>
+
+
+<!--## FEATURED PRODUCTS DISPLAIED ON HOME PAGE ##-->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+
+ <inp2:p_InitList list_name="featured_products" types="featured" recursive="1" per_page="4" sort_by="random" m_cat_id="0"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_FeaturedProducts"/>
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/products.elm"/>
+
+ <table class="fullwidth">
+ <inp2:p_ListProducts list_name="featured_products" render_as="featured_product_element_short" columns="2" direction="H"/>
+ </table>
+<!--##
+ <inp2:m_DefineElement name="more_link">
+ <div style="text-align: right;">
+ <a href="<inp2:m_Link template="in-commerce/products/featured_products" />"><inp2:m_Phrase label="lu_More"/>...</a><br />
+ </div>
+ </inp2:m_DefineElement>
+
+ <inp2:p_MoreLink list_name="featured_products" render_as="more_link"/>
+##-->
+</inp2:m_RenderElement>
+<!--## /FEATURED PRODUCTS DISPLAIED ON HOME PAGE ##-->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/elements/content_boxes/search_results.elm.tpl
===================================================================
--- branches/1.0.x/in-commerce/elements/content_boxes/search_results.elm.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/elements/content_boxes/search_results.elm.tpl (revision 13321)
@@ -0,0 +1,26 @@
+<inp2:m_RenderElement design="content_box" data_exists="1">
+ <inp2:p_InitList list_name="product_search_results" types="search" parent_cat_id="any" recursive="1" per_page="short_list"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_ProductSearchResults"/> (<inp2:p_TotalRecords list_name="product_search_results" />)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/products.elm"/>
+ <inp2:m_include template="elements/search_results.elm"/>
+
+ <table class="fullwidth item-listing">
+ <inp2:p_ListProducts list_name="product_search_results" render_as="product_element" show_relevance="1"/>
+ </table>
+
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br /></div>
+
+ <inp2:m_if check="p_TotalRecords" list_name="product_search_results">
+ <inp2:m_Set items_found="1"/>
+ </inp2:m_if>
+
+ <inp2:m_DefineElement name="more_link">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="5" alt="" /><br />
+ <a href="<inp2:m_Link template="in-commerce/products/search_results" />"><inp2:m_Phrase label="lu_More"/>...</a>
+ </inp2:m_DefineElement>
+ <inp2:p_MoreLink list_name="product_search_results" render_as="more_link" />
+</inp2:m_RenderElement>
\ No newline at end of file
Index: branches/1.0.x/in-commerce/elements/content_boxes/my_favorites.elm.tpl
===================================================================
--- branches/1.0.x/in-commerce/elements/content_boxes/my_favorites.elm.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/elements/content_boxes/my_favorites.elm.tpl (revision 13321)
@@ -0,0 +1,21 @@
+<!-- products in wishlist -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+ <inp2:p_InitList list_name="wishlist_products" types="wish_list" parent_cat_id="0" recursive="1"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_WishList"/> (<inp2:p_TotalRecords list_name="wishlist_products"/>)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/products.elm"/>
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:p_ListProducts list_name="wishlist_products" render_as="product_element" direction="H"/>
+ </table>
+
+ <inp2:m_if check="p_TotalRecords" list_name="wishlist_products">
+ <inp2:m_Set favorites_found="1"/>
+ </inp2:m_if>
+
+ <inp2:m_include template="elements/pagination.elm" prefix="p" list_name="wishlist_products"/>
+</inp2:m_RenderElement>
+<!-- // products in wishlist -->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/elements/content_boxes/pick_products.elm.tpl
===================================================================
--- branches/1.0.x/in-commerce/elements/content_boxes/pick_products.elm.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/elements/content_boxes/pick_products.elm.tpl (revision 13321)
@@ -0,0 +1,22 @@
+<!-- editors pick -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+ <inp2:p_InitList list_name="pick_products" types="pick" recursive="true" per_page="short_list" />
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_PickProducts"/>
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/products.elm"/>
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:p_ListProducts list_name="pick_products" render_as="product_element"/>
+ </table>
+
+ <inp2:m_DefineElement name="more_link">
+ <div style="text-align: right;">
+ <a href="<inp2:m_Link template="in-commerce/products/pick_products.elm"/>"><inp2:m_Phrase label="lu_More"/>...</a>
+ </div>
+ </inp2:m_DefineElement>
+ <inp2:p_MoreLink list_name="pick_products" render_as="more_link"/>
+</inp2:m_RenderElement>
+<!-- //editors pick -->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/elements/content_boxes/new_products.elm.tpl
===================================================================
--- branches/1.0.x/in-commerce/elements/content_boxes/new_products.elm.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/elements/content_boxes/new_products.elm.tpl (revision 13321)
@@ -0,0 +1,25 @@
+<!-- editors pick -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+
+ <inp2:p_InitList list_name="new_products" types="new" recursive="true" per_page="2" />
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_NewProducts"/>
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/products.elm"/>
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:p_ListProducts list_name="new_products" render_as="product_element" />
+ </table>
+
+ <inp2:m_DefineElement name="more_link">
+ <div style="text-align: right;">
+ <a href="<inp2:m_Link template="in-commerce/products/new_products.elm" />"><inp2:m_Phrase label="lu_More"/>...</a>
+ </div>
+ </inp2:m_DefineElement>
+
+ <inp2:p_MoreLink list_name="new_products" render_as="more_link"/>
+
+</inp2:m_RenderElement>
+<!-- //editors pick -->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/elements/content_boxes/featured_products.elm.tpl
===================================================================
--- branches/1.0.x/in-commerce/elements/content_boxes/featured_products.elm.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/elements/content_boxes/featured_products.elm.tpl (revision 13321)
@@ -0,0 +1,23 @@
+<!-- FEATURED PRODUCTS -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+ <inp2:p_InitList list_name="featured_products" types="featured" recursive="1" per_page="1" sort_by="random"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_FeaturedProducts"/>
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/products.elm"/>
+
+ <table class="fullwidth item-listing-featured table-border">
+ <inp2:p_ListProducts list_name="featured_products" render_as="featured_product_element"/>
+ </table>
+
+ <inp2:m_DefineElement name="more_link">
+ <div style="text-align: right;">
+ <a href="<inp2:m_Link template="in-commerce/products/featured_products.elm" />"><inp2:m_Phrase label="lu_More"/>...</a><br />
+ </div>
+ </inp2:m_DefineElement>
+
+ <inp2:p_MoreLink list_name="featured_products" render_as="more_link"/>
+</inp2:m_RenderElement>
+<!-- /FEATURED PRODUCTS -->
\ No newline at end of file
Index: branches/1.0.x/in-commerce/elements/content_boxes/related_products.elm.tpl
===================================================================
--- branches/1.0.x/in-commerce/elements/content_boxes/related_products.elm.tpl (nonexistent)
+++ branches/1.0.x/in-commerce/elements/content_boxes/related_products.elm.tpl (revision 13321)
@@ -0,0 +1,19 @@
+<!-- related products -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+ <inp2:p_InitList list_name="related_products" types="related" recursive="1" parent_cat_id="any" />
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_RelatedProducts"/> (<inp2:p_TotalRecords list_name="related_products"/>)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-commerce/elements/sorting.elm" list_name="related_products"/>
+
+ <inp2:m_include template="in-commerce/elements/products.elm"/>
+
+ <table class="fullwidth item-listing">
+ <inp2:p_ListProducts list_name="related_products" render_as="product_element"/>
+ </table>
+
+ <inp2:m_include template="elements/pagination.elm" prefix="p" list_name="related_products"/>
+</inp2:m_RenderElement>
+<!-- // related products -->
\ No newline at end of file
Index: branches/1.0.x/thankyou.tpl
===================================================================
--- branches/1.0.x/thankyou.tpl (nonexistent)
+++ branches/1.0.x/thankyou.tpl (revision 13321)
@@ -0,0 +1,28 @@
+<!--##
+<NAME>Thank You</NAME>
+<DESC>Thank you for submitting contact form</DESC>
+<SECTION>System</SECTION>
+##-->
+
+<!--## DEFINE MAIN CONTENT ELEMENT ##-->
+<inp2:m_DefineElement name="content">
+
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <inp2:st_PageInfo type="title"/>
+ </inp2:m_Capture>
+
+ <inp2:st_ContentBlock num="1"/>
+
+ <br /><br />
+ <inp2:formsubs_PhraseFromRequest name="thankyou_text" default="lu_text_Thankyou"/>
+
+ </inp2:m_RenderElement>
+
+</inp2:m_DefineElement>
+<!--## /DEFINE MAIN CONTENT ELEMENT ##-->
+
+<!--## INCLUDE MAIN DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des"/>
+<!--## /INCLUDE MAIN DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/_install/theme.xml
===================================================================
--- branches/1.0.x/_install/theme.xml (nonexistent)
+++ branches/1.0.x/_install/theme.xml (revision 13321)
@@ -0,0 +1,5 @@
+<theme>
+ <default_design>designs/general</default_design>
+ <form_design>designs/form</form_design>
+ <form_thankyou>thankyou</form_thankyou>
+</theme>
\ No newline at end of file
Property changes on: branches/1.0.x/_install/theme.xml
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/_install/english.lang
===================================================================
--- branches/1.0.x/_install/english.lang (nonexistent)
+++ branches/1.0.x/_install/english.lang (revision 13321)
@@ -0,0 +1,390 @@
+<LANGUAGES>
+ <LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><DOCS_URL>http://docs.in-portal.org/eng/index.php</DOCS_URL><UNITSYSTEM>2</UNITSYSTEM>
+ <PHRASES>
+ <PHRASE Label="lu_add" Module="Core" Type="0">QWRk</PHRASE>
+ <PHRASE Label="lu_added" Module="Core" Type="0">QWRkZWQ=</PHRASE>
+ <PHRASE Label="lu_AddedToday" Module="Core" Type="0">QWRkZWQgdG9kYXk=</PHRASE>
+ <PHRASE Label="lu_address" Module="Core" Type="0">QWRkcmVzcw==</PHRASE>
+ <PHRASE Label="lu_address_line" Module="Core" Type="0">QWRkcmVzcyBMaW5l</PHRASE>
+ <PHRASE Label="lu_AdvancedSearch" Module="Core" Type="0">QWR2YW5jZWQgU2VhcmNo</PHRASE>
+ <PHRASE Label="lu_AllRightsReserved" Module="Core" Type="0">QWxsIHJpZ2h0cyByZXNlcnZlZC4=</PHRASE>
+ <PHRASE Label="lu_AllWebsite" Module="Core" Type="0">RW50aXJlIFdlYnNpdGU=</PHRASE>
+ <PHRASE Label="lu_and" Module="Core" Type="0">QW5k</PHRASE>
+ <PHRASE Label="lu_AProblemInForm" Module="Core" Type="0">VGhlcmUgaXMgYSBwcm9ibGVtIHdpdGggdGhlIGZvcm0sIHBsZWFzZSBjaGVjayB0aGUgZXJyb3IgbWVzc2FnZXMgYmVsb3cu</PHRASE>
+ <PHRASE Label="lu_AProblemWithForm" Module="Core" Type="0">VGhlcmUgaXMgYSBwcm9ibGVtIHdpdGggdGhlIGZvcm0sIHBsZWFzZSBjaGVjayB0aGUgZXJyb3IgbWVzc2FnZXMgYmVsb3c=</PHRASE>
+ <PHRASE Label="lu_ascending" Module="Core" Type="0">QXNjZW5kaW5n</PHRASE>
+ <PHRASE Label="lu_birth_date" Module="Core" Type="0">QmlydGggRGF0ZQ==</PHRASE>
+ <PHRASE Label="lu_btn_AddReview" Module="Core" Type="0">QWRkIENvbW1lbnQ=</PHRASE>
+ <PHRASE Label="lu_btn_AddToFavorites" Module="Core" Type="0">QWRkIFRvIEZhdm9yaXRlcw==</PHRASE>
+ <PHRASE Label="lu_btn_AddToWishList" Module="Core" Type="0">QWRkIFRvIFdpc2ggTGlzdA==</PHRASE>
+ <PHRASE Label="lu_btn_advancedsearch" Module="Core" Type="0">QWR2YW5jZWQgc2VhcmNo</PHRASE>
+ <PHRASE Label="lu_btn_Cancel" Module="Core" Type="0">Q2FuY2Vs</PHRASE>
+ <PHRASE Label="lu_btn_Clear" Module="Core" Type="0">Q2xlYXI=</PHRASE>
+ <PHRASE Label="lu_btn_CloseWindow" Module="Core" Type="0">Q2xvc2UgV2luZG93</PHRASE>
+ <PHRASE Label="lu_btn_Contact" Module="Core" Type="0">Q29udGFjdA==</PHRASE>
+ <PHRASE Label="lu_btn_Create" Module="Core" Type="0">Q3JlYXRl</PHRASE>
+ <PHRASE Label="lu_btn_Delete" Module="Core" Type="0">RGVsZXRl</PHRASE>
+ <PHRASE Label="lu_btn_DeleteFile" Module="Core" Type="0">RGVsZXRlIEZpbGU=</PHRASE>
+ <PHRASE Label="lu_btn_DeleteImage" Module="Core" Type="0">RGVsZXRlIEltYWdl</PHRASE>
+ <PHRASE Label="lu_btn_Details" Module="Core" Type="0">RGV0YWlscw==</PHRASE>
+ <PHRASE Label="lu_btn_Edit" Module="Core" Type="0">RWRpdA==</PHRASE>
+ <PHRASE Label="lu_btn_FindIt" Module="Core" Type="0">RmluZCBpdA==</PHRASE>
+ <PHRASE Label="lu_btn_Modify" Module="Core" Type="0">TW9kaWZ5</PHRASE>
+ <PHRASE Label="lu_btn_MoreImages" Module="Core" Type="0">TW9yZSBJbWFnZXM=</PHRASE>
+ <PHRASE Label="lu_btn_NewLink" Module="Core" Type="0">TmV3IExpbms=</PHRASE>
+ <PHRASE Label="lu_btn_No" Module="Core" Type="0">Tm8=</PHRASE>
+ <PHRASE Label="lu_btn_Ok" Module="Core" Type="0">T0s=</PHRASE>
+ <PHRASE Label="lu_btn_Recommend" Module="Core" Type="0">UmVjb21tZW5k</PHRASE>
+ <PHRASE Label="lu_btn_register" Module="Core" Type="0">UmVnaXN0ZXI=</PHRASE>
+ <PHRASE Label="lu_btn_RemoveFromFavorites" Module="Core" Type="0">UmVtb3ZlIEZyb20gRmF2b3JpdGVz</PHRASE>
+ <PHRASE Label="lu_btn_Reset" Module="Core" Type="0">UmVzZXQ=</PHRASE>
+ <PHRASE Label="lu_btn_Select" Module="Core" Type="0">U2VsZWN0</PHRASE>
+ <PHRASE Label="lu_btn_SendPassword" Module="Core" Type="0">UmVjb3ZlciBQYXNzd29yZA==</PHRASE>
+ <PHRASE Label="lu_btn_Set" Module="Core" Type="0">U2V0</PHRASE>
+ <PHRASE Label="lu_btn_Sort" Module="Core" Type="0">U29ydA==</PHRASE>
+ <PHRASE Label="lu_btn_Subscribe" Module="Core" Type="0">U3Vic2NyaWJl</PHRASE>
+ <PHRASE Label="lu_btn_Unsubscribe" Module="Core" Type="0">VW5zdWJzY3JpYmU=</PHRASE>
+ <PHRASE Label="lu_btn_Update" Module="Core" Type="0">VXBkYXRl</PHRASE>
+ <PHRASE Label="lu_btn_ViewYourProfile" Module="Core" Type="0">VmlldyBZb3VyIFByb2ZpbGU=</PHRASE>
+ <PHRASE Label="lu_btn_Yes" Module="Core" Type="0">WWVz</PHRASE>
+ <PHRASE Label="lu_by" Module="Core" Type="0">Ynk=</PHRASE>
+ <PHRASE Label="lu_cancel" Module="Core" Type="0">Q2FuY2Vs</PHRASE>
+ <PHRASE Label="lu_captcha" Module="Core" Type="0">U2VjdXJpdHkgY29kZQ==</PHRASE>
+ <PHRASE Label="lu_captcha_error" Module="Core" Type="0">U2VjdXJpdHkgY29kZSBlbnRlcmVkIGluY29ycmVjdGx5</PHRASE>
+ <PHRASE Label="lu_captcha_prompt" Module="Core" Type="0">RW50ZXIgU2VjdXJpdHkgQ29kZQ==</PHRASE>
+ <PHRASE Label="lu_CategoriesUpdated" Module="Core" Type="0">TGFzdCB1cGRhdGVkIG9u</PHRASE>
+ <PHRASE Label="lu_city" Module="Core" Type="0">Q2l0eQ==</PHRASE>
+ <PHRASE Label="lu_ClickHere" Module="Core" Type="0">Y2xpY2sgaGVyZQ==</PHRASE>
+ <PHRASE Label="lu_code_expired" Module="Core" Type="0">UGFzc3dvcmQgcmVzZXQgaGFzIGNvZGUgZXhwaXJlZA==</PHRASE>
+ <PHRASE Label="lu_code_is_not_valid" Module="Core" Type="0">UGFzc3dvcmQgcmVzZXQgY29kZSBpcyBub3QgdmFsaWQ=</PHRASE>
+ <PHRASE Label="lu_col_AccountInformation" Module="Core" Type="0">QWNjb3VudCBJbmZvcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_col_CurrentValue" Module="Core" Type="0">Q3VycmVudCBWYWx1ZQ==</PHRASE>
+ <PHRASE Label="lu_col_Date" Module="Core" Type="0">RGF0ZQ==</PHRASE>
+ <PHRASE Label="lu_col_DisplayToPublic" Module="Core" Type="0">RGlzcGxheSB0byBQdWJsaWM=</PHRASE>
+ <PHRASE Label="lu_col_Email" Module="Core" Type="0">RW1haWw=</PHRASE>
+ <PHRASE Label="lu_col_LastUpdate" Module="Core" Type="0">TGFzdCBVcGRhdGU=</PHRASE>
+ <PHRASE Label="lu_col_loggedin" Module="Core" Type="0">T25saW5l</PHRASE>
+ <PHRASE Label="lu_col_login" Module="Core" Type="0">TG9naW4=</PHRASE>
+ <PHRASE Label="lu_col_MemberSince" Module="Core" Type="0">TWVtYmVyIHNpbmNl</PHRASE>
+ <PHRASE Label="lu_col_Message" Module="Core" Type="0">TWVzc2FnZQ==</PHRASE>
+ <PHRASE Label="lu_col_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+ <PHRASE Label="lu_col_Price" Module="Core" Type="0">UHJpY2U=</PHRASE>
+ <PHRASE Label="lu_col_Views" Module="Core" Type="0">Vmlld3M=</PHRASE>
+ <PHRASE Label="lu_comm_EmailAddress" Module="Core" Type="0">RW1haWxBZGRyZXNz</PHRASE>
+ <PHRASE Label="lu_comm_Go" Module="Core" Type="0">R28=</PHRASE>
+ <PHRASE Label="lu_comm_NoPermissions" Module="Core" Type="0">Tm8gUGVybWlzc2lvbnM=</PHRASE>
+ <PHRASE Label="lu_comm_Page" Module="Core" Type="0">UGFnZQ==</PHRASE>
+ <PHRASE Label="lu_company" Module="Core" Type="0">Q29tcGFueQ==</PHRASE>
+ <PHRASE Label="lu_ContactUs" Module="Core" Type="0">Q29udGFjdCBVcw==</PHRASE>
+ <PHRASE Label="lu_contact_information" Module="Core" Type="0">Q29udGFjdCBJbmZvcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_country" Module="Core" Type="0">Q291bnRyeQ==</PHRASE>
+ <PHRASE Label="lu_create_password" Module="Core" Type="0">Q3JlYXRlIFBhc3N3b3Jk</PHRASE>
+ <PHRASE Label="lu_CreditCards" Module="Core" Type="0">Q3JlZGl0IENhcmRz</PHRASE>
+ <PHRASE Label="lu_CurrentRating" Module="Core" Type="0">Q3VycmVudCBSYXRpbmc=</PHRASE>
+ <PHRASE Label="lu_CurrentTheme" Module="Core" Type="0">WW91ciBUaGVtZQ==</PHRASE>
+ <PHRASE Label="lu_date" Module="Core" Type="0">RGF0ZQ==</PHRASE>
+ <PHRASE Label="lu_delete" Module="Core" Type="0">RGVsZXRl</PHRASE>
+ <PHRASE Label="lu_descending" Module="Core" Type="0">RGVzY2VuZGluZw==</PHRASE>
+ <PHRASE Label="lu_DescriptionAZ" Module="Core" Type="0">RGVzY3JpcHRpb24gQSB0byBa</PHRASE>
+ <PHRASE Label="lu_DescriptionZA" Module="Core" Type="0">RGVzY3JpcHRpb24gWiB0byBB</PHRASE>
+ <PHRASE Label="lu_description_MyFavorites" Module="Core" Type="0">WW91ciBGYXZvcml0ZSBJdGVtcw==</PHRASE>
+ <PHRASE Label="lu_description_MyPreferences" Module="Core" Type="0">RWRpdCB5b3VyIFByZWZlcmVuY2Vz</PHRASE>
+ <PHRASE Label="lu_description_MyProfile" Module="Core" Type="0">WW91ciBQcm9maWxlIEluZm9ybWF0aW9u</PHRASE>
+ <PHRASE Label="lu_description_PrivateMessages" Module="Core" Type="0">WW91ciBQcml2YXRlIE1lc3NhZ2Vz</PHRASE>
+ <PHRASE Label="lu_details" Module="Core" Type="0">RGV0YWlscw==</PHRASE>
+ <PHRASE Label="lu_edit" Module="Core" Type="0">TW9kaWZ5</PHRASE>
+ <PHRASE Label="LU_EMAIL" Module="Core" Type="0">RS1NYWls</PHRASE>
+ <PHRASE Label="lu_email_already_exist" Module="Core" Type="0">QSB1c2VyIHdpdGggc3VjaCBlLW1haWwgYWxyZWFkeSBleGlzdHMu</PHRASE>
+ <PHRASE Label="lu_email_send_error" Module="Core" Type="0">TWFpbCBzZW5kaW5nIGZhaWxlZA==</PHRASE>
+ <PHRASE Label="lu_EnterEmailToRecommend" Module="Core" Type="0">RnJpZW5kJ3MgZS1tYWlsIGFkZHJlc3M=</PHRASE>
+ <PHRASE Label="lu_EnterEmailToSubscribe" Module="Core" Type="0">WW91ciBlLW1haWwgYWRkcmVzcw==</PHRASE>
+ <PHRASE Label="lu_EnterForgotEmail" Module="Core" Type="0">RW50ZXIgeW91ciBFbWFpbCBBZGRyZXNzIGJlbG93IHRvIGhhdmUgeW91ciBhY2NvdW50IGluZm9ybWF0aW9uIHNlbnQgdG8gdGhlIGVtYWlsIGFkZHJlc3Mgb2YgeW91ciBhY2NvdW50Lg==</PHRASE>
+ <PHRASE Label="lu_EnterForgotUserEmail" Module="Core" Type="0">RW50ZXIgeW91ciBVc2VybmFtZSBvciBFbWFpbCBBZGRyZXNzIGJlbG93IHRvIGhhdmUgeW91ciBhY2NvdW50IGluZm9ybWF0aW9uIHNlbnQgdG8gdGhlIGVtYWlsIGFkZHJlc3Mgb2YgeW91ciBhY2NvdW50Lg==</PHRASE>
+ <PHRASE Label="lu_ErrorAlreadyReviewed" Module="Core" Type="0">WW91IGhhdmUgYWxyZWFkeSBjb21tZW50ZWQgdGhpcyBpdGVtIQ==</PHRASE>
+ <PHRASE Label="lu_error_404_description" Module="Core" Type="0">U29ycnksIHRoZSByZXF1ZXN0ZWQgVVJMIHdhcyBub3QgZm91bmQgb24gb3VyIHNlcnZlci4=</PHRASE>
+ <PHRASE Label="lu_error_404_title" Module="Core" Type="0">RXJyb3IgNDA0IC0gTm90IEZvdW5k</PHRASE>
+ <PHRASE Label="lu_error_ActivationCodeExpired" Module="Core" Type="0">QWN0aXZhdGlvbiBjb2RlIGhhcyBleHBpcmVk</PHRASE>
+ <PHRASE Label="lu_error_ActivationCodeNotValid" Module="Core" Type="0">QWN0aXZhdGlvbiBjb2RlIGlzIG5vdCB2YWxpZA==</PHRASE>
+ <PHRASE Label="lu_error_alreadyadded" Module="Core" Type="0">Q2F0ZWdvcnkgYWxyZWFkeSBhZGRlZCE=</PHRASE>
+ <PHRASE Label="lu_error_AlreadyCommented" Module="Core" Type="0">QWxyZWFkeSBjb21tZW50ZWQ=</PHRASE>
+ <PHRASE Label="lu_error_categorylimitreached" Module="Core" Type="0">Q2F0ZWdvcnkgbGltaXQgcmVhY2hlZCE=</PHRASE>
+ <PHRASE Label="lu_error_Required" Module="Core" Type="0">UmVxdWlyZWQ=</PHRASE>
+ <PHRASE Label="lu_error_UserNotFound" Module="Core" Type="0">VXNlciBOb3QgRm91bmQ=</PHRASE>
+ <PHRASE Label="lu_favorite" Module="Core" Type="0">RmF2b3JpdGU=</PHRASE>
+ <PHRASE Label="lu_ferror_reset_denied" Module="Core" Type="0">Tm90IHJlc2V0</PHRASE>
+ <PHRASE Label="lu_field_archived" Module="Core" Type="0">QXJjaGl2ZSBEYXRl</PHRASE>
+ <PHRASE Label="lu_field_author" Module="Core" Type="0">QXJ0aWNsZSBBdXRob3I=</PHRASE>
+ <PHRASE Label="lu_field_body" Module="Core" Type="0">QXJ0aWNsZSBCb2R5</PHRASE>
+ <PHRASE Label="lu_field_cacheddescendantcatsqty" Module="Core" Type="0">TnVtYmVyIG9mIERlc2NlbmRhbnRz</PHRASE>
+ <PHRASE Label="lu_field_cachednavbar" Module="Core" Type="0">Q2F0ZWdvcnkgUGF0aA==</PHRASE>
+ <PHRASE Label="lu_field_categoryid" Module="Core" Type="0">Q2F0ZWdvcnkgSWQ=</PHRASE>
+ <PHRASE Label="lu_field_city" Module="Core" Type="0">Q2l0eQ==</PHRASE>
+ <PHRASE Label="lu_field_country" Module="Core" Type="0">Q291bnRyeQ==</PHRASE>
+ <PHRASE Label="lu_field_dob" Module="Core" Type="0">RGF0ZSBvZiBCaXJ0aA==</PHRASE>
+ <PHRASE Label="lu_field_editorspick" Module="Core" Type="0">RWRpdG9yJ3MgcGljaw==</PHRASE>
+ <PHRASE Label="lu_field_email" Module="Core" Type="0">RS1tYWls</PHRASE>
+ <PHRASE Label="lu_field_endon" Module="Core" Type="0">RW5kcyBPbg==</PHRASE>
+ <PHRASE Label="lu_field_excerpt" Module="Core" Type="0">QXJ0aWNsZSBFeGNlcnB0</PHRASE>
+ <PHRASE Label="lu_field_firstname" Module="Core" Type="0">Rmlyc3QgTmFtZQ==</PHRASE>
+ <PHRASE Label="lu_field_lastname" Module="Core" Type="0">TGFzdCBOYW1l</PHRASE>
+ <PHRASE Label="lu_field_leadcatstory" Module="Core" Type="0">Q2F0ZWdvcnkgTGVhZCBTdG9yeT8=</PHRASE>
+ <PHRASE Label="lu_field_leadstory" Module="Core" Type="0">TGVhZCBTdG9yeT8=</PHRASE>
+ <PHRASE Label="lu_field_login" Module="Core" Type="0">TG9naW4gKFVzZXIgbmFtZSk=</PHRASE>
+ <PHRASE Label="lu_field_metadescription" Module="Core" Type="0">TWV0YSBEZXNjcmlwdGlvbg==</PHRASE>
+ <PHRASE Label="lu_field_metakeywords" Module="Core" Type="0">TWV0YSBLZXl3b3Jkcw==</PHRASE>
+ <PHRASE Label="lu_field_parentid" Module="Core" Type="0">UGFyZW50IElk</PHRASE>
+ <PHRASE Label="lu_field_parentpath" Module="Core" Type="0">UGFyZW50IENhdGVnb3J5IFBhdGg=</PHRASE>
+ <PHRASE Label="lu_field_password" Module="Core" Type="0">UGFzc3dvcmQ=</PHRASE>
+ <PHRASE Label="lu_field_phone" Module="Core" Type="0">VGVsZXBob25l</PHRASE>
+ <PHRASE Label="lu_field_portaluserid" Module="Core" Type="0">VXNlciBJRA==</PHRASE>
+ <PHRASE Label="lu_field_startdate" Module="Core" Type="0">U3RhcnQgRGF0ZQ==</PHRASE>
+ <PHRASE Label="lu_field_state" Module="Core" Type="0">U3RhdGU=</PHRASE>
+ <PHRASE Label="lu_field_street" Module="Core" Type="0">U3RyZWV0IEFkZHJlc3M=</PHRASE>
+ <PHRASE Label="lu_field_title" Module="Core" Type="0">QXJ0aWNsZSBUaXRsZQ==</PHRASE>
+ <PHRASE Label="lu_field_tz" Module="Core" Type="0">VGltZSBab25l</PHRASE>
+ <PHRASE Label="lu_field_views" Module="Core" Type="0">Vmlld3M=</PHRASE>
+ <PHRASE Label="lu_field_zip" Module="Core" Type="0">WmlwIChQb3N0YWwpIENvZGU=</PHRASE>
+ <PHRASE Label="lu_first_name" Module="Core" Type="0">Rmlyc3QgTmFtZQ==</PHRASE>
+ <PHRASE Label="lu_fld_AddressLine1" Module="Core" Type="0">QWRkcmVzcyBsaW5lIDE=</PHRASE>
+ <PHRASE Label="lu_fld_AddressLine2" Module="Core" Type="0">QWRkcmVzcyBsaW5lIDI=</PHRASE>
+ <PHRASE Label="lu_fld_BirthDate" Module="Core" Type="0">RGF0ZSBvZiBiaXJ0aA==</PHRASE>
+ <PHRASE Label="lu_fld_body" Module="Core" Type="0">Qm9keQ==</PHRASE>
+ <PHRASE Label="lu_fld_Captcha" Module="Core" Type="0">Q2FwdGNoYSBJbWFnZQ==</PHRASE>
+ <PHRASE Label="lu_fld_City" Module="Core" Type="0">Q2l0eQ==</PHRASE>
+ <PHRASE Label="lu_fld_Comment" Module="Core" Type="0">Q29tbWVudA==</PHRASE>
+ <PHRASE Label="lu_fld_Company" Module="Core" Type="0">Q29tcGFueQ==</PHRASE>
+ <PHRASE Label="lu_fld_Country" Module="Core" Type="0">Q291bnRyeQ==</PHRASE>
+ <PHRASE Label="lu_fld_Description" Module="Core" Type="0">RGVzY3JpcHRpb24=</PHRASE>
+ <PHRASE Label="lu_fld_Duration" Module="Core" Type="0">RHVyYXRpb24=</PHRASE>
+ <PHRASE Label="lu_fld_Email" Module="Core" Type="0">RS1NYWls</PHRASE>
+ <PHRASE Label="lu_fld_Fax" Module="Core" Type="0">RmF4</PHRASE>
+ <PHRASE Label="lu_fld_File1" Module="Core" Type="0">UHJpbWFyeSBGaWxl</PHRASE>
+ <PHRASE Label="lu_fld_File2" Module="Core" Type="0">Mm5kIEZpbGU=</PHRASE>
+ <PHRASE Label="lu_fld_File3" Module="Core" Type="0">M3JkIEZpbGU=</PHRASE>
+ <PHRASE Label="lu_fld_FileName" Module="Core" Type="0">RmlsZW5hbWU=</PHRASE>
+ <PHRASE Label="lu_fld_FirstName" Module="Core" Type="0">Rmlyc3QgbmFtZQ==</PHRASE>
+ <PHRASE Label="lu_fld_FullName" Module="Core" Type="0">RnVsbCBuYW1l</PHRASE>
+ <PHRASE Label="lu_fld_Image1" Module="Core" Type="0">Mm5kIEltYWdl</PHRASE>
+ <PHRASE Label="lu_fld_Image2" Module="Core" Type="0">M3JkIEltYWdl</PHRASE>
+ <PHRASE Label="lu_fld_LastName" Module="Core" Type="0">TGFzdCBuYW1l</PHRASE>
+ <PHRASE Label="lu_fld_Login" Module="Core" Type="0">VXNlcm5hbWU=</PHRASE>
+ <PHRASE Label="lu_fld_module" Module="Core" Type="0">TW9kdWxl</PHRASE>
+ <PHRASE Label="lu_fld_MoreCategories" Module="Core" Type="0">QWRkaXRpb25hbCBDYXRlZ29yaWVz</PHRASE>
+ <PHRASE Label="lu_fld_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+ <PHRASE Label="lu_fld_Password" Module="Core" Type="0">UGFzc3dvcmQ=</PHRASE>
+ <PHRASE Label="lu_fld_Phone" Module="Core" Type="0">UGhvbmU=</PHRASE>
+ <PHRASE Label="lu_fld_phrase" Module="Core" Type="0">UGhyYXNl</PHRASE>
+ <PHRASE Label="lu_fld_Price" Module="Core" Type="0">UHJpY2U=</PHRASE>
+ <PHRASE Label="lu_fld_PrimaryCategory" Module="Core" Type="0">UHJpbWFyeSBDYXRlZ29yeQ==</PHRASE>
+ <PHRASE Label="lu_fld_PrimaryImage" Module="Core" Type="0">UHJpbWFyeSBJbWFnZQ==</PHRASE>
+ <PHRASE Label="lu_fld_primary_translation" Module="Core" Type="0">UHJpbWFyeSBUcmFuc2xhdGlvbg==</PHRASE>
+ <PHRASE Label="lu_fld_Rating" Module="Core" Type="0">UmF0aW5n</PHRASE>
+ <PHRASE Label="lu_fld_ReviewBy" Module="Core" Type="0">Q29tbWVudCBieQ==</PHRASE>
+ <PHRASE Label="lu_fld_ReviewText" Module="Core" Type="0">Q29tbWVudA==</PHRASE>
+ <PHRASE Label="lu_fld_SelectAddress" Module="Core" Type="0">UGxlYXNlIHNlbGVjdCB5b3VyIGFkZHJlc3M=</PHRASE>
+ <PHRASE Label="lu_fld_size" Module="Core" Type="0">U2l6ZQ==</PHRASE>
+ <PHRASE Label="lu_fld_State" Module="Core" Type="0">U3RhdGU=</PHRASE>
+ <PHRASE Label="lu_fld_street" Module="Core" Type="0">U3RyZWV0</PHRASE>
+ <PHRASE Label="lu_fld_SubmittingTo" Module="Core" Type="0">U3VibWl0dGluZyB0bw==</PHRASE>
+ <PHRASE Label="lu_fld_title" Module="Core" Type="0">VGl0bGU=</PHRASE>
+ <PHRASE Label="lu_fld_translation" Module="Core" Type="0">VHJhbnNsYXRpb24=</PHRASE>
+ <PHRASE Label="lu_fld_UserGroup" Module="Core" Type="0">TWVtYmVyc2hpcCBHcm91cA==</PHRASE>
+ <PHRASE Label="lu_fld_VerifyPassword" Module="Core" Type="0">VmVyaWZ5IFBhc3N3b3Jk</PHRASE>
+ <PHRASE Label="lu_fld_version" Module="Core" Type="0">VmVyc2lvbg==</PHRASE>
+ <PHRASE Label="lu_fld_Zip" Module="Core" Type="0">WmlwIGNvZGU=</PHRASE>
+ <PHRASE Label="lu_fld_ZipCode" Module="Core" Type="0">WmlwIGNvZGU=</PHRASE>
+ <PHRASE Label="lu_folder_Inbox" Module="Core" Type="0">SW5ib3g=</PHRASE>
+ <PHRASE Label="lu_ForgotPassword" Module="Core" Type="0">Rm9yZ290IHBhc3N3b3Jk</PHRASE>
+ <PHRASE Label="lu_guest" Module="Core" Type="0">R3Vlc3Q=</PHRASE>
+ <PHRASE Label="lu_Here" Module="Core" Type="0">SGVyZQ==</PHRASE>
+ <PHRASE Label="lu_hits" Module="Core" Type="0">SGl0cw==</PHRASE>
+ <PHRASE Label="lu_HitsHL" Module="Core" Type="0">SGl0cyBIbyB0byBMb3c=</PHRASE>
+ <PHRASE Label="lu_HitsLH" Module="Core" Type="0">SGl0cyBMb3cgdG8gSGk=</PHRASE>
+ <PHRASE Label="lu_home" Module="Core" Type="0">SG9tZQ==</PHRASE>
+ <PHRASE Label="lu_hot" Module="Core" Type="0">SG90</PHRASE>
+ <PHRASE Label="lu_in" Module="Core" Type="0">aW4=</PHRASE>
+ <PHRASE Label="lu_inbox" Module="Core" Type="0">SW5ib3g=</PHRASE>
+ <PHRASE Label="lu_IndicatesRequired" Module="Core" Type="0">SW5kaWNhdGVzIFJlcXVpcmVkIGZpZWxkcw==</PHRASE>
+ <PHRASE Label="lu_InvalidEmail" Module="Core" Type="0">SW52YWxpZCBlLW1haWwgYWRkcmVzcw==</PHRASE>
+ <PHRASE Label="lu_ItemsPerPage" Module="Core" Type="0">SXRlbXMgUGVyIFBhZ2U=</PHRASE>
+ <PHRASE Label="lu_joined" Module="Core" Type="0">Sm9pbmVk</PHRASE>
+ <PHRASE Label="lu_last_name" Module="Core" Type="0">TGFzdCBOYW1l</PHRASE>
+ <PHRASE Label="lu_location" Module="Core" Type="0">TG9jYXRpb24=</PHRASE>
+ <PHRASE Label="lu_login" Module="Core" Type="0">TG9naW4=</PHRASE>
+ <PHRASE Label="lu_logout" Module="Core" Type="0">TG9nIE91dA==</PHRASE>
+ <PHRASE Label="lu_LogoutText" Module="Core" Type="0">TG9nb3V0IG9mIHlvdXIgYWNjb3VudA==</PHRASE>
+ <PHRASE Label="lu_mailinglist" Module="Core" Type="0">TWFpbGluZyBMaXN0</PHRASE>
+ <PHRASE Label="lu_more" Module="Core" Type="0">TW9yZQ==</PHRASE>
+ <PHRASE Label="lu_MyFavorites" Module="Core" Type="0">TXkgRmF2b3JpdGVz</PHRASE>
+ <PHRASE Label="lu_MyPreferences" Module="Core" Type="0">TXkgUHJlZmVyZW5jZXM=</PHRASE>
+ <PHRASE Label="lu_MyProfile" Module="Core" Type="0">TXkgUHJvZmlsZQ==</PHRASE>
+ <PHRASE Label="lu_Name" Module="Core" Type="0">TmFtZQ==</PHRASE>
+ <PHRASE Label="lu_new" Module="Core" Type="0">TmV3</PHRASE>
+ <PHRASE Label="lu_NewCustomers" Module="Core" Type="0">TmV3IEN1c3RvbWVycw==</PHRASE>
+ <PHRASE Label="lu_newpm_confirm_text" Module="Core" Type="0">WW91ciBwcml2YXRlIG1lc3NhZ2UgaGFzIGJlZW4gc2VudC4=</PHRASE>
+ <PHRASE Label="lu_no" Module="Core" Type="0">Tm8=</PHRASE>
+ <PHRASE Label="lu_NoAccess" Module="Core" Type="0">U29ycnksIHlvdSBoYXZlIG5vIGFjY2VzcyB0byB0aGlzIHBhZ2Uh</PHRASE>
+ <PHRASE Label="lu_NoCategories" Module="Core" Type="0">Tm8gQ2F0ZWdvcmllcw==</PHRASE>
+ <PHRASE Label="lu_NoFavorites" Module="Core" Type="0">Tm8gZmF2b3JpdGUgaXRlbXMgc2F2ZWQ=</PHRASE>
+ <PHRASE Label="lu_NoMembers" Module="Core" Type="0">Tm8gbWVtYmVycyBmb3VuZA==</PHRASE>
+ <PHRASE Label="lu_none" Module="Core" Type="0">Tm9uZQ==</PHRASE>
+ <PHRASE Label="lu_NoReviews" Module="Core" Type="0">QmUgdGhlIGZpcnN0IHRvIGNvbW1lbnQ=</PHRASE>
+ <PHRASE Label="lu_NotLoggedIn" Module="Core" Type="0">bm90IGxvZ2dlZCBpbg==</PHRASE>
+ <PHRASE Label="lu_no_permissions" Module="Core" Type="0">Tm8gUGVybWlzc2lvbnM=</PHRASE>
+ <PHRASE Label="lu_OldToRecent" Module="Core" Type="0">T2xkIHRvIFJlY2VudA==</PHRASE>
+ <PHRASE Label="LU_Opt_SelectCategory" Module="Core" Type="0">U2VsZWN0IENhdGVnb3J5</PHRASE>
+ <PHRASE Label="lu_or" Module="Core" Type="0">b3I=</PHRASE>
+ <PHRASE Label="lu_password" Module="Core" Type="0">UGFzc3dvcmQ=</PHRASE>
+ <PHRASE Label="lu_passwords_do_not_match" Module="Core" Type="0">UGFzc3dvcmRzIGRvIG5vdCBtYXRjaA==</PHRASE>
+ <PHRASE Label="lu_passwords_too_short" Module="Core" Type="0">UGFzc3dvcmQgaXMgdG9vIHNob3J0LCBwbGVhc2UgZW50ZXIgYXQgbGVhc3QgJXMgY2hhcmFjdGVycw==</PHRASE>
+ <PHRASE Label="lu_PendingItem" Module="Core" Type="0">cGVuZGluZyBpdGVt</PHRASE>
+ <PHRASE Label="lu_phone" Module="Core" Type="0">UGhvbmU=</PHRASE>
+ <PHRASE Label="lu_pick" Module="Core" Type="0">UGljaw==</PHRASE>
+ <PHRASE Label="lu_PleaseRegister" Module="Core" Type="0">UGxlYXNlIFJlZ2lzdGVy</PHRASE>
+ <PHRASE Label="lu_Pop" Module="Core" Type="0">UG9wdWxhcg==</PHRASE>
+ <PHRASE Label="lu_PoweredBy" Module="Core" Type="0">UG93ZXJlZCBieQ==</PHRASE>
+ <PHRASE Label="lu_PrivacyPolicy" Module="Core" Type="0">UHJpdmFjeSBQb2xpY3k=</PHRASE>
+ <PHRASE Label="lu_profile" Module="Core" Type="0">UHJvZmlsZQ==</PHRASE>
+ <PHRASE Label="lu_prompt_avatar" Module="Core" Type="0">QXZhdGFyIEltYWdl</PHRASE>
+ <PHRASE Label="lu_QuickSearch" Module="Core" Type="0">UXVpY2sgU2VhcmNo</PHRASE>
+ <PHRASE Label="lu_rating" Module="Core" Type="0">UmF0aW5n</PHRASE>
+ <PHRASE Label="lu_RatingHL" Module="Core" Type="0">UmF0aW5nIEhpIHRvIExvdw==</PHRASE>
+ <PHRASE Label="lu_RatingLH" Module="Core" Type="0">UmF0aW5nIExvdyB0byBIaQ==</PHRASE>
+ <PHRASE Label="lu_rating_1" Module="Core" Type="0">RmFpcg==</PHRASE>
+ <PHRASE Label="lu_rating_2" Module="Core" Type="0">QXZlcmFnZQ==</PHRASE>
+ <PHRASE Label="lu_rating_3" Module="Core" Type="0">R29vZA==</PHRASE>
+ <PHRASE Label="lu_rating_4" Module="Core" Type="0">VmVyeSBHb29k</PHRASE>
+ <PHRASE Label="lu_rating_5" Module="Core" Type="0">RXhjZWxsZW50</PHRASE>
+ <PHRASE Label="lu_RecentToOld" Module="Core" Type="0">UmVjZW50IHRvIE9sZA==</PHRASE>
+ <PHRASE Label="lu_RecommendToFriend" Module="Core" Type="0">UmVjb21tZW5kIHRvIGEgRnJpZW5k</PHRASE>
+ <PHRASE Label="lu_recommend_confirm" Module="Core" Type="0">UmVjb21tZW5kYXRpb24gQ29uZmlybWF0aW9u</PHRASE>
+ <PHRASE Label="lu_recommend_confirm_text" Module="Core" Type="0">VGhhbmtzIGZvciByZWNvbW1lbmRpbmcgb3VyIHNpdGUgdG8geW91ciBmcmllbmQuIFRoZSBlbWFpbCBoYXMgYmVlbiBzZW50IG91dC4=</PHRASE>
+ <PHRASE Label="lu_recommend_title" Module="Core" Type="0">UmVjb21tZW5kIHRvIGEgZnJpZW5k</PHRASE>
+ <PHRASE Label="lu_register" Module="Core" Type="0">UmVnaXN0ZXI=</PHRASE>
+ <PHRASE Label="lu_RegisterConfirm" Module="Core" Type="0">UmVnaXN0cmF0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_RegistrationCompleted" Module="Core" Type="0">VGhhbmsgWW91LiBSZWdpc3RyYXRpb24gY29tcGxldGVkLg==</PHRASE>
+ <PHRASE Label="lu_RegistrationEmailed" Module="Core" Type="0">WW91ciBsb2dpbiBpbmZvcm1hdGlvbiBoYXMgYmVlbiBlbWFpbGVkIHRvIHlvdS4gUGxlYXNlIGNoZWNrIHlvdXIgZW1haWwu</PHRASE>
+ <PHRASE Label="lu_Relevance" Module="Core" Type="0">UmVsZXZhbmNl</PHRASE>
+ <PHRASE Label="lu_remember_login" Module="Core" Type="0">UmVtZW1iZXIgTG9naW4=</PHRASE>
+ <PHRASE Label="lu_repeat_password" Module="Core" Type="0">UmVwZWF0IFBhc3N3b3Jk</PHRASE>
+ <PHRASE Label="lu_reset" Module="Core" Type="0">UmVzZXQ=</PHRASE>
+ <PHRASE Label="lu_ReturnToHome" Module="Core" Type="0">UmV0dXJuIHRvIGhvbWVwYWdl</PHRASE>
+ <PHRASE Label="lu_Reviews" Module="Core" Type="0">Q29tbWVudHM=</PHRASE>
+ <PHRASE Label="lu_rootcategory_name" Module="Core" Type="0">SG9tZQ==</PHRASE>
+ <PHRASE Label="lu_search" Module="Core" Type="0">U2VhcmNo</PHRASE>
+ <PHRASE Label="lu_section_AdditionalImages" Module="Core" Type="0">QWRkaXRpb25hbCBJbWFnZXM=</PHRASE>
+ <PHRASE Label="lu_section_Images" Module="Core" Type="0">SW1hZ2Vz</PHRASE>
+ <PHRASE Label="lu_section_MyAccount" Module="Core" Type="0">TXlBY2NvdW50</PHRASE>
+ <PHRASE Label="lu_section_MyItems" Module="Core" Type="0">TXkgSXRlbXM=</PHRASE>
+ <PHRASE Label="lu_section_Reviews" Module="Core" Type="0">Q29tbWVudHM=</PHRASE>
+ <PHRASE Label="lu_select_username" Module="Core" Type="0">U2VsZWN0IFVzZXJuYW1l</PHRASE>
+ <PHRASE Label="lu_send" Module="Core" Type="0">U2VuZA==</PHRASE>
+ <PHRASE Label="lu_sent" Module="Core" Type="0">U2VudA==</PHRASE>
+ <PHRASE Label="lu_SiteMap" Module="Core" Type="0">U2l0ZW1hcA==</PHRASE>
+ <PHRASE Label="lu_state" Module="Core" Type="0">U3RhdGU=</PHRASE>
+ <PHRASE Label="lu_Statistics" Module="Core" Type="0">U3RhdGlzdGljcw==</PHRASE>
+ <PHRASE Label="lu_subcats" Module="Core" Type="0">U3ViY2F0ZWdvcmllcw==</PHRASE>
+ <PHRASE Label="lu_subscribe_confirm" Module="Core" Type="0">U3Vic2NyaXB0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_subscribe_confirm_prompt" Module="Core" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIHN1YnNjcmliZSB0byBvdXIgbWFpbGluZyBsaXN0PyAoWW91IGNhbiB1bnN1YnNjcmliZSBhbnkgdGltZSBieSBlbnRlcmluZyB5b3VyIGVtYWlsIG9uIHRoZSBmcm9udCBwYWdlKS4=</PHRASE>
+ <PHRASE Label="lu_subscribe_title" Module="Core" Type="0">U3Vic2NyaWJlZA==</PHRASE>
+ <PHRASE Label="lu_subsection_Categories" Module="Core" Type="0">U3VibWl0dGluZyB0byBDYXRlZ29yaWVz</PHRASE>
+ <PHRASE Label="lu_SuggestCategory" Module="Core" Type="0">U3VnZ2VzdCBDYXRlZ29yeQ==</PHRASE>
+ <PHRASE Label="lu_tab_Privacy" Module="Core" Type="0">UHJpdmFjeQ==</PHRASE>
+ <PHRASE Label="lu_TermAndCondition" Module="Core" Type="0">VGVybXMgYW5kIENvbmRpdGlvbnMgb2YgVXNl</PHRASE>
+ <PHRASE Label="lu_TextUnsubscribe" Module="Core" Type="0">IFdlIGFyZSBzb3JyeSB5b3UgaGF2ZSB1bnN1YnNjcmliZWQgZnJvbSBvdXIgbWFpbGluZyBsaXN0</PHRASE>
+ <PHRASE Label="lu_text_DisabledAccountWarning" Module="Core" Type="0">WW91ciB1c2VyIGFjY291bnQgaXMgY3VycmVudGx5IHBlbmRpbmcgb3IgZGlzYWJsZWQuIElmIHlvdSBoYXZlIHJlZ2lzdHJlZCByZWNlbnRseSwgcGxlYXNlIHdhaXQgdW50aWwgeW91ciBhY2NvdW50IHdpbGwgYmUgYXBwcm92ZWQsIG90aGVyd2lzZSBwbGVhc2Ugd3JpdGU=</PHRASE>
+ <PHRASE Label="lu_text_ForgotPassHasBeenReset" Module="Core" Type="0">WW91ciBwYXNzd29yZCBoYXMgYmVlbiByZXNldC4gVGhlIG5ldyBwYXNzd29yZCBoYXMgYmVlbiBzZW50IHRvIHlvdXIgZS1tYWlsIGFkZHJlc3MuIFlvdSBtYXkgbm93IGxvZ2luIHdpdGggdGhlIG5ldyBwYXNzd29yZC4=</PHRASE>
+ <PHRASE Label="lu_text_ForgotPassResetEmailSent" Module="Core" Type="0">WW91IGhhdmUgY2hvc2VuIHRvIHJlc2V0IHlvdXIgcGFzc3dvcmQuPEJSLz48QlIvPg0KQW4gYXV0b21hdGljIGVtYWlsIGhhcyBiZWVuIHNlbnQgdG8geW91ciBlbWFpbCBhZGRyZXNzIG9uIGZpbGUuIFBsZWFzZSBmb2xsb3cgdGhlIGxpbmsgaW4gdGhlIGVtYWlsIGluIG9yZGVyIHRvIHJlY2VpdmUgYSBuZXcgcGFzc3dvcmQu</PHRASE>
+ <PHRASE Label="lu_text_KeywordsTooShort" Module="Core" Type="0">VGhlIGtleXdvcmQgaXMgdG9vIHNob3J0</PHRASE>
+ <PHRASE Label="lu_text_NoComments" Module="Core" Type="0">Tm8gY29tbWVudHMsIGFkZCBmaXJzdA==</PHRASE>
+ <PHRASE Label="lu_text_NoPermission" Module="Core" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gcGVyZm9ybSB0aGlzIG9wZXJhdGlvbg==</PHRASE>
+ <PHRASE Label="lu_text_nosuggestcategorypermission" Module="Core" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gc3VnZ2VzdCBuZXcgY2F0ZWdvcmllcyBpbnRvIGN1cnJlbnQgY2F0ZWdvcnku</PHRASE>
+ <PHRASE Label="lu_text_NothingFound" Module="Core" Type="0">Tm90aGluZyBGb3VuZA==</PHRASE>
+ <PHRASE Label="lu_text_pagenotfound" Module="Core" Type="0">NDA0LiBQYWdlIG5vdCBmb3VuZCBvbiB0aGUgc2VydmVyLg==</PHRASE>
+ <PHRASE Label="lu_text_PasswordRequestConfirm" Module="Core" Type="0">UGxlYXNlIGNvbmZpcm0gdGhhdCB5b3Ugd2FudCB0byByZXNldCB5b3VyIHBhc3N3b3JkLg==</PHRASE>
+ <PHRASE Label="lu_text_Redirect" Module="Core" Type="0">Q2xpY2sgaGVyZSBpZiB5b3VyIGJyb3dzZXIgZG9lcyBub3QgYXV0b21hdGljYWxseSByZWRpcmVjdCB5b3Uu</PHRASE>
+ <PHRASE Label="lu_text_RegistrationActivationPending" Module="Core" Type="0">VGhhbmsgeW91IGZvciByZWdpc3RlcmluZyBvbiBvdXIgd2Vic2l0ZS4gWW91IGNhbiBhY3RpdmF0ZSB5b3VyIHJlZ2lzdHJhdGlvbiB1c2luZyBsaW5rIHNlbnQgdG8geW91IGJ5IGVtYWlsLg==</PHRASE>
+ <PHRASE Label="lu_text_RegistrationPending" Module="Core" Type="0">VGhhbmsgeW91IGZvciByZWdpc3RlcmluZyBvbiBvdXIgd2Vic2l0ZS4gWW91ciByZWdpc3RyYXRpb24gaXMgcGVuZGluZyBhZG1pbmlzdHJhdGl2ZSBhcHByb3ZhbC4gWW91IHdpbGwgZ2V0IGEgc2VwYXJhdGUgZW1haWwgb25jZSBpdCdzIGFjdGl2YXRlZC4=</PHRASE>
+ <PHRASE Label="lu_text_SuggestCategoryConfirm" Module="Core" Type="0">VGhhbmsgeW91IGZvciBzdWdnZXN0aW5nIHlvdXIgY2F0ZWdvcnku</PHRASE>
+ <PHRASE Label="lu_text_SuggestCategoryPendingConfirm" Module="Core" Type="0">U3VnZ2VzdGVkIGNhdGVnb3J5IGlzIHBlbmRpbmcgZm9yIEFkbWluaXN0cmF0aXZlIGFwcHJvdmFsIA==</PHRASE>
+ <PHRASE Label="lu_text_ThankYou" Module="Core" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgcmVxdWVzdC4=</PHRASE>
+ <PHRASE Label="lu_ThankForSubscribing" Module="Core" Type="0">VGhhbmsgeW91IGZvciBzdWJzY3JpYmluZyB0byBvdXIgbWFpbGluZyBsaXN0</PHRASE>
+ <PHRASE Label="lu_ThanksForVoting" Module="Core" Type="0">VGhhbmtzIGZvciBWb3Rpbmch</PHRASE>
+ <PHRASE Label="lu_ThisCategory" Module="Core" Type="0">Q3VycmVudCBDYXRlZ29yeQ==</PHRASE>
+ <PHRASE Label="lu_title_ActionBox" Module="Core" Type="0">QWN0aW9uIEJveA==</PHRASE>
+ <PHRASE Label="lu_title_AddAddress" Module="Core" Type="0">QWRkaW5nIEFkZHJlc3M=</PHRASE>
+ <PHRASE Label="lu_title_Advertisements" Module="Core" Type="0">QWR2ZXJ0aXNlbWVudHM=</PHRASE>
+ <PHRASE Label="lu_title_BackToTop" Module="Core" Type="0">QmFjayB0byB0b3A=</PHRASE>
+ <PHRASE Label="lu_title_Categories" Module="Core" Type="0">Q2F0ZWdvcmllcw==</PHRASE>
+ <PHRASE Label="lu_title_CategorySearchResults" Module="Core" Type="0">Q2F0ZWdvcnkgU2VhcmNoIFJlc3VsdHM=</PHRASE>
+ <PHRASE Label="lu_title_DisabledAccountWarning" Module="Core" Type="0">UGVuZGluZyBvciBkaXNhYmxlZCB1c2VyIGFjY291bnQgd2FybmluZw==</PHRASE>
+ <PHRASE Label="lu_title_EditAddress" Module="Core" Type="0">RWRpdCBBZGRyZXNz</PHRASE>
+ <PHRASE Label="lu_title_enhancementconfirmation" Module="Core" Type="0">WW91ciBGYXZvcml0ZSBJdGVtcw==</PHRASE>
+ <PHRASE Label="lu_title_Favorites" Module="Core" Type="0">WW91ciBGYXZvcml0ZXM=</PHRASE>
+ <PHRASE Label="lu_title_ForgotPassword" Module="Core" Type="0">Rm9yZ290IFBhc3N3b3Jk</PHRASE>
+ <PHRASE Label="lu_title_forgotpasswordconfirm" Module="Core" Type="0">Rm9yZ290IFBhc3N3b3JkIENvbmZpcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_title_ForgotPasswordNotification" Module="Core" Type="0">Rm9yZ290IFBhc3N3b3JkIE5vdGlmaWNhdGlvbg==</PHRASE>
+ <PHRASE Label="lu_title_LoginBox" Module="Core" Type="0">TG9naW4gQm94</PHRASE>
+ <PHRASE Label="lu_title_mailinglist" Module="Core" Type="0">TWFpbGluZyBMaXN0</PHRASE>
+ <PHRASE Label="lu_title_Members" Module="Core" Type="0">TWVtYmVycw==</PHRASE>
+ <PHRASE Label="lu_title_MissingPhraseAdding" Module="Core" Type="0">TWlzc2luZyBQaHJhc2UgQWRkaW5n</PHRASE>
+ <PHRASE Label="lu_title_MyAccount" Module="Core" Type="0">TXkgQWNjb3VudA==</PHRASE>
+ <PHRASE Label="lu_title_MyAddresses" Module="Core" Type="0">TXkgQWRkcmVzc2Vz</PHRASE>
+ <PHRASE Label="lu_title_MyFavorites" Module="Core" Type="0">TXkgRmF2b3JpdGVz</PHRASE>
+ <PHRASE Label="lu_title_MyItems" Module="Core" Type="0">TXkgSXRlbXM=</PHRASE>
+ <PHRASE Label="lu_title_MyPreferences" Module="Core" Type="0">TXkgUHJlZmVyZW5jZXM=</PHRASE>
+ <PHRASE Label="lu_title_MyProfile" Module="Core" Type="0">TXkgUHJvZmlsZQ==</PHRASE>
+ <PHRASE Label="lu_title_NoPermission" Module="Core" Type="0">Tm8gUGVybWlzc2lvbg==</PHRASE>
+ <PHRASE Label="lu_title_pagenotfound" Module="Core" Type="0">UGFnZSBOb3QgRm91bmQ=</PHRASE>
+ <PHRASE Label="lu_title_PasswordRequestConfirm" Module="Core" Type="0">UGFzc3dvcmQgUmVxdWVzdCBDb25maXJtYXRpb24=</PHRASE>
+ <PHRASE Label="lu_title_PrivacyPolicy" Module="Core" Type="0">UHJpdmFjeSBQb2xpY3k=</PHRASE>
+ <PHRASE Label="lu_title_RecommendConfirm" Module="Core" Type="0">UmVjb21tZW5kIENvbmZpcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_title_RecommendSite" Module="Core" Type="0">UmVjb21tZW5kIHRvIGEgRnJpZW5k</PHRASE>
+ <PHRASE Label="lu_title_Redirect" Module="Core" Type="0">UmVkaXJlY3RpbmcgLi4u</PHRASE>
+ <PHRASE Label="lu_title_RegistrationConfirmation" Module="Core" Type="0">VXNlciBSZWdpc3RyYXRpb24gQ29uZmlybWF0aW9u</PHRASE>
+ <PHRASE Label="lu_title_RegistrationPendingConfirmation" Module="Core" Type="0">VXNlciBSZWdpc3RyYXRpb24gUGVuZGluZw==</PHRASE>
+ <PHRASE Label="lu_title_RelatedCategories" Module="Core" Type="0">UmVsYXRlZCBDYXRlZ29yaWVz</PHRASE>
+ <PHRASE Label="lu_title_RelatedItems" Module="Core" Type="0">UmVsYXRlZCBJdGVtcw==</PHRASE>
+ <PHRASE Label="lu_title_RelatedSearches" Module="Core" Type="0">UmVsYXRlZCBTZWFyY2hlcw==</PHRASE>
+ <PHRASE Label="lu_title_Reviews" Module="Core" Type="0">Q29tbWVudHM=</PHRASE>
+ <PHRASE Label="lu_title_SearchBox" Module="Core" Type="0">U2VhcmNoIEJveA==</PHRASE>
+ <PHRASE Label="lu_title_SearchResults" Module="Core" Type="0">U2VhcmNoIFJlc3VsdHM=</PHRASE>
+ <PHRASE Label="lu_title_Sitemap" Module="Core" Type="0">U2l0ZSBtYXA=</PHRASE>
+ <PHRASE Label="lu_title_SubscribeConfirm" Module="Core" Type="0">U3Vic2NyaXB0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_title_SubscribeOk" Module="Core" Type="0">U3Vic2NyaXB0aW9uIENvbmZpcm1lZA==</PHRASE>
+ <PHRASE Label="lu_title_SuggestCategory" Module="Core" Type="0">U3VnZ2VzdCBDYXRlZ29yeQ==</PHRASE>
+ <PHRASE Label="lu_title_SuggestCategoryConfirm" Module="Core" Type="0">Q2F0ZWdvcnkgQWRkZWQ=</PHRASE>
+ <PHRASE Label="lu_title_SuggestCategoryPendingConfirm" Module="Core" Type="0">Q2F0ZWdvcnkgUGVuZGluZw==</PHRASE>
+ <PHRASE Label="lu_title_TermsAndConditions" Module="Core" Type="0">VGVybXMgYW5kIENvbmRpdGlvbnM=</PHRASE>
+ <PHRASE Label="lu_title_ThankYou" Module="Core" Type="0">VGhhbmsgeW91IQ==</PHRASE>
+ <PHRASE Label="lu_title_UnSubscribeConfirm" Module="Core" Type="0">VW5zdWJzY3JpYmUgQ29uZmlybWF0aW9u</PHRASE>
+ <PHRASE Label="lu_title_UnSubscribeOk" Module="Core" Type="0">VW5zdWJzY3JpcHRpb24gQ29uZmlybWVk</PHRASE>
+ <PHRASE Label="lu_title_UserProfile" Module="Core" Type="0">VXNlciBQcm9maWxl</PHRASE>
+ <PHRASE Label="lu_title_UserRegistration" Module="Core" Type="0">VXNlciBSZWdpc3RyYXRpb24=</PHRASE>
+ <PHRASE Label="lu_title_WelcomeTitle" Module="Core" Type="0">V2VsY29tZSB0byBJbi1Qb3J0YWwh</PHRASE>
+ <PHRASE Label="lu_TotalCategories" Module="Core" Type="0">VG90YWwgQ2F0ZWdvcmllcw==</PHRASE>
+ <PHRASE Label="lu_unsubscribe_confirm" Module="Core" Type="0">VW5zdWJzY3JpcHRpb24gQ29uZmlybWF0aW9u</PHRASE>
+ <PHRASE Label="lu_unsubscribe_confirm_prompt" Module="Core" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIHVuc3Vic2NyaWJlIGZyb20gb3VyIG1haWxpbmcgbGlzdD8gKFlvdSBjYW4gYWx3YXlzIHN1YnNjcmliZSBhZ2FpbiBieSBlbnRlcmluZyB5b3VyIGVtYWlsIGF0IHRoZSBob21lIHBhZ2Up</PHRASE>
+ <PHRASE Label="lu_unsubscribe_title" Module="Core" Type="0">VW5zdWJzY3JpYmU=</PHRASE>
+ <PHRASE Label="lu_username" Module="Core" Type="0">VXNlcm5hbWU=</PHRASE>
+ <PHRASE Label="lu_user_already_exist" Module="Core" Type="0">QSB1c2VyIHdpdGggc3VjaCB1c2VybmFtZSBhbHJlYWR5IGV4aXN0cy4=</PHRASE>
+ <PHRASE Label="lu_user_and_email_already_exist" Module="Core" Type="0">QSB1c2VyIHdpdGggc3VjaCB1c2VybmFtZS9lLW1haWwgYWxyZWFkeSBleGlzdHMu</PHRASE>
+ <PHRASE Label="lu_user_pending_aproval_text" Module="Core" Type="0">VGhhbmsgeW91IGZvciByZWdpc3RlcmluZy4gWW91ciByZWdpc3RyYXRpb24gaXMgcGVuZGluZyBhZG1pbmlzdHJhdGl2ZSBhcHByb3ZhbC4=</PHRASE>
+ <PHRASE Label="lu_VerifyPassword" Module="Core" Type="0">VmVyaWZ5IHBhc3N3b3Jk</PHRASE>
+ <PHRASE Label="lu_visit_DirectReferer" Module="Core" Type="0">RGlyZWN0IGFjY2VzcyBvciBib29rbWFyaw==</PHRASE>
+ <PHRASE Label="lu_VoteCount" Module="Core" Type="0">TnVtYmVyIG9mIFZvdGVz</PHRASE>
+ <PHRASE Label="lu_votes" Module="Core" Type="0">Vm90ZXM=</PHRASE>
+ <PHRASE Label="lu_VotesHL" Module="Core" Type="0">Vm90ZXMgSGkgdG8gTG93</PHRASE>
+ <PHRASE Label="lu_VotesLH" Module="Core" Type="0">Vm90ZXMgTG93IHRvIEhp</PHRASE>
+ <PHRASE Label="lu_VoteTitle" Module="Core" Type="0">Vm90ZSE=</PHRASE>
+ <PHRASE Label="lu_Warning" Module="Core" Type="0">V2FybmluZw==</PHRASE>
+ <PHRASE Label="lu_WeAcceptCards" Module="Core" Type="0">V2UgYWNjZXB0IGNyZWRpdCBjYXJkcw==</PHRASE>
+ <PHRASE Label="lu_wrote" Module="Core" Type="0">d3JvdGU=</PHRASE>
+ <PHRASE Label="lu_yes" Module="Core" Type="0">WWVz</PHRASE>
+ <PHRASE Label="lu_YourAccount" Module="Core" Type="0">WW91ciBBY2NvdW50</PHRASE>
+ <PHRASE Label="lu_YourLanguage" Module="Core" Type="0">TGFuZ3VhZ2U=</PHRASE>
+ <PHRASE Label="lu_YourWishList" Module="Core" Type="0">WW91ciBXaXNoIExpc3Q=</PHRASE>
+ <PHRASE Label="lu_ZipCode" Module="Core" Type="0">WklQIENvZGU=</PHRASE>
+ </PHRASES>
+ </LANGUAGE>
+</LANGUAGES>
\ No newline at end of file
Index: branches/1.0.x/_install/install_data.sql
===================================================================
--- branches/1.0.x/_install/install_data.sql (nonexistent)
+++ branches/1.0.x/_install/install_data.sql (revision 13321)
@@ -0,0 +1 @@
+UPDATE Category SET l1_Name = 'Home' WHERE l1_Name = 'Home';
\ No newline at end of file
Index: branches/1.0.x/inc/captcha_image.elm.tpl
===================================================================
--- branches/1.0.x/inc/captcha_image.elm.tpl (nonexistent)
+++ branches/1.0.x/inc/captcha_image.elm.tpl (revision 13321)
@@ -0,0 +1 @@
+<inp2:m_NoDebug/><inp2:m_CaptchaImage />
\ No newline at end of file
Index: branches/1.0.x/inc/dmenu.css
===================================================================
--- branches/1.0.x/inc/dmenu.css (nonexistent)
+++ branches/1.0.x/inc/dmenu.css (revision 13321)
@@ -0,0 +1,132 @@
+/* Horizontal (menubar) menu */
+
+.horz_nlsmenu {
+ background-color: inherit;
+ z-index:1;
+ width: auto;
+}
+
+.horz_nlsitemcontainer {
+ height: 37px;
+ color: #ffffff;
+ padding: 0px 13px;
+}
+.horz_nlsiconcell {width:16px;}
+.horz_nlssubmenucell{width:20px;}
+
+.horz_nlsitem {
+ font-size:8pt;
+ color: #ffffff;
+ padding:2px 5px 2px 5px;
+}
+
+.horz_nlsitemcontainerover {
+ height: 37px;
+ background:url(../img/top_menu_select.gif);
+ padding: 0px 13px;
+}
+.horz_nlsiconcellover {width:16px;}
+.horz_nlssubmenucellover {width:20px;}
+
+.horz_nlsitemover {
+ font-size:8pt;
+ color: #FFFFFF;
+ padding:2px 5px 2px 5px;
+}
+
+.horz_nlsitemdisable {
+ font-family:verdana;
+ font-size:8pt;
+ color:#999999;
+ padding:2px 5px 2px 5px;
+}
+
+.horz_nlsseparatorcontainer {padding-left:0px; width:1px;}
+
+.horz_nlsseparator {
+ height:5px;
+ width:1px;
+ background-image:url(img/vseparator.gif);
+ background-position:center center;
+ background-repeat:repeat-x;
+}
+
+.horz_mtopleft {height:0px; width:0px;}
+.horz_mtopright {height:0px; width:0px;}
+.horz_mbottomleft {width:0px; height:0px;}
+.horz_mbottomright {width:0px; height:0px;}
+.horz_mtop {height:0px;}
+.horz_mbottom {height:0px;}
+.horz_mleft {width:0px;}
+.horz_mright {width:0px;}
+
+.horz_horzshadow { -moz-opacity:0.4; background-repeat:no-repeat; background-image:url(img/hshadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0, FinishX=100, StartY=0, FinishY=100);}
+.horz_vertshadow { -moz-opacity:0.4; background-repeat:no-repeat; background-image:url(img/vshadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0, FinishX=100, StartY=0, FinishY=100);}
+.horz_cornshadow { -moz-opacity:0.4; background-repeat:no-repeat; background-image:url(img/cornershadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0, FinishX=100, StartY=0, FinishY=100);}
+
+
+/* Vertical (drop-down) menus */
+
+.nlsmenu {
+ background-color: #105596;
+ z-index:1;
+ width: auto !important;
+ color: #ffffff;
+ padding: 2px 2px;
+ border: 1px solid #6291BB;
+}
+
+.nlsitemcontainer {
+ height:25px;
+ padding:2px 10px 2px 10px;
+ border: 1px solid #6291BB;
+}
+.nlsiconcell {width:22px;}
+.nlssubmenucell{width:20px;}
+.nlsitem {
+ font-size:8pt;
+ color: #ffffff;
+ padding:0px 7px;
+}
+
+.nlsitemcontainerover {
+ height:25px;
+ border: 1px solid #6291BB;
+ background:url(../img/top_menu_select.gif);
+ padding: 2px 10px 2px 10px;
+}
+.nlsiconcellover {width:22px;}
+.nlssubmenucellover {width:20px;}
+.nlsitemover {
+ font-size:8pt;
+ color:#ffffff;
+ padding:0px 7px;
+}
+
+.nlsitemdisable {
+ font-size:8pt;
+ color:#999999;
+ padding:2px 5px 2px 5px;
+}
+
+.nlsseparatorcontainer {padding-left:28px;}
+
+.nlsseparator {
+ height:5px;
+ background-image:url(img/separator.gif);
+ background-position:center center;
+ background-repeat:repeat-x;
+}
+
+.mtopleft {height:0px; width:0px;}
+.mtopright {height:0px; width:0px;}
+.mbottomleft {width:0px; height:0px;}
+.mbottomright {width:0px; height:0px;}
+.mtop {height:0px;}
+.mbottom {height:0px;}
+.mleft {width:0px;}
+.mright {width:0px;}
+
+.horzshadow { -moz-opacity:0.4;background-repeat:no-repeat; background-image:url(img/hshadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0, FinishX=100, StartY=0, FinishY=100);}
+.vertshadow { -moz-opacity:0.4;background-repeat:no-repeat; background-image:url(img/vshadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0, FinishX=100, StartY=0, FinishY=100);}
+.cornshadow { -moz-opacity:0.4;background-repeat:no-repeat; background-image:url(img/cornershadow.gif);filter:progid:DXImageTransform.Microsoft.Alpha( Opacity=40, FinishOpacity=0, Style=0, StartX=0, FinishX=100, StartY=0, FinishY=100);}
Property changes on: branches/1.0.x/inc/dmenu.css
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/inc/script.js
===================================================================
--- branches/1.0.x/inc/script.js (nonexistent)
+++ branches/1.0.x/inc/script.js (revision 13321)
@@ -0,0 +1,223 @@
+String.prototype.trim = function() { return this.replace(/^\s+|\s+$/, ''); };
+
+function update_checkbox(cb, cb_hidden) {
+ cb_hidden.value = cb.checked ? 1 : 0;
+}
+
+function redirect($url) {
+ window.location.href = $url;
+}
+
+function open_window($url, $window_name, $width, $height) {
+ window.open($url, $window_name, 'width='+$width+',height='+$height+',resizable=yes');
+ return false;
+}
+
+function addLoadEvent(func, wnd) {
+ if (!wnd) wnd = window
+ var oldonload = wnd.onload;
+ if (typeof wnd.onload != 'function') {
+ wnd.onload = func;
+ } else {
+ wnd.onload = function() {
+ if (oldonload) {
+ oldonload();
+ }
+ func();
+ }
+ }
+}
+
+function addEvent(el, evname, func, traditional) {
+ if (traditional) {
+ eval('el.on'+evname+'='+func);
+ return;
+ }
+
+ if (document.all) {
+ el.attachEvent("on" + evname, func);
+ } else {
+ el.addEventListener(evname, func, true);
+ }
+};
+
+// ItemCategories class
+function ItemCategories($table_id, $field_id, $primary_category, $phrases) {
+ this.CategoryTable = document.getElementById($table_id);
+ this.CategorySelector = document.getElementById($field_id + '_select');
+ this.MoreCategoriesField = document.getElementById($field_id);
+ this.PrimaryCategory = $primary_category;
+ this.Phrases = $phrases;
+
+ // get additional categories from item
+ if (this.MoreCategoriesField.value.length) {
+ this.MoreCategories = this.MoreCategoriesField.value;
+ this.MoreCategories = this.MoreCategories.substring(1, this.MoreCategories.length - 1).split('|');
+ }
+ else {
+ this.MoreCategories = new Array ();
+ }
+}
+
+ItemCategories.prototype.AddCategory = function($separator, $delete_button, $max_categories) {
+ var $category_id = this.CategorySelector.options[this.CategorySelector.selectedIndex].value;
+ var $category_name = this.CategorySelector.options[this.CategorySelector.selectedIndex].innerHTML.trim();
+
+ if ((this.SearchCategory($category_id) !== false) || ($category_id == this.PrimaryCategory) || ($category_id == 0)) {
+ // don't add same category twice & don't allow to add item's primary category
+ alert(this.Phrases[1]);
+ return ;
+ }
+
+ if ((this.MoreCategories.length + 2) > $max_categories)
+ {
+ // don't add more category - $max_categories limit
+ alert(this.Phrases[0]);
+ return ;
+ }
+
+ // strip trailing HTML spaces & separator
+ var $separator_pos = $category_name.indexOf($separator);
+ if ($separator_pos != -1) {
+ $category_name = $category_name.substring($separator_pos + $separator.length);
+ }
+
+
+ var $row = this.CategoryTable.insertRow(-1);
+ $row.id = 'category_' + $category_id;
+
+ var $cell = $row.insertCell(-1);
+ $cell.innerHTML = $category_name;
+
+ $cell = $row.insertCell(-1);
+ $cell.innerHTML = $delete_button.replace(/#CATEGORY_ID#/g, $category_id);
+
+ this.MoreCategories.push($category_id);
+ this.updateMoreCategoriesField();
+}
+
+ItemCategories.prototype.SearchCategory = function($category_id) {
+ var $i = 0;
+ while ($i < this.CategoryTable.rows.length) {
+ if (this.CategoryTable.rows[$i].id == 'category_' + $category_id) {
+ return $i;
+ }
+ $i++;
+ }
+
+ return false;
+}
+
+ItemCategories.prototype.DeleteCategory = function($category_id) {
+ var $row_index = this.SearchCategory($category_id);
+
+ if ($row_index !== false) {
+ this.CategoryTable.deleteRow($row_index);
+ var $i = 0;
+ while ($i < this.MoreCategories.length) {
+ if (this.MoreCategories[$i] == $category_id) {
+ this.MoreCategories.splice($i, 1);
+ break;
+ }
+ $i++;
+ }
+ this.updateMoreCategoriesField();
+ }
+}
+
+ItemCategories.prototype.updateMoreCategoriesField = function() {
+ this.MoreCategoriesField.value = this.MoreCategories.length ? '|' + this.MoreCategories.join('|') + '|' : '';
+}
+
+function jq($selector) {
+ return $selector.replace(/(\[|\]|\.|:)/g, '\\$1');
+}
+
+function MultiLanguageSelector($language_info, $current_language) {
+ this._languageInfo = $language_info;
+ this._currentLanguage = $current_language;
+ this._controls = new Array ();
+
+ var $me = this;
+
+ $(document).ready(
+ function() {
+ $me.init();
+ }
+ );
+}
+
+MultiLanguageSelector.prototype.init = function () {
+ var $i = 0;
+ var $me = this;
+
+ while ($i < this._controls.length) {
+ // set current language
+ $( jq('#' + this._controls[$i]) ).data('PrevLanguage', this._currentLanguage);
+
+ for (var $language_id in this._languageInfo) {
+ var $id = this.inputForLanguage(this._controls[$i], $language_id);
+
+ $( jq('#' + $id + '_flag') ).each(
+ function() {
+ $(this)
+ .data('MainControl', $me._controls[$i])
+ .data('ThisLanguage', $language_id)
+ .click(
+ function ($event) {
+ var $this_flag = $(this);
+ var $this_language = $this_flag.data('ThisLanguage');
+
+ var $main_control = $('#' + jq($this_flag.data('MainControl')) );
+
+ var $prev_language = $main_control.data('PrevLanguage');
+ var $prev_flag = $( jq('#' + $me.inputForLanguage($main_control.attr('id'), $prev_language) + '_flag') );
+
+ var $language_info;
+
+ if ($this_language != $prev_language) {
+ // hide prev language input + enable it's flag
+ var $prev_image = $prev_flag.children('img:first');
+ if ($prev_image.length) {
+ // found image for given language
+ $language_info = $me._languageInfo[$prev_language];
+ $prev_image.attr('src', $prev_image.attr('src').replace($language_info.off, $language_info.on));
+ }
+ $( jq('#' + $prev_flag.attr('id').replace(/_flag$/, '_input') ) ).hide();
+
+ // show this language input + disable it's flag
+ var $this_image = $this_flag.children('img:first');
+ if ($this_image.length) {
+ // found image for given language
+ $language_info = $me._languageInfo[$this_language];
+ $this_image.attr('src', $this_image.attr('src').replace($language_info.on, $language_info.off));
+ }
+ var $this_container = $( jq('#' + $this_flag.attr('id').replace(/_flag$/, '_input') ) );
+ $this_container.show();
+
+ // focus on shown control
+ $('input:first, textarea:first', $this_container).focus();
+
+ // remember last used language
+ $main_control.data('PrevLanguage', $this_language);
+ }
+
+ $event.preventDefault();
+ }
+ );
+ }
+ );
+ }
+
+ $i++;
+ }
+}
+
+MultiLanguageSelector.prototype.inputForLanguage = function ($control_id, $language_id) {
+ return $control_id.replace('l' + this._currentLanguage + '_', 'l' + $language_id + '_');
+}
+
+MultiLanguageSelector.prototype.registerControl = function ($id) {
+ this._controls.push($id);
+}
+
Property changes on: branches/1.0.x/inc/script.js
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/inc/calendar.js
===================================================================
--- branches/1.0.x/inc/calendar.js (nonexistent)
+++ branches/1.0.x/inc/calendar.js (revision 13321)
@@ -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("&#x00ab;", 1, -2).ttip = Calendar._TT["PREV_YEAR"];
+ hh("&#x2039;", 1, -1).ttip = Calendar._TT["PREV_MONTH"];
+ hh(Calendar._TT["TODAY"], 3, 0).ttip = Calendar._TT["GO_TODAY"];
+ hh("&#x203a;", 1, 1).ttip = Calendar._TT["NEXT_MONTH"];
+ hh("&#x00bb;", 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: branches/1.0.x/inc/calendar.js
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/inc/nlsmenuext_dyn.js
===================================================================
--- branches/1.0.x/inc/nlsmenuext_dyn.js (nonexistent)
+++ branches/1.0.x/inc/nlsmenuext_dyn.js (revision 13321)
@@ -0,0 +1,153 @@
+/**
+* nlsmenuext_dyn.js v.1.0
+* Copyright 2005-2007, addobject.com. All Rights Reserved
+* Author Jack Hermanto, www.addobject.com
+*/
+NLSMENU.setItemVisible=function(key, v) {
+ var it=this.getItemById(key);
+ var oIt=NlsMenu.$GE(it.intKey);
+ if(oIt) {
+ if (this.orient=="V") { oIt=oIt.parentNode; }
+ oIt.style.display=(v?"":"none");
+ }
+ nlsMenuMgr[this.mgrId].hideMenus();
+ var it=this.getItemById(key);
+ it.visible=v;
+};
+
+NLSMENU.setItemState=function(itId, s) {
+ var it=this.items[itId], lit=null;
+ if(it.group) {
+ for (var l in this.items) {
+ lit=this.items[l];
+ if(lit.group==it.group && lit.state==2) {
+ setMnStyle(NlsMenu.$GE(lit.intKey), (lit.enable ? "N" : "D"), NlsMenu.getPrf(lit, this));
+ setMnIcon(this, lit, "N");
+ lit.state=1;
+ }
+ }
+ }
+ var oIt=NlsMenu.$GE(itId);
+ setMnStyle(oIt, (it.enable ? (s==1?"N":"S") : "D"), NlsMenu.getPrf(it, this));
+ setMnIcon(this, it, "N");
+ it.state=s;
+};
+
+NLSMENU.setSelection=function(itId, s) {
+ var prf="";
+ var it=this.items[this.rt.lastSel];
+ if(it){
+ prf=it.stlprf; if(prf=="")prf=this.stlprf;
+ setMnStyle(NlsMenu.$GE(it.intKey), (it.enable ?"N":"D"), prf);
+ setMnIcon(this, it, "N");
+ it.selected=false;
+ }
+
+ it=this.items[itId];
+ prf=it.stlprf; if(prf=="")prf=this.stlprf;
+ setMnStyle(NlsMenu.$GE(itId), (it.enable ?"S":"D"), prf);
+ setMnIcon(this, it, "O");
+ this.rt.lastSel=itId;
+ it.selected=true;
+};
+
+NlsMnMgr.savePath=function(vl) {
+ NlsMenuManager.$setCookie(this.mgrId+"_path", String(vl));
+};
+
+NlsMnMgr.loadPath=function() {
+ var p=NlsMenuManager.$getCookie(this.mgrId+"_path");
+ if(p && p!="") {
+ p=p.split("_");
+ this.selectPath(p[0], p[1]);
+ }
+
+}
+
+NlsMnMgr.selectPath=function(mId, id) {
+ this.unselectPath();
+ var mn=nlsMenu[mId], it=mn.items[mId+"_"+id],prf="",pr="";
+ while(mn && it) {
+ prf=it.stlprf; if(prf=="")prf=mn.stlprf;
+ setMnStyle(NlsMenu.$GE(it.intKey), (it.enable ?"S":"D"), prf);
+ setMnIcon(mn, it, "O");
+ mn.rt.lastSel=it.intKey;
+ it.selected=true;
+
+ pr=mn.prIt;
+ if(pr) {
+ mn=nlsMenu[pr.split("_")[0]];
+ it=mn.items[pr];
+ } else {mn=null; it=null}
+ }
+};
+
+NlsMnMgr.unselectPath=function() {
+ var mgr=this,prf="",it=null, mns=[mgr.menubar];
+ for(var i in mgr.menus) { mns[mns.length]=mgr.menus[i]; }
+ for(var i=0;i<mns.length;i++) {
+ for (var j in mns[i].items) {
+ it=mns[i].items[j];
+ if (it.selected) {
+ prf=it.stlprf; if(prf=="")prf=mns[i].stlprf;
+ setMnStyle(NlsMenu.$GE(it.intKey), (it.enable ?"N":"D"), prf);
+ setMnIcon(mns[i], it, "N");
+ }
+ }
+ }
+};
+
+NLSMENU.addToggleItem=function(key, grp, capt, url, ico, enb, xtra, title) {
+ var it=this.addItem(key, capt, url, ico, enb, xtra, null, title);
+ it.toggle=true;
+ it.group=grp;
+ return it;
+};
+
+NLSMENU.deleteItem = function(key) {
+ var intKey = this.mId+"_"+key;
+ if (!this.items[intKey]) return;
+
+ if(this.lsItm) {
+ var lsItm=this.items[this.lsItm.id];
+ if(lsItm.id==key) {this.lsItm=null; }
+ }
+
+ this.items[intKey] = null;
+ delete this.items[intKey];
+ var ovr=-1;
+ for (var i=0; i<this.srItems.length; i++) {
+ if (this.srItems[i].id==key) { ovr=i; }
+ if ( ovr!=-1 && i>=ovr && i<this.srItems.length) {
+ this.srItems[i]=this.srItems[i+1];
+ }
+ }
+ this.srItems.length--;
+};
+
+/*Cookie related*/
+NlsMenuManager.$setCookie=function(key, value, expire) {
+ if (value==null) return;
+ var v = value;
+ if (v!="") v=escape(v);
+ document.cookie = escape(key)+"="+ v + (expire?"; expires="+expire:"");
+};
+
+NlsMenuManager.$getCookie=function(key) {
+ if (document.cookie) {
+ var cp=document.cookie.split(";");
+ var c=null;
+ for (var i=0; i<cp.length; i++) {
+ c=cp[i].split("=");
+ if (unescape(c[0].replace(/\s*/gi,""))==key) { return (c.length>1?unescape(c[1]):""); }
+ }
+ }
+ return "";
+};
+
+NlsMenuManager.$removeCookie=function(key) {
+ NlsMenuManager.$setCookie(key, "-1", "Fri, 31 Dec 1999 23:59:59 GMT;");
+}
+
+
+
Property changes on: branches/1.0.x/inc/nlsmenuext_dyn.js
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/inc/nlsmenueffect.js
===================================================================
--- branches/1.0.x/inc/nlsmenueffect.js (nonexistent)
+++ branches/1.0.x/inc/nlsmenueffect.js (revision 13321)
@@ -0,0 +1,241 @@
+/**
+* nlsmenueffect.js v.2.0.1
+* Copyright 2005-2007, addobject.com. All Rights Reserved
+* Author Jack Hermanto, www.addobject.com
+*/
+var nlsEffectList={
+ barn:"progid:DXImageTransform.Microsoft.Barn(Duration=0.3,motion=out,orientation=vertical);",
+ blinds:"progid:DXImageTransform.Microsoft.Blinds(Duration=0.3,Bands=8,direction=right);",
+ checkerboard:"progid:DXImageTransform.Microsoft.Checkerboard(Duration=0.3,Direction=right,SquaresX=20,SquaresY=20);",
+ fade:"progid:DXImageTransform.Microsoft.Fade(Duration=0.3,Overlap=1.00);",
+ inset:"progid:DXImageTransform.Microsoft.Inset(Duration=0.3);",
+ iris:"progid:DXImageTransform.Microsoft.Iris(Duration=0.3,irisstyle=CIRCLE,motion=in);",
+ pixelate:"progid:DXImageTransform.Microsoft.Pixelate(Duration=0.3,MaxSquare=10);",
+ radialwipe:"progid:DXImageTransform.Microsoft.RadialWipe(Duration=0.3,wipestyle=WEDGE)",
+ randombars:"progid:DXImageTransform.Microsoft.RandomBars(Duration=0.3,Orientation=horizontal);",
+ randomdissolve:"progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.3);",
+ slide:"progid:DXImageTransform.Microsoft.Slide(Duration=0.3,slidestyle=HIDE,Bands=5);",
+ spiral:"progid:DXImageTransform.Microsoft.Spiral(Duration=0.3,GridSizeX=64,GridSizeY=64);",
+ stretch:"progid:DXImageTransform.Microsoft.Stretch(Duration=0.3,stretchstyle=HIDE);",
+ strips:"progid:DXImageTransform.Microsoft.Strips(Duration=0.3,motion=rightdown);",
+ wheel:"progid:DXImageTransform.Microsoft.Wheel(Duration=0.3,spokes=10);",
+ gradienwipe:"progid:DXImageTransform.Microsoft.GradientWipe(Duration=0.3,GradientSize=0.75,wipestyle=0,motion=forward);",
+ zigzag:"progid:DXImageTransform.Microsoft.Zigzag(Duration=0.3,GridSizeX=8,GridSizeY=8);",
+ itemfade:"progid:DXImageTransform.Microsoft.Fade(Duration=0.2,Overlap=0.75);",
+ itemdissolve:"progid:DXImageTransform.Microsoft.RandomDissolve(duration=0.3);",
+ aoslide:"Duration:2"
+};
+
+function NlsMenuEffect(mId, effName) {
+ this.mId=mId;
+ this.elm=null;
+ this.effName=effName;
+ this.isOut=false;
+ this.prop=new Object();
+ this.onShow=function() {};
+ this.onHide=function() {};
+
+ this.start=_defStart;
+ this.run=_defRun;
+
+ if (effName=="aoslide") {
+ this.start=_slideStart;
+ this.run=_slideRun;
+ }
+ return this;
+};
+
+/*default effect*/
+var _fadeTm=null;
+var _fadesEff=new Object();
+
+function _defStart(isOut) {
+ var mn=NlsMenu.$GE(this.mId);
+ mn.childNodes[0].style.position="";
+ nlsMenu[this.mId].rt.ready=true;
+ this.elm=NlsMenu.$GE("effwin_"+this.mId);
+ if (nls_isIE) {
+ this.elm.style.filter=nlsEffectList[this.effName];
+ if (this.elm.filters.length>0) this.elm.filters[0].apply();
+ } else {
+ this.elm=this.elm.parentNode;
+ this.isOut=(isOut==true);
+ if (!this.prop["init"]) {
+ this.elm.style.MozOpacity=(isOut?1:0);
+ this.elm.style.opacity=(isOut?1:0);
+ }
+ this.prop["init"]=true;
+ this.prop["dur"]=20;
+ this.prop["rng"]=100;
+ this.prop["spd"]=20;
+ }
+};
+
+function _defRun() {
+ if (nls_isIE) {
+ if (this.elm.filters.length>0) this.elm.filters[0].play();
+ } else {
+ var me=this;
+ if (this.elm.style.MozOpacity) this.prop["opa"]="MozOpacity"; else this.prop["opa"]="opacity";
+ var p=new Object();
+ p.x1=this.elm.style[this.prop["opa"]]*this.prop["rng"];
+ if (this.isOut) { p.x2=0; } else { p.x2=this.prop["rng"]-1; }
+ _fc_fade(p);
+ this.prop["pt"]=p;
+ this.prop["sd"]=0;
+
+ _fadesEff[this.mId]=this;
+ if (!_fadeTm) _fadeTm=setInterval(function() {_fadeAnimate();}, this.prop["spd"]);
+ }
+};
+
+function _fadeAnimate() {
+ var b=true;
+ for (var it in _fadesEff) {
+ var eff=_fadesEff[it];
+ var p=eff.prop["pt"];
+ if (eff.prop["sd"]<eff.prop["dur"]) {
+ eff.prop["sd"]++;
+ eff.elm.style[eff.prop["opa"]]=effect_bezier(eff.prop["sd"]/eff.prop["dur"],p.x1, p.x2, p.c1, p.c2)/eff.prop["rng"];
+ } else {
+ eff.elm.style[eff.prop["opa"]]=p.x2/eff.prop["rng"];
+ if (eff.isOut) {eff.onHide(); eff.elm.style[eff.prop["opa"]]=0;} else {eff.onShow();}
+ delete _fadesEff[eff.mId];
+ }
+ b=false;
+ }
+ if (b) {clearInterval(_fadeTm); _fadeTm=null;}
+};
+
+/*end*/
+
+/*slide effect*/
+var _slideTm=null;
+var _slidesEff=new Object();
+
+function _slideStart(isOut) {
+ var mn=NlsMenu.$GE(this.mId);
+ this.elm=mn.childNodes[0];
+
+ if (!isOut && this.prop["init"]!=true) {
+ this.elm.style.position="";
+ var w=this.elm.offsetWidth; var h=this.elm.offsetHeight;
+ with (mn.style) { overflow="hidden"; width=w+"px"; height=h+"px";};
+
+ with (this.elm.style) {
+ position=nls_isIE?"absolute":"relative";
+ switch(this.prop["dir"]) {
+ case "right": top="0px";left=-w+"px"; this.prop["st"]="left"; break;
+ case "left": top="0px";left=w+"px"; this.prop["st"]="left"; break;
+ case "down": top=-h+"px";left="0px"; this.prop["st"]="top"; break;
+ case "up": top=h+"px";left="0px"; this.prop["st"]="top"; break;
+ }
+ };
+ this.prop["mw"]=w; this.prop["mh"]=h;
+ if (!nls_isIE) this.prop["init"]=true;
+ }
+ this.prop["dur"]=parseFloat(nlsEffectList[this.effName].split(":")[1])*10;
+ this.prop["spd"]=15;
+ this.isOut=(isOut==true);
+ nlsMenu[this.mId].rt.ready=false;
+};
+
+function _slideRun() {
+ var me=this;
+ var p=new Object();
+ var l=parseInt(this.elm.style.left);
+ var t=parseInt(this.elm.style.top);
+ var c=this.isOut?1:0;
+ switch(this.prop["dir"]) {
+ case "right": p.x1=l; p.x2=-this.prop["mw"]*c; break;
+ case "left" : p.x1=l; p.x2=this.prop["mw"]*c; break;
+ case "down" : p.x1=t; p.x2=-this.prop["mh"]*c; break;
+ case "up" : p.x1=t; p.x2=this.prop["mh"]*c; break;
+ };
+ _fc_slide(p);
+ this.prop["pt"]=p;
+ this.prop["sd"]=0;
+
+ _slidesEff[this.mId]=this;
+ if (!_slideTm) _slideTm=setInterval(function() {_slideAnimate();}, this.prop["spd"]);
+};
+
+function _slideAnimate() {
+ var b=true;
+ for (var it in _slidesEff) {
+ var eff=_slidesEff[it];
+ var p=eff.prop["pt"];
+ if (eff.prop["sd"] < eff.prop["dur"]) {
+ eff.elm.style[eff.prop["st"]]= effect_bezier(eff.prop["sd"]/eff.prop["dur"],p.x1, p.x2, p.c1, p.c2) + "px";
+ eff.prop["sd"]++;
+ } else {
+ eff.elm.style[eff.prop["st"]]=p.x2+"px";
+ if (eff.isOut) {eff.onHide();} else {nlsMenu[eff.mId].rt.ready=true; eff.onShow();}
+ delete _slidesEff[eff.mId];
+ }
+ b=false;
+ }
+ if (b) {clearInterval(_slideTm); _slideTm=null;}
+};
+
+function _fc_fade(p) {p.c1=p.x1+(p.x2-p.x1)*2/3; p.c2=p.x2;};/*for fadding*/
+function _fc_slide(p) {p.c1=p.x1+(p.x2-p.x1)*2/3; p.c2=p.x2;};
+function _f1(t) { return (1-t); };
+function _f2(t) { return (1-t)*(1-t); };
+function _f3(t) { return (1-t)*(1-t)*(1-t); };
+function _f4(t) { return t*t*t; };
+function effect_bezier(t,x1,x2,c1,c2) {
+ return _f3(t)*x1 + 3*t*_f2(t)*c1 + 3*t*t*_f1(t)*c2 + _f4(t)*x2;
+};
+
+/*end*/
+
+/*NlsMenu item effect*/
+function NlsMenuItemEffect(itemId, effName) {
+ this.tmId=null;
+ this.itemId=itemId;
+ this.elm=null;
+ this.effName=effName;
+};
+
+NlsMenuItemEffect.prototype.init=function() {
+ if(!nls_isIE) return;
+ if (this.elm==null) this.elm=NlsMenu.$GE(this.itemId);
+ if (nlsEffectList[this.effName]) this.elm.style.filter=nlsEffectList[this.effName];
+ if (this.elm.filters.length>0) this.elm.filters[0].apply();
+};
+
+NlsMenuItemEffect.prototype.start=function() {
+ if(!nls_isIE) return;
+ if (this.elm.filters.length>0) this.elm.filters[0].play();
+};
+/*end*/
+
+/*NlsMenuBorder class*/
+function NlsMenuBorder(bTop, bBottom, bLeft, bRight) {
+ var border = "<table cellpadding=0 cellspacing=0>";
+ var sTop="", sBottom="", sLeft="", sRight="";
+ if (bTop) sTop="<td><table width='100%' cellpadding=0 cellspacing=0><tr><td class='@stlprf_mtop'></td></tr></table></td>";
+ if (bBottom) sBottom="<td><table width='100%' cellpadding=0 cellspacing=0><tr><td class='@stlprf_mbottom'></td></tr></table></td>";
+ if (bLeft) {
+ sLeft="<td height='100%' class='@stlprf_mleft' style='font-size:1pt;'>&nbsp;</td>";
+ if (bTop) sTop="<td class='@stlprf_mtopleft'></td>"+sTop;
+ if (bBottom) sBottom="<td class='@stlprf_mbottomleft'></td>"+sBottom;
+ }
+ if (bRight) {
+ sRight="<td height='100%' class='@stlprf_mright' style='font-size:1pt;'>&nbsp;</td>";
+ if (bTop) sTop+="<td class='@stlprf_mtopright'></td>";
+ if (bBottom) sBottom+="<td class='@stlprf_mbottomright'></td>";
+ }
+ if (sTop!="") sTop="<tr>"+sTop+"</tr>";
+ if (sBottom!="") sBottom="<tr>"+sBottom+"</tr>";
+ border=border+sTop+"<tr height='100%'>"+sLeft+"<td>@menu</td>"+sRight+"</tr>"+sBottom;
+ border+="</table>";
+
+ this.applyBorder = function (smenu, stlprf) {
+ var b=border.replace(/@stlprf_/gi, stlprf);
+ return b.replace(/@menu/gi, smenu);
+ };
+
+ return this;
+};
\ No newline at end of file
Property changes on: branches/1.0.x/inc/nlsmenueffect.js
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/inc/styles.css
===================================================================
--- branches/1.0.x/inc/styles.css (nonexistent)
+++ branches/1.0.x/inc/styles.css (revision 13321)
@@ -0,0 +1,870 @@
+/* --- Golbal Usage Styles --- */
+html, body {
+ margin: 0px;
+ padding: 0px;
+ height: 100%;
+ border: none;
+ font: 9pt Arial;
+ color: #000000;
+}
+
+.fullwidth {
+ width: 100%;
+}
+
+table {
+ margin: 0px;
+ padding: 0px;
+ border-collapse: collapse;
+}
+
+td {
+ font: 11px Arial, serif;
+ color: #000000;
+ margin: 0px;
+ padding: 0px;
+}
+
+.hidden-element {
+ display: none;
+}
+
+.horizontal-separator {
+ background: url(../img/horizontal_dashed_line.gif) top repeat-x;
+}
+
+.vertical-separator {
+ background: url(../img/vertical_dashed_line.gif) top center repeat-y;
+}
+
+img, img A {
+ border: 0px;
+}
+
+form {
+ display: inline;
+}
+
+
+.menu-background {
+ background: url(../img/menu_background.gif) top repeat-x #1865AC;
+ width: 100%;
+}
+
+.top-toolbar
+ {
+ vertical-align:bottom;
+ padding:0px 0px 15px 20px;
+ }
+
+.top-toolbar-padding
+ {
+ padding:7px 10px;
+ }
+
+.top-toolbar-table-padding TD
+ {
+ padding:3px 4px;
+ }
+
+.top-toolbar-text
+ {
+ font-size:11px;
+ font-family: Tahome, Arial, Helvetica, sans-serif;
+ color: #46484a;
+ font-weight:bold;
+ }
+
+.top-toolbar-text A
+ {
+ font-size:11px;
+ font-family: Tahome, Arial, Helvetica, sans-serif;
+ color: #46484a;
+ font-weight:bold;
+ text-decoration:underline;
+ }
+
+.top-toolbar-text A:hover
+ {
+ font-size:11px;
+ font-family: Tahome, Arial, Helvetica, sans-serif;
+ color: #000000;
+ font-weight:bold;
+ text-decoration:underline;
+ }
+
+.top-toolbar-shoppingcard-items
+ {
+ font-family: Tahome, Arial, Helvetica, sans-serif;
+ color: #e55c19;
+ font-size:12px;
+ }
+
+.searchbox-center
+ {
+ background:url(../img/searchbox_center.gif) top repeat-x;
+ vertical-align: middle;
+ padding:0px 5px;
+ }
+
+
+.button-center
+ {
+ background:url(../img/button_center.gif) top repeat-x;
+ vertical-align:middle;
+ color:#3c3c3c;
+ font-size:11px;
+ font-weight:bold;
+ }
+
+.button-center A
+ {
+ color:#3c3c3c;
+ text-decoration:none;
+ }
+
+.searchbox-background
+ {
+ background:url(../img/searchbox_background.gif) bottom repeat-x;
+ }
+
+.searchbox-background-2
+ {
+ background:url(../img/searchbox_background_2.gif) bottom repeat-x;
+ }
+
+.tab-center-select
+ {
+ background:url(../img/tab_center_select.gif) top repeat-x;
+ vertical-align:middle;
+ text-align:center;
+ }
+
+.tab-center-noselect
+ {
+ background:url(../img/tab_center_noselect.gif) top repeat-x;
+ vertical-align:middle;
+ text-align:center;
+ }
+
+.tab-center-select A, .tab-center-noselect A
+ {
+ color:#FFFFFF;
+ text-decoration:none;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-size:11px;
+ font-weight:bold;
+ }
+
+
+
+
+/* --- Link Styles --- */
+a {
+ color: #FF9900;
+}
+
+a:hover {
+ color: #006633;
+}
+
+a.more-link {
+ font-size: 10px;
+}
+
+a.item-action {
+ font-size: 9px;
+ color: #666666;
+}
+
+a.item-action:hover {
+ color: #000000;
+}
+
+.footer-links {
+ color: #6f6f6f;
+ font-size: 10px;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+}
+
+.footer-links A {
+ color: #6f6f6f;
+ text-decoration:underline;
+}
+
+.footer-links A:hover {
+ color: #000000;
+ text-decoration:underline;
+}
+
+/* --- Side Box Styles --- */
+.side-box-header {
+ background: url(../img/side_boxes_background.gif) bottom repeat-x #83AFD6;
+ height: 29px;
+ padding: 0px 8px 0px 20px;
+}
+
+.side-box-title {
+ font-size: 12px;
+ color: #FFFFFF;
+}
+
+.side-box-title A {
+ font-size: 12px;
+ color: #FFFFFF;
+ text-decoration: underline;
+}
+
+.side-box-title A:hover {
+ font-size: 12px;
+ color: #FFDC0E;
+}
+
+.side-box-content {
+ background: url(../img/side_boxes_content.gif) top repeat-x;
+ padding: 20px 20px;
+}
+
+.light-box-content {
+ background:url(../img/light_box_background.gif) no-repeat top left #f3ead7;
+ padding: 20px 20px 10px 20px;
+ border:1px solid #bbbbbb;
+}
+
+.login-block-style
+ {
+ font-size:10px;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ color:#46484a;
+ font-weight:bold;
+ }
+
+.login-block-style A
+ {
+ color:#3580e5;
+ text-decoration:underline;
+ }
+
+.login-block-style A:hover
+ {
+ color:#3580e5;
+ text-decoration:none;
+ }
+
+.home-baner-cell
+ {
+ vertical-align:top;
+ padding-right:3px;
+ background:url(../img/vertical_dashed_line.gif) right repeat-y;
+ width: 400px;
+ }
+
+.home-login-cell
+ {
+ padding: 5px 5px 5px 20px;
+ background:url(../img/vertical_dashed_line.gif) right repeat-y;
+ text-align:left;
+ }
+
+.light-box-title-orange
+ {
+ background:url(../img/box_title_background_orange.gif) top repeat-x #dda167;
+ color:#FFFFFF;
+ font-weight:bold;
+ font-size:11px;
+ font-family: Tahoma;
+ height:26px;
+ padding:0px 20px;
+ text-transform:uppercase;
+ border-left: 1px solid #d78f4a;
+ border-right: 1px solid #d78f4a;
+ }
+
+.light-box-title-orange A
+ {
+ color:#FFFFFF;
+ text-decoration:underline;
+ }
+
+.light-box-title-orange A:hover
+ {
+ color:#FFFFFF;
+ text-decoration: none;
+ }
+
+.light-box-title-green
+ {
+ background:url(../img/box_title_background_green.gif) top repeat-x #b6d4c4;
+ color:#FFFFFF;
+ font-weight:bold;
+ font-size:11px;
+ font-family: Tahoma;
+ height:26px;
+ padding:0px 20px;
+ text-transform:uppercase;
+ border-left: 1px solid #90bda3;
+ border-right: 1px solid #90bda3;
+ }
+
+.light-box-body
+ {
+ border:1px solid #bbbbbb;
+ padding:5px;
+ }
+
+/* --- Content Box Styles --- */
+.content-box-header {
+ background: #F0F5FA;
+ height: 29px;
+ padding: 0px 20px;
+}
+
+.content-box-title {
+ font-size: 15px;
+ font-family: Arial;
+ color: #000000;
+}
+
+.content-box-content {
+ background: #FFFFFF;
+ padding: 20px 20px 0px 20px;
+}
+
+/* --- Form Control Styles --- */
+.input-text, .input-textarea {
+ border: 1px solid #818181;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-size: 12px;
+ color: #888888;
+ padding: 1px 5px;
+ width: 200px;
+}
+
+.input-textarea {
+ overflow: auto;
+ height: 140px;
+ width: 300px;
+}
+
+.input-select {
+ color: #333333;
+ font-size: 11px;
+}
+
+.button {
+ background: url(../img/button_background.gif) bottom repeat-x #5b5b5c;
+ border: 1px solid #21272b;
+ color:#FFFFFF;
+ padding: 0px;
+ font-size: 11px;
+ font-weight:bold;
+ font-family:Tahoma, Arial, Helvetica, sans-serif;
+ padding: 0px 4px;
+}
+
+.button-light {
+ background: url(../img/button_lifht_background.gif) bottom repeat-x #c37f61;
+ border: 1px solid #aa4d24;
+ color:#FFFFFF;
+ padding: 0px;
+ font-size: 11px;
+ font-weight:bold;
+ font-family:Tahoma, Arial, Helvetica, sans-serif;
+ padding: 0px 5px;
+}
+
+.delete-button {
+ background: url(../img/delete_button_background.gif) bottom repeat-x #FF6D6D;
+ color: #FFFFFF;
+ border: 1px solid #CC0000;
+ padding: 0px;
+ font-size: 11px;
+ padding: 0px 5px;
+}
+
+/* --- Form Field Styles --- */
+.field-name {
+ padding: 5px 15px;
+
+ color: #2E5679;
+ font-weight: bold;
+ font-size: 11px;
+}
+
+.field-required {
+ color: #FF0000;
+}
+
+.field-hint {
+ color: #000000;
+ font-size: 10px;
+}
+
+.field-error {
+ color: #CC0000;
+ font-size: 10px;
+}
+
+.field-value {
+ padding: 6px 5px;
+}
+
+.warning-message td {
+ padding: 5px;
+ background: #FFE5E6;
+ font-size: 16px;
+}
+
+.item-categories td {
+ padding: 1px;
+}
+/* --- Login Sidebox Styles --- */
+.login-status, .login-status a {
+ font-size: 10px;
+ color: #FFFFFF;
+}
+
+.login-status a:hover {
+ font-size: 10px;
+}
+
+.remember-login {
+ color: #000000;
+ font-size: 9px;
+}
+
+/* --- Navigation Bar Styles --- */
+.navigation-bar {
+ background: url(../img/side_boxes_background.gif) bottom repeat-x #d4863c;
+ padding: 3px 20px 6px 20px;
+ font-size: 10px;
+ color: #FFFFFF;
+}
+
+.navigation-bar A {
+ color: #FFFFFF;
+}
+
+.navigation-bar A:hover {
+ color: #FFE7AE;
+}
+
+/* --- Top Right Menu Styles --- */
+.menu-top-active-icon, .menu-top-active-text {
+ background: url(../img/top_menu_select.gif);
+}
+
+td.top-menu-padding {
+ height: 37px;
+ white-space: nowrap;
+}
+
+.menu-top-noactive-icon, .menu-top-active-icon {
+ padding: 0px 5px 0px 13px;
+}
+
+.menu-top-noactive-text, .menu-top-active-text {
+ padding: 0px 13px 0px 3px;
+}
+
+a.top-menu-link, a.top-menu-link:hover {
+ font-size: 11px;
+ text-decoration: none;
+}
+
+a.top-menu-link {
+ color: #FFFFFF;
+}
+
+a.top-menu-link:hover {
+ color: #CCCCCC;
+}
+
+/* --- Tab Styles --- */
+.inactive-tab, .active-tab {
+ padding:5px 10px;
+ border: 1px solid #94c0de;
+}
+
+.inactive-tab {
+ background-color: #eff4fa;
+}
+
+.active-tab {
+ background-color: #FFFFFF;
+ border-bottom-color: #FFFFFF;
+}
+
+.tab-bottom-line {
+ background: url(../img/pixel_blue.gif) bottom repeat-x;
+}
+
+.tab-left-padding {
+ padding-left: 40px;
+}
+
+/* --- Category Listing & My Account Styles --- */
+.directory-icon {
+ width: 22px;
+ vertical-align: top;
+ padding: 5px;
+}
+
+.directory-text {
+ padding: 5px 20px 5px 5px;
+ vertical-align: top;
+}
+
+/* --- Item Listing Page & Item Details Page Styles --- */
+.item-listing {
+ background: #FFFFFF;
+}
+
+.item-listing-featured {
+ background: url(../img/gradient_background_gr.gif) top repeat-x #FFFFFF;
+}
+
+.item-listing-lead {
+ background: url(../img/gradient_background_red.gif) top repeat-x #FFFFFF;
+}
+
+.item-padding {
+padding: 10px 10px 10px 10px;
+}
+
+
+
+.item-statistics {
+ font-size: 10px;
+ color: #666666;
+}
+
+.listing-field-name {
+ font-weight: bold;
+}
+
+.category-statistics {
+ font-size: 10px;
+}
+
+.sub-section-header, .sub-section-header td {
+ background-color: #F4F4F4;
+ font-weight: bold;
+ padding: 5px 15px;
+ font-size: 12px;
+}
+
+.listing-row td {
+ padding: 5px 8px;
+}
+
+/* --- Pagination Bar Styles --- */
+.current-page {
+ background: #5B97CB;
+ color: #FFFFFF;
+ padding: 1px 2px;
+}
+
+a.page-link {
+ color: #000000;
+ text-decoration: none;
+}
+
+/* --- Calendar Styles --- */
+.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;
+}
+
+
+
+/* --- Item Raring Styles --- */
+.ratingblock, .ratingblock div {
+ display: -moz-inline-block;
+}
+
+.voted {
+ color: #999;
+}
+
+.thanks {
+ color: #36AA3D;
+}
+
+.static {
+ color: #5D3126;
+}
+
+.inline-rating {
+ display:-moz-inline-block;
+ display:-moz-inline-box;
+ display:inline-block;
+ vertical-align: middle;
+}
+
+.star-rating,
+.star-rating a:hover,
+.star-rating a:active,
+.star-rating a:focus,
+.star-rating .current-rating{
+ background: url('../img/starrating.gif') left -1000px repeat-x;
+}
+.star-rating {
+ position:relative;
+ width:125px;
+ height:25px;
+ overflow:hidden;
+ list-style:none;
+ margin:0;
+ padding:0;
+ background-position: left top;
+}
+
+.star-rating li {
+ display: inline;
+}
+
+.star-rating a,
+.star-rating .current-rating {
+ position:absolute;
+ top:0;
+ left:0;
+ text-indent:-1000em;
+ height:25px;
+ line-height:25px;
+ outline:none;
+ overflow:hidden;
+ border: none;
+}
+
+.star-rating a:hover,
+.star-rating a:active,
+.star-rating a:focus {
+ background-position: left bottom;
+}
+.star-rating a.r1-unit { width:20%;z-index:6; }
+.star-rating a.r2-unit { width:40%;z-index:5; }
+.star-rating a.r3-unit { width:60%;z-index:4; }
+.star-rating a.r4-unit { width:80%; z-index:3; }
+.star-rating a.r5-unit { width:100%; z-index:2; }
+.star-rating .current-rating { z-index:1; background-position: left center; }
+
+.small-star {
+ width:50px;
+ height:10px;
+}
+.small-star, .small-star a:hover, .small-star a:active,
+.small-star a:focus, .small-star .current-rating {
+ background-image: url('star_small.gif');
+ line-height: 10px;
+ height: 10px;
+}
+
+
+
+/* --- Unprocessed Styles --- */
+.text-title {
+ font-size: 11px;
+ font-weight: bold;
+ color: #e55c19;
+}
+
+a.text-title {
+ font-size: 11px;
+ font-weight: bold;
+ color: #e55c19;
+ text-decoration:none;
+}
+
+a.text-title:hover {
+ color: #e55c19;
+ text-decoration: underline;
+}
+
+/* ----- Depricated Styles ----- */
+.error {
+ color: magenta;
+}
+
+.static {
+ color: #00CC66;
+}
+
+.image_boder {
+ border: 1px solid #CDCECD;
+}
+
+.table-border {
+ border: 1px solid #EAEAEA;
+}
+
+.information-background {
+ background-color: #F6F6FF;
+}
+
+#slider ul, #slider li,
+ #slider2 ul, #slider2 li{
+ margin:0;
+ padding:0;
+ list-style:none;
+ }
+ #slider2{margin-top:1em;}
+ #slider li, #slider2 li{
+ /*
+ define width and height of list item (slide)
+ entire slider area will adjust according to the parameters provided here
+ */
+ width:400px;
+ height:161px;
+ overflow:hidden;
+ }
+ #prevBtn, #nextBtn,
+ #slider1next, #slider1prev{
+ display:block;
+ width:30px;
+ height:77px;
+ position:absolute;
+ left:-30px;
+ top:71px;
+ z-index:1000;
+ }
+ #nextBtn, #slider1next{
+ left:696px;
+ }
+ #prevBtn a, #nextBtn a,
+ #slider1next a, #slider1prev a{
+ display:block;
+ position:relative;
+ width:30px;
+ height:77px;
+ background:url(../images/btn_prev.gif) no-repeat 0 0;
+ }
+ #nextBtn a, #slider1next a{
+ background:url(../images/btn_next.gif) no-repeat 0 0;
+ }
+
+ /* numeric controls */
+
+ ol#controls{
+ margin: -23px 0 0 0;
+ padding:0;
+ height:16px;
+ float:right;
+ }
+ ol#controls li{
+ margin:0 5px 0 0;
+ padding:0;
+ float:left;
+ list-style:none;
+ height:20px;
+ line-height:20px;
+ }
+ ol#controls li a{
+ text-align: center;
+ width: 20px;
+ float:left;
+ height:20px;
+ line-height:20px;
+ /*
+ border:1px solid #ccc;
+ background:#DAF3F8;
+ */
+ color:#555;
+ padding:0;
+ text-decoration:none;
+ background: transparent url('../img/slider/banner_background_1.gif') no-repeat scroll left top;
+ font-size:11px;
+ font-weight:bold;
+ }
+ ol#controls li.current a{
+ /* background:#5DC9E1; */
+ color:#fff;
+ background: transparent url('../img/slider/banner_background_2.gif') no-repeat scroll left top;
+ }
+ ol#controls li a:focus, #prevBtn a:focus, #nextBtn a:focus{outline:none;}
+
\ No newline at end of file
Property changes on: branches/1.0.x/inc/styles.css
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/inc/nlsmenu.js
===================================================================
--- branches/1.0.x/inc/nlsmenu.js (nonexistent)
+++ branches/1.0.x/inc/nlsmenu.js (revision 13321)
@@ -0,0 +1,854 @@
+/**
+* nlsmenu.js v.2.0
+* Copyright 2005-2007, addobject.com. All Rights Reserved
+* Author Jack Hermanto, www.addobject.com
+*/
+var nlsMenu = new Object();
+var nlsMenuMgr = new Object();
+var nlsWinElmt = [];
+
+var ag0=window.navigator.userAgent;
+var nls_isIE = (ag0.indexOf("MSIE") >=0);
+var nls_isIE5 = (ag0.indexOf("MSIE 5.0") >=0);
+var nls_isSafari = (ag0.indexOf("Safari") >=0);
+var nls_isOpera = (ag0.indexOf("Opera") >=0);
+if (nls_isOpera) {nls_isIE=false; nls_isIE5=false;};
+
+function NlsMenuManager(mgr) {
+ this.mgrId = mgr;
+ this.menus = new Object();
+ this.menubar = null;
+ this.timeout = 1000;
+ this.flowOverFormElement = false;
+ this.assocMenuMgr = [];
+ this.defaultEffect=null;
+ this.icPath="";
+ this.memorizeSel=false;
+ this.rt=new Object();
+
+ this.tmId = null;
+ this.setTimeout=function(a, t) { this.tmId = window.setTimeout(a, t); };
+ this.clearTimeout=function() { if (this.tmId!=null) { window.clearTimeout(this.tmId); this.tmId=null;}};
+
+ nlsMenuMgr[mgr] = this;
+ if(nls_isIE)window.attachEvent("onload", function(){nlsMenuMgr[mgr].init();});
+
+ return this;
+};
+
+var NlsMnMgr = NlsMenuManager.prototype;
+NlsMnMgr.createMenu = function(mId) {
+ var m=new NlsMenu(mId)
+ m.mgr=this; m.mgrId=this.mgrId; m.icPath=this.icPath;
+ m.useEffect(this.defaultEffect);
+ if (this.design) { m.$menuItemClick = NlsMenu.$dsItemClick; }
+ this.menus[mId]=m;
+ return m;
+};
+
+NlsMnMgr.createMenubar = function (mbarId) {
+ if (this.menubar) alert("Menubar already exists!");
+ var m=new NlsMenubar(mbarId);
+ m.mgr=this; m.mgrId=this.mgrId; m.icPath=this.icPath;
+ if (this.design) { m.$menuItemClick = NlsMenu.$dsItemClick; }
+ this.menubar=m;
+ return m;
+};
+
+NlsMnMgr.renderMenus = function (plc) {
+ if (plc && plc!="") {
+ var d=NlsMenu.$GE(plc); var s="";
+ for (it in this.menus) { s+=this.menus[it].renderMenu(); }
+ d.innerHTML=s;
+ } else {
+ for (it in this.menus) { document.write(this.menus[it].renderMenu()); }
+ }
+};
+
+NlsMnMgr.renderMenubar = function (plc) {
+ if (this.menubar) {
+ if (plc && plc!="") {
+ NlsMenu.$GE(plc).innerHTML=this.menubar.renderMenubar();
+ } else {
+ document.write(this.menubar.renderMenubar());
+ }
+ }
+ if(this.memorizeSel) this.loadPath();
+};
+
+NlsMnMgr.hideMenus = function () {
+ for (var it in this.menus) {if (this.menus[it].rt.active) this.menus[it].hideMenu();}
+ if (this.menubar) this.menubar.hideMenu();
+};
+
+NlsMnMgr.addAssocMenuMgr = function(frm, mgrId) {
+ this.assocMenuMgr[this.assocMenuMgr.length] = [frm, mgrId];
+};
+
+NlsMnMgr.getMenu= function(mId) { return this.menus[mId]; };
+
+NlsMnMgr.init=function() {
+ if(this.menubar)this.menubar.init();
+}
+
+function listAllWinElmt() {
+ nlsWinElmt = [];
+ var arrWinEl = document.getElementsByTagName("SELECT");
+ var elm; var tmp; var x; var y;
+ for(var i=0; i<arrWinEl.length; i++) {
+ elm = arrWinEl[i]; tmp=elm; x=0; y=0;
+ while (tmp!=null) {
+ x += tmp.offsetLeft; y+=tmp.offsetTop;
+ tmp = tmp.offsetParent;
+ }
+ nlsWinElmt[nlsWinElmt.length] = {e:elm, eX1:x, eY1:y, eX2:x+elm.offsetWidth, eY2:y+elm.offsetHeight};
+ }
+};
+
+function NlsMenuItem(id, capt, url, ico, enb, xtra, subId, title, crossFrame, subFrame, subPos, subPosAdj, subDir) {
+ this.id = id;
+ this.intKey = "";
+ this.capt = capt;
+ this.url = (url==null? "" : url);
+ this.ico = (ico==null || ico=="" || ico.length==0) ? null: ico;
+ this.enable=(enb==null?true:enb);
+ this.xtra = xtra;
+ this.stlprf="";
+ this.target=null;
+ this.title=title==null?"":title;
+ this.itemEffect=null;
+ this.visible="false";
+ this.state=1;
+ this.selected=false;
+
+ this.subMenuId = (subId?subId:"");
+ this.crsFrame = (crossFrame?crossFrame:false);
+ this.subFrame = (subFrame?subFrame:null);
+ this.subPos = (subPos?subPos:[null,null]);
+ this.subPosAdj = (subPosAdj?subPosAdj:[0,0]);
+ this.subDir = (subDir?subDir:["right","down"]);
+ this.toString=function() {return "NlsMenuItem";};
+
+ this.useItemEffect=function(effName) {
+ this.itemEffect=new NlsMenuItemEffect(this.intKey, effName);
+ };
+
+ this.rt={subUrl:null,loaded:0};
+
+ return this;
+};
+
+function NlsMenuSeparator(cstSeparator) {
+ this.stlprf = "";
+ this.intKey = "";
+ this.seprt = cstSeparator!=null?cstSeparator:"";
+ this.render = function () {
+ if (this.seprt!="") return this.seprt;
+ return ("<table border=0 cellpadding=0 cellspacing=0 width='100%' height='0%'><tr>" +
+ "<td class=\""+this.stlprf+"nlsseparator\"></td>" +
+ "</tr></table>");
+ };
+
+ this.toString=function() {return "NlsMenuSeparator";};
+};
+
+function NlsCustomMenuItem(cst) {
+ this.intKey = "";
+ this.cstMenu = (cst?cst:"&nbsp;");
+ this.toString=function() {return "NlsCustomMenuItem";};
+};
+
+function NlsMenu(mId) {
+ /*private*/
+ this.lsItm=null;
+ this.mgrId = "";
+ this.mgr=null;
+ this.winElmt=null;
+ this.container=null;
+ this.customBorder=null;
+ this.shadow=new NlsMenuShadow("none", "5px", mId);
+ this.count=0;
+ this.isMenubar=false;
+ this.effect=null;
+ this.srItems=[];
+
+ this.rt={ready:true,active:false};
+
+ /*public*/
+ this.mId = mId;
+ this.items = new Object();
+ this.stlprf="";
+ this.subMenuIc=null;
+ this.target="_self";
+ this.icPath="";
+ this.itemSpc="";
+ this.stretchItem=true;
+
+ this.selection=false;
+
+ this.showIcon=false;
+ this.showSubIcon=true;
+
+ this.absWidth="";
+ this.orient="V";
+
+ this.defItmEff=null;
+ this.defPos=[0,0];
+
+ this.maxItemCol=100;
+ this.zIndex = 100;
+
+ this.wnd = window;
+ nlsMenu[mId] = this;
+ return this;
+};
+
+var NLSMENU=NlsMenu.prototype;
+
+NLSMENU.addItem = function(key, capt, url, ico, enb, xtra, subId, title) {
+ var intKey = this.mId+"_"+key;
+ var it = new NlsMenuItem(key, capt, url, ico, enb, xtra, subId, title);
+ it.intKey = intKey;
+ it.mId=this.mId;
+ this.items[intKey]=it;
+ this.srItems[this.srItems.length]=it;
+ if (this.defItmEff!=null && typeof(NlsMenuItemEffect) != "undefined") { it.useItemEffect(this.defItmEff); }
+ this.count++;
+ return it;
+};
+
+NLSMENU.addSeparator = function(separator) {
+ var intKey = "sep_"+this.count;
+ var it = (separator ? separator : new NlsMenuSeparator());
+ it.stlprf = this.stlprf;
+ it.intKey = intKey;
+ this.items[intKey] = it;
+ this.srItems[this.srItems.length]=it;
+ this.count++;
+ return it;
+};
+
+NLSMENU.addSubmenu = function(key, subId, crsFrame, subFrame, subPos, subPosAdj, subDir) {
+ var intKey = this.mId+"_"+key;
+ var it = this.items[intKey];
+ it.subMenuId=subId;
+ it.subFrame=(subFrame?subFrame:null);
+ it.crsFrame=(crsFrame?crsFrame:false);
+ it.subPos = (subPos?subPos:[null,null]);
+ it.subPosAdj = (subPosAdj?subPosAdj:[0,0]);
+ it.subDir = (subDir?subDir:["right","down"]);
+ return it;
+};
+
+NLSMENU.addCustomMenu = function (custom) {
+ var intKey = "cst_"+this.count;
+ var it = new NlsCustomMenuItem(custom);
+ it.intKey = intKey;
+ this.items[intKey] = it;
+ this.srItems[this.srItems.length]=it;
+ this.count++;
+ return it;
+};
+
+NLSMENU.getItemById = function (key) {
+ return this.items[this.mId+"_"+key];
+};
+
+NLSMENU.setItemStyle = function (key, stlprf) {
+ var intKey = this.mId+"_"+key;
+ var mnItem = this.items[intKey];
+ mnItem.stlprf=stlprf;
+};
+
+NLSMENU.setItemText = function (key, tx) {
+ var intKey = this.mId+"_"+key;
+ var mnItem = this.items[intKey];
+ mnItem.capt=tx;
+ var oD=NlsMenu.$GE(intKey+"x2");
+ if (oD) oD.innerHTML=tx;
+}
+
+NLSMENU.enableItem = function (key, b) {
+ var it = this.items[this.mId+"_"+key] ;
+ it.enable=b;
+ setMnStyle(NlsMenu.$GE(it.intKey), (b?(it.selected?"S":"N"):"D"), NlsMenu.getPrf(it, this));
+ setMnIcon(this, it, "N");
+};
+
+NLSMENU.dropShadow = function (pos, offset) {
+ if (this.shadow) { this.shadow.pos=pos; this.shadow.offset=(offset?offset:"5px"); } else
+ { this.shadow=new NlsMenuShadow(pos, offset, this.mId); }
+};
+
+NLSMENU.applyBorder = function (bTop, bBottom, bLeft, bRight) {
+ if (!bTop && !bBottom && !bLeft && !bRight) {
+ this.customBorder=null;
+ } else {
+ this.customBorder=new NlsMenuBorder(bTop, bBottom, bLeft, bRight);
+ }
+};
+
+NLSMENU.useEffect = function (efN) {
+ if(efN!=null && efN!="") {
+ this.effect=new NlsMenuEffect(this.mId, efN);
+ }
+};
+
+NLSMENU.renderMenu = function() {
+ var scPath="", sbIc=null;
+ var allScs = (document.getElementsByTagName ? document.getElementsByTagName("SCRIPT"): document.scripts);
+ for (var i=0;i<allScs.length;i++) {
+ if (allScs[i].src.toLowerCase().indexOf("nlsmenu.js")>=0) { scPath=allScs[i].src.replace(/nlsmenu.js/gi, ""); }
+ }
+ if (!this.subMenuIc) { sbIc=[scPath+"img/submenu.gif", scPath+"img/submenuovr.gif"];}
+ else {sbIc=[this.icPath+this.subMenuIc[0]]; if(this.subMenuIc[1])sbIc[1]=this.icPath+this.subMenuIc[1];}
+
+ var cs="<table cellpadding='0' cellspacing='0' ";
+ var sAbs=(this.absWidth==""?"":"width='"+this.absWidth+"'");
+ var smenu="<table cellpadding='0' cellspacing='"+(this.itemSpc==""?"0":this.itemSpc)+"' width='100%'>";
+ var tmpCnt=0, prf=this.stlprf, it=null, rt=null, menu=null;
+ for (var i=0; i<this.srItems.length; i++) {
+ it=this.srItems[i];
+ menu=nlsMenu[it.subMenuId];
+ if(!it.crsFrame) {
+ if(menu)menu.prIt=it.intKey;
+ if(!menu && it.rt && !it.rt.subUrl) { it.subMenuId=""; }
+ }
+ if (it.toString()=="NlsMenuSeparator") {
+ smenu+=(this.orient=="V"?"<tr>":"");
+ smenu+=("<td class='"+this.stlprf+"nlsseparatorcontainer'>"+it.render()+"</td>");
+ smenu+=(this.orient=="V"?"</tr>":"");
+ } else
+ if (it.toString()=="NlsCustomMenuItem") {
+ smenu+=(this.orient=="V"?"<tr>":"");
+ smenu+=("<td>"+it.cstMenu+"</td>");
+ smenu+=(this.orient=="V"?"</tr>":"");
+ } else {
+ prf=NlsMenu.getPrf(it, this);
+ if (this.orient=="V") { smenu+="<tr>"; }
+ if (this.orient=="H") { if (tmpCnt==0) smenu+="<tr>"; tmpCnt++; }
+ smenu+="<td align='center' id=\""+it.intKey+"\" class=\""+prf+"nlsitemcontainer\" onmouseover=\"nlsMenuItemOver(event, '"+it.intKey+"')\" onclick=\"return nlsMenu['"+this.mId+"'].$menuItemClick(event, '"+it.intKey+"');\">";
+ smenu+=cs+(this.stretchItem?"width='100%'":"")+" height='100%'><tr style=\"cursor:pointer;\" title=\""+it.title+"\">";
+
+ if (this.showIcon) {
+ smenu+="<td id=\""+it.intKey+"x1\" class=\""+prf+"nlsiconcell\" align=\"center\" nowrap>";
+ if(it.ico) {
+ if(it.ico[0]) smenu+="<img id=\"ic_"+it.intKey+"\" "+(it.enable?"":"style='display:none'")+" src=\""+this.icPath+it.ico[0]+"\">";
+ if(it.ico[1]) smenu+="<img id=\"icovr_"+it.intKey+"\" style='display:none' src=\""+this.icPath+it.ico[1]+"\">";
+ if(it.ico[2]) smenu+="<img id=\"icdis_"+it.intKey+"\" "+(!it.enable?"":"style='display:none'")+" src=\""+this.icPath+it.ico[2]+"\">";
+ }
+ smenu+="</td>";
+ }
+
+ smenu+="<td align='left' id=\""+it.intKey+"x2\" class=\""+prf+(it.enable?"nlsitem\"":"nlsitemdisable\"")+" nowrap>"+it.capt+"</td>";
+ if (this.showSubIcon && it.subMenuId!="") { smenu+="<td id=\""+it.intKey+"x3\" class=\""+prf+"nlssubmenucell\" align=\"center\" nowrap>"+ (it.subMenuId!=""? "<img id='subic_"+it.intKey+"' src=\""+sbIc[0]+"\">" + (sbIc.length>1?"<img id='subicovr_"+it.intKey+"' style='display:none' src=\""+sbIc[1]+"\">":"") :"") +"</td>"; }
+ smenu+="</tr></table>";
+ smenu+="</td>";
+ if (this.orient=="V") { smenu+="</tr>"; }
+ if (this.orient=="H" && tmpCnt==this.maxItemCol) { smenu+="</tr>"; tmpCnt=0; }
+ }
+ }
+
+ if(this.orient=="H" && tmpCnt!=0 ) {
+ if(this.srItems.length>this.maxItemCol)
+ while(++tmpCnt<=this.maxItemCol) smenu+="<td class=\""+prf+"nlsitemcontainer\">&nbsp;</td>";
+ smenu+="</tr>";
+ }
+ smenu += "</table>";
+ smenu = cs+"class='"+this.stlprf+"nlsmenu' "+ sAbs + "><tr><td>"+smenu+"</td></tr></table>";
+
+ if (this.customBorder!=null) smenu = this.customBorder.applyBorder(smenu, this.stlprf);
+ smenu = this.shadow.dropShadow(smenu);
+
+ smenu = "<div " + (nls_isIE && !this.isMenubar?"style='position:absolute;z-index:"+(this.zIndex-1)+";'":"") + ">" + smenu;
+ if (!this.isMenubar && nls_isIE && !nls_isIE5 && this.mgr.flowOverFormElement) {
+ smenu += "<iframe id='"+this.mId+"ifrm' scrolling='no' frameborder=0 width='1' height='1' style='position:absolute;top:0px;left:0px;z-index:-1;filter:alpha(opacity=0)' src='"+scPath+"img/blank.gif"+"'></iframe>";
+ }
+ smenu+="</div>";
+
+ if (arguments[0]=="content") return smenu;
+
+ smenu = "<div id='"+this.mId+"' style="+(this.isMenubar?"''":"'position:absolute;z-index:"+this.zIndex+";display:none;'")+" onmouseover=\"_nlsMenuItemOver('"+this.mgrId+"')\" onmouseout=\"nlsMenuItemOut('"+this.mgrId+"')\">" + smenu + "</div>";
+
+ return smenu;
+};
+
+NLSMENU.init=function() {
+ var v=this.rt.vshade; if(!v) v=NlsMenu.$GE("vshade_"+this.mId);
+ var itm=this.rt.actmn; if(!itm) itm=NlsMenu.$GE("actmn_"+this.mId);
+ if(v){
+ var o=itm.childNodes[0].offsetHeight-parseInt(this.shadow.offset);
+ if(o>=0) v.style.height=o+"px";
+ }
+ this.rt.actmn=itm;
+ this.rt.vshade=v;
+};
+
+function NlsMenuShadow(pos, offset, mId) {
+ this.pos=pos;
+ this.offset=offset;
+ this.mId=mId;
+
+ this.dropShadow = function (smenu) {
+ var mn = nlsMenu[this.mId];
+ var cs="<table cellpadding=0 cellspacing=0 ";
+ var shadow = "<div>"+cs+"id='effwin_"+this.mId+"' height='0px'>";
+ var hshadow = "<td style='padding-@@PAD:"+this.offset+";'>"+cs+"width='100%' height='5px' class='"+mn.stlprf+"horzshadow'><tr><td></td></tr></table></td>";
+ var vshadow = "<td style='padding-@@PAD:"+this.offset+";height:100%;'>"+cs+"id='vshade_"+this.mId+"' width='5px' height='100%' class='"+mn.stlprf+"vertshadow'><tr><td></td></tr></table></td>";
+ var menutd = "<td id='actmn_"+this.mId+"'>"+smenu+"</td>";
+ var cornertd = "<td class='"+mn.stlprf+"cornshadow' width='5px' height='5px'></td>";
+ var av=[vshadow.replace(/@@PAD/gi,"top"), vshadow.replace(/@@PAD/gi,"bottom")];
+ var ah=[hshadow.replace(/@@PAD/gi,"left"), hshadow.replace(/@@PAD/gi,"right")];
+ switch (this.pos) {
+ case "none":
+ shadow += "<tr>"+menutd+"</tr>";
+ break;
+ case "bottomright" :
+ shadow += "<tr>"+menutd+av[0]+"</tr>" +
+ "<tr>"+ah[0]+cornertd+"</tr>";
+ break;
+ case "bottomleft" :
+ shadow += "<tr>"+av[0]+menutd+"</tr>" +
+ "<tr>"+cornertd+ah[1]+"</tr>";
+ break;
+ case "topleft" :
+ shadow += "<tr>"+cornertd+ah[1]+"</tr>" +
+ "<tr>"+av[1]+menutd+"</tr>";
+ break;
+ case "topright" :
+ shadow += "<tr>"+ah[0]+cornertd+"</tr>" +
+ "<tr>"+menutd+av[1]+"</tr>";
+ break;
+ }
+ return shadow + "</table></div>";
+ };
+};
+
+NLSMENU.showMenu = function(x1, y1, x2, y2, mnOrient, subDir, subAdj) {
+ this.mgr.clearTimeout();
+
+ if(this.menuOnShow(this.mId)==false)return;
+
+ var ctx = NlsMenu.$GE(this.mId);
+ if (!ctx) {
+ //create menu if not rendered.
+ var dv=document.createElement("div");
+ dv.innerHTML=this.renderMenu();
+ document.body.insertBefore(dv, document.body.childNodes[0]);
+ ctx = NlsMenu.$GE(this.mId);
+ };
+ ctx.style.visibility="hidden";
+ ctx.style.display="";
+ if(nls_isIE)this.init();
+
+ var w=window, d=document.body, de=document.documentElement;
+ var scrOffX = w.scrollX||d.scrollLeft||de.scrollLeft;
+ var scrOffY = w.scrollY||d.scrollTop||de.scrollTop;
+ var cW=w.innerWidth||d.clientWidth;
+ var cH=w.innerHeight||d.clientHeight;
+ var mW=ctx.childNodes[0].offsetWidth;
+ var mH=ctx.childNodes[0].offsetHeight;
+ var sDir=(subDir?[subDir[0], subDir[1]]:["right", "down"]);
+ var adjX=(subAdj?subAdj[0]:this.defPos[0]), adjY=(subAdj?subAdj[1]:this.defPos[1]);
+
+ var dmfrm = NlsMenu.$GE(this.mId+"ifrm");
+ if (dmfrm) {
+ var actMn = NlsMenu.$GE("actmn_"+this.mId).children[0];
+ dmfrm.width = actMn.offsetWidth;
+ dmfrm.height = actMn.offsetHeight;
+ }
+ var mX=0,mY=0;
+ if (mnOrient=="V") {
+ if (sDir[0]=="right") {
+ if(x2+mW>cW){if(x1>=mW){mX=x1-mW+adjX+scrOffX;sDir[0]="left"}else{mX=cW-mW-1+scrOffX;}}else{mX=x2+scrOffX-adjX;}
+ } else {
+ if(x1-mW<0){if(x2+mW<cW){mX=x2-adjX+scrOffX;sDir[0]="right"}else{mX=scrOffX;}}else{mX=x1-mW+adjX+scrOffX;}
+ }
+ if (sDir[1]=="down") {
+ if(y1+mH>cH){if(y2>=mH){mY=y2-mH+scrOffY-adjY;sDir[1]="up"}else{mY=cH-mH-1+scrOffY;}}else{mY=y1+scrOffY+adjY;}
+ } else {
+ if(y1-mH<0){if(y1+mH<cH){mY=y1+scrOffY-adjY;sDir[1]="down"}else{mY=scrOffY;}}else{mY=y2-mH+scrOffY-adjY;}
+ }
+ } else {
+ if (sDir[0] == "right") {
+ if(x1+mW>cW){if(x2>=mW){mX=x2-mW+scrOffX-adjX;sDir[0]="left"}else{mX=cW-mW-1+scrOffX;}}else{mX=x1+scrOffX+adjX;}
+ } else {
+ if(x2-mW<0){if(x1+mW<cW){mX=x1+scrOffX+adjX;sDir[0]="right"}else{mX=scrOffX;}}else{mX=x2-mW+scrOffX-adjX;}
+ }
+ if (sDir[1] == "down") {
+ if(y2+mH>cH){if(y1>=mH){mY=y1-mH+scrOffY+adjY;sDir[1]="up"}else{mY=cH-mH-1+scrOffY;}}else{mY=y2+scrOffY-adjY;}
+ } else {
+ if(y1-mH<0){if(y2+mH<cH){mY=y2+scrOffY-adjY;sDir[1]="down"}else{mY=scrOffY;}}else{mY=y1-mH+scrOffY+adjY;}
+ }
+ }
+
+ if (nls_isIE5 || !this.mgr.flowOverFormElement) {
+ if (this.winElmt==null) hideWinElmt(this, mX, mY, mX+mW, mY+mH);
+ if (this.winElmt==null) this.winElmt=[];
+ for(var i=0;i<this.winElmt.length;i++) {
+ this.winElmt[i].style.visibility="hidden";
+ }
+ }
+ with (ctx.style) {
+ left=mX+"px"; top=mY+"px";
+ zIndex = this.zIndex;
+ if (this.effect) {
+ with (this.effect) {prop["dir"]=sDir[(mnOrient=="V"?0:1)]; start(false); visibility="visible"; run();}
+ } else { visibility="visible"; }
+ }
+ this.rt.active=true;
+};
+
+function hideWinElmt(mn, mX1, mY1, mX2, mY2) {
+ var oe;
+ for (var i=0; i<nlsWinElmt.length; i++) {
+ oe = nlsWinElmt[i];
+ if ((oe.eX1>=mX1 && oe.eX1<=mX2 && oe.eY1>=mY1 && oe.eY1<=mY2) ||
+ (oe.eX1>=mX1 && oe.eX1<=mX2 && oe.eY2>=mY1 && oe.eY2<=mY2) ||
+ (oe.eX2>=mX1 && oe.eX2<=mX2 && oe.eY1>=mY1 && oe.eY1<=mY2) ||
+ (oe.eX2>=mX1 && oe.eX2<=mX2 && oe.eY2>=mY1 && oe.eY2<=mY2) ||
+ (mX1>=oe.eX1 && mX1<=oe.eX2 && mY1>=oe.eY1 && mY1<=oe.eY2) ||
+ (mX1>=oe.eX1 && mX1<=oe.eX2 && mY2>=oe.eY1 && mY2<=oe.eY2) ||
+ (mX2>=oe.eX1 && mX2<=oe.eX2 && mY1>=oe.eY1 && mY1<=oe.eY2) ||
+ (mX2>=oe.eX1 && mX2<=oe.eX2 && mY2>=oe.eY1 && mY2<=oe.eY2) ||
+ (oe.eX1<mX1 && oe.eX2>mX2 && oe.eY1>=mY1 && oe.eY1<=mY2) ||
+ (oe.eX1<mX1 && oe.eX2>mX2 && oe.eY2>=mY1 && oe.eY2<=mY2)
+ ) {
+ if (oe.e.style.visibility!="hidden") {
+ oe.e.style.visibility="hidden";
+ if (mn.winElmt==null) mn.winElmt=[];
+ mn.winElmt[mn.winElmt.length]=oe.e;
+ }
+ }
+ }
+};
+
+NLSMENU.showMenuAbs = function(x, y) {
+ var ctx = NlsMenu.$GE(this.mId);
+ ctx.style.top=y+"px"; ctx.style.left=x+"px";
+ ctx.style.display="";
+ this.rt.active=true;
+};
+
+NLSMENU.hideMenu = function() {
+ var ctx = NlsMenu.$GE(this.mId);
+ if (!ctx) return;
+ if (!this.isMenubar) {
+ this.rt.active=false;
+ if (this.effect) {
+ this.effect.start(true);
+ if ((nls_isIE && this.effect.effName!="aoslide") || nls_isOpera && this.effect.effName!="aoslide") {ctx.style.visibility="hidden";} else { this.effect.onHide=function() {ctx.style.visibility="hidden";}; };
+ this.effect.run();
+ } else { ctx.style.visibility="hidden"; }
+
+ this.menuOnHide(this.mId);
+ } else {
+ this.isMenuOpened = false;
+ }
+
+ if (this.lsItm!=null) {
+ var it=this.items[this.lsItm.id];
+ if(it.state!=2 && !it.selected) {
+ setMnStyle(this.lsItm, (it.enable?"N":"D"), NlsMenu.getPrf(it, this));
+ setMnIcon(this, it, "N");
+ }
+ this.lsItm=null;
+ }
+ if (this.winElmt!=null && this.winElmt.length>0) {
+ for (i=0;i<this.winElmt.length;i++) {
+ this.winElmt[i].style.visibility = "visible";
+ }
+ }
+ if (typeof(window.status)!="undefined") window.status="";
+};
+
+NLSMENU.hasSubmenu=function(key) {
+ var it=this.items[this.mId+"_"+key];
+ if(!it.crsFrame) {return(nlsMenu[it.subMenuId]);} else {
+ return it.subFrame.nlsGetMenu(it.subMenuId);
+ }
+};
+
+function $itemClick(mn, it) {
+ var mnMgr = nlsMenuMgr[mn.mgrId];
+ mnMgr.hideMenus();
+ var assMgr = mnMgr.assocMenuMgr;
+ if ( assMgr && assMgr.length > 0) {
+ for (var i=0;i<assMgr.length;i++) { assMgr[i][0].hideAllNlsMenu(); }
+ }
+
+ var trgt=it.target;
+ if (trgt==null) trgt=mn.target!=null?mn.target:"_self";
+ if (it.url!="") {
+ window.open(it.url, trgt);
+ } else {
+ return mn.menuOnClick(mn.mId, it.id);
+ }
+};
+
+NLSMENU.$menuItemClick = function(e, itemId) {
+ if (!this.items[itemId].enable) return;
+
+ var it=this.items[itemId], prf=NlsMenu.getPrf(it, this);
+ var oIt = NlsMenu.$GE(itemId), mgr=this.mgr;
+
+ if(this.isMenubar && this.dropOnClick && this.hasSubmenu(it.id)) {
+ if(!this.isMenuOpened) {
+ NlsMenu.showMenu(this, it);
+ this.isMenuOpened = true;
+ } else {
+ mgr.hideMenus();
+ setMnStyle(oIt, (it.enable ? "O" : "D"), prf);
+ setMnIcon(this, it, "O");
+ this.isMenuOpened = false;
+ return null;
+ }
+ } else {
+ if(it.toggle) {
+ this.setItemState(itemId, (it.state==1?2:1));
+ } else if(this.selection) {
+ this.setSelection(itemId, true);
+ } else if(mgr.memorizeSel) {
+ mgr.selectPath(this.mId, it.id);
+ mgr.savePath(itemId);
+ }
+ $itemClick(this, it);
+ }
+};
+
+NLSMENU.menuOnClick = function (menuId, itemId) {return true;};
+NLSMENU.menuOnShow = function (menuId) {return true;};
+NLSMENU.menuOnHide = function (menuId) {return true;};
+
+NLSMENU.reload = function(dh) {
+ var ef=this.effect;
+ if(ef) { ef.elm=null; ef.prop["init"]=false; }
+ this.lsItm=null;
+ if(dh!=true) this.mgr.hideMenus();
+ var m=NlsMenu.$GE(this.mId);
+ m.innerHTML=this.renderMenu("content");
+};
+
+function setMnIcon(mn, mnItm, f) {
+ var tf=(mnItm.enable?f:"D");
+ if (mn.showIcon && mnItm.ico && mnItm.ico.length>1) {
+ var k=mnItm.intKey;
+ var c=NlsMenu.$GE("ic_"+k), o=NlsMenu.$GE("icovr_"+k), d=NlsMenu.$GE("icdis_"+k);
+
+ c.style.display=(tf=="N"||(tf=="D" && !d)?"":"none");
+ o.style.display=(tf=="O"?"":"none");
+ if(d) d.style.display=(tf=="D"?"":"none");
+ }
+
+ if (mn.showSubIcon && mnItm.subMenuId!="") {
+ var ic=NlsMenu.$GE("subicovr_"+mnItm.intKey);
+ if(ic){
+ ic.style.display=(tf=="O"?"":"none");
+ ic=NlsMenu.$GE("subic_"+mnItm.intKey);
+ if(ic)ic.style.display=(tf=="N"||tf=="D"?"":"none");
+ }
+ }
+};
+
+function setMnStyle(it, s, prefix) {
+ var suff=(s=="O"?"over":(s=="S"?"sel":""));
+ it.className=prefix+"nlsitemcontainer"+suff;
+ var r = it.childNodes[0].rows[0], rc=null;
+ for (var i=0; i<r.cells.length; i++) {
+ rc=r.cells[i];
+ if(rc.id==it.id+"x1") rc.className=prefix+"nlsiconcell"+suff;
+ if(rc.id==it.id+"x2") rc.className=prefix+"nlsitem"+(s=="D"?"disable":suff);
+ if(rc.id==it.id+"x3") rc.className=prefix+"nlssubmenucell"+suff;
+ }
+};
+
+function nlsMenuItemOver(e, itId) {
+ var m=itId.split("_");
+ var prMenu = nlsMenu[m[0]];
+ if(prMenu.mgr.design==true)return;
+ var li = prMenu.lsItm;
+ if (!prMenu.rt.active || !prMenu.rt.ready) return;
+
+ var it=null, st="", nli=null;
+ if (li!=null) {
+ it=prMenu.items[li.id];
+ if(!it) return;
+ if(it.intKey==itId) return;
+ if(it.state!=2 && !it.selected) { /*toggle pressed*/
+ var st=NlsMenu.getPrf(it, prMenu);
+ var ef=(it.itemEffect!=null);
+ if (ef) { it.itemEffect.init(); }
+ setMnStyle(li, (it.enable ? "N" : "D"), st);
+ setMnIcon(prMenu, it, "N");
+ if (ef) { it.itemEffect.start(); }
+ }
+
+ var tmp=(it.crsFrame?it.subFrame.nlsGetMenu(it.subMenuId):nlsGetMenu(it.subMenuId));
+ while(tmp!=null) {
+ nli = null;
+ if (tmp.lsItm) {
+ it=tmp.items[tmp.lsItm.id];
+ nli = (it.crsFrame ? it.subFrame.nlsGetMenu(it.subMenuId) : tmp.wnd.nlsGetMenu(it.subMenuId));
+ }
+ tmp.hideMenu(); tmp=nli;
+ }
+ }
+
+ var oIt = NlsMenu.$GE(itId);
+ it=prMenu.items[itId];
+ if (typeof(window.status)!="undefined") window.status=it.url;
+ if(it.state!=2 && !it.selected) {
+ if (it.itemEffect!=null) { it.itemEffect.init(); }
+ setMnStyle(oIt, (it.enable ? "O" : "D"), NlsMenu.getPrf(it, prMenu));
+ setMnIcon(prMenu, it, "O");
+ if (it.itemEffect!=null) { it.itemEffect.start(); }
+ }
+
+ if (!prMenu.isMenubar ||
+ (prMenu.isMenubar && !prMenu.dropOnClick) ||
+ (prMenu.isMenubar && prMenu.dropOnClick && prMenu.isMenuOpened)) { NlsMenu.showMenu(prMenu, it); }
+
+ prMenu.lsItm=oIt;
+};
+
+function nls_getXY(oIt) {
+ var p=new Object(); p.x=0;p.y=0;p.x2=0;p.y2=0; var tmp=oIt;var d=document;
+ while(tmp) { p.x+=tmp.offsetLeft; p.y+=tmp.offsetTop; tmp=tmp.offsetParent } ;
+ p.x -= (window.scrollX||d.body.scrollLeft||d.documentElement.scrollLeft);
+ p.y -= (window.scrollY||d.body.scrollTop||d.documentElement.scrollTop);
+ if (oIt) { p.x2=p.x+oIt.offsetWidth; p.y2=p.y+oIt.offsetHeight;};
+ return p;
+};
+
+NlsMenu.showMenu=function(mn, it) {
+ if(it.rt.subUrl && it.rt.loaded==0) {
+ //ajax menu
+ NlsMenuUtil.loadAJAXMenu(mn,it);
+ } else {
+ NlsMenu.$showMenu(mn,it);
+ }
+}
+
+NlsMenu.$showMenu=function(prMenu, it) {
+ var oIt = NlsMenu.$GE(it.intKey);
+ if (it.subMenuId!="" && it.enable==true) {
+ var p=nls_getXY(oIt), smn=null;
+ if (it.crsFrame) {
+ var ps=it.subPos;
+ if (ps[0]=="REL") { } else { p.x = ps[0]; p.x2=p.x; }
+ if (ps[1]=="REL") { } else { p.y = ps[1]; p.y2=p.y; }
+ if (!it.subFrame.nlsGetMenu) return;
+ smn = it.subFrame.nlsGetMenu(it.subMenuId);
+ if (!smn) return;
+ } else {
+ smn = nlsGetMenu(it.subMenuId);
+ if (!smn) return;
+ if (smn.zIndex <= prMenu.zIndex) { smn.zIndex = prMenu.zIndex+1 }
+
+ }
+ smn.showMenu(p.x, p.y, p.x2, p.y2, prMenu.orient, it.subDir, it.subPosAdj);
+ }
+};
+
+NlsMenu.getPrf=function(it, mn) {
+ if(!it.stlprf || it.stlprf=="")return mn.stlprf; else return it.stlprf;
+}
+
+function nls_showMenu(mId, oIt, orient, subDir, subPosAdj) {
+ var sMenu = nlsGetMenu(mId);
+ if (!sMenu) { hideAllNlsMenu(); return;}
+ sMenu.mgr.clearTimeout();
+ if (sMenu.rt.active) return;
+ var p=nls_getXY(oIt);
+ sMenu.mgr.hideMenus();
+ sMenu.showMenu(p.x, p.y, p.x2, p.y2, orient, subDir, subPosAdj);
+}
+
+function nls_hideMenu(mId) {
+ var sMenu = nlsGetMenu(mId);
+ if (!sMenu) return;
+ nlsMenuItemOut(sMenu.mgrId);
+}
+
+function _nlsMenuItemOver(mgrId) {
+ var mgr = nlsMenuMgr[mgrId];
+ if(mgr.design==true) return;
+ mgr.clearTimeout();
+
+ var am = mgr.assocMenuMgr;
+ if ( am && am.length > 0) {
+ for (var i=0; i<am.length; i++) {
+ if (!am[i][0].nlsMenuMgr) continue;
+ am[i][0].nlsMenuMgr[am[i][1]].clearTimeout();
+ }
+ }
+ for (var it in nlsMenuMgr) {
+ if (it!=mgrId) {
+ nlsMenuMgr[it].hideMenus();
+ }
+ }
+};
+
+function nlsMenuItemOut(mgrId) {
+ var mnMgr = nlsMenuMgr[mgrId];
+ if(mnMgr.design==true) return;
+ mnMgr.clearTimeout();
+ mnMgr.setTimeout(function() { _nlsMenuItemOut(mgrId) }, mnMgr.timeout);
+
+ var assMgr = mnMgr.assocMenuMgr;
+ if ( assMgr && assMgr.length > 0) {
+ for (var i=0; i<assMgr.length; i++) {
+ var frm = assMgr[i];
+ if (!frm[0].nlsMenuMgr) continue;
+ frm[0].nlsMenuMgr[frm[1]].clearTimeout();
+ frm[0].nlsMenuMgr[frm[1]].setTimeout(function() { frm[0]._nlsMenuItemOut(mgrId); }, mnMgr.timeout);
+ }
+ }
+};
+
+function _nlsMenuItemOut(mgrId) {
+ nlsMenuMgr[mgrId].hideMenus();
+};
+
+function nlsGetMenu(mId) {
+ return nlsMenu[mId];
+};
+
+/*===================================================*/
+/*NlsMenuBar class*/
+/*===================================================*/
+
+NLSMENU.isMenuOpened = false;
+
+NLSMENU.dropOnClick = false;
+
+NLSMENU.renderMenubar = function () {
+ return this.renderMenu();
+};
+
+function NlsMenubar(mId) {
+ var mnBar = new NlsMenu(mId);
+ mnBar.isMenubar=true;
+ mnBar.rt.active=true;
+ return mnBar;
+};
+
+/*===================================================*/
+/*Public general methods*/
+/*===================================================*/
+
+function hideAllNlsMenu() {
+ for (it in nlsMenu) {if (nlsMenu[it].rt.active) nlsMenu[it].hideMenu();}
+};
+
+/**Cross browser related methods*/
+NlsMenu.$GE=function(id) {
+ if (document.all) {
+ return document.all(id);
+ } else
+ if (document.getElementById) {
+ return document.getElementById(id);
+ }
+};
+
+
Property changes on: branches/1.0.x/inc/nlsmenu.js
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/inc/nlsmenuext_xml.js
===================================================================
--- branches/1.0.x/inc/nlsmenuext_xml.js (nonexistent)
+++ branches/1.0.x/inc/nlsmenuext_xml.js (revision 13321)
@@ -0,0 +1,231 @@
+/**
+* nlsmenuext_xml.js v.1.0
+* Copyright 2005-2007, addobject.com. All Rights Reserved
+* Author Jack Hermanto, www.addobject.com
+*/
+var $nls_ieXML=["MSXML2.DOMDocument.4.0", "MSXML2.DOMDocument.3.0", "MSXML2.DOMDocument", "Microsoft.XmlDom"];
+
+function NlsMenuUtil() {}
+var NLSMNUTIL=NlsMenuUtil.prototype;
+
+function $aonvl(v, c) { if(v)return v; else return c; };
+function $aonevl(v, c) { if(!v || v=="")return c; else return v; };
+
+NlsMenuUtil.createFromXML=function(xml) {
+ var rt=xml.documentElement;
+ var mgr=new NlsMenuManager(rt.getAttribute("id"));
+ mgr.flowOverFormElement=$aonevl(rt.getAttribute("flowoverformelement"), false);
+ mgr.defaultEffect=$aonevl(rt.getAttribute("defaulteffect"), null);
+ mgr.icPath=$aonvl(rt.getAttribute("icpath"), "");
+ mgr.memorizeSel=$aonevl(rt.getAttribute("memorizesel"), false);
+
+ var dm=rt.getElementsByTagName("menubar")[0];
+ NlsMenuUtil.createMenu(dm, mgr);
+
+ var mns=rt.getElementsByTagName("menus")[0];
+ if(mns){
+ for (var i=0;i<mns.childNodes.length;i++){
+ dm=mns.childNodes[i];
+ if(dm.nodeType!=1)continue;
+ if(dm.nodeName=="menu") {
+ NlsMenuUtil.createMenu(dm, mgr);
+ }
+ }
+ }
+ return mgr;
+};
+
+NlsMenuUtil.createMenu=function(dm, mgr, pc) {
+ var id=dm.getAttribute("id"), mn=nlsMenu[id];
+ if(mn) {
+ if(pc!==true) {
+ mn.items=new Object(); mn.srItems=[];
+ mn.useEffect(mgr.defaultEffect);
+ }
+ } else mn=(dm.nodeName=="menubar"?mgr.createMenubar(id):mgr.createMenu(id));
+ var a=dm.attributes, n, v;
+ for(var i=0;i<a.length;i++) {
+ n=a[i].nodeName; v=a[i].nodeValue;
+ switch(n) {
+ case "orient":mn.orient=v;break;
+ case "showicon":mn.showIcon=(v=="true");break;
+ case "showsubicon":mn.showSubIcon=(v=="true");break;
+ case "target":mn.target=v;break;
+ case "stlprf":mn.stlprf=v;break;
+ case "submenuic": if(v && v!="") mn.subMenuIc=eval(v); break;
+ case "icpath":mn.icPath=v;
+ case "itemspc":mn.itemSpc=v;
+ case "droponclick":if(mn.isMenubar) {mn.dropOnClick=(v=="true");}
+ };
+ }
+
+ var its=dm.getElementsByTagName("items")[0].childNodes, ic="", itm;
+ for(var i=0;i<its.length;i++) {
+ a=its[i]; if(a.nodeType!=1) continue;
+ if(a.nodeName=="separator") {mn.addSeparator(); continue;}
+ ic=a.getAttribute("ico");
+ itm=mn.addItem(a.getAttribute("id"),
+ a.childNodes[0].nodeValue,
+ $aonvl(a.getAttribute("url"),null),
+ (!ic || ic==""?null:eval(ic)),
+ (!a.getAttribute("enb")?null:a.getAttribute("enb")=="true"),
+ null, $aonvl(a.getAttribute("title"),null)
+ );
+ itm.stlprf=$aonvl(a.getAttribute("stlprf"), "");
+ itm.target=a.getAttribute("target");
+ if(itm.target=="") itm.target=null;
+ if(a.getAttribute("subid")) {
+ mn.addSubmenu(a.getAttribute("id"),
+ a.getAttribute("subid"),
+ (!a.getAttribute("crsframe")?null:a.getAttribute("crsframe")=="true"),
+ (!a.getAttribute("subframe")?null:eval(a.getAttribute("subframe"))),
+ (!a.getAttribute("subpos")?null:eval(a.getAttribute("subpos"))),
+ (!a.getAttribute("subposadj")?null:eval(a.getAttribute("subposadj"))),
+ (!a.getAttribute("subdir")?null:eval(a.getAttribute("subdir")))
+ );
+
+ if(a.getAttribute("suburl")) {
+ mn.setSubmenuUrl(a.getAttribute("id"), NlsMenuUtil.formatRequest(a.getAttribute('suburl')));
+ }
+ }
+ }
+ return mn;
+};
+
+NlsMenuUtil.createFromXMLString=function(sXml) {;
+ var xml=NlsMenuUtil.createXMLDom(sXml);
+ return NlsMenuUtil.createFromXML(xml);
+};
+
+NlsMenuUtil.createFromXMLFile=function(fName) {
+ var xmlDom=NlsMenuUtil.$createDoc();
+ xmlDom.async=false;
+ xmlDom.load(fName);
+ return NlsMenuUtil.createFromXML(xmlDom);
+};
+
+NlsMenuUtil.formatRequest = function ($url) {
+ return $url += ($url.indexOf('?') ? '&' : '?') + 'ajax=yes';
+}
+/*mCnt: menu container/placeholder*/
+NlsMenuUtil.loadFromXMLFile=function(fName, mCnt) {
+ var req=NlsMenuUtil.createXMLRequest();
+ req.open("get", NlsMenuUtil.formatRequest(fName), true);
+ req.onreadystatechange=function() {
+ if(req.readyState==4) {
+ if(req.status==200 || req.status==304) {
+ var s="";
+ var mgr=NlsMenuUtil.createFromXML(req.responseXML);
+ for (it in mgr.menus) { s+=mgr.menus[it].renderMenu(); }
+ if(s!="") NlsMenuUtil.$createMenuDom(s);
+ if(mgr.menubar) mgr.renderMenubar(mCnt);
+ }
+ }
+ };
+ req.send(null);
+}
+
+NlsMenuUtil.createXMLDom=function(sXml) {
+ var xmlDom=null;
+ if (typeof DOMParser != "undefined") {
+ var parser=new DOMParser(); //gecko browser xml dom
+ xmlDom=parser.parseFromString(sXml, "text/xml");
+ } else {
+ xmlDom=NlsMenuUtil.$createDoc();
+ xmlDom.loadXML(sXml);
+ }
+ return xmlDom;
+};
+
+NlsMenuUtil.$createDoc=function() {
+ var xmlDom=null;
+ if(nls_isIE) {
+ for (var i=0;i<$nls_ieXML.length;i++) {
+ try {
+ xmlDom=new ActiveXObject($nls_ieXML[i]);
+ break;
+ } catch (e) {}
+ }
+ } else {
+ xmlDom=document.implementation.createDocument("","",null);
+ }
+ return xmlDom;
+};
+
+NlsMenuUtil.createXMLRequest=function() {
+ if (typeof XMLHttpRequest != "undefined") { //for mozilla
+ var httpReq=new XMLHttpRequest();
+ return httpReq;
+ } else {
+ var arrObj=["MSXML2.XMLHttp.4.0", "MSXML2.XMLHttp.3.0", "MSXML2.XMLHttp", "Microsoft.XMHttp"];
+ var oXml=null;
+ for (var i=0; i<arrObj.length; i++) {
+ try {
+ oXml=new ActiveXObject(arrObj[i]);
+ return oXml;
+ } catch (e) { }
+ }
+ }
+};
+
+/*AJAX Menu*/
+NlsMnMgr.loadingText="Loading menu, please wait...";
+
+NLSMENU.addAJAXSubmenu=function(key, subId, url, crsFrame, subFrame, subPos, subPosAdj, subDir) {
+ var it=this.addSubmenu(key, subId, crsFrame, subFrame, subPos, subPosAdj, subDir);
+ this.setSubmenuUrl(key, url);
+};
+
+NLSMENU.setSubmenuUrl=function(key, url) {
+ var it=this.items[this.mId+"_"+key];
+ it.rt.subUrl=url;
+ it.rt.loaded=0;
+};
+
+NlsMenuUtil.$createMenuDom=function(s) {
+ var dv=document.createElement("div");
+ dv.innerHTML=s;
+ document.body.insertBefore(dv, document.body.childNodes[0]);
+}
+
+NlsMenuUtil.loadAJAXMenu=function(mn, it) {
+ var mgr=mn.mgr;
+ var req=NlsMenuUtil.createXMLRequest();
+ req.open("get", it.rt.subUrl, true);
+ req.onreadystatechange=function() {
+ if(req.readyState==4) {
+ if(req.status==200 || req.status==304) {
+ var de=req.responseXML.documentElement;
+
+ if(!de||de.childNodes.length==0) { //if no submenu
+ } else {
+ de=de.childNodes; var sub=null, main=null; subs=new Object(), smenu="";
+ for(var i=0;i<de.length;i++){
+ if(de[i].nodeType!=1) continue;
+ sub=NlsMenuUtil.createMenu(de[i], mn.mgr);
+ if(sub.mId==it.subMenuId) { main=sub; } else { subs[sub.mId]=sub;}
+ }
+ for (var x in subs) { smenu+=subs[x].renderMenu(); }
+ if(smenu) {NlsMenuUtil.$createMenuDom(smenu);}
+ if(main) {
+ main.prIt=it.intKey; main.reload(true);
+ if(main.rt.active)NlsMenu.$showMenu(mn, it);
+ it.rt.loaded=2;
+ }
+ }
+ }
+ }
+ };
+ var smn=mgr.createMenu(it.subMenuId); smn.effect=null;
+ smn.addItem("ajaxload", mgr.loadingText);
+ NlsMenuUtil.$createMenuDom(smn.renderMenu());
+ NlsMenu.$showMenu(mn, it);
+ it.rt.loaded=1; //loading
+ req.send(null);
+}
+
+
+
+
+
+
Property changes on: branches/1.0.x/inc/nlsmenuext_xml.js
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/inc/ajax.js
===================================================================
--- branches/1.0.x/inc/ajax.js (nonexistent)
+++ branches/1.0.x/inc/ajax.js (revision 13321)
@@ -0,0 +1,263 @@
+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));
+}
+
+function PollManager ($url) {
+ this.Url = $url;
+ this.BusyRequest = false;
+}
+
+PollManager.prototype.makeVote = function ($prefix, $poll_id, $option_id) {
+ var $url = this.Url.replace('#PREFIX#', $prefix).replace('#POLL_ID#', $poll_id).replace('#OPTION_ID#', $option_id);
+ Request.makeRequest($url, this.BusyRequest, '', this.successCallback, this.errorCallback, [$poll_id, $option_id], this);
+}
+
+PollManager.prototype.successCallback = function ($request, $params, $object) {
+ var response = $request.responseText;
+ if (response.substring(0, 5) == '@err:') {
+ alert(response.substring(5));
+ return ;
+ }
+ document.getElementById('pollvote_' + $params[0]).innerHTML = response;
+}
+
+PollManager.prototype.errorCallback = function($request, $params, $object) {
+ alert('AJAX Error; class: PollManager; ' + Request.getErrorHtml($request));
+}
\ No newline at end of file
Property changes on: branches/1.0.x/inc/ajax.js
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Index: branches/1.0.x/recommend/recommend.tpl
===================================================================
--- branches/1.0.x/recommend/recommend.tpl (nonexistent)
+++ branches/1.0.x/recommend/recommend.tpl (revision 13321)
@@ -0,0 +1,32 @@
+<!--##
+<NAME>Recommend Website</NAME>
+<DESC></DESC>
+<SECTION>System</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_RecommendConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm" titles="lu_title_RecommendConfirm" templates="recommend/recommend"/>
+
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_RecommendConfirm"/>
+ </inp2:m_Capture>
+
+ <inp2:m_Phrase label="lu_recommend_confirm_text" />
+ <br /><br />
+
+ <input type="button" class="button" onclick="redirect('<inp2:m_Link template="index" />');" value="<inp2:m_Phrase label="lu_btn_Ok"/>"/>
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## //MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/mailing_list/subscribe.tpl
===================================================================
--- branches/1.0.x/mailing_list/subscribe.tpl (nonexistent)
+++ branches/1.0.x/mailing_list/subscribe.tpl (revision 13321)
@@ -0,0 +1,36 @@
+<!--##
+<NAME>Subscribe</NAME>
+<DESC></DESC>
+<SECTION>System||Subscription</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_SubscribeConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm" titles="lu_title_SubscribeConfirm" templates="mailing_list/subscribe"/>
+
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_SubscribeConfirm"/>
+ </inp2:m_Capture>
+
+ <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" value="<inp2:m_Phrase label="lu_btn_Yes"/>" />&nbsp;
+ <input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_No"/>" onclick="redirect('<inp2:m_Link template="index"/>');" />&nbsp;
+ <input type="hidden" name="subscribe_ok_template" value="mailing_list/subscribe_ok"/>
+ </form>
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/mailing_list/unsubscribe.tpl
===================================================================
--- branches/1.0.x/mailing_list/unsubscribe.tpl (nonexistent)
+++ branches/1.0.x/mailing_list/unsubscribe.tpl (revision 13321)
@@ -0,0 +1,36 @@
+<!--##
+<NAME>Unsubscribe</NAME>
+<DESC>Unsubscribe from mailing list</DESC>
+<SECTION>System||Subscription</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_UnsubscribeConfirm"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## /MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm" titles="lu_title_UnsubscribeConfirm" templates="mailing_list/unsubscribe"/>
+
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_UnsubscribeConfirm"/>
+ </inp2:m_Capture>
+
+ <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" value="<inp2:m_Phrase label="lu_btn_Yes"/>" />&nbsp;
+ <input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_No"/>" onclick="redirect('<inp2:m_Link template="index"/>');" />&nbsp;
+ <input type="hidden" name="unsubscribe_ok_template" value="mailing_list/unsubscribe_ok"/>
+ </form>
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/mailing_list/subscribe_ok.tpl
===================================================================
--- branches/1.0.x/mailing_list/subscribe_ok.tpl (nonexistent)
+++ branches/1.0.x/mailing_list/subscribe_ok.tpl (revision 13321)
@@ -0,0 +1,32 @@
+<!--##
+<NAME>Subscription Confirmed</NAME>
+<DESC>Subscriped to mailing list</DESC>
+<SECTION>System||Subscription</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_SubscribeOk"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm" titles="lu_title_SubscribeConfirm,lu_title_SubscribeOk" templates="mailing_list/subscribe,mailing_list/subscribe_ok"/>
+
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_SubscribeOk"/>
+ </inp2:m_Capture>
+
+ <inp2:m_Phrase label="lu_ThankForSubscribing"/>
+ <br /><br />
+
+ <input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Ok"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" />&nbsp;
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/mailing_list/unsubscribe_ok.tpl
===================================================================
--- branches/1.0.x/mailing_list/unsubscribe_ok.tpl (nonexistent)
+++ branches/1.0.x/mailing_list/unsubscribe_ok.tpl (revision 13321)
@@ -0,0 +1,32 @@
+<!--##
+<NAME>Unsubscribed</NAME>
+<DESC>Unsubscribed from mailing list</DESC>
+<SECTION>System||Subscription</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_UnsubscribeOk"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<!--## /MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <inp2:m_include template="elements/navigation_bar.elm" titles="lu_title_UnsubscribeConfirm,lu_title_UnsubscribeOk" templates="mailing_list/unsubscribe,mailing_list/unsubscribe_ok"/>
+
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_UnsubscribeOk"/>
+ </inp2:m_Capture>
+
+ <inp2:m_Phrase label="lu_TextUnsubscribe"/>
+ <br /><br />
+
+ <input class="button" type="button" value="<inp2:m_Phrase label="lu_btn_Ok"/>" onClick="window.location.href='<inp2:m_Link template="index"/>'" />&nbsp;
+ </inp2:m_RenderElement>
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Index: branches/1.0.x/img/lbox/prev.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/1.0.x/img/lbox/prev.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/1.0.x/img/lbox/prevlabel.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/1.0.x/img/lbox/prevlabel.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/1.0.x/img/lbox/loading.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/1.0.x/img/lbox/loading.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/1.0.x/img/lbox/next.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/1.0.x/img/lbox/next.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/1.0.x/img/lbox/nextlabel.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/1.0.x/img/lbox/nextlabel.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/1.0.x/img/lbox/close.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/1.0.x/img/lbox/close.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/1.0.x/img/lbox/closelabel.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/1.0.x/img/lbox/closelabel.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/1.0.x/img/lbox/more_images.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/1.0.x/img/lbox/more_images.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/1.0.x/img/slider/banner_background_1.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/1.0.x/img/slider/banner_background_1.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/1.0.x/img/slider/banner_background_2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/1.0.x/img/slider/banner_background_2.gif
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/1.0.x/elements/title_bar.elm.tpl
===================================================================
--- branches/1.0.x/elements/title_bar.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/title_bar.elm.tpl (revision 13321)
@@ -0,0 +1,17 @@
+<inp2:m_DefineElement name="pagetitle_category_caption">
+ <inp2:m_if check="m_ParamEquals" name="cat_id" value="0" inverse="inverse">
+ <inp2:m_if check="m_ParamEquals" name="is_module_root" value="0">
+ <inp2:m_param name="separator"/>
+ </inp2:m_if>
+ </inp2:m_if>
+ <inp2:m_param name="cat_name"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="pagetitle_root_category">
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="pagetitle_module_root">
+ <inp2:m_param name="cat_name"/>
+</inp2:m_DefineElement>
+
+<inp2:c_CategoryPath separator=" &gt; " render_as="pagetitle_category_caption" root_cat_render_as="pagetitle_root_category" module_root_render_as="pagetitle_module_root" />
\ No newline at end of file
Index: branches/1.0.x/elements/content_boxes.elm.tpl
===================================================================
--- branches/1.0.x/elements/content_boxes.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/content_boxes.elm.tpl (revision 13321)
@@ -0,0 +1,101 @@
+<!--## MAIN CONTENT BOX ELEMENT DESIGN ##-->
+<inp2:m_DefineElement name="content_box">
+
+ <table class="fullwidth">
+ <tr>
+ <td class="light-box-title-green">
+ <inp2:m_param name="header"/>
+ </td>
+ </tr>
+ </table>
+ <img src="<inp2:m_TemplatesBase />img/s.gif" alt="" width="1" height="2" border="0" /><br />
+ <table class="fullwidth">
+ <tr>
+ <td class="light-box-body">
+ <inp2:m_param name="content"/>
+ </td>
+ </tr>
+ </table>
+ <img src="<inp2:m_TemplatesBase />img/s.gif" alt="" width="1" height="4" border="0" /><br />
+
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT BOX ELEMENT DESIGN ##-->
+
+<inp2:m_DefineElement name="menu_element" current="">
+ <inp2:m_if check="m_Param" name="current">
+ <td>
+ <img src="<inp2:m_TemplatesBase />img/menu_active_border.gif" width="1" height="37" alt=""/><br />
+ </td>
+ <td class="menu-top-active-icon top-menu-padding">
+ <a href="<inp2:m_param name="menu_href"/>"><inp2:m_param name="menu_icon"/></a>
+ </td>
+ <td class="menu-top-active-text top-menu-padding">
+ <a href="<inp2:m_param name="menu_href"/>" class="top-menu-link"><inp2:m_param name="menu_title"/></a>
+ </td>
+ <td>
+ <img src="<inp2:m_TemplatesBase />img/menu_active_border.gif" width="1" height="37" alt=""/><br />
+ </td>
+ <inp2:m_else/>
+ <td>
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="37" alt=""/><br />
+ </td>
+ <td class="menu-top-noactive-icon top-menu-padding">
+ <a href="<inp2:m_param name="menu_href"/>"><inp2:m_param name="menu_icon"/></a>
+ </td>
+ <td class="menu-top-noactive-text top-menu-padding">
+ <a href="<inp2:m_param name="menu_href"/>" class="top-menu-link"><inp2:m_param name="menu_title"/></a>
+ </td>
+ <td>
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="37" alt=""/><br />
+ </td>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="box_element" prefix="">
+ <tr>
+ <td>
+ <img src="<inp2:m_TemplatesBase />img/menu-li-2-level.gif" alt="" width="4" height="4" border="0" /><br />
+ </td>
+ <td>
+ <inp2:m_if check="m_Param" name="prefix">
+ <a href="<inp2:{$prefix}_SuggestItemLink template="$template"/>"><inp2:m_Phrase label="$title"/></a>
+ <inp2:m_else/>
+ <a href="<inp2:m_Link template="$template" m_cat_id="0"/>"><inp2:m_Phrase label="$title"/></a>
+ </inp2:m_if>
+ </td>
+ </tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="review_element">
+ <tr>
+ <td>
+ <strong>Review By:</strong> <inp2:Field name="ReviewedBy"/> [<inp2:Field name="CreatedOn" format="_regional_DateFormat"/>]<br />
+ <strong>Review Text:</strong> <inp2:Field name="ReviewText"/>
+ <br /><br />
+ </td>
+ </tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="rating_element">
+ <img src="<inp2:m_TemplatesBase />img/star<inp2:m_if check="m_Param" name="active">_rate</inp2:m_if>.gif" width="10" height="11" alt=""/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="category_path_element">
+ <inp2:m_if check="m_ParamEquals" name="cat_id" value="0" inverse="inverse">
+ <inp2:m_param name="separator"/>
+ </inp2:m_if>
+ <inp2:m_param name="cat_name"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="image_element">
+ <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" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="tab">
+ <td class="<inp2:m_if check="m_IsActive" template="$template">active-tab<inp2:m_else/>inactive-tab</inp2:m_if>">
+ <a href="<inp2:m_Link template="$template" m_cat_id="0"/>"><inp2:m_phrase name="$title"/></a>
+ </td>
+ <td width="8">&nbsp;
+
+ </td>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: branches/1.0.x/elements/navigation_bar.elm.tpl
===================================================================
--- branches/1.0.x/elements/navigation_bar.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/navigation_bar.elm.tpl (revision 13321)
@@ -0,0 +1,38 @@
+<inp2:m_DefaultParam titles="" templates="" show_category="0"/>
+
+<inp2:m_DefineElement name="root_category">
+ <img src="<inp2:m_TemplatesBase />img/icon_home.gif" width="9" height="9" alt=""/> <a 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 href="<inp2:c_CategoryLink template="$module_index" cat_id="$cat_id"/>"><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 href="<inp2:c_CategoryLink template="__default__" m_cat_page="1" />"><inp2:m_param name="title"/></a>
+ <inp2:m_else/>
+ <a href="<inp2:m_Link template="$template" m_cat_id="0" m_cat_page="1"/>"><inp2:m_param name="title"/></a>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="module_item">
+ <inp2:m_param name="separator"/>
+ <a 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>
+
+<table class="fullwidth">
+ <tr>
+ <td class="navigation-bar">
+ <!-- module_root_render_as="module_root" -->
+ <inp2:c_CategoryPath separator="&gt;" 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"/>
+ </td>
+ </tr>
+</table>
\ No newline at end of file
Index: branches/1.0.x/elements/side_boxes.elm.tpl
===================================================================
--- branches/1.0.x/elements/side_boxes.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/side_boxes.elm.tpl (revision 13321)
@@ -0,0 +1,29 @@
+<inp2:m_DefineElement name="blue_box">
+ <table class="fullwidth">
+ <tr class="movable-header">
+ <td class="light-box-title-orange">
+ <inp2:m_param name="header"/>
+ </td>
+ </tr>
+ </table>
+ <img src="<inp2:m_TemplatesBase />img/s.gif" alt="" width="1" height="2" border="0" /><br />
+ <table class="fullwidth">
+ <tr>
+ <td class="light-box-body">
+ <inp2:m_param name="content"/>
+ </td>
+ </tr>
+ </table>
+ <img src="<inp2:m_TemplatesBase />img/s.gif" alt="" width="1" height="4" border="0" /><br />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="light_box">
+ <table class="fullwidth">
+ <tr class="movable-header">
+ <td class="light-box-content">
+ <inp2:m_param name="content"/>
+ </td>
+ </tr>
+ </table>
+ <img src="<inp2:m_TemplatesBase />img/s.gif" alt="" width="1" height="4" border="0" /><br />
+</inp2:m_DefineElement>
\ No newline at end of file
Index: branches/1.0.x/elements/categories.elm.tpl
===================================================================
--- branches/1.0.x/elements/categories.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/categories.elm.tpl (revision 13321)
@@ -0,0 +1,51 @@
+<!--## CATEGORY ELEMENT ##-->
+<inp2:m_DefineElement name="category_element">
+ <td style="width: <inp2:ColumnWidth/>">
+
+ <table>
+ <tr>
+ <td class="directory-icon">
+ <img src="<inp2:m_TemplatesBase />img/directory_icon.gif" width="22" height="17" alt="" /><br />
+ </td>
+ <td class="directory-text">
+ <inp2:m_if check="IsCurrent">
+ <strong><inp2:Field name="Name"/></strong> (<inp2:m_phrase name="lu_SubCats"/>: <inp2:SubCatCount/>)
+ <inp2:m_else/>
+ <a href="<inp2:CategoryLink template="__default__" m_cat_page="1"/>" class="text-title"><inp2:Field name="Name"/></a> <span class="item-statistics">(<inp2:m_phrase name="lu_SubCats"/>: <inp2:SubCatCount/>)</span>
+ </inp2:m_if>
+
+ <inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase />img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
+ <inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase />img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
+
+ <br />
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="4" alt="" /><br />
+
+ <inp2:Field name="Description" first_chars="200"/>
+ </td>
+ </tr>
+ </table>
+
+ </td>
+</inp2:m_DefineElement>
+<!--## /CATEGORY ELEMENT ##-->
+
+<inp2:m_DefineElement name="selector_category_element">
+ <option value="<inp2:m_Param name="category_id"/>">
+ <inp2:m_Param name="separator"/><inp2:m_Param name="category_name"/>
+ </option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="more_category_element">
+ <tr id="category_<inp2:m_Param name="category_id"/>">
+ <td>
+ <inp2:m_Param name="category_name"/>
+ </td>
+ <td>
+ <input type="button" class="delete-button" value="<inp2:m_Phrase name="lu_btn_Delete"/>" onclick="$ItemCategories.DeleteCategory(<inp2:m_Param name="category_id"/>);"/>
+ </td>
+ </tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="no_categories">
+ <inp2:m_phrase name="lu_NoCategories"/>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: branches/1.0.x/elements/html_head.elm.tpl
===================================================================
--- branches/1.0.x/elements/html_head.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/html_head.elm.tpl (revision 13321)
@@ -0,0 +1,29 @@
+<!--## Meta Info (Keywords and Description) ##-->
+<meta http-equiv="Content-Type" content="text/html; charset=<inp2:lang.current_Field name="Charset"/>" />
+
+<meta name="Description" content="<inp2:st_PageInfo type="meta_description"/>" />
+<meta name="Keywords" content="<inp2:st_PageInfo type="meta_keywords"/>" />
+<!--## /Meta Keywords and Description ##-->
+
+<inp2:m_ifnot check="m_GetConst" name="EDITING_MODE">
+ <link rel="stylesheet" href="<inp2:m_TemplatesBase />inc/jquery/thickbox/thickbox.css" type="text/css" media="screen" />
+</inp2:m_ifnot>
+
+<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase />inc/styles.css" type="text/css" />
+
+<script type="text/javascript" src="<inp2:m_TemplatesBase />inc/script.js"></script>
+<script type="text/javascript" src="<inp2:m_TemplatesBase />inc/ajax.js"></script>
+<script type="text/javascript" src="<inp2:m_TemplatesBase />inc/calendar.js"></script>
+
+<script type="text/javascript">var inportalBase = '<inp2:m_TemplatesBase />';</script>
+
+<inp2:m_ifnot check="m_GetConst" name="EDITING_MODE">
+ <script type="text/javascript" src="<inp2:m_TemplatesBase />inc/jquery/jquery.pack.js"></script>
+ <script type="text/javascript" src="<inp2:m_TemplatesBase />inc/jquery/autoresize.jquery.min.js" charset="utf-8"></script>
+
+ <script type="text/javascript" src="<inp2:m_TemplatesBase />inc/jquery/thickbox/thickbox.js"></script>
+</inp2:m_ifnot>
+
+<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>
Index: branches/1.0.x/elements/forms.elm.tpl
===================================================================
--- branches/1.0.x/elements/forms.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/forms.elm.tpl (revision 13321)
@@ -0,0 +1,386 @@
+<inp2:m_DefineElement name="error_message">
+ <table class="warning-message fullwidth">
+ <tr>
+ <td width="30">
+ <img src="<inp2:m_TemplatesBase />img/warning_icon.gif" width="21" height="18" alt=""/>
+ </td>
+ <td>
+ <inp2:m_phrase name="lu_Warning"/>
+ </td>
+ </tr>
+ </table>
+ <br />
+ <inp2:m_phrase name="lu_AProblemInForm"/><br />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="subsection">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase />img/s.gif" width="3" height="1" alt=""/><br /></div>
+ <div class="sub-section-header"><inp2:m_Phrase label="$title"/></div>
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase />img/s.gif" width="3" height="1" alt=""/><br /></div>
+ <br />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_buttons" width="default">
+ <tr>
+ <td colspan="2">
+ <img src="<inp2:m_TemplatesBase />img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" />
+ </td>
+ </tr>
+ <tr>
+ <td style="width: <inp2:m_if check="m_ParamEquals" name="width" value="default">140<inp2:m_else/><inp2:m_Param name="width"/></inp2:m_if>px">
+ &nbsp;
+ </td>
+ <td>
+ <br />
+ <inp2:m_Param name="content"/>
+ <br /><br />
+ </td>
+ </tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_field_separator" is_last="0">
+ <inp2:m_if check="m_ParamEquals" name="is_last" value="0">
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase />img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_field_caption" title="">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="field-name" nowrap>
+ <inp2:m_if check="m_Param" name="title">
+ <label for="<inp2:{$prefix}_InputName field="$field"/>">
+ <span <inp2:m_if check="{$prefix}_HasError" field="$field">class="field-required"</inp2:m_if>>
+ <inp2:m_phrase label="$title"/></span><inp2:m_if check="{$prefix}_IsRequired" field="$field"><span class="field-required"> *</span></inp2:m_if>:
+ </label>
+ <inp2:m_else/>
+ &nbsp;
+ </inp2:m_if>
+ </td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_label" as_label="" currency="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td valign="top" class="field-value">
+ <inp2:{$prefix}_Field field="$field" as_label="$as_label" currency="$currency"/>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_label" as_label="" currency="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td valign="top" class="field-value">
+ <inp2:{$prefix}_Field field="$field" as_label="$as_label" currency="$currency"/>
+ <input type="hidden" name="<inp2:{$prefix}_InputName field="$field"/>" value="<inp2:{$prefix}_Field field="$field" db="db"/>" />
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_box" style="" maxlength="" is_last="0" title="">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <input type="text" class="input-text" name="<inp2:{$prefix}_InputName field="$field"/>" value="<inp2:{$prefix}_Field field="$field"/>" tabindex="<inp2:m_get param="tab_index"/>" maxlength="<inp2:m_param name="maxlength"/>" style="<inp2:m_param name="style"/>">
+ <inp2:m_if check="m_Param" name="hint_label"><span class="small"><inp2:m_phrase label="$hint_label"/></span></inp2:m_if>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_password" style="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <input type="password" class="input-text" name="<inp2:{$prefix}_InputName field="$field"/>" id="<inp2:{$prefix}_InputName field="$field"/>" value="" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>" />
+ <inp2:m_if check="m_Param" name="hint_label"><span class="small"><inp2:m_phrase label="$hint_label"/></span></inp2:m_if>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_upload" style="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <input type="file" name="<inp2:{$prefix}_InputName field="$field"/>" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>">
+ <inp2:m_if check="{$prefix}_FieldEquals" name="$field" value="" inverse="inverse">
+ (<inp2:{$prefix}_Field field="$field"/>)
+ </inp2:m_if>
+ <input type="hidden" name="<inp2:{$prefix}_InputName field="$field"/>[upload]" value="<inp2:{$prefix}_Field field="$field"/>" />
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_image_upload" style="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <inp2:m_if check="{$prefix}_Field" name="$field">
+ <a href="<inp2:{$prefix}_ImageSrc field="$field" MaxWidth="fullsize"/>" target="_blank">
+ <inp2:{$prefix}_Image field="$field" render_as="image_element" DefaultImage="img/no_picture.gif" MaxWidth="thumbnail"/>
+ </a>
+ <br />
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td>
+ <input type="hidden" id="<inp2:{$prefix}_InputName field="Delete{$field}"/>" name="<inp2:{$prefix}_InputName field="Delete{$field}"/>" value="0" />
+ <input type="checkbox" id="_cb_<inp2:{$prefix}_InputName field="Delete{$field}"/>" onchange="update_checkbox(this, document.getElementById('<inp2:{$prefix}_InputName field="Delete{$field}"/>'));">
+ </td>
+ <td>
+ <label for="_cb_<inp2:{$prefix}_InputName field="Delete{$field}"/>"><inp2:m_phrase name="lu_btn_DeleteImage"/></label>
+ </td>
+ </tr>
+ </table>
+ </inp2:m_if>
+ <input type="file" name="<inp2:{$prefix}_InputName field="$field"/>" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>">
+ <input type="hidden" name="<inp2:{$prefix}_InputName field="$field"/>[upload]" value="<inp2:{$prefix}_Field field="$field"/>" />
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_hidden" db="">
+ <input type="hidden" name="<inp2:{$prefix}_InputName field="$field"/>" id="<inp2:{$prefix}_InputName field="$field"/>" value="<inp2:{$prefix}_Field field="$field" db="$db"/>" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_date" style="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="{$field}_date"/></span><br />
+ </inp2:m_if>
+ <input type="text" class="input-text" name="<inp2:{$prefix}_InputName field="{$field}_date"/>" id="<inp2:{$prefix}_InputName field="{$field}_date"/>" value="<inp2:{$prefix}_Field field="{$field}_date" format="_regional_InputDateFormat"/>" tabindex="<inp2:m_get param="tab_index"/>" size="<inp2:{$prefix}_Format field="{$field}_date" input_format="1" edit_size="edit_size"/>" style="<inp2:m_param name="style"/>" datepickerIcon="<inp2:m_TemplatesBase />img/calendar_icon.gif">&nbsp;<span class="small">(<inp2:{$prefix}_Format field="{$field}_date" input_format="1" human="true"/>)</span>
+ <script type="text/javascript">
+ initCalendar("<inp2:{$prefix}_InputName field="{$field}_date"/>", "<inp2:{$prefix}_Format field="{$field}_date" input_format="1"/>");
+ </script>
+ <input type="hidden" name="<inp2:{$prefix}_InputName field="{$field}_time"/>" id="<inp2:{$prefix}_InputName field="{$field}_time" input_format="1"/>" value="" />
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_time" style="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table-color1" even="table-color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <input type="text" name="<inp2:{$prefix}_InputName field="{$field}_time"/>" id="<inp2:{$prefix}_InputName field="{$field}_time"/>" value="<inp2:{$prefix}_Field field="{$field}_time" format="_regional_InputTimeFormat"/>" tabindex="<inp2:m_get param="tab_index"/>" size="<inp2:{$prefix}_Format field="{$field}_time" input_format="1" edit_size="edit_size"/>" style="<inp2:m_param name="style"/>">&nbsp;
+ <span class="small">(<inp2:{$prefix}_Format field="{$field}_time" input_format="1" human="true"/>)</span>
+
+ <input type="hidden" name="<inp2:{$prefix}_InputName field="{$field}_date"/>" id="<inp2:{$prefix}_InputName field="{$field}_date" input_format="1"/>" value="" />
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_date_time" style="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <input type="text" name="<inp2:{$prefix}_InputName field="{$field}_date"/>" id="<inp2:{$prefix}_InputName field="{$field}_date"/>" value="<inp2:{$prefix}_Field field="{$field}_date" format="_regional_InputDateFormat"/>" tabindex="<inp2:m_get param="tab_index"/>" size="<inp2:{$prefix}_Format field="{$field}_date" input_format="1" edit_size="edit_size"/>" style="<inp2:m_param name="style"/>" datepickerIcon="<inp2:m_ProjectBase/>core/admin_templates/img/calendar_icon.gif">
+ <span class="small">(<inp2:{$prefix}_Format field="{$field}_date" input_format="1" human="true"/>)</span>
+ <script type="text/javascript">
+ initCalendar("<inp2:{$prefix}_InputName field="{$field}_date"/>", "<inp2:{$prefix}_Format field="{$field}_date" input_format="1"/>");
+ </script>
+ &nbsp;<input type="text" name="<inp2:{$prefix}_InputName field="{$field}_time"/>" id="<inp2:{$prefix}_InputName field="{$field}_time"/>" value="<inp2:{$prefix}_Field field="{$field}_time" format="_regional_InputTimeFormat"/>" tabindex="<inp2:m_get param="tab_index"/>" size="<inp2:{$prefix}_Format field="{$field}_time" input_format="1" edit_size="edit_size"/>" style="<inp2:m_param name="style"/>"><span class="small"> (<inp2:{$prefix}_Format field="{$field}_time" input_format="1" human="true"/>)</span>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_textarea" style="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <textarea class="input-textarea" tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:{$prefix}_InputName field="$field"/>" cols="<inp2:m_param name="cols"/>" rows="<inp2:m_param name="rows"/>" style="<inp2:m_param name="style"/>"><inp2:{$prefix}_Field field="$field"/></textarea>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_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="inp_option_phrase">
+ <option value="<inp2:m_param name="key"/>"<inp2:m_param name="selected"/>><inp2:m_phrase label="$option"/></option>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_options" style="" has_empty="0" empty_value="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <select class="input-select" tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:{$prefix}_InputName field="$field"/>" style="<inp2:m_param name="style"/>">
+ <inp2:m_if check="m_ParamEquals" name="use_phrases" value="1" >
+ <inp2:{$prefix}_PredefinedOptions field="$field" block="inp_option_phrase" selected="selected" has_empty="$has_empty" empty_value="$empty_value"/>
+ <inp2:m_else/>
+ <inp2:{$prefix}_PredefinedOptions field="$field" block="inp_option_item" selected="selected" has_empty="$has_empty" empty_value="$empty_value"/>
+ </inp2:m_if>
+ </select>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_radio_item" onclick="">
+ <input type="radio" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>" <inp2:m_param name="checked"/> name="<inp2:{$prefix}_InputName field="$field"/>" id="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>"><label for="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>"><inp2:m_param name="option"/></label>&nbsp;
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_radio_phrase" onclick="">
+ <input type="radio" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_param name="style"/>" <inp2:m_param name="checked"/> name="<inp2:{$prefix}_InputName field="$field"/>" id="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>" value="<inp2:m_param name="key"/>"><label for="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>"><inp2:m_phrase label="$option"/></label>&nbsp;
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_radio" style="" pass_tabindex="" onclick="" onchange="" use_phrases="1" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <inp2:m_if check="m_ParamEquals" name="use_phrases" value="1">
+ <inp2:{$prefix}_PredefinedOptions field="$field" block="inp_radio_phrase" selected="checked"/>
+ <inp2:m_else />
+ <inp2:{$prefix}_PredefinedOptions field="$field" block="inp_radio_item" selected="checked"/>
+ </inp2:m_if>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+
+<inp2:m_DefineElement name="inp_edit_captcha" style="" title="lu_fld_Captcha" no_editing="1" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="Captcha" title="$title"/>
+ <td class="field-value">
+ <inp2:m_if check="{$prefix}_HasError" field="Captcha">
+ <span class="field-error"><inp2:{$prefix}_Error field="Captcha"/></span><br />
+ </inp2:m_if>
+ <img src="<inp2:m_Link template="inc/captcha_image.elm" var="{$prefix}_captcha_code" w="150" h="30"/>" alt="<inp2:m_Phrase name="$title" no_editing="1"/>"/><br />
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="5" alt=""/><br />
+ <input type="text" class="input-text" name="<inp2:{$prefix}_InputName field="Captcha"/>" value="<inp2:{$prefix}_Field field="Captcha"/>" tabindex="<inp2:m_get param="tab_index"/>" style="<inp2:m_Param name="style"/>">
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_checkbox" style="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td>
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <input type="hidden" id="<inp2:{$prefix}_InputName field="$field"/>" name="<inp2:{$prefix}_InputName field="$field"/>" value="<inp2:{$prefix}_Field field="$field" db="db"/>" />
+ <input tabindex="<inp2:m_get param="tab_index"/>" type="checkbox" id="_cb_<inp2:{$prefix}_InputName field="$field"/>" name="_cb_<inp2:{$prefix}_InputName field="$field"/>" <inp2:{$prefix}_Field field="$field" checked="checked" db="db"/> style="<inp2:m_param name="style"/>" onchange="update_checkbox(this, document.getElementById('<inp2:{$prefix}_InputName field="$field"/>'));">
+ <inp2:m_if check="m_Param" name="hint_label"><span class="small"><inp2:m_phrase label="$hint_label"/></span></inp2:m_if>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_categories" style="" is_last="0">
+ <inp2:m_include template="elements/categories.elm"/>
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td class="field-value">
+
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+
+ <select class="input-select" tabindex="<inp2:m_get param="tab_index"/>" id="<inp2:{$prefix}_InputName field="$field"/>_select" style="<inp2:m_param name="style"/>">
+ <option value="0"><inp2:m_Phrase name="lu_opt_SelectCategory"/></option>
+ <inp2:{$prefix}_CategorySelector render_as="selector_category_element" separator="&raquo;&nbsp;"/>
+ </select>
+
+ <input type="button" class="button" value="<inp2:m_Phrase name="lu_Add"/>" onclick="$ItemCategories.AddCategory('&raquo;&amp;nbsp;', $delete_button, <inp2:m_GetConfig name="{$prefix}_MaxCategories"/>);"/><br />
+
+
+ <table class="item-categories" id="item_categories">
+ <tbody>
+
+ <tr>
+ <td colspan="2">
+ <strong><inp2:m_Phrase name="lu_subsection_Categories"/>:</strong>
+ </td>
+ </tr>
+
+ <inp2:{$prefix}_PrintMoreCategories render_as="more_category_element" field="$field"/>
+ </tbody>
+ </table>
+ <BR/>
+
+ <inp2:m_RenderElement name="inp_edit_hidden" prefix="$prefix" field="$field"/>
+
+ <script type="text/javascript">
+ var $delete_button = '&nbsp;&nbsp;<input type="button" class="delete-button" value="<inp2:m_Phrase name="lu_btn_Delete"/>" onclick="$ItemCategories.DeleteCategory(#CATEGORY_ID#);"/>';
+ var $phrases = ['<inp2:m_Phrase name="lu_error_CategoryLimitReached" escape="1"/>', '<inp2:m_Phrase name="lu_error_AlreadyAdded"/>'];
+ var $ItemCategories = new ItemCategories('item_categories', '<inp2:{$prefix}_InputName field="$field"/>', <inp2:m_Get name="m_cat_id"/>, $phrases);
+ </script>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_field_caption_withlink" title="" template="">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="field-name" nowrap>
+ <inp2:m_if check="m_Param" name="title">
+ <label for="<inp2:{$prefix}_InputName field="$field"/>">
+ <span <inp2:m_if check="{$prefix}_HasError" field="$field">class="field-required"</inp2:m_if>>
+ <a href="<inp2:m_Link t='$template'/>" target="_blank"><inp2:m_phrase label="$title"/></a></span><inp2:m_if check="{$prefix}_IsRequired" field="$field"><span class="field-required"> *</span></inp2:m_if>:
+ </label>
+ <inp2:m_else/>
+ &nbsp;
+ </inp2:m_if>
+ </td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_checkbox_agreement" style="" is_last="0">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption_withlink" prefix="$prefix" field="$field" title="$title" template="$template"/>
+ <td>
+ <inp2:m_if check="{$prefix}_HasError" field="$field">
+ <span class="field-error"><inp2:{$prefix}_Error field="$field"/></span><br />
+ </inp2:m_if>
+ <input type="hidden" id="<inp2:{$prefix}_InputName field="$field"/>" name="<inp2:{$prefix}_InputName field="$field"/>" value="<inp2:{$prefix}_Field field="$field" db="db"/>" />
+ <input tabindex="<inp2:m_get param="tab_index"/>" type="checkbox" id="_cb_<inp2:{$prefix}_InputName field="$field"/>" name="_cb_<inp2:{$prefix}_InputName field="$field"/>" <inp2:{$prefix}_Field field="$field" checked="checked" db="db"/> style="<inp2:m_param name="style"/>" onchange="update_checkbox(this, document.getElementById('<inp2:{$prefix}_InputName field="$field"/>'));">
+ <inp2:m_if check="m_Param" name="hint_label"><span class="small"><inp2:m_phrase label="$hint_label"/></span></inp2:m_if>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+</inp2:m_DefineElement>
+
Index: branches/1.0.x/elements/search_results.elm.tpl
===================================================================
--- branches/1.0.x/elements/search_results.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/search_results.elm.tpl (revision 13321)
@@ -0,0 +1,20 @@
+<inp2:m_DefineElement name="search_relevance_normal">
+ <inp2:m_Phrase label="lu_Relevance"/>:<br />
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="5" alt=""><br />
+ <table width="70" style="border: 1px solid <inp2:m_param name="on_color"/>">
+ <tr>
+ <td width="<inp2:m_param name="percent_on" />%" bgcolor="<inp2:m_param name="on_color"/>"><img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="5" alt=""></td>
+ <td width="<inp2:m_param name="percent_off" />%" bgcolor="<inp2:m_param name="off_color"/>"><img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="5" alt=""></td>
+ </tr>
+ </table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="search_relevance_full">
+ <inp2:m_Phrase label="lu_Relevance"/>:<br />
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="5" alt=""><br />
+ <table width="70">
+ <tr>
+ <td width="100%" bgcolor="<inp2:m_param name="on_color" />"><img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="5" alt=""></td>
+ </tr>
+ </table>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: branches/1.0.x/elements/header.elm.tpl
===================================================================
--- branches/1.0.x/elements/header.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/header.elm.tpl (revision 13321)
@@ -0,0 +1,133 @@
+
+<table class="fullwidth">
+ <tr>
+ <td width="150">
+ <a href="<inp2:m_Link template="index" m_cat_id="0"/>"><img src="<inp2:m_TemplatesBase />img/top_logo.gif" width="150" height="131" alt="" /></a><br />
+ </td>
+ <td class="top-toolbar">
+
+ <table class="fullwidth">
+ <tr>
+ <td width="1">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </td>
+ <td class="horizontal-separator">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </td>
+ <td width="1">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </td>
+ </tr>
+ <tr>
+ <td class="vertical-separator">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </td>
+ <td>
+
+ <table class="fullwidth">
+ <tr>
+ <td class="top-toolbar-padding">
+
+ <table class="top-toolbar-table-padding">
+ <tr>
+ <td class="top-toolbar-text">
+ <inp2:m_Phrase label="lu_YourLanguage"/>:
+ </td>
+ <td>
+ <form method="post" name="lang_form" id="lang_form" action="<inp2:m_FormAction />">
+ <input type="hidden" name="events[lang][OnChangeLanguage]" value="" />
+ <select name="language" class="input-select" style="width:65px" 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" no_table="1"/>
+ </select>
+ </form>
+ </td>
+ </tr>
+ <inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+ <tr>
+ <td class="top-toolbar-text">
+ <inp2:m_Phrase label="lu_YourCurrency"/>:
+ </td>
+ <td class="top-select-padding">
+ <form method="post" name="cur_form" id="cur_form" action="<inp2:m_FormAction />">
+ <input type="hidden" name="events[curr][OnChangeCurrency]" value="" />
+ <select name="curr_iso" class="input-select" style="width:65px" 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" no_table="1"/>
+ </select>
+ </form>
+ </td>
+ </tr>
+ </inp2:m_if>
+ </table>
+
+ </td>
+ <td class="vertical-separator">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </td>
+ <td class="top-toolbar-padding">
+
+ <table class="top-toolbar-table-padding">
+ <tr>
+ <td width="40">
+ <a href="<inp2:m_Link template="in-commerce/checkout/shop_cart"/>"><img src="<inp2:m_TemplatesBase />img/shopping_card_icon.gif" width="40" height="40" alt="" /></<br />
+ </td>
+ <td class="top-toolbar-text">
+ <inp2:m_Phrase label="lu_MyShoppingCart"/>
+ <div class="top-toolbar-shoppingcard-items"><inp2:ord_ItemsInCart/> <inp2:m_Phrase label="lu_items"/></div>
+ </td>
+ </tr>
+ </table>
+
+
+ </td>
+ <td class="vertical-separator">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </td>
+ <td class="top-toolbar-padding top-toolbar-text">
+
+ <inp2:m_if check="m_LoggedIn">
+
+ <inp2:m_Phrase label="lu_comm_Welcome"/> <a href="<inp2:m_Link template="my_account/my_profile" m_cat_id="0" m_cat_page="1"/>"><inp2:u_Field name="FirstName"/></a>
+
+ <inp2:m_else/>
+
+ <a href="<inp2:m_Link template="login/customer_login"/>"><inp2:m_Phrase label="lu_CustomerLogin"/></a>
+
+ </inp2:m_if>
+ <br/>
+
+ <a href="<inp2:m_Link template="in-commerce/products/specials_products"/>"><inp2:m_Phrase label="lu_Specials"/></a><br />
+ <!--##<a href="<inp2:m_Link template="search/advanced_search" />"><inp2:m_Phrase label="lu_Search"/></a><br />##-->
+
+ <a href="<inp2:m_Link template="pages/contact-us"/>"><inp2:m_Phrase label="lu_ContactUs"/></a><br />
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ <td class="vertical-separator">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </td>
+ </tr>
+ <tr>
+ <td width="1">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </td>
+ <td class="horizontal-separator">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </td>
+ <td width="1">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+</table>
Index: branches/1.0.x/elements/pagination.elm.tpl
===================================================================
--- branches/1.0.x/elements/pagination.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/pagination.elm.tpl (revision 13321)
@@ -0,0 +1,52 @@
+<inp2:m_DefineElement name="prev_page">
+ <a href="<inp2:PageLink/>"><img src="<inp2:m_TemplatesBase />img/pagenation_left.gif" width="5" height="5" alt="" /></a>&nbsp;&nbsp;
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="next_page">
+ &nbsp;<a href="<inp2:PageLink/>"><img src="<inp2:m_TemplatesBase />img/pagenation_right.gif" width="5" height="5" alt="" /></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_current">
+ <span class="current-page"><inp2:m_param name="page"/></span>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_separator">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="page_link">
+ <a href="<inp2:PageLink/>" class="page-link"><inp2:m_param name="page"/></a>
+</inp2:m_DefineElement>
+
+<div class="horizontal-separator"><img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br /></div>
+<br />
+
+<table style="width: 100%; text-align: left;">
+ <tr>
+ <inp2:m_if check="{$prefix}_GridInfo" type="needs_pagination">
+ <td>
+ <inp2:m_Phrase label="lu_comm_Page"/>:&nbsp;
+
+
+ <inp2:{$prefix}_PaginationBar
+ current_render_as="page_current" separator_render_as="page_separator" link_render_as="page_link"
+ prev_page_render_as="prev_page"
+ next_page_render_as="next_page" />
+ </td>
+ </inp2:m_if>
+
+ <td align="right">
+ <inp2:m_phrase name="lu_ItemsPerPage"/>:
+ <form method="post" action="<inp2:m_FormAction />">
+
+ <select class="input-select" name="<inp2:{$prefix}_VarName type="PerPage"/>">
+ <option value="10" <inp2:{$prefix}_PerPageSelected per_page="10" selected='selected="selected"'/>>10</option>
+ <option value="20" <inp2:{$prefix}_PerPageSelected per_page="20" selected='selected="selected"'/>>20</option>
+ <option value="50" <inp2:{$prefix}_PerPageSelected per_page="50" selected='selected="selected"'/>>50</option>
+ </select>
+ <input type="submit" class="button" name="<inp2:{$prefix}_SubmitName event="OnSetPerPage"/>" value="<inp2:m_Phrase label="lu_btn_Set"/>" />
+ </form>
+ </td>
+ </tr>
+</table>
+
Index: branches/1.0.x/elements/dynamic_forms.elm.tpl
===================================================================
--- branches/1.0.x/elements/dynamic_forms.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/dynamic_forms.elm.tpl (revision 13321)
@@ -0,0 +1,58 @@
+<inp2:m_DefineElement name="form_field_text">
+ <input type="text" class="input-text" name="<inp2:CustomInputName/>" value="<inp2:SubmissionTag tag="Field"/>" <inp2:m_param name="field_params" />/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_password">
+ <input type="password" class="input-text" primarytype="password" name="<inp2:CustomInputName/>" id="<inp2:CustomInputName/>" value="" />
+ <input type="password" class="input-text" name="<inp2:CustomInputName verify="1"/>" id="verify_<inp2:CustomInputName verify="1"/>" value="" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_option">
+ <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="form_field_select">
+ <select name="<inp2:CustomInputName/>" class="input-select">
+ <inp2:SubmissionTag tag="PredefinedOptions" field="$field" block="form_field_option" selected="selected"/>
+ </select>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_checkbox">
+ <input type="hidden" id="<inp2:CustomInputName/>" name="<inp2:CustomInputName/>" value="<inp2:SubmissionTag tag="Field" field="$field" db="db"/>">
+ <input type="checkbox" id="_cb_<inp2:m_param name="field"/>" name="_cb_<inp2:m_param name="field"/>" <inp2:SubmissionTag tag="Field" checked="checked" db="db"/> class="<inp2:m_param name="field_class"/>" onclick="document.getElementById('<inp2:CustomInputName/>').value = this.checked ? 1:0">
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_textarea">
+ <textarea name="<inp2:CustomInputName/>" class="input-textarea" <inp2:m_param name="field_params" />><inp2:SubmissionTag tag="Field" field="$field" /></textarea>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_radio_item">
+ <input 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_param name="option"/></label>&nbsp;
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field_radio">
+ <inp2:SubmissionTag tag="PredefinedOptions" field="$field" block="form_radio_item" selected="checked"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="form_field">
+ <tr>
+ <td class="field-name">
+ <strong><inp2:Field name="FieldLabel" plus_or_as_label="1"/><inp2:m_if check="FieldEquals" field="Required" value="1"><span class="field-required">*</span></inp2:m_if>:</strong>&nbsp;&nbsp;
+ </td>
+ <td class="field-value">
+ <inp2:m_if check="SubmissionTag" tag="HasError">
+ <span class="field-error"><inp2:SubmissionTag tag="Error"/></span><br />
+ </inp2:m_if>
+
+ <inp2:ConfigFormElement field="Value" blocks_prefix="form_field_" element_type_field="ElementType" value_list_field="ValueList" /><br/>
+ </td>
+ </tr>
+
+ <inp2:m_if check="m_Param" name="not_last">
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase />img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: branches/1.0.x/elements/footer.elm.tpl
===================================================================
--- branches/1.0.x/elements/footer.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/footer.elm.tpl (revision 13321)
@@ -0,0 +1,30 @@
+
+ <inp2:m_DefineElement name="footer_menu_element" no_editing="1">
+ <a href="<inp2:m_Link template='$template' m_cat_id='$cat_id' use_section='$use_section' m_cat_page='1'/>" title="<inp2:m_Param name="title"/>"><inp2:m_Param name="title"/></a>
+ <inp2:m_ifnot check="m_Param" name="is_last"> | </inp2:m_ifnot>
+ </inp2:m_DefineElement>
+
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="15" alt="" /><br />
+
+ <table class="fullwidth">
+ <tr>
+ <td class="footer-links">
+ Copyright &#174; <inp2:lang.current_CurrentDate format="Y"/> <inp2:m_GetConfig name="Site_Name"/>, Powered by <a href="http://www.in-portal.com">In-Portal CMS</a>. All rights reserved.
+ </td>
+ <td align="right" class="footer-links">
+ <inp2:st_CachedMenu render_as="footer_menu_element" category_id="89"/>
+ </td>
+ </tr>
+ </table>
+
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="10" alt="" /><br />
+ <div class="horizontal-separator">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="1" alt="" /><br />
+ </div>
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="1" height="10" alt="" /><br />
+
+ <div align="right">
+ <img src="<inp2:m_TemplatesBase />img/cards.gif" width="130" height="19" alt="" /><br />
+ </div>
+ <br />
+<inp2:m_RegisterPageHit/>
\ No newline at end of file
Index: branches/1.0.x/elements/preferences.elm.tpl
===================================================================
--- branches/1.0.x/elements/preferences.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/preferences.elm.tpl (revision 13321)
@@ -0,0 +1,35 @@
+<inp2:m_DefineElement name="privacy_element">
+ <tr>
+ <td class="field-name"><inp2:m_phrase name="$title"/></td>
+ <td><inp2:user-profile_Field field="$field" profile_field="1"/></td>
+ <td class="field-value">
+ <input type="hidden" id="<inp2:user-profile_InputName field="$field"/>" name="<inp2:user-profile_InputName field="$field"/>" value="<inp2:user-profile_Field field="$field"/>"/>
+ <input type="checkbox" id="_cb_<inp2:user-profile_InputName field="$field"/>" <inp2:user-profile_Field field="$field" checked="checked" db="db"/> onchange="update_checkbox(this, document.getElementById('<inp2:user-profile_InputName field="$field"/>'));"/>
+ </td>
+ </tr>
+ <inp2:m_if check="m_ParamEquals" name="is_last" value="0">
+ <tr>
+ <td colspan="3">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase />img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="profile_element">
+ <inp2:m_if check="user-profile_Field" name="$field">
+ <inp2:m_inc param="fields_shown" by="1"/>
+ <tr>
+ <td class="field-name"><inp2:m_phrase name="$title"/></td>
+ <td class="field-value"><inp2:user-profile_Field field="$field" profile_field="1"/></td>
+ </tr>
+
+ <inp2:m_if check="user-profile_NotLastField" counter="fields_shown">
+ <tr>
+ <td colspan="3">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase />img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+ </inp2:m_if>
+</inp2:m_DefineElement>
\ No newline at end of file
Index: branches/1.0.x/elements/tracking.elm.tpl
===================================================================
--- branches/1.0.x/elements/tracking.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/tracking.elm.tpl (revision 13321)
@@ -0,0 +1,21 @@
+<inp2:m_ifnot check="m_GetConst" name="EDITING_MODE">
+
+</inp2:m_ifnot>
+
+<inp2:m_if check="m_IsActive" name="index">
+ <script type="text/javascript" src="<inp2:m_TemplatesBase />inc/jquery/easySlider1.7.js"></script>
+
+ <script type="text/javascript">
+ $(document).ready(function(){
+ $("#slider").easySlider({
+ auto: true,
+ continuous: true,
+ numeric: true,
+ });
+ });
+ </script>
+</inp2:m_if>
+
+<!-- Tracking Code Starts-->
+<inp2:st_PageInfo type="tracking"/>
+<!-- Tracking Code Ends -->
\ No newline at end of file
Index: branches/1.0.x/elements/menu.elm.tpl
===================================================================
--- branches/1.0.x/elements/menu.elm.tpl (nonexistent)
+++ branches/1.0.x/elements/menu.elm.tpl (revision 13321)
@@ -0,0 +1,112 @@
+<table class="fullwidth">
+ <tr>
+ <td class="searchbox-background-2" valign="top">
+
+ <table>
+ <tr>
+
+ <inp2:m_DefineElement name="tab" template="" title="">
+ <inp2:m_if check="m_IsActive" template="$template">
+ <td width="5">
+ <img src="<inp2:m_TemplatesBase />img/tab_left_select.gif" width="5" height="28" alt="" /><br />
+ </td>
+ <td width="85" class="tab-center-select">
+ <a href="<inp2:m_Link template="$template"/>"><inp2:m_phrase name="$title"/></a>
+ </td>
+ <td width="5">
+ <img src="<inp2:m_TemplatesBase />img/tab_right_select.gif" width="5" height="28" alt="" /><br />
+ </td>
+ <td width="2">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="2" height="1" alt="" /><br />
+ </td>
+ <inp2:m_else/>
+ <td width="5">
+ <img src="<inp2:m_TemplatesBase />img/tab_left_noselect.gif" width="5" height="28" alt="" /><br />
+ </td>
+ <td width="85" class="tab-center-noselect">
+ <a href="<inp2:m_Link template="$template" m_cat_id="0" />"><inp2:m_phrase name="$title"/></a>
+ </td>
+ <td width="5">
+ <img src="<inp2:m_TemplatesBase />img/tab_right_noselect.gif" width="5" height="28" alt="" /><br />
+ </td>
+ <td width="2">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="2" height="1" alt="" /><br />
+ </td>
+ </inp2:m_if>
+ </inp2:m_DefineElement>
+
+ <inp2:m_RenderElement name="tab" template="index" title="lu_Home"/>
+ <!--##
+ <inp2:m_RenderElement name="tab" template="in-commerce/products/new_products" title="lu_NewProducts"/>
+ ##-->
+ <inp2:m_RenderElement name="tab" template="my_account/my_account" title="lu_MyAccount"/>
+ <inp2:m_RenderElement name="tab" template="in-commerce/checkout/shop_cart" title="lu_ShoppingCart"/>
+ <inp2:m_RenderElement name="tab" template="in-commerce/checkout/shipping" title="lu_Checkout"/>
+
+ <inp2:m_if check="m_LoggedIn">
+ <td width="5">
+ <img src="<inp2:m_TemplatesBase />img/tab_left_noselect.gif" width="5" height="28" alt="" /><br />
+ </td>
+ <td width="85" class="tab-center-noselect">
+ <a href="<inp2:u_LogoutLink template="index" />"><inp2:m_Phrase label="lu_logout"/></a>
+ </td>
+ <td width="5">
+ <img src="<inp2:m_TemplatesBase />img/tab_right_noselect.gif" width="5" height="28" alt="" /><br />
+ </td>
+ <td width="2">
+ <img src="<inp2:m_TemplatesBase />img/s.gif" width="2" height="1" alt="" /><br />
+ </td>
+ </inp2:m_if>
+
+ </tr>
+ </table>
+
+ </td>
+ <td class="searchbox-background" align="right">
+
+ <table>
+ <tr>
+ <td width="5">
+ <img src="<inp2:m_TemplatesBase />img/searchbox_right.gif" width="5" height="38" alt="" /><br />
+ </td>
+ <td class="searchbox-center">
+
+ <table>
+ <tr>
+ <td style="padding-right:8px">
+
+ <form method="post" id="search_form" action="<inp2:m_Link template="search/search_results" pass_category="1"/>">
+ <input type="text" name="keywords" id="keywords" class="input-text" style="width:138px" value="" />
+ <inp2:m_GetFormHiddens template="search/search_results"/>
+ </form>
+ </td>
+ <td>
+ <table>
+ <tr>
+ <td width="6">
+ <img src="<inp2:m_TemplatesBase />img/button_left.gif" width="6" height="20" alt="" /><br />
+ </td>
+ <td class="button-center">
+ <a href="" onclick="document.getElementById('search_form').submit(); return false;" ><inp2:m_Phrase name="lu_btn_FindIt"/></a>
+ </td>
+ <td width="6">
+ <img src="<inp2:m_TemplatesBase />img/button_right.gif" width="6" height="20" alt="" /><br />
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ <td width="5">
+ <img src="<inp2:m_TemplatesBase />img/searchbox_left.gif" width="5" height="38" alt="" /><br />
+ </td>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+</table>
+<br />

Event Timeline