Page MenuHomeIn-Portal Phabricator

in-link
No OneTemporary

File Metadata

Created
Sun, Jan 5, 6:59 PM
This file is larger than 256 KB, so syntax highlighting was skipped.
Index: branches/5.0.x/themes/default2009/in-link/links/modify_link.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/modify_link.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/modify_link.tpl (revision 12118)
@@ -0,0 +1,122 @@
+<!--##
+<NAME>Link Modify</NAME>
+<DESC>Link Modify Form</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_ModifyLink"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" item_actions="1" 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="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ModifyLink" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,in-link/links/modify_link"/>
+ </div>
+ <div class="movable-element">
+ <!-- modify link -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_ModifyLink"/>
+ </inp2:m_Capture>
+
+ <inp2:m_if check="l_HasPermission" permissions="LINK.MODIFY|LINK.MODIFY.PENDING|LINK.OWNER.MODIFY|LINK.OWNER.MODIFY.PENDING">
+ <span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+ <inp2:m_if check="l_HasError" field="any">
+ <inp2:m_RenderElement name="error_message" />
+ </inp2:m_if>
+
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+ <form method="post" action="<inp2:m_FormAction/>" enctype="multipart/form-data">
+ <table class="form-data fullwidth">
+ <tr><td colspan="2"><inp2:m_RenderElement name="subsection" title="lu_section_LinkDetails" break=""/></td></tr>
+
+ <inp2:m_RenderElement name="inp_edit_box_ml" prefix="l" field="Name" title="lu_fld_Name" maxlength="50" style="width:400px"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="Url" title="lu_fld_Url" maxlength="255" style="width:400px"/>
+ <!--## SHOW PRIMARY CATEGORY ##-->
+ <inp2:m_RenderElement name="inp_pr_category_label" prefix="l" field="PrimaryCat" title="lu_fld_PrimaryCategory" editing="1"/>
+ <!--## //SHOW PRIMARY CATEGORY ##-->
+
+ <inp2:m_RenderElement name="inp_edit_categories" prefix="l" field="MoreCategories" title="lu_fld_MoreCategories"/>
+
+ <inp2:m_RenderElement name="inp_edit_textarea_ml" prefix="l" field="Description" cols="80" rows="7" title="lu_fld_Description" style="width:400px" is_last="1"/>
+
+ <tr>
+ <td colspan="2">
+ <br/>
+ <inp2:m_RenderElement name="subsection" title="lu_section_Images" break=""/>
+ </td>
+ </tr>
+
+ <inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="PrimaryImage" title="lu_fld_PrimaryImage"/>
+ <inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="Image1" title="lu_fld_Image1"/>
+ <inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="Image2" title="lu_fld_Image2" is_last="1"/>
+
+ <tr>
+ <td colspan="2">
+ <br/>
+ <inp2:m_RenderElement name="subsection" title="lu_section_Files" break=""/>
+ </td>
+ </tr>
+
+ <inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File1" title="lu_fld_File1"/>
+ <inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File2" title="lu_fld_File2"/>
+ <inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File3" title="lu_fld_File3" is_last="1"/>
+
+ <inp2:m_if check="m_ConfigEquals" option="Link_EnhancedLinks" value="1">
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="l" field="ListingTypeId" title="lu_fld_ListingType"/>
+ <td class="field-value">
+ <inp2:m_if check="l_LinkIsEnhanced">
+ <strong><inp2:l_ListingTypeField name="Name" /></strong>
+ <inp2:m_if check="l_EnhancementIsPending">
+ (<inp2:m_Phrase label="lu_PendingEnhancement" />)
+ </inp2:m_if>
+ <a href="<inp2:l_LinkLink template="in-link/links/enhancements/extend_enhancement"/>"><inp2:m_Phrase label="lu_btn_ExtendCancelEnhancement" /></a>
+ <inp2:m_else />
+ <a href="<inp2:l_LinkLink template="in-link/links/enhancements/enhance_link"/>"><inp2:m_Phrase label="lu_btn_EnhanceLink" /></a>
+ </inp2:m_if>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_RenderElement design="inp_edit_buttons">
+ <input type="hidden" name="modify_confirm_template" value="in-link/links/modify_confirm"/>
+ <input type="hidden" name="modify_pending_confirm_template" value="in-link/links/modify_pending_confirm"/>
+ <input class="button" type="submit" name="events[l][OnUpdate]" value="<inp2:m_phrase label="lu_btn_Update"/>"/>
+ <input class="button" type="reset" name="events[l][OnReset]" value="<inp2:m_phrase label="lu_btn_Reset"/>"/>
+ </inp2:m_RenderElement>
+ </table>
+ </form>
+ <inp2:m_else/>
+ <inp2:m_phrase name="lu_text_NoModifyLinkPermission"/>
+ </inp2:m_if>
+ </inp2:m_RenderElement>
+ <!-- // modify link -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/modify_link.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/suggest_link.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/suggest_link.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/suggest_link.tpl (revision 12118)
@@ -0,0 +1,111 @@
+<!--##
+<NAME>Link Suggest</NAME>
+<DESC>Link Suggest Form</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_SuggestLink"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.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="platform/elements/navigation_bar.elm" titles="lu_title_SuggestLink" templates="in-link/links/suggest_link" show_category="1"/>
+ </div>
+ <div class="movable-element">
+ <!-- suggest link -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_SuggestLink"/>
+ </inp2:m_Capture>
+
+ <inp2:m_if check="l_HasPermission" permissions="LINK.ADD|LINK.ADD.PENDING">
+ <inp2:l_PresetFormFields/>
+ <span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+ <inp2:m_if check="l_HasError" field="any">
+ <inp2:m_RenderElement name="error_message" />
+ </inp2:m_if>
+
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+ <form method="post" action="<inp2:m_FormAction/>" enctype="multipart/form-data">
+ <table class="form-data fullwidth">
+ <tr><td colspan="2"><inp2:m_RenderElement name="subsection" title="lu_section_LinkDetails" break=""/></td></tr>
+
+ <!--## SHOW PRIMARY CATEGORY ##-->
+ <inp2:m_RenderElement name="inp_pr_category_label" prefix="l" field="PrimaryCat" title="lu_fld_SubmittingTo"/>
+ <!--## //SHOW PRIMARY CATEGORY ##-->
+
+ <inp2:m_RenderElement name="inp_edit_box_ml" prefix="l" field="Name" title="lu_fld_Name" maxlength="50" style="width:400px"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="Url" title="lu_fld_Url" maxlength="255" style="width:400px"/>
+ <inp2:m_RenderElement name="inp_edit_textarea_ml" prefix="l" field="Description" cols="80" rows="7" title="lu_fld_Description" style="width:400px" is_last="1"/>
+
+ <inp2:m_RenderElement name="inp_edit_categories" prefix="l" field="MoreCategories" title="lu_fld_MoreCategories"/>
+
+ <tr><td colspan="2"><br/><inp2:m_RenderElement name="subsection" title="lu_section_Images" break=""/></td></tr>
+ <inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="PrimaryImage" title="lu_fld_PrimaryImage"/>
+ <inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="Image1" title="lu_fld_Image1"/>
+ <inp2:m_RenderElement name="inp_edit_image_upload" prefix="l" field="Image2" title="lu_fld_Image2" is_last="1"/>
+ <tr><td colspan="2"><br/><inp2:m_RenderElement name="subsection" title="lu_section_Files" break=""/></td></tr>
+ <inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File1" title="lu_fld_File1"/>
+ <inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File2" title="lu_fld_File2"/>
+ <inp2:m_RenderElement name="inp_edit_file_upload" prefix="l" field="File3" title="lu_fld_File3" is_last="1"/>
+
+ <inp2:m_if check="m_ConfigEquals" name="Link_EnhancedLinks" value="1">
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="0"/>
+
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="l" field="ListingTypeId" title="lu_fld_ListingType"/>
+ <td class="field-value">
+ <inp2:m_if check="l_HasError" field="ListingTypeId">
+ <span class="field-error"><inp2:l_Error field="ListingTypeId"/></span><br />
+ </inp2:m_if>
+
+ <inp2:m_include template="in-link/elements/enhancements.elm"/>
+
+ <table>
+ <inp2:l_PredefinedOptions prefix="l" field="ListingTypeId" render_as="suggest_listing_type_element" selected="checked"/>
+ </table>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_RenderElement design="inp_edit_buttons">
+ <input type="hidden" name="suggest_confirm_template" value="in-link/links/suggest_confirm"/>
+ <input type="hidden" name="suggest_pending_confirm_template" value="in-link/links/suggest_pending_confirm"/>
+ <input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart"/>
+ <input class="button" type="submit" name="events[l][OnCreate]" value="<inp2:m_phrase label="lu_btn_Create"/>"/>
+ <input class="button" type="reset" name="events[l][OnReset]" value="<inp2:m_phrase label="lu_btn_Reset"/>"/>
+ </inp2:m_RenderElement>
+ </table>
+ </form>
+ <inp2:m_else/>
+ <inp2:m_phrase name="lu_text_NoSuggestLinkPermission"/>
+ </inp2:m_if>
+ </inp2:m_RenderElement>
+ <!-- // suggest link -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/suggest_link.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.9
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/suggest_pending_confirm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/suggest_pending_confirm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/suggest_pending_confirm.tpl (revision 12118)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link Pending - Confirmation</NAME>
+<DESC>Link Pending Confirmation page</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_SuggestLinkPendingConfirm"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.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="platform/elements/navigation_bar.elm" titles="lu_title_SuggestLinkPendingConfirm" templates="in-link/links/suggest_pending_confirm" show_category="1"/>
+ </div>
+ <div class="movable-element">
+ <!-- suggest link pending confirm -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_SuggestLinkPendingConfirm"/>
+ </inp2:m_Capture>
+
+ <inp2:m_phrase name="lu_text_SuggestLinkPendingConfirm"/><br /><br />
+ <a href="<inp2:m_Link template="in-link/my_account/my_links" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_text_MyLinks"/></a>
+ </inp2:m_RenderElement>
+ <!-- // suggest link pending confirm -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/suggest_pending_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/modify_confirm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/modify_confirm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/modify_confirm.tpl (revision 12118)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link Modified - Confirmation</NAME>
+<DESC>Link Modified Confirmation page</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_ModifyLinkConfirm"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.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="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ModifyLinkConfirm" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,in-link/links/modify_confirm"/>
+ </div>
+ <div class="movable-element">
+ <!-- modify link confirm -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_ModifyLinkConfirm"/>
+ </inp2:m_Capture>
+
+ <inp2:m_phrase name="lu_text_ModifyLinkConfirm"/><br /><br />
+ <a href="<inp2:m_Link template="in-link/my_account/my_links" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_text_MyLinks"/></a>
+ </inp2:m_RenderElement>
+ <!-- // modify link confirm -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/modify_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/add_review_confirm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/add_review_confirm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/add_review_confirm.tpl (revision 12118)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link - Review Confirmation</NAME>
+<DESC>Confirmation page for Link Review</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_AddLinkReviewConfirm"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm"/>
+ </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="platform/elements/navigation_bar.elm" titles="__item__,lu_title_AddLinkReviewConfirm" templates="__default__,in-link/links/add_review_confirm" show_category="1"/>
+ </div>
+ <div class="movable-element">
+ <!-- link add review confirm -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_AddLinkReviewConfirm"/>
+ </inp2:m_Capture>
+
+ <inp2:m_phrase name="lu_text_AddLinkReviewConfirm"/><br /><br />
+ <a href="<inp2:l_LinkLink template="__default__"/>"><inp2:l_Field name="Name"/></a>
+ </inp2:m_RenderElement>
+ <!-- // link add review confirm -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/add_review_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/pick_links.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/pick_links.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/pick_links.tpl (revision 12118)
@@ -0,0 +1,65 @@
+<!--##
+<NAME>Editor's Pick Links</NAME>
+<DESC>List of Editor's Pick Links</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_PickLinks"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+ </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="platform/elements/navigation_bar.elm" titles="lu_title_PickLinks" templates="in-link/links/pick_links"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+ <inp2:l_InitList list_name="pick_links" m_cat_id="0" m_cat_page="1" recursive="1" types="pick"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_PickLinks"/> (<inp2:l_TotalRecords list_name="pick_links"/>)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-link/elements/links.elm"/>
+
+ <inp2:m_include template="in-link/elements/sorting.elm" list_name="pick_links"/>
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:l_ListLinks list_name="pick_links" render_as="link_element" direction="H"/>
+ </table>
+
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="pick_links"/>
+ </inp2:m_RenderElement>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/pick_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.9
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/search_results.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/search_results.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/search_results.tpl (revision 12118)
@@ -0,0 +1,98 @@
+<!--##
+<NAME>Links - Search Results</NAME>
+<DESC>List of Links Search Results</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_Phrase label="lu_title_LinkSearchResults"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/quick_search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+ </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="platform/elements/navigation_bar.elm" titles="lu_title_LinkSearchResults" templates="in-link/search/search_results"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement design="content_box">
+ <inp2:l_InitList list_name="link_search_results" types="search" parent_cat_id="any" recursive="1"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_LinkSearchResults"/> (<inp2:l_TotalRecords list_name="link_search_results"/>)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-link/elements/sorting.elm" list_name="link_search_results"/>
+
+ <inp2:m_include template="in-link/elements/links.elm"/>
+ <inp2:m_include template="platform/elements/search_results.elm"/>
+
+ <!-- SEARCH SUGGESTION -->
+ <inp2:m_if check="c_SpellingSuggestions">
+ <div id="didyoumean">
+ <strong>Did you mean:</strong> <a href="<inp2:c_SuggestionLink/>"><inp2:c_SpellingSuggestions/></a>
+ </div>
+ </inp2:m_if>
+ <!-- //SEARCH SUGGESTION -->
+
+
+ <!--## THESAURUS CONTENT ##-->
+ <inp2:m_DefineElement name="thesaurus">
+ <inp2:m_DefineElement name="narrow_search_elem">
+ <li><a href="<inp2:m_Param name='url'/>"><inp2:m_Param name="term"/></a></li>
+ </inp2:m_DefineElement>
+
+ <inp2:m_if check="thesaurus_HasThesaurus">
+ <div id="popularSearchTerms" class="highlightBox">
+ <h2>Narrow Search By</h2>
+ <ul>
+ <inp2:thesaurus_PrintThesaurus render_as="narrow_search_elem"/>
+ </ul>
+ </div>
+ </inp2:m_if>
+ </inp2:m_DefineElement>
+ <!--## /THESAURUS CONTENT ##-->
+
+ <inp2:m_RenderElement name="thesaurus"/>
+
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:l_ListLinks list_name="link_search_results" render_as="link_element" show_relevance="1"/>
+ </table>
+
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="link_search_results"/>
+ </inp2:m_RenderElement>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/search_results.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.9
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/modify_pending_confirm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/modify_pending_confirm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/modify_pending_confirm.tpl (revision 12118)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link Modification Pending - Confirmation</NAME>
+<DESC>Link Modification Pending Confirmation page</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_ModifyLinkPendingConfirm"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.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="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ModifyLinkPendingConfirm" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,in-link/links/modify_pending_confirm"/>
+ </div>
+ <div class="movable-element">
+ <!-- modify link pending confirm -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_ModifyLinkPendingConfirm"/>
+ </inp2:m_Capture>
+
+ <inp2:m_phrase name="lu_text_ModifyLinkPendingConfirm"/><br /><br />
+ <a href="<inp2:m_Link template="in-link/my_account/my_links" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_text_MyLinks"/></a>
+ </inp2:m_RenderElement>
+ <!-- // modify link pending confirm -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/modify_pending_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/add_review.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/add_review.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/add_review.tpl (revision 12118)
@@ -0,0 +1,152 @@
+<!--##
+<NAME>Link - Add Review</NAME>
+<DESC>Add Link Review Form</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register" permissions="LINK.REVIEW|LINK.REVIEW.PENDING"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:l_Field name="Name"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" item_actions="1" 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="platform/elements/navigation_bar.elm" titles="__item__,lu_title_Reviews" templates="__default__,in-link/links/add_review" show_category="1"/>
+ </div>
+ <div class="movable-element">
+ <!-- LINK DETAILS -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_LinkDetails"/>
+ </inp2:m_Capture>
+
+ <table class="fullwidth table-border">
+ <tr><td class="item-padding">
+
+ <table class="fullwidth">
+ <tr>
+ <td width="25" valign="top">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/link_icon.gif" width="16" height="23" alt="" />
+ </td>
+ <td valign="top">
+
+ <span class="text-title"><inp2:l_Field name="Name"/></span>
+
+ <inp2:m_if check="l_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
+ <inp2:m_if check="l_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
+ <inp2:m_if check="l_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
+ <inp2:m_if check="l_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
+ <inp2:m_if check="l_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
+ <inp2:l_VotesIndicator render_as="rating_element"/>
+
+ <br />
+
+ <span class="item-statistics">
+ <inp2:m_phrase name="lu_Added"/>: <inp2:l_Field name="CreatedOn" format="_regional_DateFormat"/>,
+ <inp2:m_phrase name="lu_Hits"/>: <inp2:l_Field name="Hits"/>,
+ <inp2:m_phrase name="lu_Rating"/>: <inp2:l_Field name="CachedRating"/>,
+ <inp2:m_phrase name="lu_Reviews"/>: <inp2:l_Field name="CachedReviewsQty"/>,
+ <inp2:m_phrase name="lu_Votes"/>: <inp2:l_Field name="CachedVotesQty"/>
+ </span>
+ </td>
+ </tr>
+ </table>
+
+ <table>
+ <tr>
+ <td class="picture-padding" style="padding-left:25px" valign="top">
+ <inp2:m_if check="l_ImageSrc" MaxWidth="fullsize">
+ <a href="<inp2:l_ImageSrc MaxWidth="fullsize" />" class="thickbox" rel="link-images" title="<inp2:l_Field name='Name' html_escape='1'/>">
+ <inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif" /><br />
+ </a>
+ <inp2:m_else/>
+ <inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif"/><br />
+ </inp2:m_if>
+ </td>
+ <td class="text-padding" valign="top">
+ <input type="button" class="button" value="<inp2:m_phrase name="lu_btn_VisitLink"/>" onclick="open_window('<inp2:l_LinkLink template="in-link/elements/visit_link.elm"/>', 'new_window', '800', '600');"/><br /><br />
+
+ <br/><br/>
+ <inp2:m_if check="l_IsFavorite">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromWishList"/></a>
+ <inp2:m_else/>
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToWishList"/></a>
+ </inp2:m_if>
+
+ </td>
+ </tr>
+ </table>
+ </td></tr>
+ </table>
+ </inp2:m_RenderElement>
+ <!-- //LINK DETAILS -->
+ </div>
+
+ <div class="movable-element">
+ <!-- ADD REVIEW -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_ReviewThisLink"/>
+ </inp2:m_Capture>
+
+
+ <inp2:m_if check="l_HasPermission" permissions="LINK.REVIEW|LINK.REVIEW.PENDING">
+ <inp2:m_if check="l-rev_AlreadyReviewed">
+ <inp2:m_Phrase label="lu_ErrorAlreadyReviewed"/>
+ <table>
+ <inp2:l-rev_PrintList render_as="review_element" type="current_user"/>
+ </table>
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l-rev"/>
+ <inp2:m_else/>
+ <inp2:l-rev_PresetFormFields/>
+ <span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br />
+
+ <inp2:m_if check="l-rev_HasError" field="any">
+ <inp2:m_RenderElement name="error_message" />
+ </inp2:m_if>
+
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" align="absmiddle" alt="" /><br /><br />
+
+ <form method="post" action="<inp2:m_FormAction/>">
+ <table class="form-data fullwidth">
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l-rev" field="Rating" title="lu_fld_Rating"/>
+ <inp2:m_RenderElement name="inp_edit_textarea" prefix="l-rev" field="ReviewText" rows="8" cols="40" title="lu_fld_ReviewText" is_last="1"/>
+
+ <inp2:m_RenderElement design="inp_edit_buttons">
+ <input type="hidden" name="success_template" value="in-link/links/add_review_confirm" />
+ <input type="hidden" name="success_pending_template" value="in-link/links/add_review_pending_confirm" />
+ <input class="button" type="submit" name="events[l-rev][OnCreate]" value="<inp2:m_phrase label="lu_btn_Create"/>" />
+ </inp2:m_RenderElement>
+ </table>
+ </form>
+ </inp2:m_if>
+ <inp2:m_else/>
+ <inp2:m_phrase name="lu_text_NoLinkReviewPermission"/>
+ </inp2:m_if>
+ </inp2:m_RenderElement>
+ <!-- //ADD REVIEW -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/add_review.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/new_links.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/new_links.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/new_links.tpl (revision 12118)
@@ -0,0 +1,65 @@
+<!--##
+<NAME>New Links</NAME>
+<DESC>List of New Links</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_NewLinks"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+ </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="platform/elements/navigation_bar.elm" titles="lu_title_NewLinks" templates="in-link/links/new_links"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+ <inp2:l_InitList list_name="new_links" m_cat_id="0" m_cat_page="1" recursive="1" types="new"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_NewLinks"/> (<inp2:l_TotalRecords list_name="new_links"/>)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-link/elements/links.elm"/>
+
+ <inp2:m_include template="in-link/elements/sorting.elm" list_name="new_links"/>
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:l_ListLinks list_name="new_links" render_as="link_element" direction="H"/>
+ </table>
+
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="new_links"/>
+ </inp2:m_RenderElement>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/new_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.9
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/add_review_pending_confirm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/add_review_pending_confirm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/add_review_pending_confirm.tpl (revision 12118)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link - Review Pending Confirmation</NAME>
+<DESC>Confirmation page for Pending Link submition</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_AddLinkReviewPendingConfirm"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm"/>
+ </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="platform/elements/navigation_bar.elm" titles="__item__,lu_title_AddLinkReviewPendingConfirm" templates="__default__,in-link/links/add_review_pending_confirm" show_category="1"/>
+ </div>
+ <div class="movable-element">
+ <!-- add link review pending confirm -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_AddLinkReviewPendingConfirm"/>
+ </inp2:m_Capture>
+
+ <inp2:m_phrase name="lu_text_AddLinkReviewPendingConfirm"/><br /><br />
+ <a href="<inp2:l_LinkLink template="__default__"/>"><inp2:l_Field name="Name"/></a>
+ </inp2:m_RenderElement>
+ <!-- // add link review pending confirm -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/add_review_pending_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.9
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/enhancements/cancel_enhancement_confirm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/enhancements/cancel_enhancement_confirm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/enhancements/cancel_enhancement_confirm.tpl (revision 12118)
@@ -0,0 +1,87 @@
+<!--##
+<NAME>Cancel Link Enhancement - Confirmation</NAME>
+<DESC>Cancel Link Enhancement Confirmation page</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<inp2:m_RequireLogin template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_ConfirmCancelEnhancement"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+ </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="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ConfirmCancelEnhancement" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,inlinks/links/enhancements/cancel_enhancement_confirm"/>
+ </div>
+ <div class="movable-element">
+ <!-- enhancement extension confirmation -->
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_ConfirmCancelEnhancement"/>
+ </inp2:m_Capture>
+
+ <form method="POST" action="<inp2:m_FormAction />">
+ <table>
+ <tr>
+ <td>
+ <h2><inp2:m_phrase label="lu_AreYouSureToCancelEnhancement" /></h2>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <inp2:m_Phrase label="lu_CancelEnhancementConfirmation" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <br />
+ <input type="hidden" name="success_template" value="in-link/my_account/my_links" />
+ <input type="submit" class="button" name="events[ls][OnCancelEnhancement]" value="<inp2:m_phrase label="lu_btn_Yes" />" />
+ <input type="hidden" name="cancel_template" value="in-link/my_account/my_links" />
+ <input type="submit" class="button" name="events[ls][OnCancel]" value="<inp2:m_Phrase label="lu_btn_No" />" />
+ </td>
+ </tr>
+ </table>
+ </form>
+ </inp2:m_RenderElement>
+ <!-- // enhancement extension confirmation -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/enhancements/cancel_enhancement_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/enhancements/extend_enhancement_confirm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/enhancements/extend_enhancement_confirm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/enhancements/extend_enhancement_confirm.tpl (revision 12118)
@@ -0,0 +1,92 @@
+<!--##
+<NAME>Link Enhancement Extension - Confirmation</NAME>
+<DESC>Link Enhancement Extension Confirmation page</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<inp2:m_RequireLogin template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_ConfirmExtendEnhancement"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+ </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="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ConfirmExtendEnhancement" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,inlinks/links/enhancements/extend_enhancement_confirm"/>
+ </div>
+ <div class="movable-element">
+ <!-- enhancement extension confirmation -->
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_ConfirmExtendEnhancement"/>
+ </inp2:m_Capture>
+
+ <form method="POST" action="<inp2:m_FormAction />">
+ <table>
+ <tr>
+ <td>
+ <h2><inp2:m_phrase label="lu_AreYouSureToExtendEnhancement" /></h2>
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <inp2:m_Phrase label="lu_ExtendEnhancementConfirmation" />
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <br />
+ <inp2:m_if check="l_EnhanceUsingInCommerce">
+ <input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart" />
+ <input type="submit" class="button" name="events[ord][OnAddVirtualProductToCart]" value="<inp2:m_phrase label="lu_btn_Yes" />" />
+ <inp2:m_else />
+ <input type="hidden" name="success_template" value="in-link/my_account/my_links" />
+ <input type="submit" class="button" name="events[ls][OnExtendEnhancement]" value="<inp2:m_Phrase label="lu_btn_Yes" />" />
+ </inp2:m_if>
+ <input type="hidden" name="cancel_template" value="in-link/my_account/my_links" />
+ <input type="submit" class="button" name="events[ls][OnCancel]" value="<inp2:m_Phrase label="lu_btn_No" />" />
+ </td>
+ </tr>
+ </table>
+ </form>
+ </inp2:m_RenderElement>
+ <!-- // enhancement extension confirmation -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/enhancements/extend_enhancement_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/enhancements/extend_enhancement.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/enhancements/extend_enhancement.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/enhancements/extend_enhancement.tpl (revision 12118)
@@ -0,0 +1,94 @@
+<!--##
+<NAME>Link Enhancement Extension</NAME>
+<DESC>Link Enhancement Extension page</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<inp2:m_RequireLogin template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_ExtendCancelEnhancement"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+ </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="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_ExtendCancelEnhancement" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,inlinks/links/enhancements/extend_enhancement"/>
+ </div>
+ <div class="movable-element">
+ <!-- extend/cancel enhancment -->
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_ExtendCancelEnhancement"/>
+ </inp2:m_Capture>
+
+ <table>
+ <tr>
+ <td>
+ <strong><inp2:m_Phrase label="lu_fld_ListingTypeName" /></strong>:
+ </td>
+ <td>
+ <inp2:l_ListingTypeField name="Name" />
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <strong><inp2:m_Phrase label="lu_fld_ListingExpirationDate" /></strong>:
+ </td>
+ <td>
+ <inp2:l_EnhancementField name="ExpiresOn_date" />
+ </td>
+ </tr>
+ </table>
+ <br />
+
+ <inp2:m_if check="l_IsRenewalPeriod">
+ <input type="button" class="button" onclick="redirect('<inp2:l_LinkLink template="in-link/links/enhancements/extend_enhancement_confirm"/>');" value="<inp2:m_Phrase label="lu_btn_ExtendEnhancement"/>"/>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_IsReocurringEnhancement">
+ <br />
+ <inp2:m_Phrase label="lu_EnhancementSetToRenewOn" /> <inp2:l_EnhancementField name="ExpiresOn_date" />,
+ <a href="<inp2:l_LinkLink template="in-link/links/enhancements/cancel_enhancement_confirm"/>"><inp2:m_Phrase label="lu_ClickHere" /></a>
+ <inp2:m_Phrase label="lu_ToCancelEnhancement" />
+ <inp2:m_else />
+ <input type="button" class="button" onclick="redirect('<inp2:l_LinkLink template="in-link/links/enhancements/cancel_enhancement_confirm"/>');" value="<inp2:m_Phrase label="lu_btn_CancelEnhancement" />"/>
+ </inp2:m_if>
+ </inp2:m_RenderElement>
+ <!-- // extend/cancel enhancment -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/enhancements/extend_enhancement.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/enhancements/enhance_confirm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/enhancements/enhance_confirm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/enhancements/enhance_confirm.tpl (revision 12118)
@@ -0,0 +1,49 @@
+<!--##
+<NAME>Link Enhancement - Confirmation</NAME>
+<DESC>Link Enhancement Confirmation page</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_EnhancementConfirmation"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.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="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_EnhancementConfirmation" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,in-link/links/enhancements/enhance_confirm"/>
+ </div>
+ <div class="movable-element">
+ <!-- enhance link confirm -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_EnhancementConfirmation"/>
+ </inp2:m_Capture>
+
+ <inp2:m_phrase name="lu_text_EnhancementConfirmation"/><br /><br />
+ <a href="<inp2:m_Link template="in-link/my_account/my_links" m_cat_id="0" m_cat_page="1"/>"><inp2:m_Phrase name="lu_text_MyLinks"/></a>
+ </inp2:m_RenderElement>
+ <!-- // enhance link confirm -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/enhancements/enhance_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/enhancements/enhance_link.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/enhancements/enhance_link.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/enhancements/enhance_link.tpl (revision 12118)
@@ -0,0 +1,102 @@
+<!--##
+<NAME>Link Enhancement</NAME>
+<DESC>Link Enhancement Form</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_EnhanceLink"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+ </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="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks,__item__,lu_title_EnhanceLink" templates="platform/my_account/my_account,in-link/my_account/my_links,__default__,inlinks/links/enhancements/enhance_link"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_enhancements">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_EnhanceLink"/>
+ </inp2:m_Capture>
+
+ <inp2:m_RenderElement name="subsection" title="lu_ChooseListingType"/>
+
+ <inp2:m_include template="in-link/elements/enhancements.elm"/>
+
+ <inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+ <inp2:m_Phrase label="lu_notice_SubscriptionAddToCart" /><br /><br />
+ </inp2:m_if>
+
+ <form method="POST" action="<inp2:m_Link pass="all,l,ls"/>">
+ <table class="fullwidth">
+ <tr>
+ <td colspan="<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">4<inp2:m_else/>3</inp2:m_if>">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+ </td>
+ </tr>
+ <tr class="sub-section-header">
+ <td colspan="2">
+ <inp2:m_Phrase name="lu_col_Name"/>
+ </td>
+ <td>
+ <inp2:m_Phrase name="lu_col_Duration"/>
+ </td>
+
+ <inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+ <td>
+ <inp2:m_Phrase name="lu_col_Price"/>
+ </td>
+ </inp2:m_if>
+ </tr>
+ <inp2:lst_PrintList render_as="listing_type_element"/>
+ </table>
+
+ <table class="fullwidth">
+ <inp2:m_RenderElement design="inp_edit_buttons">
+ <input type="submit" class="button" name="events[ls][OnRequestEnhancement]" value="<inp2:m_phrase label="lu_btn_EnhanceLink" />"/>
+ <input type="submit" class="button" name="events[ls][OnCancel]" value="<inp2:m_Phrase label="lu_btn_Cancel" />"/>
+
+ <input type="hidden" name="shop_cart_template" value="in-commerce/checkout/shop_cart" />
+ <input type="hidden" name="success_template" value="in-link/links/enhancements/enhance_confirm" />
+ <input type="hidden" name="cancel_template" value="in-link/my_account/my_links" />
+ </inp2:m_RenderElement>
+ </table>
+ </form>
+ </inp2:m_RenderElement>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/enhancements/enhance_link.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.9
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/enhancements/enhancement_details.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/enhancements/enhancement_details.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/enhancements/enhancement_details.tpl (revision 12118)
@@ -0,0 +1,39 @@
+<!--##
+<NAME>Link Enhancement Details</NAME>
+<DESC>Link Enhancement Details page</DESC>
+<SECTION>Platform||Links||Enhancements</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_EnhancementDetails"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_DefineElement name="content">
+ <!-- enhancement details -->
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_EnhancementDetails"/>
+ </inp2:m_Capture>
+
+ <strong><inp2:m_Phrase name="lu_fld_Name"/></strong>:
+ <inp2:lst_Field name="Name" /><br />
+
+ <inp2:m_if check="lst_Field" name="Description">
+ <inp2:lst_Field name="Description"/><br />
+ </inp2:m_if>
+ <br />
+
+ <strong><inp2:m_Phrase name="lu_fld_Duration"/></strong>:
+ <inp2:lst_Field name="Duration" /> <inp2:lst_Field name="DurationType" /><br />
+
+ <inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+ <strong><inp2:m_Phrase name="lu_fld_Price"/></strong>:
+ <inp2:lst_Field name="Price" currency="selected"/><br />
+ </inp2:m_if>
+ </inp2:m_RenderElement>
+ <!-- // enhancement details -->
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/popup_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/enhancements/enhancement_details.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.4
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/hot_links.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/hot_links.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/hot_links.tpl (revision 12118)
@@ -0,0 +1,67 @@
+<!--##
+<NAME>Hot Links</NAME>
+<DESC>List of Hot Links</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_HotLinks"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+ </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="platform/elements/navigation_bar.elm" titles="lu_title_HotLinks" templates="in-link/links/hot_links"/>
+ </div>
+ <div class="movable-element">
+ <!-- HOT LINKS -->
+ <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+ <inp2:l_InitList list_name="hot_links" m_cat_id="0" m_cat_page="1" recursive="1" types="hot"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_HotLinks"/> (<inp2:l_TotalRecords list_name="hot_links"/>)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-link/elements/links.elm"/>
+
+ <inp2:m_include template="in-link/elements/sorting.elm" list_name="hot_links"/>
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:l_ListLinks list_name="hot_links" render_as="link_element" direction="H"/>
+ </table>
+
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="hot_links"/>
+ </inp2:m_RenderElement>
+ <!-- //HOT LINKS -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/hot_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.9
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/pop_links.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/pop_links.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/pop_links.tpl (revision 12118)
@@ -0,0 +1,65 @@
+<!--##
+<NAME>Popular Links</NAME>
+<DESC>List of Popular Links</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_PopLinks"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+ </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="platform/elements/navigation_bar.elm" titles="lu_title_PopLinks" templates="in-link/links/pop_links"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+ <inp2:l_InitList list_name="pop_links" m_cat_id="0" m_cat_page="1" recursive="1" types="pop"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_PopLinks"/> (<inp2:l_TotalRecords list_name="pop_links"/>)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-link/elements/links.elm"/>
+
+ <inp2:m_include template="in-link/elements/sorting.elm" list_name="pop_links"/>
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:l_ListLinks list_name="pop_links" render_as="link_element" direction="H"/>
+ </table>
+
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="pop_links"/>
+ </inp2:m_RenderElement>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/pop_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.9
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/links/suggest_confirm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/links/suggest_confirm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/links/suggest_confirm.tpl (revision 12118)
@@ -0,0 +1,47 @@
+<!--##
+<NAME>Link Suggested - Confirmation</NAME>
+<DESC>Link Suggested Confirmation page</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_SuggestLinkConfirm"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.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="platform/elements/navigation_bar.elm" titles="lu_title_SuggestLinkConfirm" templates="in-link/links/suggest_confirm" show_category="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement design="content_box">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_SuggestLinkConfirm"/>
+ </inp2:m_Capture>
+
+ <inp2:m_phrase name="lu_text_SuggestLinkConfirm"/><br /><br />
+ <a href="<inp2:m_Link template="in-link/my_account/my_links" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_text_MyLinks"/></a>
+ </inp2:m_RenderElement>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/links/suggest_confirm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.8
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/my_account/my_links.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/my_account/my_links.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/my_account/my_links.tpl (revision 12118)
@@ -0,0 +1,62 @@
+<!--##
+<NAME>User's Links</NAME>
+<DESC>List of User's Articles</DESC>
+<SECTION>My Account</SECTION>
+##-->
+
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_phrase name="lu_title_MyLinks"/>
+</inp2:m_DefineElement>
+<!--## //PAGE TITLE ELEMENT ##-->
+
+<inp2:m_RequireLogin login_template="platform/login/register"/>
+
+<!--## SIDE-BAR ELEMENT ##-->
+<inp2:m_DefineElement name="sidebar">
+ <div class="movable-area">
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.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="platform/elements/navigation_bar.elm" titles="lu_title_MyAccount,lu_title_MyLinks" templates="platform/my_account/my_account,in-link/my_account/my_links"/>
+ </div>
+ <div class="movable-element">
+ <!-- my links -->
+ <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+ <inp2:l_InitList list_name="my_links" types="my_items" parent_cat_id="0" recursive="1"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_MyLinks"/> (<inp2:l_TotalRecords list_name="my_links"/>)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-link/elements/links.elm"/>
+
+ <inp2:m_include template="in-link/elements/sorting.elm" list_name="my_links"/>
+
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="10" alt="" /><br />
+
+ <table class="item-listing fullwidth">
+ <inp2:l_ListLinks list_name="my_links" render_as="my_link_element" direction="H"/>
+ </table>
+
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="my_links"/>
+ </inp2:m_RenderElement>
+ <!-- // my links -->
+ </div>
+ </div>
+</inp2:m_DefineElement>
+
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/my_account/my_links.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.9
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/my_account/my_items.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/my_account/my_items.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/my_account/my_items.elm.tpl (revision 12118)
@@ -0,0 +1,9 @@
+<inp2:m_if check="m_ParamEquals" name="section" value="2">
+ <inp2:m_if check="m_ParamEquals" name="place" value="sidebox">
+ <inp2:m_RenderElement name="box_element" template="in-link/my_account/my_links" title="lu_MyLinks"/>
+ </inp2:m_if>
+
+ <inp2:m_if check="m_ParamEquals" name="place" value="contentbox">
+ <inp2:m_RenderElement name="my_account_element" template="in-link/my_account/my_links" title="lu_MyLinks" description="lu_description_MyLinks" icon_image="in-link/img/ic_mylinks46.gif"/>
+ </inp2:m_if>
+</inp2:m_if>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/my_account/my_items.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/designs/section.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/designs/section.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/designs/section.tpl (revision 12118)
@@ -0,0 +1,96 @@
+<!--##
+<NAME>Link - Section Design</NAME>
+<DESC>Link - Section Design</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:m_include template="platform/elements/title_bar.elm"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/related_searches.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <div class="movable-area">
+ <div class="movable-element">
+ <inp2:m_include template="platform/elements/navigation_bar.elm"/>
+ </div>
+ <div class="movable-element">
+ <!--## SUB-CATEGORIES ##-->
+ <inp2:m_include template="platform/elements/content_boxes/sub_categories.elm"/>
+ <!--## /SUB-CATEGORIES ##-->
+ </div>
+ <div class="movable-element">
+ <!--## links in category ##-->
+ <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_links">
+ <inp2:l_InitList list_name="items_in_current_cat"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_Links"/> (<inp2:l_TotalRecords list_name="items_in_current_cat"/>)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-link/elements/links.elm"/>
+
+ <inp2:m_include template="in-link/elements/sorting.elm" list_name="items_in_current_cat"/>
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:l_ListLinks list_name="items_in_current_cat" render_as="link_element" direction="H"/>
+ </table>
+
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="items_in_current_cat"/>
+ </inp2:m_RenderElement>
+ <!--## // links in category ##-->
+ </div>
+ </div>
+
+ <!--## RELATED CATEGORIES ##-->
+ <!--##
+<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_RelatedCategories"/>
+ </inp2:m_Capture>
+
+ <inp2:m_include template="platform/elements/content_boxes/related_items.elm" related_to="$related_to" />
+ </inp2:m_RenderElement>
+</div>
+ ##-->
+ <!--## // RELATED CATEGORIES ##-->
+
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/designs/section.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/designs/paid.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/designs/paid.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/designs/paid.tpl (revision 12118)
@@ -0,0 +1,490 @@
+<!--##
+<NAME>Link - Detail Design (paid)</NAME>
+<DESC>Link - Detail Design (paid)</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:l_Field name="Name"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <div class="movable-area">
+ <div class="movable-element">
+ <inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
+ </div>
+ <div class="movable-element">
+ <!-- link details -->
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <strong><inp2:l_Field name="Name"/></strong>
+ </inp2:m_Capture>
+
+ <table class="fullwidth table-border">
+ <tr>
+ <td class="item-padding">
+
+ <table class="fullwidth">
+ <tr>
+ <td width="25" valign="top">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/link_icon.gif" width="16" height="23" alt="" />
+ </td>
+ <td valign="top">
+
+ <span class="text-title">
+ <a href="<inp2:l_LinkLink template="in-link/elements/visit_link.elm"/>" target="_blank"><inp2:l_Field name="Name"/></a>
+ </span>
+
+ <inp2:m_if check="l_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
+ <inp2:m_if check="l_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
+ <inp2:m_if check="l_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
+ <inp2:m_if check="l_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
+ <inp2:m_if check="l_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
+ <inp2:l_VotesIndicator render_as="rating_element"/>
+
+ <br />
+
+ <span class="item-statistics">
+ <inp2:m_phrase name="lu_Added"/>: <inp2:l_Field name="CreatedOn" format="_regional_DateFormat"/>,
+ <inp2:m_phrase name="lu_Hits"/>: <inp2:l_Field name="Hits"/>,
+ <inp2:m_phrase name="lu_Rating"/>: <inp2:l_Field name="CachedRating"/>,
+ <inp2:m_phrase name="lu_Reviews"/>: <inp2:l_Field name="CachedReviewsQty"/>,
+ <inp2:m_phrase name="lu_Votes"/>: <inp2:l_Field name="CachedVotesQty"/>
+ </span>
+ </td>
+ </tr>
+ </table>
+
+ <table>
+ <tr>
+ <td class="picture-padding" style="padding-left:25px" valign="top">
+ <inp2:m_if check="l_ImageSrc" MaxWidth="fullsize">
+ <a href="<inp2:l_ImageSrc MaxWidth="fullsize" />" class="thickbox" rel="link-images" title="<inp2:l_Field name='Name' html_escape='1'/>">
+ <inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" /><br />
+ </a>
+ <inp2:m_else/>
+ <inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br />
+ </inp2:m_if>
+ </td>
+ <td class="text-padding" valign="top">
+ <inp2:l_Field name="Description" nl2br="1"/>
+
+ <br/><br/>
+ <inp2:m_if check="l_IsFavorite">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+ <inp2:m_else/>
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+ </inp2:m_if>
+
+ </td>
+ </tr>
+ </table>
+ <br />
+
+ <!--## LIST LINK ADITIONAL IMAGES ##-->
+ <inp2:m_if check="l_HasAdditionalImages">
+
+ <!--## ADDITIONAL IMAGE ELEMENT ##-->
+ <inp2:m_DefineElement name="additional_image_element">
+ <td>
+ <a href="<inp2:ImageSrc MaxWidth="fullsize"/>" class="thickbox" rel="link-images" title="<inp2:m_param name="alt"/>">
+ <img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
+ </a>
+ </td>
+ <inp2:m_if check="m_Param" name="not_last">
+ <td>
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
+ </td>
+ </inp2:m_if>
+ </inp2:m_DefineElement>
+ <!--## /ADDITIONAL IMAGE ELEMENT ##-->
+
+ <inp2:m_RenderElement design="content_box_subsection">
+ <inp2:m_Capture to_var="subsection_header">
+ <strong><inp2:m_Phrase name="lu_section_AdditionalImages"/></strong>
+ </inp2:m_Capture>
+
+ <table>
+ <tr>
+ <inp2:l_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" MaxHeight="75" DefaultHeight="75" DefaultImage="platform/img/no_picture.gif"/>
+ </tr>
+ </table>
+ <br /><br />
+ </inp2:m_RenderElement>
+ </inp2:m_if>
+ <!--## //LIST LINK ADITIONAL IMAGES ##-->
+
+ <!--## LIST LINK FILES ##-->
+ <inp2:m_RenderElement design="content_box_subsection" data_exists="1">
+ <inp2:m_Capture to_var="subsection_header">
+ <strong><inp2:m_Phrase name="lu_section_Files"/></strong>
+ </inp2:m_Capture>
+ <table>
+ <inp2:l-file_PrintList render_as="file_element" columns="1" direction="V" per_page="10" />
+ </table>
+ <br /><br />
+ </inp2:m_RenderElement>
+ <!--## //LIST LINK FILES ##-->
+
+ <br />
+ <table>
+ <tr>
+ <td class="tab-left-padding <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-line </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-line </inp2:m_if>">
+
+
+ <script language="JavaScript">
+ function tabLinkDetailPress(tab_name) {
+ if ( tab_name == "contact_information") {
+ document.getElementById("contact_information").style.display = '';
+ document.getElementById("request_information").style.display = 'none';
+ document.getElementById("tab_contact_information").className="active-tab";
+ document.getElementById("tab_request_information").className="inactive-tab";
+ }
+
+ if ( tab_name == "request_information") {
+ document.getElementById("contact_information").style.display = 'none';
+ document.getElementById("request_information").style.display = '';
+ document.getElementById("tab_contact_information").className="inactive-tab";
+ document.getElementById("tab_request_information").className="active-tab";
+ }
+ }
+ </script>
+
+
+ <table>
+ <tr>
+ <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
+ <td id="tab_contact_information" class="<inp2:m_if check="m_Get" name="ContactForm_HasErrors">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
+ <a href="#" onclick="tabLinkDetailPress('contact_information'); return false;"><inp2:m_Phrase name="lu_contact_information"/></a></td>
+ <td width="8">&nbsp;</td>
+ </inp2:m_if>
+
+ <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
+ <inp2:m_if check="m_Get" name="ContactForm_HasErrors">
+ <td id="tab_request_information" class="active-tab">
+ <a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
+ <inp2:m_else/>
+ <td id="tab_request_information" class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
+ <a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
+ </inp2:m_if>
+ <td width="8">&nbsp;</td>
+ </inp2:m_if>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-content </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-content </inp2:m_if>">
+
+
+ <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
+ <div id="contact_information" <inp2:m_if check="m_Get" name="ContactForm_HasErrors">style="display:none"</inp2:m_if>
+ <table width="375">
+ <tr>
+ <td class="item-padding" align="left">
+
+ <table class="fullwidth">
+ <tr>
+ <td width="100">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
+ </td>
+ <td>
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
+ </td>
+ </tr>
+
+ <inp2:m_if check="l_Field" name="cust_LinkAddress">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkAddress"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkAddress"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_Field" name="cust_LinkCity">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkCity"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkCity"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_Field" name="cust_LinkState">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkState"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkState"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_Field" name="cust_LinkZipCode">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkZipCode"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkZipCode"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_Field" name="cust_LinkCountry">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkCountry"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkCountry"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_Field" name="cust_LinkPhone">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkPhone"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkPhone"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
+ <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
+ <tr>
+ <td colspan="2" class="field-name">
+ <div id="google_map_link">
+ <a href="#" onclick="googleMapPress(); return false;"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/map_icon.gif" width="17" height="17" alt="" /></a> <a href="#" onclick="googleMapPress(); return false;"><inp2:m_Phrase name="lu_GoogleMaps"/></a><br />
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+ </inp2:m_if>
+
+ </table>
+ <br />
+
+
+ <!--## Google Maps ##-->
+ <inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
+ <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
+ <script language="JavaScript">
+ function googleMapPress(){
+ if (document.getElementById("google_map").style.display == 'none') {
+ document.getElementById("google_map").style.display = '';
+ } else {document.getElementById("google_map").style.display = 'none';}}
+ </script>
+ <div id="google_map" style="display:none">
+
+ <script type="text/javascript"> addLoadEvent(function() {showaddress('<inp2:l_GetGoogleAddress/>', '<inp2:l_GetGoogleAddress display_info="1"/>')}); </script>
+ <div id="map" style="width: 350px; height: 300px; border: 1px solid #616161;"></div>
+ </div>
+ </inp2:m_if>
+ </inp2:m_if>
+ <!--## /Google Maps ##-->
+
+ </td>
+ </tr>
+ </table>
+ </div>
+ </inp2:m_if>
+
+ <!--## Contact Link Form ##-->
+ <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
+ <div id="request_information" style="<inp2:m_if check="m_Get" name="ContactForm_HasErrors"><inp2:m_else/><inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">display:none</inp2:m_if></inp2:m_if>">
+ <form method="post" action="<inp2:m_FormAction/>">
+ <table class="form-data" width="375">
+
+ <inp2:m_DefineElement name="inp_custom_textbox" field="" title="" style="" default="" multiline="0">
+ <tr>
+ <td class="field-name" nowrap="nowrap">
+ <label for="<inp2:m_Param name="field"/>">
+ <span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
+ <span class="field-required"> *</span>:
+ </label>
+ </td>
+ <td class="field-value">
+ <inp2:m_if check="m_Get" var="error_{$field}">
+ <span class="field-error"><inp2:m_Phrase name="lu_error_required"/></span><br/>
+ </inp2:m_if>
+
+ <inp2:m_if check="m_Param" name="multiline">
+ <textarea class="input-text" name="<inp2:m_Param name="field"/>" style="<inp2:m_Param name="style"/>"><inp2:m_Get var="$field"/></textarea>
+ <inp2:m_else/>
+ <inp2:m_if check="m_Get" var="$field">
+ <input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_Get var="$field"/>">
+ <inp2:m_else/>
+ <input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_if check="m_Param" name="default"><inp2:u_Field name="$default"/></inp2:m_if>"/>
+ </inp2:m_if>
+ </inp2:m_if>
+ <input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
+ </td>
+ </tr>
+ </inp2:m_DefineElement>
+
+ <inp2:m_DefineElement name="inp_custom_captcha" style="" field="" title="lu_fld_Captcha">
+ <tr>
+ <td class="field-name" nowrap="nowrap">
+ <label for="<inp2:m_Param name="field"/>">
+ <span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
+ <span class="field-required"> *</span>:
+ </label>
+ </td>
+ <td class="field-value">
+ <inp2:m_if check="m_Get" var="error_{$field}">
+ <span class="field-error"><inp2:m_Phrase name="lu_captcha_error"/></span><br />
+ </inp2:m_if>
+
+ <img src="<inp2:m_Link template="platform/inc/captcha_image.elm" var="{$prefix}_captcha_code" w="150" h="30"/>" alt="<inp2:m_Phrase name="$title"/>"/><br />
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""/><br />
+ <input type="text" class="input-text" name="<inp2:m_Param name="field"/>" value="" tabindex="" style="<inp2:m_Param name="style"/>">
+ <input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+ </inp2:m_DefineElement>
+
+ <inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormFullName" title="lu_fld_FullName" style="width: 200px;" default="FullName"/>
+ <inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormEmail" title="lu_fld_Email" style="width: 200px;" default="Email"/>
+ <inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormSubject" title="lu_fld_Subject" style="width: 200px;"/>
+ <inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormBody" title="lu_fld_Body" style="width: 200px; height: 100px;" multiline="1"/>
+ <inp2:m_RenderElement name="inp_custom_captcha" field="ContactFormCaptcha" prefix="l" style="width: 200px;" />
+
+ <tr>
+ <td colspan="2" class="item-padding" align="right">
+ <input type="hidden" name="success_template" value="platform/thankyou"/>
+ <input type="hidden" name="success_label_header" value="lu_header_Thankyou"/>
+ <input type="hidden" name="success_label_body" value="lu_Link_ContactFormThankyouText"/>
+ <input class="button" type="submit" name="events[l][OnContactFormSubmit]" value="<inp2:m_phrase label="lu_btn_Contact"/>"/>
+ <input class="button" type="reset" name="events[l][OnContactFormReset]" value="<inp2:m_phrase label="lu_btn_Reset"/>"/>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </div>
+ </inp2:m_if>
+ <!--## //Contact Link Form ##-->
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </inp2:m_RenderElement>
+ <!--## // link details ##-->
+ </div>
+
+ <div class="movable-element">
+ <!--## link reviews ##-->
+ <inp2:m_DefineElement name="no_reviews">
+ <inp2:m_phrase name="lu_NoReviews"/>
+ </inp2:m_DefineElement>
+
+ <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_section_Reviews"/> (<inp2:l-rev_TotalRecords/>)
+ </inp2:m_Capture>
+
+ <table>
+ <inp2:l-rev_PrintList render_as="review_element"/>
+ </table>
+
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l-rev"/>
+ </inp2:m_RenderElement>
+ <!--## // link reviews ##-->
+ </div>
+
+ <div class="movable-element">
+ <!--## RELATED TO LINK ITEMS ##-->
+ <inp2:m_RenderElement design="content_box" related_to="Link" 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.elm" related_to="$related_to" skip_prefixes="c" />
+ </inp2:m_RenderElement>
+ <!--## // RELATED TO LINK ITEMS ##-->
+ </div>
+ </div>
+
+ <!--## INCREASE HITS COUNTER ##-->
+ <inp2:l_RegisterHit/>
+
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1" related_to="$related_to"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/designs/paid.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/designs/standard.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/designs/standard.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/designs/standard.tpl (revision 12118)
@@ -0,0 +1,490 @@
+<!--##
+<NAME>Link - Detail Design (standard)</NAME>
+<DESC>Link - Detail Design (standard)</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+<!--## PAGE TITLE ELEMENT ##-->
+<inp2:m_DefineElement name="page_title">
+ <inp2:l_Field name="Name"/>
+</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="platform/elements/side_boxes/login.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="platform/elements/side_boxes/search.elm" design="blue_box"/>
+ </div>
+ <div class="movable-element">
+ <inp2:m_RenderElement name="in-link/elements/side_boxes/action_box.elm" item_actions="1" design="blue_box"/>
+ </div>
+ </div>
+</inp2:m_DefineElement>
+<!--## //SIDE-BAR ELEMENT ##-->
+
+<!--## MAIN CONTENT ##-->
+<inp2:m_DefineElement name="content">
+ <div class="movable-area">
+ <div class="movable-element">
+ <inp2:m_include template="platform/elements/navigation_bar.elm" titles="__item__" templates="__default__" show_category="1"/>
+ </div>
+ <div class="movable-element">
+ <!-- link details -->
+ <inp2:m_RenderElement design="content_box">
+
+ <inp2:m_Capture to_var="header">
+ <strong><inp2:l_Field name="Name"/></strong>
+ </inp2:m_Capture>
+
+ <table class="fullwidth table-border">
+ <tr>
+ <td class="item-padding">
+
+ <table class="fullwidth">
+ <tr>
+ <td width="25" valign="top">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/link_icon.gif" width="16" height="23" alt="" />
+ </td>
+ <td valign="top">
+
+ <span class="text-title">
+ <a href="<inp2:l_LinkLink template="in-link/elements/visit_link.elm"/>" target="_blank"><inp2:l_Field name="Name"/></a>
+ </span>
+
+ <inp2:m_if check="l_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
+ <inp2:m_if check="l_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
+ <inp2:m_if check="l_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
+ <inp2:m_if check="l_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
+ <inp2:m_if check="l_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
+ <inp2:l_VotesIndicator render_as="rating_element"/>
+
+ <br />
+
+ <span class="item-statistics">
+ <inp2:m_phrase name="lu_Added"/>: <inp2:l_Field name="CreatedOn" format="_regional_DateFormat"/>,
+ <inp2:m_phrase name="lu_Hits"/>: <inp2:l_Field name="Hits"/>,
+ <inp2:m_phrase name="lu_Rating"/>: <inp2:l_Field name="CachedRating"/>,
+ <inp2:m_phrase name="lu_Reviews"/>: <inp2:l_Field name="CachedReviewsQty"/>,
+ <inp2:m_phrase name="lu_Votes"/>: <inp2:l_Field name="CachedVotesQty"/>
+ </span>
+ </td>
+ </tr>
+ </table>
+
+ <table>
+ <tr>
+ <td class="picture-padding" style="padding-left:25px" valign="top">
+ <inp2:m_if check="l_ImageSrc" MaxWidth="fullsize">
+ <a href="<inp2:l_ImageSrc MaxWidth="fullsize" />" class="thickbox" rel="link-images" title="<inp2:l_Field name='Name' html_escape='1'/>">
+ <inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" /><br />
+ </a>
+ <inp2:m_else/>
+ <inp2:l_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br />
+ </inp2:m_if>
+ </td>
+ <td class="text-padding" valign="top">
+ <inp2:l_Field name="Description" nl2br="1"/>
+
+ <br/><br/>
+ <inp2:m_if check="l_IsFavorite">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+ <inp2:m_else/>
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:l_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+ </inp2:m_if>
+
+ </td>
+ </tr>
+ </table>
+ <br />
+
+ <!--## LIST LINK ADITIONAL IMAGES ##-->
+ <inp2:m_if check="l_HasAdditionalImages">
+
+ <!--## ADDITIONAL IMAGE ELEMENT ##-->
+ <inp2:m_DefineElement name="additional_image_element">
+ <td>
+ <a href="<inp2:ImageSrc MaxWidth="fullsize"/>" class="thickbox" rel="link-images" title="<inp2:m_param name="alt"/>">
+ <img src="<inp2:m_param name="img_path"/>" title="<inp2:m_param name="alt"/>" alt="<inp2:m_param name="alt"/>" <inp2:m_param name="img_size"/> border="0" /><br />
+ </a>
+ </td>
+ <inp2:m_if check="m_Param" name="not_last">
+ <td>
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="8" height="1" alt="" />
+ </td>
+ </inp2:m_if>
+ </inp2:m_DefineElement>
+ <!--## /ADDITIONAL IMAGE ELEMENT ##-->
+
+ <inp2:m_RenderElement design="content_box_subsection">
+ <inp2:m_Capture to_var="subsection_header">
+ <strong><inp2:m_Phrase name="lu_section_AdditionalImages"/></strong>
+ </inp2:m_Capture>
+
+ <table>
+ <tr>
+ <inp2:l_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" MaxHeight="75" DefaultHeight="75" DefaultImage="platform/img/no_picture.gif"/>
+ </tr>
+ </table>
+ <br /><br />
+ </inp2:m_RenderElement>
+ </inp2:m_if>
+ <!--## //LIST LINK ADITIONAL IMAGES ##-->
+
+ <!--## LIST LINK FILES ##-->
+ <inp2:m_RenderElement design="content_box_subsection" data_exists="1">
+ <inp2:m_Capture to_var="subsection_header">
+ <strong><inp2:m_Phrase name="lu_section_Files"/></strong>
+ </inp2:m_Capture>
+ <table>
+ <inp2:l-file_PrintList render_as="file_element" columns="1" direction="V" per_page="10" />
+ </table>
+ <br /><br />
+ </inp2:m_RenderElement>
+ <!--## //LIST LINK FILES ##-->
+
+ <br />
+ <table>
+ <tr>
+ <td class="tab-left-padding <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-line </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-line </inp2:m_if>">
+
+
+ <script language="JavaScript">
+ function tabLinkDetailPress(tab_name) {
+ if ( tab_name == "contact_information") {
+ document.getElementById("contact_information").style.display = '';
+ document.getElementById("request_information").style.display = 'none';
+ document.getElementById("tab_contact_information").className="active-tab";
+ document.getElementById("tab_request_information").className="inactive-tab";
+ }
+
+ if ( tab_name == "request_information") {
+ document.getElementById("contact_information").style.display = 'none';
+ document.getElementById("request_information").style.display = '';
+ document.getElementById("tab_contact_information").className="inactive-tab";
+ document.getElementById("tab_request_information").className="active-tab";
+ }
+ }
+ </script>
+
+
+ <table>
+ <tr>
+ <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
+ <td id="tab_contact_information" class="<inp2:m_if check="m_Get" name="ContactForm_HasErrors">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
+ <a href="#" onclick="tabLinkDetailPress('contact_information'); return false;"><inp2:m_Phrase name="lu_contact_information"/></a></td>
+ <td width="8">&nbsp;</td>
+ </inp2:m_if>
+
+ <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
+ <inp2:m_if check="m_Get" name="ContactForm_HasErrors">
+ <td id="tab_request_information" class="active-tab">
+ <a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
+ <inp2:m_else/>
+ <td id="tab_request_information" class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">inactive-tab<inp2:m_else/>active-tab</inp2:m_if>">
+ <a href="#" onclick="tabLinkDetailPress('request_information'); return false;"><inp2:m_Phrase name="lu_Link_RequestInformation"/></a></td>
+ </inp2:m_if>
+ <td width="8">&nbsp;</td>
+ </inp2:m_if>
+ </tr>
+ </table>
+
+ </td>
+ </tr>
+ <tr>
+ <td class="<inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or" inverse>tab-bottom-content </inp2:m_if> <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">tab-bottom-content </inp2:m_if>">
+
+
+ <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">
+ <div id="contact_information" <inp2:m_if check="m_Get" name="ContactForm_HasErrors">style="display:none"</inp2:m_if>
+ <table width="375">
+ <tr>
+ <td class="item-padding" align="left">
+
+ <table class="fullwidth">
+ <tr>
+ <td width="100">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
+ </td>
+ <td>
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br />
+ </td>
+ </tr>
+
+ <inp2:m_if check="l_Field" name="cust_LinkAddress">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkAddress"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkAddress"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_Field" name="cust_LinkCity">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkCity"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkCity"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_Field" name="cust_LinkState">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkState"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkState"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_Field" name="cust_LinkZipCode">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkZipCode"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkZipCode"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_Field" name="cust_LinkCountry">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkCountry"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkCountry"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="l_Field" name="cust_LinkPhone">
+
+ <tr>
+ <td class="field-name">
+ <inp2:m_Phrase name="lu_fld_LinkPhone"/>:
+ </td>
+ <td>
+ <inp2:l_Field name="cust_LinkPhone"/>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
+ <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
+ <tr>
+ <td colspan="2" class="field-name">
+ <div id="google_map_link">
+ <a href="#" onclick="googleMapPress(); return false;"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/map_icon.gif" width="17" height="17" alt="" /></a> <a href="#" onclick="googleMapPress(); return false;"><inp2:m_Phrase name="lu_GoogleMaps"/></a><br />
+ </div>
+ </td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="3" height="1" alt=""/><br /></div>
+ </td>
+ </tr>
+ </inp2:m_if>
+ </inp2:m_if>
+
+ </table>
+ <br />
+
+
+ <!--## Google Maps ##-->
+ <inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
+ <inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkCountry" condition="and">
+ <script language="JavaScript">
+ function googleMapPress(){
+ if (document.getElementById("google_map").style.display == 'none') {
+ document.getElementById("google_map").style.display = '';
+ } else {document.getElementById("google_map").style.display = 'none';}}
+ </script>
+ <div id="google_map" style="display:none">
+
+ <script type="text/javascript"> addLoadEvent(function() {showaddress('<inp2:l_GetGoogleAddress/>', '<inp2:l_GetGoogleAddress display_info="1"/>')}); </script>
+ <div id="map" style="width: 350px; height: 300px; border: 1px solid #616161;"></div>
+ </div>
+ </inp2:m_if>
+ </inp2:m_if>
+ <!--## /Google Maps ##-->
+
+ </td>
+ </tr>
+ </table>
+ </div>
+ </inp2:m_if>
+
+ <!--## Contact Link Form ##-->
+ <inp2:m_if check="m_GetConfig" name="l_EnableLinkContactForm">
+ <div id="request_information" style="<inp2:m_if check="m_Get" name="ContactForm_HasErrors"><inp2:m_else/><inp2:m_if check="l_HasValue" fields="cust_LinkAddress,cust_LinkCity,cust_LinkState,cust_LinkZipCode,cust_LinkCountry,cust_LinkPhone" condition="or">display:none</inp2:m_if></inp2:m_if>">
+ <form method="post" action="<inp2:m_FormAction/>">
+ <table class="form-data" width="375">
+
+ <inp2:m_DefineElement name="inp_custom_textbox" field="" title="" style="" default="" multiline="0">
+ <tr>
+ <td class="field-name" nowrap="nowrap">
+ <label for="<inp2:m_Param name="field"/>">
+ <span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
+ <span class="field-required"> *</span>:
+ </label>
+ </td>
+ <td class="field-value">
+ <inp2:m_if check="m_Get" var="error_{$field}">
+ <span class="field-error"><inp2:m_Phrase name="lu_error_required"/></span><br/>
+ </inp2:m_if>
+
+ <inp2:m_if check="m_Param" name="multiline">
+ <textarea class="input-text" name="<inp2:m_Param name="field"/>" style="<inp2:m_Param name="style"/>"><inp2:m_Get var="$field"/></textarea>
+ <inp2:m_else/>
+ <inp2:m_if check="m_Get" var="$field">
+ <input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_Get var="$field"/>">
+ <inp2:m_else/>
+ <input type="text" name="<inp2:m_Param name="field"/>" class="input-text" style="<inp2:m_Param name="style"/>" value="<inp2:m_if check="m_Param" name="default"><inp2:u_Field name="$default"/></inp2:m_if>"/>
+ </inp2:m_if>
+ </inp2:m_if>
+ <input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
+ </td>
+ </tr>
+ </inp2:m_DefineElement>
+
+ <inp2:m_DefineElement name="inp_custom_captcha" style="" field="" title="lu_fld_Captcha">
+ <tr>
+ <td class="field-name" nowrap="nowrap">
+ <label for="<inp2:m_Param name="field"/>">
+ <span <inp2:m_if check="m_Get" var="error_{$field}">class="field-required"</inp2:m_if>><inp2:m_Phrase name="$title"/></span>
+ <span class="field-required"> *</span>:
+ </label>
+ </td>
+ <td class="field-value">
+ <inp2:m_if check="m_Get" var="error_{$field}">
+ <span class="field-error"><inp2:m_Phrase name="lu_captcha_error"/></span><br />
+ </inp2:m_if>
+
+ <img src="<inp2:m_Link template="platform/inc/captcha_image.elm" var="{$prefix}_captcha_code" w="150" h="30"/>" alt="<inp2:m_Phrase name="$title"/>"/><br />
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt=""/><br />
+ <input type="text" class="input-text" name="<inp2:m_Param name="field"/>" value="" tabindex="" style="<inp2:m_Param name="style"/>">
+ <input type="hidden" name="FormRequiredFields[]" value="<inp2:m_Param name="field"/>"/>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_field_separator" is_last="$is_last"/>
+ </inp2:m_DefineElement>
+
+ <inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormFullName" title="lu_fld_FullName" style="width: 200px;" default="FullName"/>
+ <inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormEmail" title="lu_fld_Email" style="width: 200px;" default="Email"/>
+ <inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormSubject" title="lu_fld_Subject" style="width: 200px;"/>
+ <inp2:m_RenderElement name="inp_custom_textbox" field="ContactFormBody" title="lu_fld_Body" style="width: 200px; height: 100px;" multiline="1"/>
+ <inp2:m_RenderElement name="inp_custom_captcha" field="ContactFormCaptcha" prefix="l" style="width: 200px;" />
+
+ <tr>
+ <td colspan="2" class="item-padding" align="right">
+ <input type="hidden" name="success_template" value="platform/thankyou"/>
+ <input type="hidden" name="success_label_header" value="lu_header_Thankyou"/>
+ <input type="hidden" name="success_label_body" value="lu_Link_ContactFormThankyouText"/>
+ <input class="button" type="submit" name="events[l][OnContactFormSubmit]" value="<inp2:m_phrase label="lu_btn_Contact"/>"/>
+ <input class="button" type="reset" name="events[l][OnContactFormReset]" value="<inp2:m_phrase label="lu_btn_Reset"/>"/>
+ </td>
+ </tr>
+ </table>
+ </form>
+ </div>
+ </inp2:m_if>
+ <!--## //Contact Link Form ##-->
+
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </inp2:m_RenderElement>
+ <!--## // link details ##-->
+ </div>
+
+ <div class="movable-element">
+ <!--## link reviews ##-->
+ <inp2:m_DefineElement name="no_reviews">
+ <inp2:m_phrase name="lu_NoReviews"/>
+ </inp2:m_DefineElement>
+
+ <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_reviews">
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_section_Reviews"/> (<inp2:l-rev_TotalRecords/>)
+ </inp2:m_Capture>
+
+ <table>
+ <inp2:l-rev_PrintList render_as="review_element"/>
+ </table>
+
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l-rev"/>
+ </inp2:m_RenderElement>
+ <!--## // link reviews ##-->
+ </div>
+
+ <div class="movable-element">
+ <!--## RELATED TO LINK ITEMS ##-->
+ <inp2:m_RenderElement design="content_box" related_to="Link" 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.elm" related_to="$related_to" skip_prefixes="c" />
+ </inp2:m_RenderElement>
+ <!--## // RELATED TO LINK ITEMS ##-->
+ </div>
+ </div>
+
+ <!--## INCREASE HITS COUNTER ##-->
+ <inp2:l_RegisterHit/>
+
+</inp2:m_DefineElement>
+<!--## /MAIN CONTENT ##-->
+
+<!--## DESIGN TEMPLATE ##-->
+<inp2:m_include template="platform/designs/default_design.des" pass_params="1" related_to="$related_to"/>
+<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/designs/standard.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/designs/.smsignore
===================================================================
--- branches/5.0.x/themes/default2009/in-link/designs/.smsignore (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/designs/.smsignore (revision 12118)
@@ -0,0 +1 @@
+.*\.tpl
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/designs/.smsignore
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/designs/detail.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/designs/detail.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/designs/detail.tpl (revision 12118)
@@ -0,0 +1,8 @@
+<!--##
+<NAME>Link - Detail Design (standard)</NAME>
+<DESC>Link - Detail Design (standard)</DESC>
+<SECTION>Platform||Links</SECTION>
+##-->
+<!--## DISPLAY LINK DETAILS TEMPLATE -- DEFAULT OR CUSTOM ##-->
+<inp2:l_DisplayDetailTemplate default_template="in-link/designs/standard" />
+<!--## //DISPLAY LINK DETAILS TEMPLATE -- DEFAULT OR CUSTOM ##-->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/designs/detail.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/.smsignore
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/.smsignore (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/.smsignore (revision 12118)
@@ -0,0 +1 @@
+.*\.xml\.tpl
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/.smsignore
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/html_head.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/html_head.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/html_head.elm.tpl (revision 12118)
@@ -0,0 +1,11 @@
+<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase module="In-Link"/>inc/styles.css" type="text/css" />
+<!--<script type="text/javascript" src="<inp2:m_TemplatesBase module="In-Link"/>inc/script.js"></script>-->
+
+<!--## GOOGLE MAPS API INTEGRATION ##-->
+<inp2:m_if check="m_IsActive" t="in-link/detail">
+ <inp2:m_if check="m_GetConfig" name="l_EnableGoogleMaps">
+<script type="text/javascript" src="http://www.google.com/jsapi?key=<inp2:m_GetConfig name="l_GoogleMapsAPIKey"/>"></script>
+<script type="text/javascript" src="<inp2:m_TemplatesBase module="In-Link"/>inc/googlemaps.js"></script>
+ </inp2:m_if>
+</inp2:m_if>
+<!--## GOOGLE MAPS API INTEGRATION ##-->
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/html_head.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/enhancements.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/enhancements.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/enhancements.elm.tpl (revision 12118)
@@ -0,0 +1,51 @@
+<inp2:m_DefineElement name="no_enhancements">
+ <inp2:m_Phrase name="lu_NoEnhancments"/>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="listing_type_element">
+ <tr>
+ <td colspan="<inp2:m_if check="m_ModuleEnabled" module="In-Commerce">4<inp2:m_else/>3</inp2:m_if>">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /></div>
+ </td>
+ </tr>
+
+ <tr class="listing-row">
+ <td width="20">
+ <input type="radio" name="<inp2:l_InputName field="ListingTypeId" />" value="<inp2:Field name="ListingTypeId"/>" <inp2:m_if check="IsDefault">checked="checked"</inp2:m_if>/>
+ </td>
+ <td width="250">
+ <a href="<inp2:l_ListingTypeDetailsLink template="in-link/links/enhancements/enhancement_details"/>" onclick="return open_window(this.href, 'listing_details', 545, 420);"><inp2:Field name="Name" /></a>
+ </td>
+
+ <inp2:m_if check="m_ModuleEnabled" module="In-Commerce">
+ <td width="100">
+ <inp2:Field name="Duration" /> <inp2:Field name="DurationType" />
+ </td>
+
+ <td>
+ <inp2:Field name="Price" currency="selected"/>
+ </td>
+ <inp2:m_else/>
+ <td>
+ <inp2:Field name="Duration" /> <inp2:Field name="DurationType" />
+ </td>
+ </inp2:m_if>
+ </tr>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="suggest_listing_type_element">
+ <tr>
+ <td>
+ <input type="radio" tabindex="<inp2:m_get param="tab_index"/>" <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"/>">
+ </td>
+ <td>
+ <label for="<inp2:{$prefix}_InputName field="$field"/>_<inp2:m_param name="key"/>">
+ <inp2:m_if check="m_Param" name="key">
+ <a href="<inp2:l_ListingTypeDetailsLink template="in-link/links/enhancements/enhancement_details"/>" onclick="return open_window(this.href, 'listing_details', 545, 420);"><inp2:m_param name="option"/></a>
+ <inp2:m_else/>
+ <inp2:m_Phrase name="$option"/>
+ </inp2:m_if>
+ </label>
+ </td>
+ </tr>
+</inp2:m_DefineElement>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/enhancements.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/action_box.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/side_boxes/action_box.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/side_boxes/action_box.elm.tpl (revision 12118)
@@ -0,0 +1,40 @@
+<inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_ActionBox"/>
+</inp2:m_Capture>
+
+<table width="100%" style="border-width: 0px;">
+ <inp2:m_RenderElement name="box_element" template="platform/categories/suggest_category" title="lu_SuggestCategory" prefix="l"/>
+ <inp2:m_RenderElement name="box_element" template="in-link/links/suggest_link" title="lu_SuggestLink" prefix="l"/>
+
+ <inp2:m_if check="m_Param" name="item_actions">
+ <tr>
+ <td>-</td>
+ <td>
+ <inp2:m_if check="l_IsFavorite">
+ <a href="<inp2:l_FavoriteToggleLink/>">
+ <inp2:m_phrase name="lu_btn_RemoveFromFavorites"/>
+ </a>
+ <inp2:m_else/>
+ <a href="<inp2:l_FavoriteToggleLink template="platform/my_account/my_favorites"/>">
+ <inp2:m_phrase name="lu_btn_AddToFavorites"/>
+ </a>
+ </inp2:m_if>
+ </td>
+ </tr>
+
+ <tr>
+ <td>-</td>
+ <td>
+ <a href="<inp2:l_LinkLink template="in-link/links/add_review"/>"><inp2:m_phrase name="lu_btn_ReviewThisLink"/></a>
+ </td>
+ </tr>
+ <!--##
+ <tr>
+ <td>-</td>
+ <td>
+ <a href="<inp2:l_LinkLink template="in-link/links/add_review"/>" class="static"><inp2:m_phrase name="lu_btn_RateThisLink"/></a>
+ </td>
+ </tr>
+ ##-->
+ </inp2:m_if>
+</table>
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/action_box.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/pick.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/side_boxes/pick.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/side_boxes/pick.elm.tpl (revision 12118)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:l_InitList list_name="pick_links" types="pick" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+ <a href="<inp2:m_Link template="in-link/links/pick_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_PickLinks"/></a> (<inp2:l_TotalRecords list_name="pick_links"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-link/elements/links.elm"/>
+
+<inp2:m_DefineElement name="all_pick_links">
+ <a href="<inp2:m_Link template="in-link/links/pick_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+ <inp2:l_ListLinks list_name="pick_links" render_as="link_short_element" direction="H"/>
+</table>
+<inp2:l_MoreLink list_name="pick_links" render_as="all_pick_links"/>
+<!-- // popular links -->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/pick.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/new.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/side_boxes/new.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/side_boxes/new.elm.tpl (revision 12118)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:l_InitList list_name="new_links" types="new" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+ <a href="<inp2:m_Link template="in-link/links/new_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_NewLinks"/></a> (<inp2:l_TotalRecords list_name="new_links"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-link/elements/links.elm"/>
+
+<inp2:m_DefineElement name="all_new_links">
+ <a href="<inp2:m_Link template="in-link/links/new_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+ <inp2:l_ListLinks list_name="new_links" render_as="link_short_element" direction="H"/>
+</table>
+<inp2:l_MoreLink list_name="new_links" render_as="all_new_links"/>
+<!-- // popular links -->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/new.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/hot.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/side_boxes/hot.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/side_boxes/hot.elm.tpl (revision 12118)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:l_InitList list_name="hot_links" types="hot" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+ <a href="<inp2:m_Link template="in-link/links/hot_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_HotLinks"/></a> (<inp2:l_TotalRecords list_name="hot_links"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-link/elements/links.elm"/>
+
+<inp2:m_DefineElement name="all_hot_links">
+ <a href="<inp2:m_Link template="in-link/links/hot_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+ <inp2:l_ListLinks list_name="hot_links" render_as="link_short_element" direction="H"/>
+</table>
+<inp2:l_MoreLink list_name="hot_links" render_as="all_hot_links"/>
+<!-- // popular links -->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/hot.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/pop.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/side_boxes/pop.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/side_boxes/pop.elm.tpl (revision 12118)
@@ -0,0 +1,18 @@
+<!-- popular links -->
+<inp2:l_InitList list_name="pop_links" types="pop" parent_cat_id="0" recursive="1" per_page="short_list"/>
+
+<inp2:m_Capture to_var="header">
+ <a href="<inp2:m_Link template="in-link/links/pop_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_PopLinks"/></a> (<inp2:l_TotalRecords list_name="pop_links"/>)
+</inp2:m_Capture>
+
+<inp2:m_include template="in-link/elements/links.elm"/>
+
+<inp2:m_DefineElement name="all_pop_links">
+ <a href="<inp2:m_Link template="in-link/links/pop_links" m_cat_id="0" m_cat_page="1" />"><inp2:m_Phrase label="lu_More" /></a>
+</inp2:m_DefineElement>
+
+<table width="100%" style="border-width: 0px;">
+ <inp2:l_ListLinks list_name="pop_links" render_as="link_short_element" direction="H"/>
+</table>
+<inp2:l_MoreLink list_name="pop_links" render_as="all_pop_links"/>
+<!-- // popular links -->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/pop.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/quick_search.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/side_boxes/quick_search.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/side_boxes/quick_search.elm.tpl (revision 12118)
@@ -0,0 +1,30 @@
+<inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_SearchBox"/>
+</inp2:m_Capture>
+
+<form method="post" action="<inp2:m_Link template="in-link/links/search_results"/>">
+ <table>
+ <tr>
+ <td colspan="2">
+ <input type="text" name="keywords" id="keywords" style="width: 155px;" class="input-text" value="" />
+ </td>
+ </tr>
+ </table>
+
+ <br />
+ <input class="button" type="submit" value="<inp2:m_Phrase label="lu_btn_FindIt"/>!" />
+
+ <!--##
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt="" width="1" height="10" border="0" /><br />
+ <table>
+ <tr>
+ <td width="10">
+ <input class="button" type="submit" style="width: 40px;" value="<inp2:m_Phrase label="lu_comm_Go"/>!" />
+ </td>
+ <td align="left">
+ <a href="<inp2:m_Link template="platform/search/advanced_search" />" class="more-link"><inp2:m_Phrase label="lu_btn_AdvancedSearch"/></a> <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/side_link_str.gif" width="6" height="5" alt="" /><br />
+ </td>
+ </tr>
+ </table>
+ ##-->
+</form>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/side_boxes/quick_search.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/content_boxes/home_page_items.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/content_boxes/home_page_items.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/content_boxes/home_page_items.elm.tpl (revision 12118)
@@ -0,0 +1,21 @@
+<inp2:m_RenderElement design="content_box">
+ <inp2:l_InitList list_name="pick_links" per_page="2" m_cat_id="0" m_cat_page="1" recursive="1" types="pick" sort_by="random"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_PickLinks"/> <!--## (<inp2:l_TotalRecords list_name="pick_links"/>) ##-->
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-link/elements/links.elm"/>
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:l_ListLinks list_name="pick_links" render_as="link_element_featured" columns="2" direction="H" />
+ </table>
+
+ <inp2:m_DefineElement name="more_link">
+ <div style="text-align: right;">
+ <a href="<inp2:m_Link template="in-link/links/pick_links" />"><inp2:m_Phrase label="lu_More"/>...</a><br />
+ </div>
+ </inp2:m_DefineElement>
+
+ <inp2:l_MoreLink list_name="pick_links" render_as="more_link"/>
+</inp2:m_RenderElement>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/content_boxes/home_page_items.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/content_boxes/search_results.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/content_boxes/search_results.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/content_boxes/search_results.elm.tpl (revision 12118)
@@ -0,0 +1,27 @@
+<inp2:m_RenderElement design="content_box" data_exists="1">
+ <inp2:l_InitList list_name="link_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_LinkSearchResults"/> (<inp2:l_TotalRecords list_name="link_search_results" />)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-link/elements/links.elm"/>
+ <inp2:m_include template="platform/elements/search_results.elm"/>
+
+ <table class="fullwidth item-listing">
+ <inp2:l_ListLinks list_name="link_search_results" render_as="link_element_search" show_relevance="1"/>
+ </table>
+
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+
+ <inp2:m_if check="l_TotalRecords" list_name="link_search_results">
+ <inp2:m_Set items_found="1"/>
+ </inp2:m_if>
+
+ <inp2:m_DefineElement name="more_link">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="5" alt="" /><br />
+ <a href="<inp2:m_Link template="in-link/links/search_results" />"><inp2:m_Phrase label="lu_More"/>...</a>
+ </inp2:m_DefineElement>
+
+ <inp2:l_MoreLink list_name="link_search_results" render_as="more_link" />
+</inp2:m_RenderElement>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/content_boxes/search_results.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/content_boxes/my_favorites.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/content_boxes/my_favorites.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/content_boxes/my_favorites.elm.tpl (revision 12118)
@@ -0,0 +1,21 @@
+<!-- favorite links -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+ <inp2:l_InitList list_name="favorite_links" types="favorites" parent_cat_id="0" recursive="1"/>
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_phrase name="lu_title_FavoriteLinks"/> (<inp2:l_TotalRecords list_name="favorite_links"/>)
+ </inp2:m_Capture>
+
+ <inp2:m_include template="in-link/elements/links.elm"/>
+
+ <table class="fullwidth item-listing table-border">
+ <inp2:l_ListLinks list_name="favorite_links" render_as="link_element" direction="H"/>
+ </table>
+
+ <inp2:m_if check="l_TotalRecords" list_name="favorite_links">
+ <inp2:m_Set favorites_found="1"/>
+ </inp2:m_if>
+
+ <inp2:m_include template="platform/elements/pagination.elm" prefix="l" list_name="favorite_links"/>
+</inp2:m_RenderElement>
+<!-- // favorite links -->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/content_boxes/my_favorites.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/content_boxes/related_items.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/content_boxes/related_items.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/content_boxes/related_items.elm.tpl (revision 12118)
@@ -0,0 +1,6 @@
+<!--## RELATED LINKS ##-->
+ <inp2:m_include template="in-link/elements/links.elm"/>
+ <table>
+ <inp2:l_PrintList2 render_as="related_link_element" types="related" related_to="$related_to" parent_cat_id="any" no_table="1"/>
+ </table>
+<!--## // RELATED LINKS ##-->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/content_boxes/related_items.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/links.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/links.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/links.elm.tpl (revision 12118)
@@ -0,0 +1,244 @@
+<!--## DESIGNS OF LINK ELEMENTS DESCRIBED IN THIS TEMPLATE ##-->
+
+<!--## LINK ELEMENT ##-->
+<inp2:m_DefineElement name="link_element">
+ <td valign="top">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+ <table>
+ <tr>
+ <td class="picture-padding">
+ <inp2:m_if check="m_Param" name="show_relevance">
+ <inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
+ </inp2:m_if>
+ <a href="<inp2:LinkLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" Primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a>
+ </td>
+ <td class="text-padding" valign="top">
+ <a href="<inp2:LinkLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a> <!--(Owner: <inp2:Field name="CreatedById"/>)-->
+
+ <inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
+ <inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
+ <inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
+ <inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
+ <inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
+ <inp2:VotesIndicator render_as="rating_element"/>
+
+ <br />
+ <span class="item-statistics">
+ <inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+ <inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+ <inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+ <inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+ <inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+ </span>
+
+ <inp2:m_if check="LastVisited">
+ <inp2:LastVisited formatted="1" display_time="1" />
+ </inp2:m_if>
+
+ <br/>
+ <inp2:m_if check="IsFavorite">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+ <inp2:m_else/>
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+ </inp2:m_if>
+
+ &nbsp;|&nbsp;
+
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:LinkLink template="in-link/links/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
+
+ <br /><br />
+
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+
+ <inp2:Field name="Description" nl2br="1"/>
+
+ </td>
+ </tr>
+ </table>
+ </td>
+</inp2:m_DefineElement>
+<!--## /LINK ELEMENT ##-->
+
+<!--## RELATED LINK ELEMENT ##-->
+<inp2:m_DefineElement name="related_link_element">
+ <tr>
+ <td width="25"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/link_icon.gif" width="16" height="23" alt="" /></td>
+ <td><a href="<inp2:LinkLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a></td>
+ </tr>
+</inp2:m_DefineElement>
+<!--## //RELATED LINK ELEMENT ##-->
+
+<!--## MY LINK ELEMENT ##-->
+<inp2:m_DefineElement name="my_link_element">
+ <td valign="top">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+ <table class="fullwidth">
+ <tr>
+ <td class="picture-padding">
+ <a href="<inp2:LinkLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" Primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a><br />
+ </td>
+ <td class="text-padding" valign="top">
+ <a href="<inp2:LinkLink template="__default__"/>"><inp2:Field name="Name"/></a> <inp2:m_if check="IsPending"><span class="pending-item"><strong><inp2:m_phrase name="lu_PendingItem"/> (OrgId: <inp2:Field name="OrgId"/>)</strong></span></inp2:m_if>
+
+ <inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
+ <inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
+ <inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
+ <inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
+ <inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
+ <inp2:VotesIndicator render_as="rating_element"/>
+
+ <br />
+ <span class="item-statistics">
+ <inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+ <inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+ <inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+ <inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+ <inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+ </span><br />
+
+ <inp2:m_phrase name="lu_fld_PrimaryCategory"/>: <strong><inp2:CategoryPath separator="&gt;" render_as="category_path_element"/></strong><br />
+
+ <!-- inp2:Field name="Description" nl2br="1"/-->
+
+ <br /><br />
+ <table>
+ <tr>
+ <td>
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_details.gif" width="14" height="13" alt="" /> <a class="item-action" href="<inp2:LinkLink template="__default__"/>"><inp2:m_phrase name="lu_btn_Details"/></a>
+ </td>
+
+ <inp2:m_if check="HasPermission" permissions="LINK.MODIFY|LINK.MODIFY.PENDING|LINK.OWNER.MODIFY|LINK.OWNER.MODIFY.PENDING">
+ <td>
+ &nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:LinkLink template="in-link/links/modify_link"/>"><inp2:m_phrase name="lu_btn_Modify"/></a>
+ </td>
+ </inp2:m_if>
+
+ <inp2:m_if check="m_ConfigEquals" option="Link_EnhancedLinks" value="1">
+ <td>
+ &nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" />
+ <inp2:m_if check="LinkIsEnhanced">
+ <a class="item-action" href="<inp2:LinkLink template="in-link/links/enhancements/extend_enhancement"/>"><inp2:m_phrase name="lu_btn_ExtendCancelEnhancement"/></a>
+ <inp2:m_else/>
+ <a class="item-action" href="<inp2:LinkLink template="in-link/links/enhancements/enhance_link"/>"><inp2:m_phrase name="lu_btn_Enhance"/></a>
+ </inp2:m_if>
+ </td>
+ </inp2:m_if>
+
+ <inp2:m_if check="HasPermission" permissions="LINK.DELETE|LINK.OWNER.DELETE">
+ <td>
+ &nbsp;|&nbsp; <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_delete.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:LinkLink l_event="OnDelete"/>" onclick="return confirm('<inp2:m_phrase name="lu_DeleteLinkConfirm" js_escape="1"/>');"><inp2:m_phrase name="lu_btn_Delete"/></a>
+ </td>
+ </inp2:m_if>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ </table>
+ </td>
+</inp2:m_DefineElement>
+<!--## /MY LINK ELEMENT ##-->
+
+<!--## SHORT LINK ELEMENT ##-->
+<inp2:m_DefineElement name="link_short_element">
+ <td>
+ <a href="<inp2:LinkLink template="__default__"/>"><inp2:Field name="Name"/></a>
+ </td>
+</inp2:m_DefineElement>
+<!--## /SHORT LINK ELEMENT ##-->
+
+<!--## NO LINKS ELEMENT ##-->
+<inp2:m_DefineElement name="no_links">
+ <inp2:m_phrase name="lu_NoLinks"/>
+</inp2:m_DefineElement>
+<!--## /NO LINKS ELEMENT ##-->
+
+<!--## FEATURED LINK ELEMENT ##-->
+<inp2:m_DefineElement name="link_element_featured">
+ <td valign="top">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+ <table>
+ <tr>
+ <td class="picture-padding">
+ <inp2:m_if check="m_Param" name="show_relevance">
+ <inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
+ </inp2:m_if>
+ <a href="<inp2:LinkLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" Primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a>
+ </td>
+ <td class="text-padding" valign="top">
+ <a href="<inp2:LinkLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a>
+
+ <inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
+ <inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
+ <inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
+ <inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
+ <inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
+ <inp2:VotesIndicator render_as="rating_element"/>
+
+ <br />
+ <span class="item-statistics">
+ <inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/><br/>
+ <inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+ <inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+ <inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+ <inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+ </span><br />
+ </td>
+ </tr>
+ </table>
+ </td>
+</inp2:m_DefineElement>
+<!--## /FEATURED LINK ELEMENT ##-->
+
+<!--## SEARCH LINK ELEMENT ##-->
+<inp2:m_DefineElement name="link_element_search">
+ <td valign="top">
+ <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div>
+ <table>
+ <tr>
+ <td class="picture-padding">
+ <inp2:m_if check="m_Param" name="show_relevance">
+ <inp2:RelevanceIndicator on_color="Red" off_color="White" relevance_normal_render_as="search_relevance_normal" relevance_full_render_as="search_relevance_full" /><br/>
+ </inp2:m_if>
+ <a href="<inp2:LinkLink template="__default__"/>" title="<inp2:Field name="Name" html_escape="1"/>"><inp2:Image render_as="image_element" Primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a>
+ </td>
+ <td class="text-padding" valign="top">
+ <a href="<inp2:LinkLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a> <!--(Owner: <inp2:Field name="CreatedById"/>)-->
+
+ <inp2:m_if check="Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_phrase name="lu_Hot"/>"/></inp2:m_if>
+ <inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
+ <inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
+ <inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
+ <inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
+ <inp2:VotesIndicator render_as="rating_element"/>
+
+ <br />
+ <span class="item-statistics">
+ <inp2:m_phrase name="lu_Added"/>: <inp2:Field name="CreatedOn" format="_regional_DateFormat"/>,
+ <inp2:m_phrase name="lu_Hits"/>: <inp2:Field name="Hits"/>,
+ <inp2:m_phrase name="lu_Reviews"/>: <inp2:Field name="CachedReviewsQty"/>,
+ <inp2:m_phrase name="lu_Rating"/>: <inp2:Field name="CachedRating"/>,
+ <inp2:m_phrase name="lu_Votes"/>: <inp2:Field name="CachedVotesQty"/>
+ </span>
+
+ <inp2:m_if check="LastVisited">
+ <inp2:LastVisited formatted="1" display_time="1" />
+ </inp2:m_if>
+
+ <br/>
+ <inp2:m_if check="IsFavorite">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink/>"><inp2:m_phrase name="lu_btn_RemoveFromFavorites"/></a>
+ <inp2:m_else/>
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_addtofav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a>
+ </inp2:m_if>
+
+ &nbsp;|&nbsp;
+
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:LinkLink template="in-link/links/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a>
+
+
+ </td>
+ </tr>
+ </table>
+ </td>
+</inp2:m_DefineElement>
+<!--## / SEARCH LINK ELEMENT ##-->
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/links.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/visit_link.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/visit_link.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/visit_link.elm.tpl (revision 12118)
@@ -0,0 +1 @@
+<inp2:l_FollowLocation field="Url"/>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/visit_link.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/elements/sorting.elm.tpl
===================================================================
--- branches/5.0.x/themes/default2009/in-link/elements/sorting.elm.tpl (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/elements/sorting.elm.tpl (revision 12118)
@@ -0,0 +1,42 @@
+<table class="fullwidth">
+ <tr>
+ <td class="category-statistics">
+ <inp2:m_phrase name="lu_TotalLinks"/>: <inp2:l_ItemCount/> &nbsp;|&nbsp; <inp2:m_phrase name="lu_AddedToday"/>: <inp2:l_ItemCount today="1"/>
+ </td>
+ <td class="category-statistics" align="right">
+ <inp2:m_phrase name="lu_LinksUpdated"/>: <inp2:l_LastUpdated format="_regional_DateFormat"/>
+ </td>
+ </tr>
+</table>
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/grey_pix.gif" width="100%" height="1" alt="" /><br />
+<br />
+
+<table class="fullwidth">
+ <tr>
+ <td align="right">
+ <form method="post" action="<inp2:m_FormAction />">
+ <inp2:m_Phrase label="lu_SortLinksBy"/>:
+
+ <select class="input-select" name="<inp2:l_CombinedSortingDropDownName/>">
+ <option value="Name|asc" <inp2:l_SortingSelected sorting="Name|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_LinkNameAZ"/></option>
+ <option value="Name|desc" <inp2:l_SortingSelected sorting="Name|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_LinkNameZA"/></option>
+ <option value="CreatedOn|asc" <inp2:l_SortingSelected sorting="CreatedOn|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RecentToOld"/></option>
+ <option value="CreatedOn|desc" <inp2:l_SortingSelected sorting="CreatedOn|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_OldToRecent"/></option>
+ <option value="Description|asc" <inp2:l_SortingSelected sorting="Description|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_DescriptionAZ"/></option>
+ <option value="Description|desc" <inp2:l_SortingSelected sorting="Description|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_DescriptionZA"/></option>
+ <option value="CachedRating|asc" <inp2:l_SortingSelected sorting="CachedRating|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RatingLH"/></option>
+ <option value="CachedRating|desc" <inp2:l_SortingSelected sorting="CachedRating|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RatingHL"/></option>
+ <option value="CachedVotesQty|asc" <inp2:l_SortingSelected sorting="CachedVotesQty|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_VotesLH"/></option>
+ <option value="CachedVotesQty|desc" <inp2:l_SortingSelected sorting="CachedVotesQty|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_VotesHL"/></option>
+ <option value="Hits|asc" <inp2:l_SortingSelected sorting="Hits|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_HitsLH"/></option>
+ <option value="Hits|desc" <inp2:l_SortingSelected sorting="Hits|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_HitsHL"/></option>
+ </select>
+
+ <input type="submit" class="button" name="<inp2:l_SubmitName event="OnSetSortingDirect"/>" value="<inp2:m_Phrase label="lu_btn_Sort"/>" />
+ </form>
+ </td>
+ </tr>
+</table>
+
+<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="10" alt="" /><br />
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/elements/sorting.elm.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/module_info.xml
===================================================================
--- branches/5.0.x/themes/default2009/in-link/module_info.xml (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/module_info.xml (revision 12118)
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="utf-8"?>
+<module_info>
+ <section_design_template>in-link/designs/section</section_design_template>
+ <item_design_template>in-link/designs/detail</item_design_template>
+</module_info>
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/module_info.xml
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.2
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/inc/googlemaps.js
===================================================================
--- branches/5.0.x/themes/default2009/in-link/inc/googlemaps.js (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/inc/googlemaps.js (revision 12118)
@@ -0,0 +1,29 @@
+google.load("maps", "2.x");
+
+// Call this function when the page has been loaded
+function initialize() {
+ map = new google.maps.Map2(document.getElementById("map"));
+ map.setCenter(new google.maps.LatLng(37.4419, -122.1419), 13);
+ map.addControl(new GSmallMapControl());
+ map.addControl(new GMapTypeControl());
+}
+
+var map = false;
+function showaddress(addr,addrInfo) {
+ if (!map) initialize();
+ geocoder = new google.maps.ClientGeocoder();
+ geocoder.getLatLng(
+ addr,
+ function(point) {
+ if (!point) {
+ alert(addr + " not found");
+ } else {
+ map.setCenter(point, 13);
+ var marker = new GMarker(point);
+ map.clearOverlays();
+ map.addOverlay(marker);
+ marker.openInfoWindowHtml(addrInfo);
+ }
+ }
+ );
+}
\ No newline at end of file
Property changes on: branches/5.0.x/themes/default2009/in-link/inc/googlemaps.js
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/inc/styles.css
===================================================================
--- branches/5.0.x/themes/default2009/in-link/inc/styles.css (nonexistent)
+++ branches/5.0.x/themes/default2009/in-link/inc/styles.css (revision 12118)
@@ -0,0 +1 @@
+/* --- Listing Element Styles --- */
Property changes on: branches/5.0.x/themes/default2009/in-link/inc/styles.css
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/img/ic_mylinks46.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/themes/default2009/in-link/img/ic_mylinks46.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/themes/default2009/in-link/img/menu_links.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/themes/default2009/in-link/img/menu_links.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/install/upgrades.sql
===================================================================
--- branches/5.0.x/in-link/install/upgrades.sql (nonexistent)
+++ branches/5.0.x/in-link/install/upgrades.sql (revision 12118)
@@ -0,0 +1,31 @@
+# ===== v 4.3.9 =====
+INSERT INTO Events VALUES (DEFAULT, 'LINK.VALIDATION.RESULTS', NULL, 1, 0, 'In-Link', 'la_event_link.validation.results', 1);
+
+INSERT INTO ImportScripts VALUES (DEFAULT, 'Links from CSV file [In-Link]', '', 'l', 'In-Link', '', 'CSV', '1');
+
+UPDATE CustomField
+SET ValueList = '=+||<SQL>SELECT DestAbbr AS OptionValue, DestName AS OptionName FROM <PREFIX>StdDestinations WHERE DestType = 2 AND (DestParentId = 225 OR DestParentId = 38) ORDER BY DestParentId DESC, DestAbbr ASC</SQL>'
+WHERE FieldName = 'LinkState';
+
+UPDATE CustomField
+SET ValueList = '=+||<SQL>SELECT DestAbbr AS OptionValue, DestName AS OptionName FROM <PREFIX>StdDestinations WHERE DestType = 1 ORDER BY DestAbbr ASC</SQL>'
+WHERE FieldName = 'LinkCountry';
+
+# ===== v 5.0.0 =====
+INSERT INTO Counters VALUES (DEFAULT, 'linkhits_count', 'SELECT ROUND(SUM(Hits)) FROM <%PREFIX%>Link', NULL, NULL, '300', '0', '|Link|');
+UPDATE Category SET Template = '/in-link/designs/section' WHERE Template = 'inlink/index';
+UPDATE Category SET CachedTemplate = '/in-link/designs/section' WHERE CachedTemplate = 'inlink/index';
+
+UPDATE ConfigurationValues SET VariableValue = '/in-link/designs/section' WHERE VariableName = 'l_CategoryTemplate';
+UPDATE ConfigurationValues SET VariableValue = 'in-link/designs/detail' WHERE VariableName = 'l_ItemTemplate';
+
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:links.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:setting_folder.view', 11, 1, 1, 0);
+DELETE FROM Permissions WHERE Permission LIKE 'in-link:inlink_general.%';
+
+UPDATE Events SET Description = 'la_event_link.owner.modify' WHERE Description = 'la_event_link.modify.modify';
+UPDATE Events SET Description = 'la_event_link.owner.modify.pending' WHERE Description = 'la_event_link.modify.modify.pending';
+
+UPDATE Phrase SET Module = 'In-Link' WHERE ((Phrase LIKE '%Links%' OR Phrase LIKE '%Listing%') AND (Module = 'Core') AND Phrase NOT IN ('la_section_QuickLinks'));
+
+UPDATE Phrase SET Module = 'In-Link', PhraseType = 1 WHERE ( (Phrase LIKE '%Validation%' OR Phrase LIKE 'la_title_In-Link') AND (Module = 'Core') AND Phrase NOT IN ('la_ValidationEmail', 'la_prompt_validation'));
Property changes on: branches/5.0.x/in-link/install/upgrades.sql
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.11
\ No newline at end of property
Index: branches/5.0.x/in-link/install/english.lang
===================================================================
--- branches/5.0.x/in-link/install/english.lang (nonexistent)
+++ branches/5.0.x/in-link/install/english.lang (revision 12118)
@@ -0,0 +1,255 @@
+<LANGUAGES>
+ <LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i:s A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><UNITSYSTEM>2</UNITSYSTEM>
+ <PHRASES>
+ <PHRASE Label="la_ActionsUponExpire" Module="In-Link" Type="1">QWN0aW9ucyBVcG9uIEV4cGlyYXRpb24=</PHRASE>
+ <PHRASE Label="la_ActionsUponPurchase" Module="In-Link" Type="1">QWN0aW9ucyBVcG9uIFB1cmNoYXNl</PHRASE>
+ <PHRASE Label="la_col_DupeCount" Module="In-Link" Type="1">RHVwbGljYXRlIENvdW50</PHRASE>
+ <PHRASE Label="la_col_ExpiresOn" Module="In-Link" Type="1">RXhwaXJlcyBPbg==</PHRASE>
+ <PHRASE Label="la_col_LinkName" Module="In-Link" Type="1">TGluaw==</PHRASE>
+ <PHRASE Label="la_col_LinkOwner" Module="In-Link" Type="1">T3duZXI=</PHRASE>
+ <PHRASE Label="la_col_ListingTypeName" Module="In-Link" Type="1">TGlzdGluZyBUeXBl</PHRASE>
+ <PHRASE Label="la_col_PendingRenewal" Module="In-Link" Type="1">UGVuZGluZyBSZW5ld2Fs</PHRASE>
+ <PHRASE Label="la_col_PurchasedOn" Module="In-Link" Type="1">RW5hYmxlZCBPbg==</PHRASE>
+ <PHRASE Label="la_col_ValidatedOn" Module="In-Link" Type="1">VmFsaWRhdGVkIE9u</PHRASE>
+ <PHRASE Label="la_col_ValidationCode" Module="In-Link" Type="1">VmFsaWRhdGlvbiBDb2Rl</PHRASE>
+ <PHRASE Label="la_config_EnableLinkContactForm" Module="In-Link" Type="1">RW5hYmxlIExpbmsgQ29udGFjdCBGb3Jtcw==</PHRASE>
+ <PHRASE Label="la_config_ReciprocalLinkChecking" Module="In-Link" Type="1">UmVjaXByb2NhbCBMaW5rIENoZWNraW5n</PHRASE>
+ <PHRASE Label="la_DecreaseBy" Module="In-Link" Type="1">RGVjcmVhc2UgQnk=</PHRASE>
+ <PHRASE Label="la_DontChange" Module="In-Link" Type="1">RG9uJ3QgQ2hhbmdl</PHRASE>
+ <PHRASE Label="la_event_link.link.contactform" Module="In-Link" Type="1">TGluayBDb250YWN0IEZvcm0=</PHRASE>
+ <PHRASE Label="la_event_link.link.enhance" Module="In-Link" Type="1">TGluayBlbmhhbmNlbWVudCBzdWJtaXR0ZWQ=</PHRASE>
+ <PHRASE Label="la_event_link.link.enhance.approve" Module="In-Link" Type="1">TGluayBlbmhhbmNlbWVudCBhcHByb3ZlZA==</PHRASE>
+ <PHRASE Label="la_event_link.link.enhance.deny" Module="In-Link" Type="1">TGluayBlbmhhbmNlbWVudCBkZW5pZWQ=</PHRASE>
+ <PHRASE Label="la_event_link.link.enhance.expire" Module="In-Link" Type="1">TGluayBlbmhhbmNlbWVudCBleHBpcmVk</PHRASE>
+ <PHRASE Label="la_event_link.link.enhance.extend" Module="In-Link" Type="1">TGluayBlbmhhbmNlbWVudCByZW5ld2FsIHN1Ym1pdHRlZA==</PHRASE>
+ <PHRASE Label="la_event_link.link.enhance.renew" Module="In-Link" Type="1">TGluayBlbmhhbmNlbWVudCBleHRlbmRlZA==</PHRASE>
+ <PHRASE Label="la_event_link.link.enhance.renewal_notice" Module="In-Link" Type="1">TGluayBlbmhhbmNlbWVudCBpcyBhYm91dCB0byBleHBpcmU=</PHRASE>
+ <PHRASE Label="la_event_link.link.enhance.renew_cancel" Module="In-Link" Type="1">TGluayBlbmhhbmNlbWVudCBjYW5jZWxsZWQ=</PHRASE>
+ <PHRASE Label="la_event_link.link.enhance.renew_failed" Module="In-Link" Type="1">TGluayBlbmhhbmNlbWVudCByZW5ld2FsIGZhaWxlZA==</PHRASE>
+ <PHRASE Label="la_event_link.owner.modify" Module="In-Link" Type="1">TGluayBPd25lciBNb2RpZnk=</PHRASE>
+ <PHRASE Label="la_event_link.owner.modify.pending" Module="In-Link" Type="1">TGluayBPd25lciBNb2RpZnkgUGVuZGluZw==</PHRASE>
+ <PHRASE Label="la_event_Link.Reciprocal.Check.Failed" Module="In-Link" Type="1">UmVjaXByb2NhbCBDaGVjayBGYWlsZWQ=</PHRASE>
+ <PHRASE Label="la_event_link.review.add" Module="In-Link" Type="1">TGluayBDb21tZW50IEFkZGVk</PHRASE>
+ <PHRASE Label="la_event_link.review.add.pending" Module="In-Link" Type="1">TGluayBDb21tZW50IFBlbmRpbmc=</PHRASE>
+ <PHRASE Label="la_event_link.review.approve" Module="In-Link" Type="1">TGluayBDb21tZW50IEFwcHJvdmVk</PHRASE>
+ <PHRASE Label="la_event_link.review.deny" Module="In-Link" Type="1">TGluayBDb21tZW50IERlY2xpbmVk</PHRASE>
+ <PHRASE Label="la_event_link.validation.results" Module="In-Link" Type="1">TGluayBWYWxpZGF0aW9uIFJlc3VsdHM=</PHRASE>
+ <PHRASE Label="la_fld_cust_l_ItemTemplate" Module="In-Link" Type="1">TGluayBJdGVtIFRlbXBsYXRl</PHRASE>
+ <PHRASE Label="la_fld_EnableBuying" Module="In-Link" Type="1">RW5hYmxlIFB1cmNoYXNpbmc=</PHRASE>
+ <PHRASE Label="la_fld_ExpiresOn" Module="In-Link" Type="1">RXhwaXJhdGlvbiBEYXRl</PHRASE>
+ <PHRASE Label="la_fld_LinkAddress" Module="In-Link" Type="1">QWRkcmVzcw==</PHRASE>
+ <PHRASE Label="la_fld_LinkCity" Module="In-Link" Type="1">Q2l0eQ==</PHRASE>
+ <PHRASE Label="la_fld_LinkCountry" Module="In-Link" Type="1">Q291bnRyeQ==</PHRASE>
+ <PHRASE Label="la_fld_LinkEnableGoogleMaps" Module="In-Link" Type="1">RW5hYmxlIEdvb2dsZSBNYXBz</PHRASE>
+ <PHRASE Label="la_fld_LinkGoogleMapsAPIKey" Module="In-Link" Type="1">R29vZ2xlIE1hcHMgQVBJIEtleQ==</PHRASE>
+ <PHRASE Label="la_fld_LinkName" Module="In-Link" Type="1">TGluayBOYW1l</PHRASE>
+ <PHRASE Label="la_fld_LinkOwner" Module="In-Link" Type="1">TGluayBPd25lcg==</PHRASE>
+ <PHRASE Label="la_fld_LinkPhone" Module="In-Link" Type="1">UGhvbmU=</PHRASE>
+ <PHRASE Label="la_fld_LinkState" Module="In-Link" Type="1">U3RhdGU=</PHRASE>
+ <PHRASE Label="la_fld_LinkZipCode" Module="In-Link" Type="1">WmlwIGNvZGU=</PHRASE>
+ <PHRASE Label="la_fld_Link_MaxHotNumber" Module="In-Link" Type="1">TWF4aW11bSBudW1iZXIgb2YgSE9UIGxpbmtz</PHRASE>
+ <PHRASE Label="la_fld_Link_MinPopRating" Module="In-Link" Type="1">TWluaW11bSByYXRpbmcgdG8gY29uc2lkZXIgbGluayBQT1A=</PHRASE>
+ <PHRASE Label="la_fld_Link_MinPopVotes" Module="In-Link" Type="1">TWluaW11bSBudW1iZXIgb2Ygdm90ZXMgdG8gY29uc2lkZXIgbGluayBQT1A=</PHRASE>
+ <PHRASE Label="la_fld_ListingId" Module="In-Link" Type="1">SUQ=</PHRASE>
+ <PHRASE Label="la_fld_ListingType" Module="In-Link" Type="1">TGlzdGluZyBUeXBl</PHRASE>
+ <PHRASE Label="la_fld_ListingTypeDescription" Module="In-Link" Type="1">RGVzY3JpcHRpb24=</PHRASE>
+ <PHRASE Label="la_fld_ListingTypeId" Module="In-Link" Type="1">SUQ=</PHRASE>
+ <PHRASE Label="la_fld_ListingTypeName" Module="In-Link" Type="1">TmFtZQ==</PHRASE>
+ <PHRASE Label="la_fld_PendingRenewal" Module="In-Link" Type="1">UGVuZGluZyBSZW5ld2Fs</PHRASE>
+ <PHRASE Label="la_fld_PurchasedOn" Module="In-Link" Type="1">UHVyY2hhc2UgRGF0ZQ==</PHRASE>
+ <PHRASE Label="la_fld_ReciprocalLinkFound" Module="In-Link" Type="1">UmVjaXByb2NhbCBMaW5rIFN0YXR1cw==</PHRASE>
+ <PHRASE Label="la_fld_Recurring" Module="In-Link" Type="1">UmVjdXJyaW5n</PHRASE>
+ <PHRASE Label="la_fld_RenewalReminder" Module="In-Link" Type="1">UmVuZXdhbCBSZW1pbmRlcg==</PHRASE>
+ <PHRASE Label="la_fld_ShopCartName" Module="In-Link" Type="1">UHJvZHVjdCBOYW1l</PHRASE>
+ <PHRASE Label="la_In-link" Module="In-Link" Type="1">SW4tbGluaw==</PHRASE>
+ <PHRASE Label="la_IncreaseBy" Module="In-Link" Type="1">SW5jcmVhc2UgQnk=</PHRASE>
+ <PHRASE Label="la_ItemTab_Links" Module="In-Link" Type="1">TGlua3M=</PHRASE>
+ <PHRASE Label="la_link_AllowFreeListings" Module="In-Link" Type="1">QWxsb3cgRnJlZSBMaXN0aW5ncw==</PHRASE>
+ <PHRASE Label="la_link_EnhancedLinks" Module="In-Link" Type="1">RW5oYW5jZWQgTGlzdGluZ3M=</PHRASE>
+ <PHRASE Label="la_link_sortreviews2_prompt" Module="In-Link" Type="1">YW5kIHRoZW4gYnk=</PHRASE>
+ <PHRASE Label="la_link_sortreviews_prompt" Module="In-Link" Type="1">U29ydCBDb21tZW50cyBieQ==</PHRASE>
+ <PHRASE Label="la_menu_Grouping" Module="In-Link" Type="1">R3JvdXBpbmcgQnk=</PHRASE>
+ <PHRASE Label="la_NotChecked" Module="In-Link" Type="1">Tm90IENoZWNrZWQ=</PHRASE>
+ <PHRASE Label="la_NotPendingRenewal" Module="In-Link" Type="1">Tm8=</PHRASE>
+ <PHRASE Label="la_PendingRenewal" Module="In-Link" Type="1">UGVuZGluZyBSZW5ld2Fs</PHRASE>
+ <PHRASE Label="la_prompt_ActiveLinks" Module="In-Link" Type="1">QWN0aXZlIExpbmtz</PHRASE>
+ <PHRASE Label="la_prompt_DisabledLinks" Module="In-Link" Type="1">RGlzYWJsZWQgTGlua3M=</PHRASE>
+ <PHRASE Label="la_prompt_EditorsPickLinks" Module="In-Link" Type="1">RWRpdG9yJ3MgUGljayBMaW5rcw==</PHRASE>
+ <PHRASE Label="la_prompt_HotLinks" Module="In-Link" Type="1">SG90IExpbmtz</PHRASE>
+ <PHRASE Label="la_prompt_LinkReviews" Module="In-Link" Type="1">VG90YWwgTGluayBDb21tZW50cw==</PHRASE>
+ <PHRASE Label="la_prompt_LinksAverageRating" Module="In-Link" Type="1">QXZlcmFnZSBSYXRpbmcgb2YgTGlua3M=</PHRASE>
+ <PHRASE Label="la_prompt_MaxLinksHits" Module="In-Link" Type="1">TWF4aW11bSBIaXRzIG9mIGEgTGluaw==</PHRASE>
+ <PHRASE Label="la_prompt_MaxLinksVotes" Module="In-Link" Type="1">TWF4aW11bSBWb3RlcyBvZiBhIExpbms=</PHRASE>
+ <PHRASE Label="la_prompt_NewLinks" Module="In-Link" Type="1">TmV3IExpbmtz</PHRASE>
+ <PHRASE Label="la_prompt_PendingLinks" Module="In-Link" Type="1">UGVuZGluZyBMaW5rcw==</PHRASE>
+ <PHRASE Label="la_prompt_PopularLinks" Module="In-Link" Type="1">UG9wdWxhciBMaW5rcw==</PHRASE>
+ <PHRASE Label="la_prompt_TotalLinks" Module="In-Link" Type="1">VG90YWwgTGlua3M=</PHRASE>
+ <PHRASE Label="la_section_BusinessLocation" Module="In-Link" Type="1">TG9jYXRpb24=</PHRASE>
+ <PHRASE Label="la_section_Link" Module="In-Link" Type="1">TGluaw==</PHRASE>
+ <PHRASE Label="la_section_OriginalValues" Module="In-Link" Type="1">T3JpZ2luYWwgVmFsdWVz</PHRASE>
+ <PHRASE Label="la_SetEqualTo" Module="In-Link" Type="1">U2V0IEVxdWFsIFRv</PHRASE>
+ <PHRASE Label="la_ShortToolTip_ResetValidationStatus" Module="In-Link" Type="1">UmVzZXQ=</PHRASE>
+ <PHRASE Label="la_tab_DuplicateChecker" Module="In-Link" Type="1">RHVwbGljYXRlIENoZWNrZXI=</PHRASE>
+ <PHRASE Label="la_tab_Links" Module="In-Link" Type="1">TGlua3M=</PHRASE>
+ <PHRASE Label="la_tab_LinkValidation" Module="In-Link" Type="1">TGluayBWYWxpZGF0aW9u</PHRASE>
+ <PHRASE Label="la_tab_Listings" Module="In-Link" Type="1">TGlzdGluZ3M=</PHRASE>
+ <PHRASE Label="la_tab_ListingTypes" Module="In-Link" Type="1">TGlzdGluZyBUeXBlcw==</PHRASE>
+ <PHRASE Label="la_tab_PaidListings" Module="In-Link" Type="1">UGFpZCBMaXN0aW5ncw==</PHRASE>
+ <PHRASE Label="la_tab_ShopCartEntry" Module="In-Link" Type="1">U2hvcHBpbmcgQ2FydCBFbnRyeQ==</PHRASE>
+ <PHRASE Label="la_Text_Links" Module="In-Link" Type="1">TGlua3M=</PHRASE>
+ <PHRASE Label="la_Text_PaidListing" Module="In-Link" Type="1">UGFpZCBMaXN0aW5n</PHRASE>
+ <PHRASE Label="la_Text_PaidListingType" Module="In-Link" Type="1">TGlzdGluZyBUeXBl</PHRASE>
+ <PHRASE Label="la_Text_ShopCartItem" Module="In-Link" Type="1">U2hvcHBpbmcgQ2FydCBJdGVt</PHRASE>
+ <PHRASE Label="la_title_AddingLink" Module="In-Link" Type="1">QWRkaW5nIExpbms=</PHRASE>
+ <PHRASE Label="la_title_AddingListing" Module="In-Link" Type="1">QWRkaW5nIExpc3Rpbmc=</PHRASE>
+ <PHRASE Label="la_title_AddingPaidListingType" Module="In-Link" Type="1">QWRkaW5nIExpc3RpbmcgVHlwZQ==</PHRASE>
+ <PHRASE Label="la_title_DuplicateLinks" Module="In-Link" Type="1">RHVwbGljYXRlIExpbmtz</PHRASE>
+ <PHRASE Label="la_title_EditingLink" Module="In-Link" Type="1">RWRpdGluZyBMaW5r</PHRASE>
+ <PHRASE Label="la_title_EditingListing" Module="In-Link" Type="1">RWRpdGluZyBMaXN0aW5n</PHRASE>
+ <PHRASE Label="la_title_EditingPaidListingType" Module="In-Link" Type="1">RWRpdGluZyBMaXN0aW5nIFR5cGU=</PHRASE>
+ <PHRASE Label="la_title_ImportLinks" Module="In-Link" Type="1">SW1wb3J0IExpbmtz</PHRASE>
+ <PHRASE Label="la_title_In-Link" Module="In-Link" Type="1">RGlyZWN0b3J5</PHRASE>
+ <PHRASE Label="la_title_Links" Module="In-Link" Type="1">TGlua3M=</PHRASE>
+ <PHRASE Label="la_title_LinksExport" Module="In-Link" Type="1">TGlua3MgRXhwb3J0</PHRASE>
+ <PHRASE Label="la_title_NewLink" Module="In-Link" Type="1">TmV3IExpbms=</PHRASE>
+ <PHRASE Label="la_title_NewListing" Module="In-Link" Type="1">TmV3IExpc3Rpbmc=</PHRASE>
+ <PHRASE Label="la_title_NewPaidListingType" Module="In-Link" Type="1">TmV3IExpc3RpbmcgVHlwZQ==</PHRASE>
+ <PHRASE Label="la_title_PaidListings" Module="In-Link" Type="1">UGFpZCBMaXN0aW5ncw==</PHRASE>
+ <PHRASE Label="la_title_PaidListingTypes" Module="In-Link" Type="1">TGlzdGluZyBUeXBlcw==</PHRASE>
+ <PHRASE Label="la_title_ShopCartEntry" Module="In-Link" Type="1">U2hvcHBpbmcgQ2FydCBFbnRyeQ==</PHRASE>
+ <PHRASE Label="la_ToolTip_ContinueValidation" Module="In-Link" Type="1">Q29udGludWUgTGluayBWYWxpZGF0aW9u</PHRASE>
+ <PHRASE Label="la_ToolTip_Merge" Module="In-Link" Type="1">TWVyZ2U=</PHRASE>
+ <PHRASE Label="la_ToolTip_newfile" Module="In-Link" Type="1">TmV3IEZpbGU=</PHRASE>
+ <PHRASE Label="la_ToolTip_newlisting" Module="In-Link" Type="0">TmV3IExpc3Rpbmc=</PHRASE>
+ <PHRASE Label="la_ToolTip_newlisttype" Module="In-Link" Type="1">TmV3IExpc3RpbmcgVHlwZQ==</PHRASE>
+ <PHRASE Label="la_ToolTip_NewValidation" Module="In-Link" Type="1">U3RhcnQgTmV3IFZhbGlkYXRpb24=</PHRASE>
+ <PHRASE Label="la_ToolTip_ResetValidationStatus" Module="In-Link" Type="1">UmVzZXQgVmFsaWRhdGlvbiBTdGF0dXM=</PHRASE>
+ <PHRASE Label="la_UseGridToApproveDecline" Module="In-Link" Type="1">VXNlIGdyaWQgdG8gQXBwcm92ZSAvIERlY2xpbmU=</PHRASE>
+ <PHRASE Label="lu_AreYouSureToCancelEnhancement" Module="In-Link" Type="0">WW91IGFyZSBhYm91dCB0byBjYW5jZWwgeW91ciBsaW5rIGVuaGFuY2VtZW50Lg==</PHRASE>
+ <PHRASE Label="lu_AreYouSureToExtendEnhancement" Module="In-Link" Type="0">WW91IGFyZSBhYm91dCB0byBleHRlbmQgeW91ciBsaW5rIGVuaGFuY2VtZW50Lg==</PHRASE>
+ <PHRASE Label="lu_btn_CancelEnhancement" Module="In-Link" Type="0">Q2FuY2VsIEVuaGFuY2VtZW50</PHRASE>
+ <PHRASE Label="lu_btn_Enhance" Module="In-Link" Type="0">RW5oYW5jZQ==</PHRASE>
+ <PHRASE Label="lu_btn_EnhanceLink" Module="In-Link" Type="0">RW5oYW5jZSBMaW5r</PHRASE>
+ <PHRASE Label="lu_btn_ExtendCancelEnhancement" Module="In-Link" Type="0">RXh0ZW5kIC8gQ2FuY2VsIEVuaGFuY2VtZW50</PHRASE>
+ <PHRASE Label="lu_btn_ExtendEnhancement" Module="In-Link" Type="0">RXh0ZW5kIEVuaGFuY2VtZW50</PHRASE>
+ <PHRASE Label="lu_btn_RateThisLink" Module="In-Link" Type="0">UmF0ZSB0aGlzIGxpbms=</PHRASE>
+ <PHRASE Label="lu_btn_ReviewThisLink" Module="In-Link" Type="0">Q29tbWVudCB0aGlzIExpbms=</PHRASE>
+ <PHRASE Label="lu_btn_VisitLink" Module="In-Link" Type="0">VmlzaXQgTGluaw==</PHRASE>
+ <PHRASE Label="lu_CancelEnhancementConfirmation" Module="In-Link" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGNhbmNlbCB5b3VyIGVuaGFuY2VkIGxpbms/IFRoZSBsaXN0aW5nIHR5cGUgd2lsbCBiZSByZXNldCB0byByZWd1bGFyLg==</PHRASE>
+ <PHRASE Label="lu_ChooseListingType" Module="In-Link" Type="0">Q2hvb3NlIExpc3RpbmcgVHlwZQ==</PHRASE>
+ <PHRASE Label="lu_col_Duration" Module="In-Link" Type="0">RHVyYXRpb24=</PHRASE>
+ <PHRASE Label="lu_DeleteLinkConfirm" Module="In-Link" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGRlbGV0ZSB0aGUgbGluaz8NClRoaXMgYWN0aW9uIGNhbm5vdCBiZSB1bmRvbmUu</PHRASE>
+ <PHRASE Label="lu_description_MyLinks" Module="In-Link" Type="0">TWFuYWdlIHlvdXIgTGlua3MgaGVyZQ==</PHRASE>
+ <PHRASE Label="lu_EnhancementSetToRenewOn" Module="In-Link" Type="0">RW5oYW5jZW1lbnQgc2V0IHRvIHJlbmV3IGF1dG9tYXRpY2FsbHkgb24=</PHRASE>
+ <PHRASE Label="lu_ExtendEnhancementConfirmation" Module="In-Link" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGV4dGVuZCB5b3VyIGxpbmsgZW5oYW5jZW1lbnQ/</PHRASE>
+ <PHRASE Label="lu_fld_LinkAddress" Module="In-Link" Type="0">QWRkcmVzcw==</PHRASE>
+ <PHRASE Label="lu_fld_LinkCity" Module="In-Link" Type="0">Q2l0eQ==</PHRASE>
+ <PHRASE Label="lu_fld_LinkCountry" Module="In-Link" Type="0">Q291bnRyeQ==</PHRASE>
+ <PHRASE Label="lu_fld_LinkPhone" Module="In-Link" Type="0">UGhvbmU=</PHRASE>
+ <PHRASE Label="lu_fld_LinkState" Module="In-Link" Type="0">U3RhdGU=</PHRASE>
+ <PHRASE Label="lu_fld_LinkZipCode" Module="In-Link" Type="0">WmlwIGNvZGU=</PHRASE>
+ <PHRASE Label="lu_fld_listingexpirationdate" Module="In-Link" Type="0">RW5oYW5jZW1lbnQgZXhwaXJlcyBvbg==</PHRASE>
+ <PHRASE Label="lu_fld_ListingType" Module="In-Link" Type="0">TGlzdGluZyBUeXBl</PHRASE>
+ <PHRASE Label="lu_fld_listingtypename" Module="In-Link" Type="0">TGlzdGluZyBUeXBl</PHRASE>
+ <PHRASE Label="lu_fld_Url" Module="In-Link" Type="0">VXJs</PHRASE>
+ <PHRASE Label="lu_free_listing" Module="In-Link" Type="0">RnJlZSBMaXN0aW5n</PHRASE>
+ <PHRASE Label="lu_GoogleMaps" Module="In-Link" Type="0">R29vZ2xlIE1hcHM=</PHRASE>
+ <PHRASE Label="lu_header_Thankyou" Module="In-Link" Type="0">VGhhbmsgeW91IQ==</PHRASE>
+ <PHRASE Label="lu_LinkNameAZ" Module="In-Link" Type="0">TGluayBOYW1lIEEgdG8gWg==</PHRASE>
+ <PHRASE Label="lu_LinkNameZA" Module="In-Link" Type="0">TGluayBOYW1lIFogdG8gQQ==</PHRASE>
+ <PHRASE Label="lu_LinksUpdated" Module="In-Link" Type="0">TGlua3MgdXBkYXRlZA==</PHRASE>
+ <PHRASE Label="lu_Link_ContactFormThankyouText" Module="In-Link" Type="0">WW91ciBpbmZvcm1hdGlvbiByZXF1ZXN0IGhhcyBiZWVuIHNlbnQgb3V0LiA8YnIvPjxici8+WW91J2xsIGJlIGNvbnRhY3RlZCBzaG9ydGx5IQ==</PHRASE>
+ <PHRASE Label="lu_Link_RequestInformation" Module="In-Link" Type="0">UmVxdWVzdCBJbmZvcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_MyLinks" Module="In-Link" Type="0">TXkgTGlua3M=</PHRASE>
+ <PHRASE Label="lu_noenhancments" Module="In-Link" Type="0">Tm8gTGluayBFbmhhbmNtZW50cyBjdXJyZW50bHkgYXZhaWxhYmxl</PHRASE>
+ <PHRASE Label="lu_NoLinks" Module="In-Link" Type="0">Tm8gTGlua3M=</PHRASE>
+ <PHRASE Label="lu_notice_SubscriptionAddToCart" Module="In-Link" Type="0">QWZ0ZXIgc2VsZWN0aW5nIGxpc3RpbmcgdHlwZSBpdCB3aWxsIGJlIGFkZGVkIHRvIHlvdXIgc2hvcHBpbmcgY2FydC4gT25jZSB5b3UgY29tcGxldGUgY2hlY2tvdXQgYW5kIHlvdXIgb3JkZXIgaXMgYXBwcm92ZWQgeW91ciBsaW5rIHN0YXR1cyB3aWxsIGJlIHVwZ3JhZGVkLiBZb3Ugd2lsbCBiZSBub3RpZmllZCBieSBlbWFpbCB3aGVuIHRoaXMgaXMgZG9uZS4=</PHRASE>
+ <PHRASE Label="lu_PendingEnhancement" Module="In-Link" Type="0">cGVuZGluZw==</PHRASE>
+ <PHRASE Label="lu_PermName_Link.Review_desc" Module="In-Link" Type="1">Q29tbWVudCBMaW5r</PHRASE>
+ <PHRASE Label="lu_section_LinkDetails" Module="In-Link" Type="0">TGluayBEZXRhaWxz</PHRASE>
+ <PHRASE Label="lu_SortLinksBy" Module="In-Link" Type="0">U29ydCBMaW5rcyBCeQ==</PHRASE>
+ <PHRASE Label="lu_SuggestLink" Module="In-Link" Type="0">U3VnZ2VzdCBMaW5r</PHRASE>
+ <PHRASE Label="lu_text_addlinkreviewconfirm" Module="In-Link" Type="0">VGhhbmsgeW91IGZvciBjb21tZW50aW5nIG9uIHRoaXMgbGluay4=</PHRASE>
+ <PHRASE Label="lu_text_addlinkreviewpendingconfirm" Module="In-Link" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgY29tbWVudCBmb3IgdGhpcyBsaW5rIC0gaXQncyBwZW5kaW5nIGZvciBhZG1pbmlzdHJhdGl2ZSBhcHByb3ZhbC4=</PHRASE>
+ <PHRASE Label="lu_text_enhancementconfirmation" Module="In-Link" Type="0">WW91ciBsaW5rIGhhcyBiZWVuIGVuaGFuY2VkLg==</PHRASE>
+ <PHRASE Label="lu_text_ModifyLinkConfirm" Module="In-Link" Type="0">WW91ciBMaW5rIGhhcyBiZWVuIG1vZGlmaWVk</PHRASE>
+ <PHRASE Label="lu_text_modifylinkpendingconfirm" Module="In-Link" Type="0">VGhhbmsgeW91IGZvciB1cGRhdGluZyB5b3VyIGxpbmsuIFlvdXIgbW9kaWZpY2F0aW9ucyBhcmUgd2FpdGluZyBmb3IgYWRtaW5pc3RyYXRpdmUgYXBwcm92YWwu</PHRASE>
+ <PHRASE Label="lu_text_MyLinks" Module="In-Link" Type="0">TXkgTGlua3M=</PHRASE>
+ <PHRASE Label="lu_text_nolinkreviewpermission" Module="In-Link" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gY29tbWVudCBvbiB0aGlzIGxpbmsu</PHRASE>
+ <PHRASE Label="lu_text_nomodifylinkpermission" Module="In-Link" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gcGVyZm9ybSBtb2RpZnkgdGhlIGxpbms=</PHRASE>
+ <PHRASE Label="lu_text_nosuggestlinkpermission" Module="In-Link" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gc3VnZ2VzdCBsaW5rIGludG8gdGhlIGN1cnJlbnQgY2F0ZWdvcnk=</PHRASE>
+ <PHRASE Label="lu_text_suggestlinkconfirm" Module="In-Link" Type="0">VGhhbmsgeW91IGZvciB1cGRhdGluZyB5b3VyIGxpbmsu</PHRASE>
+ <PHRASE Label="lu_text_suggestlinkpendingconfirm" Module="In-Link" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgbGluay4gQ3VycmVudGx5IGl0J3Mgd2FpdGluZyBmb3IgYWRtaW5pc3RyYXRpdmUgYXBwcm92YWw=</PHRASE>
+ <PHRASE Label="lu_title_addlinkreviewconfirm" Module="In-Link" Type="0">TGluayBDb21tZW50IEFkZGVk</PHRASE>
+ <PHRASE Label="lu_title_addlinkreviewpendingconfirm" Module="In-Link" Type="0">TGluayBDb21tZW50IFBlbmRpbmc=</PHRASE>
+ <PHRASE Label="lu_title_confirmcancelenhancement" Module="In-Link" Type="0">RW5oYW5jZW1lbnQgQ2FuY2VsbGF0aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_title_confirmextendenhancement" Module="In-Link" Type="0">RW5oYW5jZW1lbnQgRXh0ZW50aW9uIENvbmZpcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_title_EnhanceLink" Module="In-Link" Type="0">RW5oYW5jZSBMaW5r</PHRASE>
+ <PHRASE Label="lu_title_EnhancementDetails" Module="In-Link" Type="0">RW5oYW5jZW1lbnQgRGV0YWlscw==</PHRASE>
+ <PHRASE Label="lu_title_extendcancelenhancement" Module="In-Link" Type="0">RXh0ZW5kIC8gQ2FuY2VsIExpbmsgRW5oYW5jZW1lbnQ=</PHRASE>
+ <PHRASE Label="lu_title_favoritelinks" Module="In-Link" Type="0">RmF2b3JpdGUgTGlua3M=</PHRASE>
+ <PHRASE Label="lu_title_HotLinks" Module="In-Link" Type="0">SG90IExpbmtz</PHRASE>
+ <PHRASE Label="lu_title_LinkDetails" Module="In-Link" Type="0">TGluayBEZXRhaWxz</PHRASE>
+ <PHRASE Label="lu_title_Links" Module="In-Link" Type="0">TGlua3M=</PHRASE>
+ <PHRASE Label="lu_title_linksearchresults" Module="In-Link" Type="0">TGlua3MgU2VhcmNoIFJlc3VsdHM=</PHRASE>
+ <PHRASE Label="lu_title_ModifyLink" Module="In-Link" Type="0">TW9kaWZ5IExpbms=</PHRASE>
+ <PHRASE Label="lu_title_modifylinkconfirm" Module="In-Link" Type="0">TGluayBNb2RpZmllZA==</PHRASE>
+ <PHRASE Label="lu_title_modifylinkpendingconfirm" Module="In-Link" Type="0">UGVuZGluZyBMaW5rIENvbmZpcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_title_MyLinks" Module="In-Link" Type="0">TXkgTGlua3M=</PHRASE>
+ <PHRASE Label="lu_title_NewLinks" Module="In-Link" Type="0">TmV3IExpbmtz</PHRASE>
+ <PHRASE Label="lu_title_PickLinks" Module="In-Link" Type="0">RWRpdG9yJ3MgUGljayBMaW5rcw==</PHRASE>
+ <PHRASE Label="lu_title_poplinks" Module="In-Link" Type="0">UG9wdWxhciBMaW5rcw==</PHRASE>
+ <PHRASE Label="lu_title_ReviewThisLink" Module="In-Link" Type="0">Q29tbWVudCB0aGlzIExpbms=</PHRASE>
+ <PHRASE Label="lu_title_SuggestLink" Module="In-Link" Type="0">U3VnZ2VzdCBMaW5r</PHRASE>
+ <PHRASE Label="lu_title_suggestlinkconfirm" Module="In-Link" Type="0">QWRkIExpbmsgQ29uZmlybWF0aW9u</PHRASE>
+ <PHRASE Label="lu_title_suggestlinkpendingconfirm" Module="In-Link" Type="0">UGVuZGluZyBMaW5rIENvbmZpcm1hdGlvbg==</PHRASE>
+ <PHRASE Label="lu_ToCancelEnhancement" Module="In-Link" Type="0">dG8gY2FuY2VsIGxpbmsgZW5oYW5jZW1lbnQ=</PHRASE>
+ <PHRASE Label="lu_TotalLinks" Module="In-Link" Type="0">VG90YWwgTGlua3M=</PHRASE>
+ </PHRASES>
+ <EVENTS>
+ <EVENT MessageType="text" Event="LINK.ADD" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgYWRkZWQKCllvdXIgbGluayBoYXMgYmVlbiBhZGRlZC4NCjE=</EVENT>
+ <EVENT MessageType="text" Event="LINK.ADD" Type="1">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBhZGRlZAoKQSBsaW5rIGhhcyBiZWVuIGFkZGVk</EVENT>
+ <EVENT MessageType="text" Event="LINK.ADD.PENDING" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBhZGRlZCAocGVuZGluZykKCllvdXIgc3VnZ2VzdGVkIGxpbmsgaXMgcGVuZGluZyBhZG1pbmlzdHJhdGlvbiBhcHByb3ZhbC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.ADD.PENDING" Type="1">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBhZGRlZCAocGVuZGluZykKCk5ldyBsaW5rIGhhcyBiZWVuIHN1Z2dlc3RlZCwgcGVuZGluZyB5b3VyIGNvbmZpcm1hdGlvbi4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.APPROVE" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBhcHByb3ZlZAoKWW91ciBsaW5rIGhhcyBiZWVuIGFwcHJvdmVk</EVENT>
+ <EVENT MessageType="html" Event="LINK.CONTACTFORM" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6ICJSZXF1ZXN0IEluZm9ybWF0aW9uIiBmb3JtIHN1Ym1pdHRlZAoKRGVhciBCdXNpbmVzcyBPd25lciw8YnI+DQo8YnI+DQoiUmVxdWVzdCBJbmZvcm1hdGlvbiIgZm9ybSBoYXMgYmVlbiBzdWJtaXR0ZWQgZm9yIDxpbnAyOm1fcGFyYW0gbmFtZT0idG9fc2l0ZW5hbWUiPjxicj48YnI+DQo8aHIgd2lkdGg9IjEwMCUiIG5vc2hhZGU+PGJyPg0KDQo8dGFibGU+DQo8dHI+DQo8dGQ+RnVsbCBuYW1lOjwvdGQ+DQo8dGQ+PGlucDI6bV9wYXJhbSBuYW1lPSJmcm9tX25hbWUiIC8+PC90ZD4NCjwvdHI+DQoNCjx0cj4NCjx0ZD5FLW1haWw6PC90ZD4NCjx0ZD48YSBocmVmPSJtYWlsdG86PGlucDI6bV9wYXJhbSBuYW1lPSJmcm9tX2VtYWlsIiAvPiI+PGlucDI6bV9wYXJhbSBuYW1lPSJmcm9tX2VtYWlsIiAvPjwvYT48L3RkPg0KPC90cj4NCg0KPHRyPg0KPHRkPlN1YmplY3Q6PC90ZD4NCjx0ZD48aW5wMjptX3BhcmFtIG5hbWU9ImZyb21fc3ViamVjdCIgLz48L3RkPg0KPC90cj4NCg0KPHRyPg0KPHRkPlF1ZXN0aW9uczo8L3RkPg0KPHRkPg0KPGlucDI6bV9wYXJhbSBuYW1lPSJtZXNzYWdlIi8+DQo8L3RkPg0KPC90cj4NCjwvdGFibGU+DQo8YnI+PGhyIHdpZHRoPSIxMDAlIiBub3NoYWRlPjxicj4=</EVENT>
+ <EVENT MessageType="html" Event="LINK.CONTACTFORM" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IEluZm9ybWF0aW9uIFJlcXVlc3QgZm9yICI8aW5wMjptX3BhcmFtIG5hbWU9InRvX2xpbmtuYW1lIiAvPiIgc3VibWl0dGVkCgpEZWFyIEFkbWluaXN0cmF0b3IsPGJyPg0KPGJyPg0KIlJlcXVlc3QgSW5mb3JtYXRpb24iIGZvcm0gaGFzIGJlZW4gc3VibWl0dGVkIGZvciAiPGlucDI6bV9wYXJhbSBuYW1lPSJ0b19zaXRlbmFtZSIgLz4iPGJyPjxicj4NCjxociB3aWR0aD0iMTAwJSIgbm9zaGFkZT48YnI+DQoNCjx0YWJsZT4NCjx0cj4NCjx0ZD5GdWxsIG5hbWU6PC90ZD4NCjx0ZD48aW5wMjptX3BhcmFtIG5hbWU9ImZyb21fbmFtZSIgLz48L3RkPg0KPC90cj4NCg0KPHRyPg0KPHRkPkUtbWFpbDo8L3RkPg0KPHRkPjxpbnAyOm1fcGFyYW0gbmFtZT0iZnJvbV9lbWFpbCIgLz48L3RkPg0KPC90cj4NCg0KPHRyPg0KPHRkPlN1YmplY3Q6PC90ZD4NCjx0ZD48aW5wMjptX3BhcmFtIG5hbWU9ImZyb21fc3ViamVjdCIgLz48L3RkPg0KPC90cj4NCg0KPHRyPg0KPHRkPlF1ZXN0aW9uczo8L3RkPg0KPHRkPg0KPGJsb2NrcXVvdGU+DQo8aW5wMjptX3BhcmFtIG5hbWU9Im1lc3NhZ2UiLz4NCjwvYmxvY2txdW90ZT4NCjwvdGQ+DQo8L3RyPg0KPC90YWJsZT4NCjxicj48aHIgd2lkdGg9IjEwMCUiIG5vc2hhZGU+PGJyPg0K</EVENT>
+ <EVENT MessageType="text" Event="LINK.DENY" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBkZW5pZWQKCllvdXIgbGluayBoYXMgYmVlbiBkZW5pZWQu</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQKCkRlYXIgPGlucDI6dS4taXRlbV9GaWVsZCBuYW1lPSJGaXJzdE5hbWUiIC8+IDxpbnAyOnUuLWl0ZW1fRmllbGQgbmFtZT0iTGFzdE5hbWUiIC8+LA0KDQpUaGFuayB5b3UgZm9yIHN1Ym1pdHRpbmcgbGluayBlbmhhbmNlbWVudCByZXF1ZXN0LiBZb3Ugd2lsbCBiZSBub3RpZmllZCB3aGVuIHlvdXIgbGluayBlbmhhbmNlbWVudCBpcyBwcm9jZXNzZWQu</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgRW5oYW5jZW1lbnQgc3VibWl0dGVkCgpBIHVzZXIgaGFzIHN1Ym1pdHRlZCBhIGxpbmsgZW5oYW5jZW1lbnQgcmVxdWVzdC4gUGxlYXNlIHByb2NlZWQgdG8gYWRtaW5pc3RyYXRpdmUgY29uc29sZSB0byByZXZpZXcgaXQu</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.APPROVE" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgYXBwcm92ZWQKCkRlYXIgPGlucDI6dS4taXRlbV9GaWVsZCBuYW1lPSJGaXJzdE5hbWUiIC8+IDxpbnAyOnUuLWl0ZW1fRmllbGQgbmFtZT0iTGFzdE5hbWUiIC8+LA0KDQpZb3VyIHJlY2VudCBsaW5rIGVuaGFuY2VtZW50IHJlcXVlc3QgaGFzIGJlZW4gYXBwcm92ZWQuIFRoYW5rIHlvdSENCg==</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.APPROVE" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgYXBwcm92ZWQKCkxpbmsgZW5oYW5jZW1lbnQgaGFzIGJlZW4gYXBwcm92ZWQu</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.CANCEL" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgY2FuY2VsbGVkCgpEZWFyIDxpbnAyOnUuLWl0ZW1fRmllbGQgbmFtZT0iRmlyc3ROYW1lIiAvPiA8aW5wMjp1Li1pdGVtX0ZpZWxkIG5hbWU9Ikxhc3ROYW1lIiAvPiwNCg0KWW91ciBsaW5rIGVuaGFuY2VtZW50IG9uIDxpbnAyOmNvbmZfQ29uZmlnVmFsdWUgbmFtZT0iU2l0ZV9OYW1lIi8+IGhhcyBiZWVuIGNhbmNlbGxlZC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.CANCEL" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgY2FuY2VsbGVkCgpMaW5rIGVuaGFuY2VtZW50IGhhcyBiZWVuIGNhbmNlbGxlZC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.DENY" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgZGVuaWVkCgpEZWFyIDxpbnAyOnUuLWl0ZW1fRmllbGQgbmFtZT0iRmlyc3ROYW1lIiAvPiA8aW5wMjp1Li1pdGVtX0ZpZWxkIG5hbWU9Ikxhc3ROYW1lIiAvPiwNCg0KU29ycnksIGJ1dCB5b3VyIHJlY2VudCBsaW5rIGVuaGFuY2VtZW50IHJlcXVlc3QgaGFzIGJlZW4gZGVuaWVkLg==</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.DENY" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgZGVuaWVkCgpMaW5rIGVuaGFuY2VtZW50IGhhcyBiZWVuIGRlbmllZC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.EXPIRE" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgZXhwaXJlZAoKRGVhciA8aW5wMjp1Li1pdGVtX0ZpZWxkIG5hbWU9IkZpcnN0TmFtZSIgLz4gPGlucDI6dS4taXRlbV9GaWVsZCBuYW1lPSJMYXN0TmFtZSIgLz4sDQoNCllvdXIgZW5oYW5jZWQgbGluayBhdCA8aW5wMjpjb25mX0NvbmZpZ1ZhbHVlIG5hbWU9IlNpdGVfTmFtZSIvPiBoYXMgZXhwaXJlZC4gSWYgeW91IHdhbnQgdG8gcmVuZXcgeW91ciBlbmhhbmNlZCBsaW5rLCBwbGVhc2UgcmUtc3VibWl0IGxpbmsgZW5oYW5jZW1lbnQgcmVxdWVzdC4gVGhhbmsgeW91IQ==</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.EXPIRE" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgZXhwaXJlZAoKRW5oYW5jZWQgbGluayBoYXMgZXhwaXJlZC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.EXTEND" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgcmVuZXdhbAoKRGVhciA8aW5wMjp1Li1pdGVtX0ZpZWxkIG5hbWU9IkZpcnN0TmFtZSIgLz4gPGlucDI6dS4taXRlbV9GaWVsZCBuYW1lPSJMYXN0TmFtZSIgLz4sDQoNClRoYW5rIHlvdSBmb3Igc3VibWl0dGluZyBsaW5rIGVuaGFuY2VtZW50IHJlbmV3YWwgcmVxdWVzdC4gWW91IHdpbGwgYmUgbm90aWZpZWQgd2hlbiB5b3UgcmVxdWVzdCBpcyBwcm9jZXNzZWQu</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.EXTEND" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgcmVuZXdhbCBzdWJtaXRlZAoKTGluayBlbmhhbmNlbWVudCByZW5ld2FsIHJlcXVlc3QgaGFzIGJlZW4gc3VibWl0dGVkLCBwbGVhc2UgcHJvY2VlZCB0byBhZG1pbmlzdHJhdGl2ZSBjb25zb2xlIHRvIHJldmlldyBpdC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.RENEW" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgZXh0ZW5kZWQKCkRlYXIgPGlucDI6dS4taXRlbV9GaWVsZCBuYW1lPSJGaXJzdE5hbWUiIC8+IDxpbnAyOnUuLWl0ZW1fRmllbGQgbmFtZT0iTGFzdE5hbWUiIC8+LA0KDQpZb3UgbGluayBlbmhhbmNlbWVudCBvbiA8aW5wMjpjb25mX0NvbmZpZ1ZhbHVlIG5hbWU9IlNpdGVfTmFtZSIvPiBoYXMgYmVlbiBleHRlbmRlZC4gVGhhbmsgeW91IQ==</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.RENEW" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgZXh0ZW5kZWQKCkxpbmsgZW5oYW5jZW1lbnQgaGFzIGJlZW4gZXh0ZW5kZWQ=</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.RENEW.FAILED" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IEVuaGFuY2UgTGluayBSZW5ld2FsIEZhaWxlZAoKRW5oYW5jZSBMaW5rIFJlbmV3YWwgRmFpbGVk</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.RENEW.FAILED" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IEVuaGFuY2UgTGluayBSZW5ld2FsIEZhaWxlZAoKRW5oYW5jZSBMaW5rIFJlbmV3YWwgRmFpbGVk</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.RENEWAL.NOTICE" Type="0">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgcmVuZXdhbCBub3RpY2UKCkRlYXIgPGlucDI6dV9GaWVsZCBuYW1lPSJGaXJzdE5hbWUiIC8+IDxpbnAyOnVfRmllbGQgbmFtZT0iTGFzdE5hbWUiIC8+LA0KDQpZb3VyIGxpbmsgZW5oYW5jZW1lbnQgb24gPGlucDI6Y29uZl9Db25maWdWYWx1ZSBuYW1lPSJTaXRlX05hbWUiLz4gaXMgYWJvdXQgdG8gZXhwaXJlLiBQbGVhc2UgbG9naW4gdG8geW91ciBhY2NvdW50IHRvIHJlbmV3IHlvdXIgbGluayBlbmhhbmNlbWVudC4gVGhhbmsgeW91IQ==</EVENT>
+ <EVENT MessageType="text" Event="LINK.ENHANCE.RENEWAL.NOTICE" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgZW5oYW5jZW1lbnQgYWJvdXQgdG8gZXhwaXJlCgpMaW5rIGVuaGFuY2VtZW50IGlzIGFib3V0IHRvIGV4cGlyZS4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.MODIFY" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBtb2RpZmVkCgpZb3VyIGxpbmsgaGFzIGJlZW4gbW9kaWZpZWQ=</EVENT>
+ <EVENT MessageType="text" Event="LINK.MODIFY" Type="1">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBtb2RpZmllZAoKQSBsaW5rIGhhcyBiZWVuIG1vZGlmaWVkLg==</EVENT>
+ <EVENT MessageType="text" Event="LINK.MODIFY.APPROVE" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBhcHByb3ZlZAoKWW91ciBsaW5rIG1vZGlmaWNhdGlvbiBoYXMgYmVlbiBhcHByb3ZlZA==</EVENT>
+ <EVENT MessageType="text" Event="LINK.MODIFY.DENY" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBtb2RpZmljYXRpb24gZGVuaWVkCgpZb3VyIGxpbmsgbW9kaWZpY2F0aW9uIGhhcyBiZWVuIGRlbmllZC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.MODIFY.PENDING" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBtb2RpZmllZCAocGVuZGluZykKCkEgbGluayBoYXMgYmVlbiBtb2RpZmllZC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.MODIFY.PENDING" Type="1">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBtb2RpZmllZCAocGVuZGluZykKCkEgbGluayBoYXMgYmVlbiBtb2RpZmllZC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.OWNER.MODIFY" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBtb2RpZmllZAoKQSBsaW5rIGhhcyBiZWVuIG1vZGlmaWVkLg==</EVENT>
+ <EVENT MessageType="text" Event="LINK.OWNER.MODIFY" Type="1">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBtb2RpZmllZAoKQSBsaW5rIGhhcyBiZWVuIG1vZGlmaWVkLg==</EVENT>
+ <EVENT MessageType="text" Event="LINK.OWNER.MODIFY.PENDING" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBtb2RpZmllZCAocGVuZGluZykKCkEgbGluayBoYXMgYmVlbiBtb2RpZmllZC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.OWNER.MODIFY.PENDING" Type="1">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayBtb2RpZmllZCAocGVuZGluZykKCkEgbGluayBoYXMgYmVlbiBtb2RpZmllZC4=</EVENT>
+ <EVENT MessageType="text" Event="LINK.RECIPROCAL.CHECK.FAILED" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IFJlY2lwcm9jYWwgbGluayBjaGVjayBmYWlsZWQKClJlY2lwcm9jYWwgbGluayBjaGVjayBmYWlsZWQgZm9yIGxpbms6DQoNCklEOiA8aW5wMjpsX0ZpZWxkIG5hbWU9IkxpbmtJZCIvPg0KTmFtZTogPGlucDI6bF9GaWVsZCBuYW1lPSJOYW1lIi8+DQpVcmw6IDxpbnAyOmxfRmllbGQgbmFtZT0iVXJsIi8+DQo=</EVENT>
+ <EVENT MessageType="text" Event="LINK.REVIEW.ADD" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayByZXZpZXcgYWRkZWQKCllvdXIgbGluayByZXZpZXcgaGFzIGJlZW4gYWRkZWQ=</EVENT>
+ <EVENT MessageType="text" Event="LINK.REVIEW.ADD" Type="1">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayByZXZpZXcgYWRkZWQKCkEgbGluayByZXZpZXcgaGFzIGJlZW4gYWRkZWQ=</EVENT>
+ <EVENT MessageType="text" Event="LINK.REVIEW.ADD.PENDING" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayByZXZpZXcgYWRkZWQKCllvdXIgbGluayByZXZpZXcgaGFzIGJlZW4gYWRkZWQgYW5kIGlzIHBlbmRpbmcgYXBwcm92YWwu</EVENT>
+ <EVENT MessageType="text" Event="LINK.REVIEW.APPROVE" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayByZXZpZXcgYXBwcm92ZWQKCllvdXIgbGluayByZXZpZXcgaGFzIGJlZW4gYXBwcm92ZWQ=</EVENT>
+ <EVENT MessageType="text" Event="LINK.REVIEW.DENY" Type="0">WC1Qcmlvcml0eTogMQ0KWC1NU01haWwtUHJpb3JpdHk6IEhpZ2gNClgtTWFpbGVyOiBJbi1Qb3J0YWwKU3ViamVjdDogTGluayByZXZpZXcgZGVjbGluZWQKCllvdXIgbGluayByZXZpZXcgaGFzIGJlZW4gZGVjbGluZWQ=</EVENT>
+ <EVENT MessageType="html" Event="LINK.VALIDATION.RESULTS" Type="1">WC1Qcmlvcml0eTogMQpYLU1TTWFpbC1Qcmlvcml0eTogSGlnaApYLU1haWxlcjogSW4tUG9ydGFsClN1YmplY3Q6IExpbmsgVmFsaWRhdGlvbiBSZXN1bHRzCgpMaW5rIFZhbGlkYXRpb24gQ29tcGxldGVkIG9uIDxpbnAyOmxhbmcuY3VycmVudF9DdXJyZW50RGF0ZSBmb3JtYXQ9ImQvbS9ZIi8+IGF0IDxpbnAyOmxhbmcuY3VycmVudF9DdXJyZW50RGF0ZSBmb3JtYXQ9Ikg6aTpzIi8+PGJyIC8+DQo8YnIgLz4NCjxpbnAyOmxpbmstdmFsaWRhdGlvbi5pbnZhbGlkX0luaXRMaXN0IHBlcl9wYWdlPSItMSIvPg0KPGlucDI6bV9pZiBjaGVjaz0ibGluay12YWxpZGF0aW9uLmludmFsaWRfVG90YWxSZWNvcmRzIj4NCglUaGVlc2UgbGlua3Mgd2VyZSBtYXJrZWQgYXMgaW52YWxpZCBkdXJpbmcgdmFsaWRhdGlvbiBwcm9jZXNzOjxiciAvPg0KDQoJPGlucDI6bV9EZWZpbmVFbGVtZW50IG5hbWU9ImxpbmtfZWxlbWVudCI+DQoJCTxsaT4NCgkJCTxpbnAyOkZpZWxkIG5hbWU9IkxpbmtOYW1lIi8+ICg8aW5wMjpDYXRlZ29yeU5hbWUvPikNCgkJPC9saT4NCgk8L2lucDI6bV9EZWZpbmVFbGVtZW50Pg0KDQoJPHVsPg0KCQk8aW5wMjpsaW5rLXZhbGlkYXRpb24uaW52YWxpZF9QcmludExpc3QgcmVuZGVyX2FzPSJsaW5rX2VsZW1lbnQiLz4NCgk8L3VsPg0KPGlucDI6bV9lbHNlLz4NCglBbGwgbGlua3MgYXBwZWFyIHRvIGJlIHZhbGlkLg0KPC9pbnAyOm1faWY+</EVENT>
+ </EVENTS>
+ </LANGUAGE>
+</LANGUAGES>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/install/english.lang
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.9
\ No newline at end of property
Index: branches/5.0.x/in-link/install/install_data.sql
===================================================================
--- branches/5.0.x/in-link/install/install_data.sql (nonexistent)
+++ branches/5.0.x/in-link/install/install_data.sql (revision 12118)
@@ -0,0 +1,308 @@
+INSERT INTO ConfigurationAdmin VALUES ('Link_SortField', 'la_Text_Links', 'la_link_sortfield_prompt', 'select', '', 'Name=la_Link_Name,Description=la_Link_Description,Url=la_Link_URL,CreatedOn=la_opt_CreatedOn,Hits=la_Link_Hits,CachedRating=la_opt_Rating,<SQL>SELECT Prompt AS OptionName, CONCAT("cust_", FieldName) AS OptionValue FROM <PREFIX>CustomField WHERE (Type = 4) AND (IsSystem = 0)</SQL>', 10.01, 1, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_SortOrder', 'la_Text_Links', 'la_link_sortfield_prompt', 'select', '', 'asc=la_common_ascending,desc=la_common_descending', 10.01, 2, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_SortField2', 'la_Text_Links', 'la_link_sortfield2_prompt', 'select', '', 'Name=la_Link_Name,Description=la_Link_Description,Url=la_Link_URL,CreatedOn=la_Link_Date,Hits=la_Link_Hits,CachedRating=la_Link_Rating,<SQL>SELECT Prompt AS OptionName, CONCAT("cust_", FieldName) AS OptionValue FROM <PREFIX>CustomField WHERE (Type = 4) AND (IsSystem = 0)</SQL>', 10.02, 1, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_SortOrder2', 'la_Text_Links', 'la_link_sortfield2_prompt', 'select', '', 'asc=la_common_ascending,desc=la_common_descending', 10.02, 2, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Perpage_Links', 'la_Text_Links', 'la_link_perpage_prompt', 'text', '', '', 10.03, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_NewDays', 'la_Text_Links', 'la_link_newdays_prompt', 'text', '', '', 10.05, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_MinPopRating', 'la_Text_Links', 'la_fld_Link_MinPopRating', 'text', '', '', 10.06, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_MaxHotNumber', 'la_Text_Links', 'la_fld_Link_MaxHotNumber', 'text', '', '', 10.08, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_EnhancedLinks', 'la_Text_Links', 'la_link_EnhancedLinks', 'checkbox', '', '', 10.09, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_AllowFreeListings', 'la_Text_Links', 'la_link_AllowFreeListings', 'checkbox', '', '', 10.1, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_ShowPick', 'la_Text_Links', 'la_link_editorspick_prompt', 'checkbox', '', '', 10.11, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_UrlStatus', 'la_Text_Links', 'la_link_urlstatus_prompt', 'checkbox', '', '', 10.12, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_ReviewsSort', 'la_Text_Reviews', 'la_link_sortreviews_prompt', 'select', '', 'ReviewText=la_opt_CommentText,CreatedOn=la_opt_CreatedOn', 20.01, 1, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_ReviewsOrder', 'la_Text_Reviews', 'la_link_sortreviews_prompt', 'select', '', 'asc=la_common_Ascending,desc=la_common_Descending', 20.01, 2, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_ReviewsSort2', 'la_Text_Reviews', 'la_link_sortreviews2_prompt', 'select', '', 'ReviewText=la_common_ReviewText,CreatedOn=la_opt_CreatedOn', 20.02, 1, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_ReviewsOrder2', 'la_Text_Reviews', 'la_link_sortreviews2_prompt', 'select', '', 'asc=la_common_Ascending,desc=la_common_Descending', 20.02, 2, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Link_MinPopVotes', 'la_Text_Links', 'la_fld_Link_MinPopVotes', 'text', '', '', 10.07, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Perpage_LinkReviews', 'la_Text_Reviews', 'la_review_perpage_prompt', 'text', NULL, NULL, 20.03, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Perpage_LinkReviews_Short', 'la_Text_Reviews', 'la_review_perpage_short_prompt', 'text', NULL, NULL, 20.04, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Perpage_Links_Short', 'la_Text_Links', 'la_link_perpage_short_prompt', 'text', '', '', 10.04, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Search_Link_Name', 'la_Text_Link_Search', 'la_Link_Name', 'checkbox', '', '', 2, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Search_Link_Description', 'la_Text_Link_Search', 'la_Link_Description', 'checkbox', '', '', 1, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Search_Link_Url', 'la_Text_Link_Search', 'la_Link_Url', 'checkbox', '', '', 5, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Search_Link_CreatedOn', 'la_Text_Link_Search', 'la_Link_CreatedOn', 'checkbox', '', '', 5, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Search_Link_Hits', 'la_Text_Link_Search', 'la_Link_Hits', 'checkbox', '', '', 6, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Search_Link_CatchedRating', 'la_Text_Link_Search', 'la_Link_CatchedRating', 'checkbox', '', '', 7, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Search_Link_CatchedVotesQty', 'la_Text_Link_Search', 'la_Link_CatchedVotesQty', 'checkbox', '', '', 8, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Search_Link_CatchedReviewsQty', 'la_Text_Link_Search', 'la_Link_CatchedReviewsQty', 'checkbox', '', '', 9, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('link_ReviewDelay_Value', 'la_Text_Links', 'la_prompt_DupReviews', 'text', '', '', 10.13, 1, 1);
+INSERT INTO ConfigurationAdmin VALUES ('link_ReviewDelay_Interval', 'la_Text_Links', 'la_prompt_DupReviews', 'select', '', '1=la_opt_Sec,60=la_opt_Min,3600=la_opt_Hour,86400=la_opt_Day,604800=la_opt_Week,2419200=la_opt_Month,29030400=la_opt_Year', 10.13, 2, 1);
+INSERT INTO ConfigurationAdmin VALUES ('link_RatingDelay_Value', 'la_Text_Links', 'la_prompt_DupRating', 'text', '', '', 10.14, 1, 1);
+INSERT INTO ConfigurationAdmin VALUES ('link_RatingDelay_Interval', 'la_Text_Links', 'la_prompt_DupRating', 'select', '', '1=la_opt_Sec,60=la_opt_Min,3600=la_opt_Hour,86400=la_opt_Day,604800=la_opt_Week,2419200=la_opt_Month,29030400=la_opt_Year', 10.14, 2, 1);
+INSERT INTO ConfigurationAdmin VALUES ('l_CategoryTemplate', 'la_section_Templates', 'la_fld_CategoryTemplate', 'text', '', '', 30.01, 0, 0);
+INSERT INTO ConfigurationAdmin VALUES ('l_ItemTemplate', 'la_section_Templates', 'la_fld_ItemTemplate', 'text', '', '', 30.02, 0, 0);
+INSERT INTO ConfigurationAdmin VALUES ('l_MaxImageCount', 'la_section_ImageSettings', 'la_config_MaxImageCount', 'text', '', '', 40.01, 0, 0);
+INSERT INTO ConfigurationAdmin VALUES ('l_ThumbnailImageWidth', 'la_section_ImageSettings', 'la_config_ThumbnailImageWidth', 'text', '', '', 40.02, 0, 0);
+INSERT INTO ConfigurationAdmin VALUES ('l_ThumbnailImageHeight', 'la_section_ImageSettings', 'la_config_ThumbnailImageHeight', 'text', '', '', 40.03, 0, 0);
+INSERT INTO ConfigurationAdmin VALUES ('l_FullImageWidth', 'la_section_ImageSettings', 'la_config_FullImageWidth', 'text', '', '', 40.04, 0, 0);
+INSERT INTO ConfigurationAdmin VALUES ('l_FullImageHeight', 'la_section_ImageSettings', 'la_config_FullImageHeight', 'text', '', '', 40.05, 0, 0);
+
+INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Keyword_links', 'la_config_SearchRel_DefaultKeyword', 'la_text_keyword', 'text', NULL, NULL, 0, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Pop_links', 'la_config_DefaultPop', 'la_text_popularity', 'text', NULL, NULL, 0, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Rating_links', 'la_config_DefaultRating', 'la_prompt_Rating', 'text', NULL, NULL, 0, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('SearchRel_Increase_links', 'la_config_DefaultIncreaseImportance', 'la_text_increase_importance', 'text', NULL, NULL, 0, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('Search_ShowMultiple_links', 'la_config_ShowMultiple', 'la_Text_MultipleShow', 'text', NULL, NULL, 0, 0, 1);
+
+INSERT INTO ConfigurationAdmin VALUES ('l_MaxCategories', 'la_Text_Links', 'la_fld_MaxCategories', 'text', NULL, NULL, 10.15, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('l_EnableGoogleMaps', 'la_Text_Links', 'la_fld_LinkEnableGoogleMaps', 'checkbox', NULL, NULL, 10.16, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('l_GoogleMapsAPIKey', 'la_Text_Links', 'la_fld_LinkGoogleMapsAPIKey', 'text', NULL, NULL, 10.17, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('l_EnableLinkContactForm', 'la_Text_Links', 'la_config_EnableLinkContactForm', 'checkbox', NULL, NULL, 10.18, 0, 1);
+INSERT INTO ConfigurationAdmin VALUES ('ReciprocalLinkChecking', 'la_Text_Links', 'la_config_ReciprocalLinkChecking', 'checkbox', NULL, NULL, 10.19, 0, 0);
+
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Perpage_Links', '10', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_SortField', 'Name', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_SortOrder', 'asc', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_SortField2', 'Description', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_SortOrder2', 'desc', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_NewDays', '100', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_MinPopRating', '5', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_MaxHotNumber', '5', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_EnhancedLinks', '0', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_AllowFreeListings', '1', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_ShowPick', '1', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_UrlStatus', '', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_ReviewsSort', 'CreatedOn', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_ReviewsOrder', 'desc', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_ReviewsSort2', 'ReviewText', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_ReviewsOrder2', 'asc', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_MinPopVotes', '20', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_LinkId', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_Name', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_Description', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_Url', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_CreatedOn', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_Hits', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_CatchedRating', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_CatchedVotesQty', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_CatchedReviewsQty', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_ReviewById', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_Priority', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_Status', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_EditorsPick', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_ResourceId', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_HotItem', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_PopItem', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_Link_NewItem', '1', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'link_ReviewDelay_Value', '1', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'link_ReviewDelay_Interval', '2419200', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'link_RatingDelay_Value', '1', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'link_RatingDelay_Interval', '2419200', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_Root', '{LinkCatId}', 'In-Portal', '');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Perpage_Links_Short', '3', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_Highlight_OpenTag', '<span class="match">', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_Highlight_CloseTag', '</span>', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Perpage_LinkReviews_Short', '3', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Perpage_LinkReviews', '10', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_CategoryTemplate', '/in-link/designs/section', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_ItemTemplate', 'in-link/designs/detail', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_MaxImageCount', 5, 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_ThumbnailImageWidth', 120, 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_ThumbnailImageHeight', 120, 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_FullImageWidth', 450, 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_FullImageHeight', 450, 'In-Link', 'in-link:configuration_output');
+
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'SearchRel_Keyword_links', '90', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'SearchRel_Pop_links', '5', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'SearchRel_Rating_links', '5', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'SearchRel_Increase_links', '30', 'In-Link', 'in-link:configuration_search');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Search_ShowMultiple_links', '0', 'In-Link', 'in-link:configuration_search');
+
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'StartValidationTime', '0', 'In-Link', '');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'LastExpirationTime', '0', 'In-Link', '');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'Link_RatingToPop', '5', 'In-Link', 'in-link:configuration_output');
+
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_MaxCategories', '3', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_EnableGoogleMaps', '0', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_GoogleMapsAPIKey', '', 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'l_EnableLinkContactForm', 1, 'In-Link', 'in-link:configuration_output');
+INSERT INTO ConfigurationValues VALUES (DEFAULT, 'ReciprocalLinkChecking', '0', 'In-Link', 'in-link:configuration_output');
+
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ADD', NULL, 2, 0, 'In-Link', 'la_event_link.add', 1);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.MODIFY', NULL, 2, 0, 'In-Link', 'la_event_link.modify', 1);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.REVIEW.ADD', NULL, 2, 0, 'In-Link', 'la_event_link.review.add', 1);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ADD', NULL, 1, 0, 'In-Link', 'la_event_link.add', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.APPROVE', NULL, 1, 0, 'In-Link', 'la_event_link.approve', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.DENY', NULL, 1, 0, 'In-Link', 'la_event_link.deny', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.MODIFY', NULL, 1, 0, 'In-Link', 'la_event_link.modify', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.MODIFY.APPROVE', NULL, 1, 0, 'In-Link', 'la_event_link.modify.approve', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.REVIEW.ADD', NULL, 1, 0, 'In-Link', 'la_event_link.review.add', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.REVIEW.APPROVE', NULL, 1, 0, 'In-Link', 'la_event_link.review.approve', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.REVIEW.DENY', NULL, 1, 0, 'In-Link', 'la_event_link.review.deny', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ADD.PENDING', NULL, 1, 0, 'In-Link', 'la_event_link.add.pending', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ADD.PENDING', NULL, 2, 0, 'In-Link', 'la_event_link.add.pending', 1);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.MODIFY.PENDING', NULL, 1, 0, 'In-Link', 'la_event_link.modify.pending', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.MODIFY.PENDING', NULL, 2, 0, 'In-Link', 'la_event_link.modify.pending', 1);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.OWNER.MODIFY', NULL, 2, 0, 'In-Link', 'la_event_link.owner.modify', 1);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.OWNER.MODIFY', NULL, 1, 0, 'In-Link', 'la_event_link.owner.modify', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.OWNER.MODIFY.PENDING', NULL, 1, 0, 'In-Link', 'la_event_link.owner.modify.pending', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.OWNER.MODIFY.PENDING', NULL, 2, 0, 'In-Link', 'la_event_link.owner.modify.pending', 1);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.REVIEW.ADD.PENDING', NULL, 1, 0, 'In-Link', 'la_event_link.review.add.pending', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.MODIFY.DENY', NULL, 1, 0, 'In-Link', 'la_event_link.modify.deny', 0);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance', '1');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance', '0');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.APPROVE', NULL, 0, 0, 'In-Link', 'la_event_link.link.enhance.approve', '1');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.APPROVE', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.approve', '0');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.DENY', NULL, 0, 0, 'In-Link', 'la_event_link.link.enhance.deny', '1');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.DENY', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.deny', '0');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.EXPIRE', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.expire', '1');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.EXPIRE', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.expire', '0');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.EXTEND', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.extend', '1');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.EXTEND', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.extend', '0');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.RENEW', NULL, 0, 0, 'In-Link', 'la_event_link.link.enhance.renew', '1');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.RENEW', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.renew', '0');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.RENEW.FAILED', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.renew_failed', '1');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.RENEW.FAILED', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.renew_failed', '0');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.CANCEL', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.renew_cancel', '1');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.CANCEL', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.renew_cancel', '0');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.RENEWAL.NOTICE', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.renewal_notice', '1');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.ENHANCE.RENEWAL.NOTICE', NULL, 1, 0, 'In-Link', 'la_event_link.link.enhance.renewal_notice', '0');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.CONTACTFORM', NULL , '1', '0', 'In-Link', 'la_event_link.link.contactform', '1');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.CONTACTFORM', NULL , '1', '0', 'In-Link', 'la_event_link.link.contactform', '0');
+INSERT INTO Events VALUES (DEFAULT, 'LINK.RECIPROCAL.CHECK.FAILED', NULL, 1, 0, 'In-Link', 'la_event_link.reciprocal.check.failed', 1);
+INSERT INTO Events VALUES (DEFAULT, 'LINK.VALIDATION.RESULTS', NULL, 1, 0, 'In-Link', 'la_event_link.validation.results', 1);
+
+INSERT INTO CustomField VALUES (DEFAULT, 4, 'LinkAddress', 'lu_fld_LinkAddress', 0, 'la_section_BusinessLocation', 'la_fld_LinkAddress', 'text', 'size="40"', '', 1, 1, 0, 0);
+INSERT INTO CustomField VALUES (DEFAULT, 4, 'LinkCity', 'lu_fld_LinkCity', 0, 'la_section_BusinessLocation', 'la_fld_LinkCity', 'text', 'size="40"', '', 2, 1, 0, 0);
+INSERT INTO CustomField VALUES (DEFAULT, 4, 'LinkZipCode', 'lu_fld_LinkZipCode', 0, 'la_section_BusinessLocation', 'la_fld_LinkZipCode', 'text', NULL, '', 4, 1, 0, 0);
+INSERT INTO CustomField VALUES (DEFAULT, 4, 'LinkState', 'lu_fld_LinkState', 0, 'la_section_BusinessLocation', 'la_fld_LinkState', 'select', '=+||<SQL>SELECT DestAbbr AS OptionValue, DestName AS OptionName FROM <PREFIX>StdDestinations WHERE DestType = 2 AND (DestParentId = 225 OR DestParentId = 38) ORDER BY DestParentId DESC, DestAbbr ASC</SQL>', '', 3, 1, 0, 0);
+INSERT INTO CustomField VALUES (DEFAULT, 4, 'LinkCountry', 'lu_fld_LinkCountry', 0, 'la_section_BusinessLocation', 'la_fld_LinkCountry', 'select', '=+||<SQL>SELECT DestAbbr AS OptionValue, DestName AS OptionName FROM <PREFIX>StdDestinations WHERE DestType = 1 ORDER BY DestAbbr ASC</SQL>', '', 5, 1, 0, 0);
+INSERT INTO CustomField VALUES (DEFAULT, 4, 'LinkPhone', 'lu_fld_LinkPhone', 0, 'la_section_BusinessLocation', 'la_fld_LinkPhone', 'text', NULL, '', 6, 1, 0, 0);
+
+INSERT INTO ItemTypes VALUES (4, 'In-Link', 'l', 'Link', 'Name', 'CreatedById', 'Hits', 'CachedRating', 'la_ItemTab_Links', 1, 'in-link/admin/addlink.php', 'clsLink', 'Link');
+
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.ADD', 'lu_PermName_Link.Add_desc', 'lu_PermName_Link.Add_error', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.VIEW', 'lu_PermName_Link.View_desc', 'lu_PermName_Link.View_error', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.ADD.PENDING', 'lu_PermName_Link.Add.Pending_desc', 'lu_PermName_Link.Add.Pending_error', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.MODIFY', 'lu_PermName_Link.Modify_desc', 'lu_PermName_Link.Modify_desc', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.DELETE', 'lu_PermName_Link.Delete_desc', 'lu_PermName_Link.Delete_error', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.RATE', 'lu_PermName_Link.Rate_desc', 'lu_PermName_Link.Rate_error', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.REVIEW', 'lu_PermName_Link.Review_desc', 'lu_PermName_Link.Review_error', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.REVIEW.PENDING', 'lu_PermName_Link.Review_Pending_desc', ' lu_PermName_Link.Review_Pending_error', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.MODIFY.PENDING', 'lu_PermName_Link.Modify.Pending_desc', 'lu_PermName_Link.Modify.Pending_desc', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.OWNER.MODIFY', 'lu_PermName_Link.Owner.Modify_desc', 'lu_PermName_Link.Owner.Modify_error', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.OWNER.MODIFY.PENDING', 'lu_PermName_Link.Owner.Modify.Pending_desc', 'lu_PermName_Link.Owner.Modify.Pending_error', 'In-Link');
+INSERT INTO PermissionConfig VALUES (DEFAULT, 'LINK.OWNER.DELETE', 'lu_PermName_Link.Owner.Delete_desc', 'lu_PermName_Link.Owner.Delete_error', 'In-Link');
+
+INSERT INTO SearchConfig VALUES ('Link', 'OrgId', 0, 0, 'lu_fielddesc_link_orgid', 'lu_field_orgid', 'In-Link', 'la_text_link', 19, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'NewItem', 0, 1, 'lu_fielddesc_link_newitem', 'lu_field_newitem', 'In-Link', 'la_text_link', 18, DEFAULT, 0, 'boolean', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'PopItem', 0, 1, 'lu_fielddesc_link_popitem', 'lu_field_popitem', 'In-Link', 'la_text_link', 17, DEFAULT, 0, 'boolean', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'HotItem', 0, 1, 'lu_fielddesc_link_hotitem', 'lu_field_hotitem', 'In-Link', 'la_text_link', 16, DEFAULT, 0, 'boolean', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'ResourceId', 0, 1, 'lu_fielddesc_link_resourceid', 'lu_field_resourceid', 'In-Link', 'la_text_link', 15, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'EditorsPick', 0, 1, 'lu_fielddesc_link_editorspick', 'lu_field_editorspick', 'In-Link', 'la_text_link', 14, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'Status', 0, 0, 'lu_fielddesc_link_status', 'lu_field_status', 'In-Link', 'la_text_link', 13, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'Priority', 0, 0, 'lu_fielddesc_link_priority', 'lu_field_priority', 'In-Link', 'la_text_link', 12, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'ModifiedById', 0, 0, 'lu_fielddesc_link_modifiedbyid', 'lu_field_modifiedbyid', 'In-Link', 'la_text_link', 11, DEFAULT, 0, 'text', 'PortalUser.Login', '{ForeignTable}.PortalUserId={LocalTable}.ModifiedById', NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'CreatedById', 0, 0, 'lu_fielddesc_link_createdbyid', 'lu_field_createdbyid', 'In-Link', 'la_text_link', 10, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'CachedReviewsQty', 0, 0, 'lu_fielddesc_link_cachedreviewsqty', 'lu_field_cachedreviewsqty', 'In-Link', 'la_text_link', 9, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'CachedVotesQty', 0, 0, 'lu_fielddesc_link_cachedvotesqty', 'lu_field_cachedvotesqty', 'In-Link', 'la_text_link', 8, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'LinkId', 0, 1, 'lu_fielddesc_link_linkid', 'lu_field_linkid', 'In-Link', 'la_text_link', 0, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'Name', 1, 1, 'lu_fielddesc_link_name', 'lu_field_name', 'In-Link', 'la_text_link', 1, DEFAULT, 1, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'Description', 1, 1, 'lu_fielddesc_link_description', 'lu_field_description', 'In-Link', 'la_text_link', 2, DEFAULT, 1, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'Url', 1, 1, 'lu_fielddesc_link_url', 'lu_field_url', 'In-Link', 'la_text_link', 3, DEFAULT, 2, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'CreatedOn', 0, 1, 'lu_fielddesc_link_createdon', 'lu_field_createdon', 'In-Link', 'la_text_link', 4, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'Modified', 0, 1, 'lu_fielddesc_link_modified', 'lu_field_modified', 'In-Link', 'la_text_link', 5, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'Hits', 0, 1, 'lu_fielddesc_link_hits', 'lu_field_hits', 'In-Link', 'la_text_link', 6, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+INSERT INTO SearchConfig VALUES ('Link', 'CachedRating', 0, 0, 'lu_fielddesc_link_cachedrating', 'lu_field_cachedrating', 'In-Link', 'la_text_link', 7, DEFAULT, 0, 'text', NULL, NULL, NULL, NULL, NULL, NULL, NULL);
+
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT COUNT(*) as LinkCount FROM <%prefix%>Link WHERE Status=1', NULL, 'la_prompt_ActiveLinks', 0, 1);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT COUNT(*) AS TotalLinks FROM <%prefix%>Link', NULL, 'la_prompt_TotalLinks', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT COUNT(*) AS ActiveLinks FROM <%prefix%>Link WHERE Status = 1', NULL, 'la_prompt_ActiveLinks', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT COUNT(*) AS PendingLinks FROM <%prefix%>Link WHERE Status = 2', NULL, 'la_prompt_PendingLinks', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT COUNT(*) AS DisabledLinks FROM <%prefix%>Link WHERE Status = 0', NULL, 'la_prompt_DisabledLinks', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT COUNT(*) AS NewLinks FROM <%prefix%>Link WHERE (NewItem = 1) OR ( (UNIX_TIMESTAMP() - CreatedOn) <= <%m:config name="Link_NewDays"%>*86400 AND (NewItem = 2) )', NULL, 'la_prompt_NewLinks', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT COUNT(*) FROM <%prefix%>Link WHERE EditorsPick = 1', NULL, 'la_prompt_EditorsPickLinks', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT COUNT(*) AS HotLinks FROM <%prefix%>Link WHERE (HotItem = 1) OR (Hits >= <%m:config name="Link_MaxHotNumber"%> AND (HotItem = 2) )', NULL, 'la_prompt_HotLinks', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT COUNT(*) AS PopularLinks FROM <%prefix%>Link WHERE (PopItem = 1) OR ( (CachedRating >= <%link:hit_count type="top"%>) AND <%link:hit_count type="top"%> AND (PopItem = 2) )', NULL, 'la_prompt_PopularLinks', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT <%m:post_format field="AVG(CachedRating)" type="currency" precision="2"%> FROM <%prefix%>Link WHERE CachedRating > 0', NULL, 'la_prompt_LinksAverageRating', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT MAX(Hits) AS MaxLinksHits FROM <%prefix%>Link', NULL, 'la_prompt_MaxLinksHits', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT MAX(CachedVotesQty) AS MaxLinksVotes FROM <%prefix%>Link', NULL, 'la_prompt_MaxLinksVotes', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT <%m:post_format field="MAX(CreatedOn)" type="date"%> FROM <%prefix%>Link', NULL, 'la_prompt_NewestLinkDate', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT <%m:post_format field="MAX(Modified)" type="date"%> FROM <%prefix%>Link', NULL, 'la_prompt_LastLinkUpdate', 0, 2);
+INSERT INTO StatItem VALUES (DEFAULT, 'In-Link', 'SELECT COUNT(*) FROM <%prefix%>ItemReview WHERE Module = \'<%modules:get_current%>\'', NULL, 'la_prompt_LinkReviews', 0, 2);
+
+INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.VIEW', 14, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.VIEW', 14, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.VIEW', 12, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'FAVORITES', 12, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.VIEW', 12, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.ADD.PENDING', 12, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.RATE', 12, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.REVIEW', 12, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.OWNER.MODIFY', 12, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.OWNER.MODIFY.PENDING', 12, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.VIEW', 13, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'FAVORITES', 13, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.ADD', 13, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.VIEW', 13, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.RATE', 13, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.REVIEW', 13, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.OWNER.MODIFY', 13, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.OWNER.MODIFY.PENDING', 13, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.OWNER.DELETE', 13, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.VIEW', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.ADD', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.DELETE', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'CATEGORY.MODIFY', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'FAVORITES', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.ADD', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.VIEW', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.MODIFY', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.DELETE', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.RATE', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.REVIEW', 11, 1, 0, {LinkCatId});
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.ADD', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.VIEW', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.ADD.PENDING', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.MODIFY', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.DELETE', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.RATE', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.REVIEW', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.REVIEW.PENDING', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.MODIFY.PENDING', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.OWNER.MODIFY', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.OWNER.MODIFY.PENDING', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'LINK.OWNER.DELETE', 15, 0, 0, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:links.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:setting_folder.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:configuration_output.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:configuration_output.edit', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:configuration_search.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:configuration_search.edit', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:configuration_email.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:configuration_email.edit', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:configuration_custom.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:configuration_custom.add', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:configuration_custom.edit', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:configuration_custom.delete', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:duplicate_checker.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:duplicate_checker.add', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:duplicate_checker.edit', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:duplicate_checker.delete', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:validation_list.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:validation_list.add', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:validation_list.edit', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:paid_listings.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:paid_listings.add', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:paid_listings.edit', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:paid_listings.delete', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:paid_listings.advanced:approve', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:paid_listings.advanced:decline', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:listing_types.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:listing_types.add', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:listing_types.edit', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:listing_types.delete', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:link_validation.view', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:link_validation.advanced:continue', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:link_validation.advanced:restart', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:link_validation.advanced:validate', 11, 1, 1, 0);
+INSERT INTO Permissions VALUES (DEFAULT, 'in-link:link_validation.advanced:reset', 11, 1, 1, 0);
+
+INSERT INTO ImportScripts VALUES (DEFAULT, 'Links from CSV file [In-Link]', '', 'l', 'In-Link', '', 'CSV', '1');
+
+INSERT INTO CustomField VALUES (DEFAULT, 1, 'l_ItemTemplate', 'l_ItemTemplate', 0, 'la_title_SystemCF', 'l_ItemTemplate', 'text', NULL, '', 0, 0, 1, 0);
+
+INSERT INTO Counters VALUES (DEFAULT, 'linkhits_count', 'SELECT ROUND(SUM(Hits)) FROM <%PREFIX%>Link', NULL, NULL, '300', '0', '|Link|');
+
+INSERT INTO Modules VALUES ('In-Link', 'in-link/', 'l', '0.0.0', 1, 1, 'in-link/', 2, '1054738405');
Property changes on: branches/5.0.x/in-link/install/install_data.sql
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.12
\ No newline at end of property
Index: branches/5.0.x/in-link/install/upgrades.php
===================================================================
--- branches/5.0.x/in-link/install/upgrades.php (nonexistent)
+++ branches/5.0.x/in-link/install/upgrades.php (revision 12118)
@@ -0,0 +1,104 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+ $upgrade_class = 'InLinkUpgrades';
+
+ /**
+ * Class, that holds all upgrade scripts for "Core" module
+ *
+ */
+ class InLinkUpgrades extends kHelper {
+
+ /**
+ * Install toolkit instance
+ *
+ * @var kInstallToolkit
+ */
+ var $_toolkit = null;
+
+ /**
+ * Sets common instance of installator toolkit
+ *
+ * @param kInstallToolkit $instance
+ */
+ function setToolkit(&$instance)
+ {
+ $this->_toolkit =& $instance;
+ }
+
+ /**
+ * Changes table structure, where multilingual fields of TEXT type are present
+ *
+ * @param string $mode when called mode {before, after)
+ */
+ function Upgrade_5_0_0($mode)
+ {
+ if ($mode == 'after') {
+ $root_category = $this->Application->findModule('Name', 'In-Link', 'RootCat');
+
+ $sql = 'UPDATE ' . $this->Application->getUnitOption('c', 'TableName') . '
+ SET UseMenuIconUrl = 1, MenuIconUrl = "in-link/img/menu_links.gif"
+ WHERE ' . $this->Application->getUnitOption('c', 'IDField') . ' = ' . $root_category;
+ $this->Conn->Query($sql);
+
+ $this->_updateDetailTemplate('l', 'inlink/detail', 'in-link/designs/detail');
+
+ // copy link name and description to their multilingual equivalents
+ $this->_copyToMultilingual();
+ }
+ }
+
+ /**
+ * Copy link values from normal fields to multilingual
+ *
+ */
+ function _copyToMultilingual()
+ {
+ $fields = Array ('Name', 'Description');
+ $primary_language = $this->Application->GetDefaultLanguageId();
+
+ $set_clause = Array ();
+ foreach ($fields as $field) {
+ $set_clause[] = 'l' . $primary_language . '_' . $field . ' = ' . $field;
+ }
+
+ $sql = 'UPDATE ' . TABLE_PREFIX . 'Link
+ SET ' . implode(', ', $set_clause);
+ $this->Conn->Query($sql);
+ }
+
+ /**
+ * Replaces deprecated detail template design with new one
+ *
+ * @param string $prefix
+ * @param string $from_template
+ * @param string $to_template
+ */
+ function _updateDetailTemplate($prefix, $from_template, $to_template)
+ {
+ $sql = 'SELECT CustomFieldId
+ FROM ' . TABLE_PREFIX . 'CustomField
+ WHERE FieldName = "' . $prefix . '_ItemTemplate"';
+ $custom_field_id = $this->Conn->GetOne($sql);
+
+ $ml_formatter =& $this->Application->recallObject('kMultiLanguage');
+ /* @var $ml_formatter kMultiLanguage */
+
+ $field = $ml_formatter->LangFieldName('cust_' . $custom_field_id, true);
+
+ $sql = 'UPDATE ' . TABLE_PREFIX . 'CategoryCustomData
+ SET ' . $field . ' = "' . $to_template . '"
+ WHERE ' . $field . ' = "' . $from_template . '"';
+ $this->Conn->Query($sql);
+ }
+ }
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/install/upgrades.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.3
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/install/prerequisites.php
===================================================================
--- branches/5.0.x/in-link/install/prerequisites.php (nonexistent)
+++ branches/5.0.x/in-link/install/prerequisites.php (revision 12118)
@@ -0,0 +1,78 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+ $prerequisite_class = 'InLinkPrerequisites';
+
+ /**
+ * Class, that holds all prerequisite scripts for "In-Link" module
+ *
+ */
+ class InLinkPrerequisites extends kHelper {
+
+ /**
+ * Install toolkit instance
+ *
+ * @var kInstallToolkit
+ */
+ var $_toolkit = null;
+
+ /**
+ * Sets common instance of installator toolkit
+ *
+ * @param kInstallToolkit $instance
+ */
+ function setToolkit(&$instance)
+ {
+ $this->_toolkit =& $instance;
+ }
+
+ /**
+ * Checks minimal version, that could be upgradeable
+ *
+ * @param string $mode when called mode {install, standalone, upgrade)
+ */
+ function CheckPrerequisites($versions, $mode)
+ {
+ $errors = Array ();
+
+ if ($mode == 'standalone') {
+ if (!$this->Application->isModuleEnabled('In-Portal')) {
+ $errors[] = 'Please install or enable "In-Portal" module first';
+ }
+ }
+
+ if ($mode == 'upgrade') {
+ $sql = 'SELECT Version
+ FROM ' . TABLE_PREFIX . 'Modules
+ WHERE Name = "In-Portal"';
+ $inportal_version = $this->Conn->GetOne($sql);
+
+ if ($inportal_version === false) {
+ // only, when In-Portal was installed
+ return $errors;
+ }
+
+ $min_version = '4.3.1';
+
+ $current_version = $this->_toolkit->ConvertModuleVersion($inportal_version);
+ $needed_version = $this->_toolkit->ConvertModuleVersion($min_version);
+ if ($current_version < $needed_version) {
+ $errors[] = 'Please upgrade "In-Portal" to version ' . $min_version;
+ }
+ }
+
+ return $errors;
+ }
+ }
+
+?>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/install/prerequisites.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.3
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/install/remove_schema.sql
===================================================================
--- branches/5.0.x/in-link/install/remove_schema.sql (nonexistent)
+++ branches/5.0.x/in-link/install/remove_schema.sql (revision 12118)
@@ -0,0 +1,6 @@
+DROP TABLE Link;
+DROP TABLE LinkValidation;
+DROP TABLE Listings;
+DROP TABLE ListingTypes;
+DROP TABLE LinkCustomData;
+DROP TABLE LinkVisits;
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/install/remove_schema.sql
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Index: branches/5.0.x/in-link/install/install_schema.sql
===================================================================
--- branches/5.0.x/in-link/install/install_schema.sql (nonexistent)
+++ branches/5.0.x/in-link/install/install_schema.sql (revision 12118)
@@ -0,0 +1,145 @@
+CREATE TABLE Link (
+ LinkId int(11) NOT NULL auto_increment,
+ Name varchar(255) NOT NULL default '',
+ l1_Name varchar(255) NOT NULL default '',
+ l2_Name varchar(255) NOT NULL default '',
+ l3_Name varchar(255) NOT NULL default '',
+ l4_Name varchar(255) NOT NULL default '',
+ l5_Name varchar(255) NOT NULL default '',
+ AutomaticFilename tinyint(3) unsigned NOT NULL default '1',
+ Description text,
+ l1_Description text,
+ l2_Description text,
+ l3_Description text,
+ l4_Description text,
+ l5_Description text,
+ MetaKeywords varchar(255) default NULL,
+ MetaDescription text,
+ Url varchar(255) NOT NULL default '',
+ CreatedOn int(10) unsigned default NULL,
+ Modified int(10) unsigned default NULL,
+ Expire int(10) unsigned default NULL,
+ Hits double(20,6) NOT NULL default '0.000000',
+ CachedRating varchar(10) NOT NULL default '0',
+ CachedVotesQty int(11) NOT NULL default '0',
+ CachedReviewsQty int(11) NOT NULL default '0',
+ CreatedById int(11) NOT NULL default '-1',
+ ModifiedById int(11) NOT NULL default '-1',
+ Priority int(11) NOT NULL default '0',
+ `Status` tinyint(4) NOT NULL default '2',
+ EditorsPick tinyint(4) NOT NULL default '0',
+ ResourceId int(11) default NULL,
+ HotItem tinyint(4) NOT NULL default '2',
+ PopItem tinyint(4) NOT NULL default '2',
+ NewItem tinyint(4) NOT NULL default '2',
+ OrgId int(11) default NULL,
+ CustomTemplate varchar(255) NOT NULL default '',
+ ReciprocalLinkFound tinyint(3) unsigned NOT NULL default '0',
+ PRIMARY KEY (LinkId),
+ UNIQUE KEY ResourceId (ResourceId),
+ KEY sorting (Priority,Name),
+ KEY Hits (Hits),
+ KEY Name (Name),
+ KEY l1_Name (l1_Name),
+ KEY l2_Name (l2_Name),
+ KEY l3_Name (l3_Name),
+ KEY l4_Name (l4_Name),
+ KEY l5_Name (l5_Name),
+ KEY Description (Description(5)),
+ KEY l1_Description (l1_Description(5)),
+ KEY l2_Description (l2_Description(5)),
+ KEY l3_Description (l3_Description(5)),
+ KEY l4_Description (l4_Description(5)),
+ KEY l5_Description (l5_Description(5)),
+ KEY EditorsPick (EditorsPick),
+ KEY CreatedOn (CreatedOn),
+ KEY Modified (Modified,CreatedOn),
+ KEY `Status` (`Status`),
+ KEY HotItem (HotItem),
+ KEY PopItem (PopItem),
+ KEY NewItem (NewItem)
+);
+
+CREATE TABLE LinkValidation (
+ LinkValidationId int(11) NOT NULL auto_increment,
+ LinkId int(11) NOT NULL default '0',
+ ValidationTime double NOT NULL default '0',
+ ValidationCode varchar(50) default NULL,
+ ValidationStatus tinyint(4) NOT NULL default '0',
+ PRIMARY KEY (LinkValidationId),
+ UNIQUE KEY LinkId (LinkId),
+ KEY ValidationStatus (ValidationStatus),
+ KEY ValidationTime (ValidationTime)
+);
+
+CREATE TABLE Listings (
+ ListingId int(11) NOT NULL auto_increment,
+ ListingTypeId int(11) default '0',
+ ItemResourceId int(11) default NULL,
+ PurchasedOn int(11) default NULL,
+ ExpiresOn int(11) default NULL,
+ `Status` TINYINT(4) UNSIGNED NOT NULL DEFAULT '2',
+ PendingRenewal tinyint(4) NOT NULL default '0',
+ RenewalReminderSent tinyint(4) NOT NULL default '0',
+ PRIMARY KEY (ListingId),
+ KEY ListingTypeId (ListingTypeId),
+ KEY ItemResourceId (ItemResourceId),
+ KEY PurchasedOn (PurchasedOn),
+ KEY ExpiresOn (ExpiresOn),
+ KEY Status (Status),
+ KEY RenewalReminderSent (RenewalReminderSent)
+);
+
+CREATE TABLE ListingTypes (
+ ListingTypeId int(11) NOT NULL auto_increment,
+ Name varchar(255) NOT NULL default '',
+ Description text NOT NULL,
+ Duration int(11) NOT NULL default '0',
+ DurationType int(11) NOT NULL default '0',
+ OnPurchaseEdPick tinyint(4) NOT NULL default '3',
+ OnPurchaseNew tinyint(4) NOT NULL default '3',
+ OnPurchasePop tinyint(4) NOT NULL default '3',
+ OnPurchaseHot tinyint(4) NOT NULL default '3',
+ OnPurchasePriorityAction tinyint(4) NOT NULL default '0',
+ OnPurchasePriorityValue tinyint(4) NOT NULL default '1',
+ OnPurchaseAddToCatEnabled tinyint(4) NOT NULL default '0',
+ OnPurchaseAddToCat int(11) NOT NULL default '0',
+ OnPurchaseCustomTemplate varchar(255) NOT NULL default '',
+ OnPurchaseStatus tinyint(4) NOT NULL default '3',
+ OnExpireEdPick tinyint(4) NOT NULL default '3',
+ OnExpireNew tinyint(4) NOT NULL default '3',
+ OnExpirePop tinyint(4) NOT NULL default '3',
+ OnExpireHot tinyint(4) NOT NULL default '3',
+ OnExpirePriorityAction tinyint(4) NOT NULL default '0',
+ OnExpirePriorityValue tinyint(4) NOT NULL default '1',
+ OnExpireRemoveFromCatEnabled tinyint(4) NOT NULL default '0',
+ OnExpireRemoveFromCat int(11) NOT NULL default '0',
+ OnExpireCustomTemplate varchar(255) NOT NULL default '',
+ OnExpireStatus tinyint(4) NOT NULL default '3',
+ RenewalReminder int(11) NOT NULL default '0',
+ EnableBuying tinyint(4) NOT NULL default '0',
+ ShopCartName varchar(255) default NULL,
+ Price double default NULL,
+ Recurring tinyint(4) NOT NULL default '0',
+ VirtualProductId int(11) NOT NULL default '0',
+ PRIMARY KEY (ListingTypeId),
+ KEY VirtualProductId (VirtualProductId)
+);
+
+CREATE TABLE LinkCustomData (
+ CustomDataId int(11) NOT NULL auto_increment,
+ ResourceId int(10) unsigned NOT NULL default '0',
+ KEY ResourceId (ResourceId),
+ PRIMARY KEY (CustomDataId)
+);
+
+CREATE TABLE LinkVisits (
+ VisitId int(11) NOT NULL auto_increment,
+ ResourceId int(11) default NULL,
+ PortalUserId int(11) NOT NULL default '0',
+ VisitTimestamp int(11) NOT NULL default '0',
+ PRIMARY KEY (VisitId),
+ KEY ResourceId (ResourceId),
+ KEY PortalUserId (PortalUserId),
+ KEY VisitTimestamp (VisitTimestamp)
+);
Property changes on: branches/5.0.x/in-link/install/install_schema.sql
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.2
\ No newline at end of property
Index: branches/5.0.x/in-link/install/install_order.txt
===================================================================
--- branches/5.0.x/in-link/install/install_order.txt (nonexistent)
+++ branches/5.0.x/in-link/install/install_order.txt (revision 12118)
@@ -0,0 +1 @@
+102
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/install/install_order.txt
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Index: branches/5.0.x/in-link/units/link_validation/link_validation_eh.php
===================================================================
--- branches/5.0.x/in-link/units/link_validation/link_validation_eh.php (nonexistent)
+++ branches/5.0.x/in-link/units/link_validation/link_validation_eh.php (revision 12118)
@@ -0,0 +1,542 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+ class LinkValidationEventHandler extends kDBEventHandler {
+
+ /**
+ * Allows to override standart permission mapping
+ *
+ */
+ function mapPermissions()
+ {
+ parent::mapPermissions();
+
+ $permissions = Array (
+ 'OnResetValidationStatus' => Array ('self' => 'advanced:reset',),
+ 'OnRestartValidation' => Array ('self' => 'advanced:restart',),
+ 'OnContinueValidation' => Array ('self' => 'advanced:continue',),
+ 'OnValidateSelected' => Array ('self' => 'advanced:validate',),
+ 'OnValidateProgress' => Array ('self' => 'advanced:validate|advanced:continue|advanced:restart|advanced:reset',),
+ 'OnCancelValidation' => Array ('self' => 'advanced:validate|advanced:continue|advanced:restart|advanced:reset',),
+ 'OnCronValidation' => Array ('self' => 'advanced:validate|advanced:continue|advanced:restart|advanced:reset',),
+ );
+
+ $this->permMapping = array_merge($this->permMapping, $permissions);
+ }
+
+ function mapEvents()
+ {
+ parent::mapEvents();
+
+ $events_map = Array (
+ 'OnApproveLinks' => 'iterateItems',
+ 'OnDeclineLinks' => 'iterateItems',
+ );
+
+ $this->eventMethods = array_merge($this->eventMethods, $events_map);
+ }
+
+ /**
+ * Checks permissions of user
+ *
+ * @param kEvent $event
+ */
+ function CheckPermission(&$event)
+ {
+ $check_events = Array ('OnApproveLinks', 'OnDeclineLinks', 'OnDeleteLinks');
+ if (in_array($event->Name, $check_events)) {
+ $ids = $this->_getSelectedIds($event);
+
+ $perm_value = true;
+ if ($ids) {
+ $perm_helper =& $this->Application->recallObject('PermissionsHelper');
+ /* @var $perm_helper kPermissionsHelper */
+
+ $items = $perm_helper->GetCategoryItemData('l', $ids);
+ $check_method = $event->Name == 'OnDeleteLinks' ? 'DeleteCheckPermission' : 'ModifyCheckPermission';
+ foreach ($items as $item_id => $item_data) {
+ if ($perm_helper->$check_method($item_data['CreatedById'], $item_data['CategoryId'], 'l') == 0) {
+ // one of items selected has no permission
+ $perm_value = false;
+ break;
+ }
+ }
+
+ if (!$perm_value) {
+ $event->status = erPERM_FAIL;
+ }
+ }
+
+ return $perm_value;
+ }
+
+ return parent::CheckPermission($event);
+ }
+
+ /**
+ * Adds calculates fields for category name
+ *
+ * @param kDBItem $object
+ * @param kEvent $event
+ */
+ function prepareObject(&$object, &$event)
+ {
+ parent::prepareObject($object, $event);
+
+ $object->addCalculatedField('CachedNavbar', 'c.l'.$this->Application->GetVar('m_lang').'_CachedNavbar');
+ }
+
+ /**
+ * Allows to show only invalid links
+ *
+ * @param kEvent $event
+ */
+ function SetCustomQuery(&$event)
+ {
+ $object =& $event->getObject();
+ /* @var $object kDBList */
+
+ $object->addFilter('primary_category_filter', 'ci.PrimaryCat = 1');
+
+ if ($event->Special == 'invalid') {
+ $object->addFilter('status_filter', '%1$s.ValidationStatus = ' . LINK_VALIDATION_INVALID);
+ }
+ }
+
+ /**
+ * Restarts link validation process
+ *
+ * @param kEvent $event
+ */
+ function OnRestartValidation(&$event)
+ {
+ $this->_resetValidation($event);
+
+ $this->OnContinueValidation($event);
+ }
+
+ /**
+ * Restarts link validation process
+ *
+ * @param kEvent $event
+ */
+ function _resetValidation(&$event)
+ {
+ // 1. delete previous validation results
+ $sql = 'SELECT ' . $this->Application->getUnitOption($event->Prefix, 'IDField') . '
+ FROM ' . $this->Application->getUnitOption($event->Prefix, 'TableName');
+ $ids = $this->Conn->GetCol($sql);
+
+ if ($ids) {
+ $temp_handler =& $this->Application->recallObject($event->getPrefixSpecial().'_TempHandler', 'kTempTablesHandler');
+ /* @var $temp_handler kTempTablesHandler */
+
+ $temp_handler->DeleteItems($event->Prefix, $event->Special, $ids);
+ }
+ }
+
+ /**
+ * Validates only selected links
+ *
+ * @param kEvent $event
+ */
+ function OnValidateSelected(&$event)
+ {
+ $link_ids = $this->_getSelectedIds($event);
+ if (!$link_ids) {
+ return ;
+ }
+
+ $validation_data = Array (
+ 'processed' => 0,
+ 'total' => count($link_ids),
+ 'items' => $link_ids,
+ );
+ $this->Application->StoreVar($event->Prefix . '_status', serialize($validation_data));
+
+ $event->redirect = $this->Application->GetVar('progress_template');
+ }
+
+ /**
+ * Validates only links, that were not previously validated
+ *
+ * @param kEvent $event
+ */
+ function OnContinueValidation(&$event)
+ {
+ $have_data = $this->_prepareValidation($event);
+ if ($have_data) {
+ $event->redirect = $this->Application->GetVar('progress_template');
+ }
+ }
+
+ /**
+ * Performs validation
+ *
+ * @param kEvent $event
+ * @param bool $from_ajax
+ */
+ function _validate(&$event, $from_ajax = true)
+ {
+ $validation_data = unserialize( $this->Application->RecallVar($event->Prefix . '_status') );
+
+ $i = 0;
+ $link_ids = $validation_data['items'];
+ $per_page = count($link_ids) >= LINK_VALIDATION_PER_PAGE ? LINK_VALIDATION_PER_PAGE : count($link_ids);
+
+ while ($i < $per_page) {
+ $this->_validateLink($link_ids[$i]);
+ $i++;
+ }
+
+ // remove processed links from array
+ array_splice($link_ids, 0, LINK_VALIDATION_PER_PAGE);
+
+ // store validation progress
+ $validation_data['processed'] += $i;
+ $validation_data['items'] = $link_ids;
+
+ if ($validation_data['processed'] >= $validation_data['total']) {
+ // finished
+ $this->Application->EmailEventAdmin('LINK.VALIDATION.RESULTS');
+
+ $this->Application->RemoveVar($event->Prefix . '_status');
+ return true;
+ }
+
+ // show progress, proceed to next step
+ $this->Application->StoreVar($event->Prefix . '_status', serialize($validation_data));
+
+ if ($from_ajax) {
+ echo $validation_data['processed'] / $validation_data['total'] * 100;
+ $event->status = erSTOP;
+ }
+
+ return false;
+ }
+
+ /**
+ * Performs validation of links (called from AjaxProgressBar)
+ *
+ * @param kEvent $event
+ */
+ function OnValidateProgress(&$event)
+ {
+ $done = $this->_validate($event, true);
+
+ if ($done) {
+ $this->Application->Redirect( $this->Application->GetVar('finish_template') );
+ }
+ }
+
+ /**
+ * Returns categories, that are located inside recycle bin category
+ *
+ * @return Array
+ */
+ function _getRecycleBinCategories()
+ {
+ $recycle_bin = $this->Application->ConfigValue('RecycleBinFolder');
+ if (!is_numeric($recycle_bin)) {
+ return Array ();
+ }
+
+ $recycle_categories = $this->Application->RecallVar('recycle_categories');
+ if ($recycle_categories === false) {
+ $tree_indexes = $this->Application->getTreeIndex($recycle_bin);
+
+ $sql = 'SELECT ' . $this->Application->getUnitOption('c', 'IDField') . '
+ FROM ' . $this->Application->getUnitOption('c', 'TableName') . '
+ WHERE TreeLeft BETWEEN ' . $tree_indexes['TreeLeft'] . ' AND ' . $tree_indexes['TreeRight'];
+ $recycle_categories = serialize( $this->Conn->GetCol($sql) );
+
+ // store recycle bin categories in session to prevent query below happening on each link validation step
+ $this->Application->StoreVar('recycle_categories', $recycle_categories);
+ }
+
+ return unserialize($recycle_categories);
+
+ }
+
+ /**
+ * Checks, that link is located in one of RecycleBin subcategories
+ *
+ * @param unknown_type $resource_id
+ * @return unknown
+ */
+ function _inRecycleBin($resource_id)
+ {
+ static $recycle_bin = null;
+
+ if (!isset($recycle_bin)) {
+ $recycle_bin = $this->_getRecycleBinCategories();
+ }
+
+ if (!$recycle_bin) {
+ // Recycle Bin not used in system -> link is 100% not there
+ return false;
+ }
+
+ $sql = 'SELECT CategoryId
+ FROM ' . $this->Application->getUnitOption('l-ci', 'TableName') . '
+ WHERE ItemResourceId = ' . $resource_id . ' AND PrimaryCat = 1';
+
+ return in_array( $this->Conn->GetOne($sql), $recycle_bin);
+ }
+
+ function _validateLink($link_id)
+ {
+ $curl_helper =& $this->Application->recallObject('CurlHelper');
+ /* @var $curl_helper kCurlHelper */
+
+ $sql = 'SELECT Url, ResourceId
+ FROM ' . $this->Application->getUnitOption('l', 'TableName') . '
+ WHERE ' . $this->Application->getUnitOption('l', 'IDField') . ' = ' . $link_id;
+ $link_data = $this->Conn->GetRow($sql);
+
+ if (!preg_match('/^(http|https):\/\/(.*)/U', $link_data['Url']) || $this->_inRecycleBin($link_data['ResourceId'])) {
+ return ;
+ }
+
+ $curl_helper->timeout = LINK_VALIDATION_TIMEOUT;
+
+ $result = $curl_helper->Send($link_data['Url']);
+ if ($result === false || $curl_helper->lastErrorMsg != '') {
+ $curl_helper->lastErrorCode = 500;
+ }
+
+ $link_validation =& $this->Application->recallObject($this->Prefix . '.-item', null, Array ('skip_autoload' => true));
+ /* @var $link_validation kDBItem */
+
+ $link_validation->Load($link_id, 'LinkId');
+
+ $now = adodb_mktime();
+
+ $fields_hash = Array (
+ 'LinkId' => $link_id,
+ 'ValidationTime_date' => $now,
+ 'ValidationTime_time' => $now,
+ 'ValidationCode' => $curl_helper->lastHTTPCode,
+ 'ValidationStatus' => $curl_helper->lastHTTPCode < 400 ? LINK_VALIDATION_VALID : LINK_VALIDATION_INVALID,
+ );
+ $link_validation->SetDBFieldsFromHash($fields_hash);
+
+ return $link_validation->isLoaded() ? $link_validation->Update() : $link_validation->Create();
+ }
+
+ /**
+ * Cancels validation (from validation progress bar)
+ *
+ * @param kEvent $event
+ */
+ function OnCancelValidation(&$event)
+ {
+ $this->Application->RemoveVar($event->Prefix . '_status');
+ }
+
+ /**
+ * Resets validation status for selected
+ *
+ * @param kEvent $event
+ */
+ function OnResetValidationStatus(&$event)
+ {
+ $ids = $this->_getSelectedIds($event, true);
+ if (!$ids) {
+ return ;
+ }
+
+ $temp_handler =& $this->Application->recallObject($event->getPrefixSpecial().'_TempHandler', 'kTempTablesHandler');
+ /* @var $temp_handler kTempTablesHandler */
+
+ $temp_handler->DeleteItems($event->Prefix, $event->Special, $ids);
+ }
+
+ /**
+ * Returns ids, that user has checked in grid
+ *
+ * @param kEvent $event
+ * @param bool $transform convert link ids to link validation ids
+ * @return Array
+ */
+ function _getSelectedIds(&$event, $transform = false)
+ {
+ $ids = Array();
+
+ $items_info = $this->Application->GetVar( $event->getPrefixSpecial(true) );
+ if ($items_info) {
+ foreach ($items_info as $id => $field_values) {
+ if ( getArrayValue($field_values, 'ForeignLinkId') ) {
+ // we are not gathering ids by unit idfield here!
+ array_push($ids, $id);
+ }
+ }
+ }
+
+ if ($transform && $ids) {
+ $sql = 'SELECT ' . $this->Application->getUnitOption($event->Prefix, 'IDField') . '
+ FROM ' . $this->Application->getUnitOption($event->Prefix, 'TableName') . '
+ WHERE LinkId IN (' . implode(',', $ids) . ')';
+ $ids = $this->Conn->GetCol($sql);
+ }
+
+ return $ids;
+ }
+
+ /**
+ * Approves/declines selected links
+ *
+ * @param kEvent $event
+ */
+ function iterateItems(&$event)
+ {
+ if ($this->Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) {
+ return;
+ }
+
+ $ids = $this->_getSelectedIds($event);
+ if (!$ids) {
+ return ;
+ }
+
+ $object =& $this->Application->recallObject('l.-item', null, Array ('skip_autoload' => true));
+ /* @var $object kCatDBItem */
+
+ foreach ($ids as $id) {
+ $object->Load($id);
+
+ switch ($event->Name) {
+ case 'OnApproveLinks':
+ $ret = $object->ApproveChanges();
+ break;
+
+ case 'OnDeclineLinks':
+ $ret = $object->DeclineChanges();
+ break;
+ }
+
+ if (!$ret) {
+ $event->status = erFAIL;
+ $event->redirect = false;
+ break;
+ }
+ }
+ }
+
+ /**
+ * Deletes selected links
+ *
+ * @param kEvent $event
+ */
+ function OnDeleteLinks(&$event)
+ {
+ if ($this->Application->CheckPermission('SYSTEM_ACCESS.READONLY', 1)) {
+ return;
+ }
+
+ $ids = $this->_getSelectedIds($event);
+ if (!$ids) {
+ return ;
+ }
+
+ $temp_handler =& $this->Application->recallObject('l_TempHandler', 'kTempTablesHandler');
+ /* @var $temp_handler kTempTablesHandler */
+
+ $temp_handler->DeleteItems('l', '', $ids);
+ }
+
+ /**
+ * [HOOK] Allows to edit links, used in selected link validation records
+ *
+ * @param kEvent $event
+ */
+ function OnPrepareLinkEditing(&$event)
+ {
+ // hook to OnAfterConfigRead instead of OnEdit, because fake ids should be available in CheckPermission
+ if ($this->Application->GetVar('l_event') != 'OnEdit') {
+ return ;
+ }
+
+ $ids = $this->_getSelectedIds($event);
+ $id_field = $this->Application->getUnitOption('l', 'IDField');
+
+ $items_info = Array ();
+ foreach ($ids as $id) {
+ $items_info[$id][$id_field] = 'on';
+ }
+
+ $this->Application->SetVar('l', $items_info);
+ }
+
+ /**
+ * Gets all links, that are not yet validated and prepare data
+ *
+ * @param kEvent $event
+ *
+ * @return bool
+ */
+ function _prepareValidation(&$event)
+ {
+ // 2. get ids of all links and put them into validation queue
+ $id_field = $this->Application->getUnitOption('l', 'IDField');
+ $sql = 'SELECT ' . $id_field . '
+ FROM ' . $this->Application->getUnitOption('l', 'TableName') . '
+ WHERE LinkId NOT IN (SELECT LinkId FROM ' . $this->Application->getUnitOption($event->Prefix, 'TableName') . ')';
+ $link_ids = $this->Conn->GetCol($sql);
+
+ if ($link_ids) {
+ $validation_data = Array (
+ 'processed' => 0,
+ 'total' => count($link_ids),
+ 'items' => $link_ids,
+ );
+ $this->Application->StoreVar($event->Prefix . '_status', serialize($validation_data)); // 4K links will be 78KB serialized
+ return true;
+ }
+
+ return false;
+ }
+
+ /**
+ * [REGULAR EVENT] Performs link validation throught cron
+ *
+ * @param kEvent $event
+ */
+ function OnCronValidation(&$event)
+ {
+ $this->_resetValidation($event); // remove this for continuing to non validated before links
+
+ $have_data = $this->_prepareValidation($event);
+ if ($have_data) {
+ do {
+ $done = $this->_validate($event, false);
+ } while (!$done);
+ }
+ }
+
+ /**
+ * Makes calcualated fields to go to multilingual link fields
+ *
+ * @param kEvent $event
+ */
+ function OnAfterConfigRead(&$event)
+ {
+ parent::OnAfterConfigRead($event);
+
+ $calculated_fields = $this->Application->getUnitOption($event->Prefix, 'CalculatedFields');
+ $calculated_fields['']['LinkName'] = 'l.l' . $this->Application->GetVar('m_lang') . '_Name';
+ $this->Application->setUnitOption($event->Prefix, 'CalculatedFields', $calculated_fields);
+ }
+
+ }
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/link_validation/link_validation_eh.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/link_validation/link_validation_tp.php
===================================================================
--- branches/5.0.x/in-link/units/link_validation/link_validation_tp.php (nonexistent)
+++ branches/5.0.x/in-link/units/link_validation/link_validation_tp.php (revision 12118)
@@ -0,0 +1,56 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+ class LinkValidationTagProcessor extends kDBTagProcessor {
+
+ function FormatUrl($params)
+ {
+ $object =& $this->getObject($params);
+
+ $url = $object->GetDBField($params['field']);
+ if (!preg_match('/^(http|ftp|mailto:)(.*)/U', $url)) {
+ $url = 'http://' . $url;
+ }
+
+ return $url;
+ }
+
+ /**
+ * Show CachedNavbar of current item primary category
+ *
+ * @param Array $params
+ * @return string
+ */
+ function CategoryName($params)
+ {
+ // show category cachednavbar of
+ $object =& $this->getObject($params);
+ $category_id = isset($params['cat_id']) ? $params['cat_id'] : $object->GetDBField('CategoryId');
+
+ $category_path = $this->Application->getCache('category_paths', $category_id);
+ if ($category_path === false) {
+ // not chached
+ if ($category_id > 0) {
+
+ $cached_navbar = preg_replace('/^(Content&\|&|Content)/i', '', $object->GetDBField('CachedNavbar'));
+ $category_path = trim($this->CategoryName( Array('cat_id' => 0) ).' > '.str_replace('&|&', ' > ', $cached_navbar), ' > ');
+ }
+ else {
+ $category_path = $this->Application->Phrase( $this->Application->ConfigValue('Root_Name') );
+ }
+ $this->Application->setCache('category_paths', $category_id, $category_path);
+ }
+ return $category_path;
+ }
+ }
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/link_validation/link_validation_tp.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.2
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/link_validation/link_validation_config.php
===================================================================
--- branches/5.0.x/in-link/units/link_validation/link_validation_config.php (nonexistent)
+++ branches/5.0.x/in-link/units/link_validation/link_validation_config.php (revision 12118)
@@ -0,0 +1,180 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+ $config = Array (
+ 'Prefix' => 'link-validation',
+ 'ItemClass' => Array ('class' => 'kDBItem', 'file' => '', 'build_event' => 'OnItemBuild'),
+ 'ListClass' => Array ('class' => 'kDBList', 'file' => '', 'build_event' => 'OnListBuild'),
+ 'EventHandlerClass' => Array ('class' => 'LinkValidationEventHandler', 'file' => 'link_validation_eh.php', 'build_event' => 'OnBuild'),
+ 'TagProcessorClass' => Array ('class' => 'LinkValidationTagProcessor', 'file' => 'link_validation_tp.php', 'build_event' => 'OnBuild'),
+
+ 'AutoLoad' => true,
+
+ 'Hooks' => Array (
+ Array (
+ 'Mode' => hAFTER,
+ 'Conditional' => true,
+ 'HookToPrefix' => 'l',
+ 'HookToSpecial' => '*',
+ 'HookToEvent' => Array('OnAfterConfigRead'),
+ 'DoPrefix' => '',
+ 'DoSpecial' => '*',
+ 'DoEvent' => 'OnPrepareLinkEditing',
+ ),
+ ),
+
+ 'QueryString' => Array (
+ 1 => 'id',
+ 2 => 'Page',
+ 3 => 'event',
+ 4 => 'mode',
+ ),
+
+ 'RegularEvents' => Array (
+ 'link_validation' => Array ('EventName' => 'OnCronValidation', 'RunInterval' => 3600*24, 'Type' => reAFTER),
+ ),
+
+ 'IDField' => 'LinkValidationId',
+
+ 'TableName' => TABLE_PREFIX.'LinkValidation',
+
+ 'StatusField' => Array ('ValidationStatus', 'LinkStatus'),
+
+ 'TitlePresets' => Array (
+ 'link_validation_list' => Array ('prefixes' => Array ('link-validation_List'), 'format' => "!la_tab_LinkValidation!"),
+ 'link_validation_progress' => Array ('format' => '!la_tab_ValidatingLinks!'),
+ ),
+
+ 'PermSection' => Array('main' => 'in-link:link_validation'),
+
+ 'Sections' => Array (
+ 'in-link:link_validation' => Array (
+ 'parent' => 'in-link',
+ 'icon' => 'in-link:validate',
+ 'label' => 'la_tab_LinkValidation',
+ 'url' => Array('t' => 'in-link/link_validation/link_validation_list', 'pass' => 'm'),
+ 'permissions' => Array('view', 'advanced:continue', 'advanced:restart', 'advanced:validate', 'advanced:reset'),
+ 'priority' => 4,
+ 'type' => stTREE,
+ ),
+ ),
+
+ 'FilterMenu' => Array (
+ 'Groups' => Array(
+ Array('mode' => 'AND', 'filters' => Array('show_valid', 'show_invalid', 'show_not_validated'), 'type' => WHERE_FILTER),
+ ),
+
+ 'Filters' => Array (
+ 'show_valid' => Array ('label' =>'la_Text_Valid', 'on_sql' => '', 'off_sql' => '%1$s.ValidationStatus != ' . LINK_VALIDATION_VALID . ' OR %1$s.ValidationStatus IS NULL'),
+ 'show_invalid' => Array ('label' => 'la_Text_Invalid', 'on_sql' => '', 'off_sql' => '%1$s.ValidationStatus != ' . LINK_VALIDATION_INVALID . ' OR %1$s.ValidationStatus IS NULL'),
+ 'show_not_validated' => Array ('label' => 'la_Text_Not_Validated', 'on_sql' => '', 'off_sql' => '%1$s.ValidationStatus != ' . LINK_VALIDATION_NOT_VALIDATED . ' OR %1$s.ValidationStatus IS NOT NULL'),
+ )
+ ),
+
+ 'ListSQLs' => Array (
+ '' => ' SELECT %1$s.* %2$s
+ FROM ' . TABLE_PREFIX . 'Link l
+ LEFT JOIN %1$s ON %1$s.LinkId = l.LinkId
+ LEFT JOIN ' . TABLE_PREFIX . 'CategoryItems ci ON ci.ItemResourceId = l.ResourceId
+ LEFT JOIN '.TABLE_PREFIX.'Category c ON c.CategoryId = ci.CategoryId',
+ ),
+
+ 'ListSortings' => Array (
+ '' => Array (
+ 'Sorting' => Array ('LinkValidationId' => 'desc'),
+ )
+ ),
+
+ 'CalculatedFields' => Array (
+ '' => Array (
+ 'ForeignLinkId' => 'l.LinkId',
+ 'LinkName' => 'l.Name',
+ 'LinkUrl' => 'l.Url',
+ 'LinkCreatedOn' => 'l.CreatedOn',
+ 'LinkStatus' => 'l.Status',
+ 'LinkValidationStatus' => 'IF(%1$s.ValidationStatus IS NULL, ' . LINK_VALIDATION_NOT_VALIDATED . ', %1$s.ValidationStatus)',
+
+ 'CategoryId' => 'ci.CategoryId',
+ ),
+ ),
+
+ 'Fields' => Array (
+ 'LinkValidationId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),
+ 'LinkId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),
+ 'ValidationTime' => Array ('type' => 'float', 'formatter' => 'kDateFormatter', 'not_null' => 1, 'default' => 0),
+ 'ValidationCode' => Array (
+ 'type' => 'string',
+ 'formatter' => 'kOptionsFormatter', 'options' => Array (200 => '200 OK', 301 => '301 Moved Permanently', 302 => '302 Found', 400 => '400 Bad Request', 403 => '403 Forbidden', 404 => '404 Not Found', 500 => '500 Internal Server Error'),
+ 'max_len' => 50, 'default' => NULL
+ ),
+ 'ValidationStatus' => Array (
+ 'type' => 'int',
+ 'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_Text_Not_Validated', 1 => 'la_Text_Valid', 2 => 'la_Text_Invalid'), 'use_phrases' => 1,
+ 'not_null' => 1, 'default' => 0
+ ),
+ ),
+
+ 'VirtualFields' => Array (
+ 'ForeignLinkId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),
+ 'LinkName' => Array('type' => 'string', /*'formatter' => 'kMultiLanguage',*/ 'not_null' => 1, 'max_len' => 255, 'default' => ''),
+ 'LinkUrl' => Array ('type' => 'string', 'not_null' => 1, 'default' => ''),
+ 'LinkCreatedOn' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'),
+ 'LinkStatus' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2),
+ 'LinkValidationStatus' => Array (
+ 'type' => 'int',
+ 'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_Text_Not_Validated', 1 => 'la_Text_Valid', 2 => 'la_Text_Invalid'), 'use_phrases' => 1,
+ 'not_null' => 1, 'default' => 0
+ ),
+
+ // for category path drawing
+ 'CategoryId' => Array ('type' => 'int', 'default' => 0),
+ 'CachedNavbar' => Array ('type' => 'string', 'default' => ''),
+ ),
+
+ 'Grids' => Array (
+ 'Default' => Array (
+ 'Icons' => Array (
+ 'default' => 'icon16_custom.gif',
+ // for valid links
+ LINK_VALIDATION_VALID . '_' . STATUS_DISABLED => 'icon16_valid_disabled.gif',
+ LINK_VALIDATION_VALID . '_' . STATUS_ACTIVE => 'icon16_valid.gif',
+ LINK_VALIDATION_VALID . '_' . STATUS_PENDING => 'icon16_valid_pend.gif',
+
+ // for invalid links
+ LINK_VALIDATION_INVALID . '_' . STATUS_DISABLED => 'icon16_invalid_disabled.gif',
+ LINK_VALIDATION_INVALID . '_' . STATUS_ACTIVE => 'icon16_invalid.gif',
+ LINK_VALIDATION_INVALID . '_' . STATUS_PENDING => 'icon16_invalid_pend.gif',
+
+ // for not validated links
+ LINK_VALIDATION_NOT_VALIDATED . '_' . STATUS_DISABLED => 'icon16_not_validated_disabled.gif',
+ LINK_VALIDATION_NOT_VALIDATED . '_' . STATUS_ACTIVE => 'icon16_not_validated.gif',
+ LINK_VALIDATION_NOT_VALIDATED . '_' . STATUS_PENDING => 'icon16_not_validated_pend.gif',
+
+ '_' . STATUS_DISABLED => 'icon16_not_validated_disabled.gif',
+ '_' . STATUS_ACTIVE => 'icon16_not_validated.gif',
+ '_' . STATUS_PENDING => 'icon16_not_validated_pend.gif',
+ ),
+
+ 'Fields' => Array (
+ 'ForeignLinkId' => Array ('title' => 'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter', 'module' => 'In-Link' ),
+ 'LinkName' => Array ('title' => 'la_col_LinkName', 'data_block' => 'grid_link_name_td', 'filter_block' => 'grid_like_filter', 'first_chars' => 30),
+ 'LinkUrl' => Array ('title' => 'la_col_LinkUrl', 'data_block' => 'grid_url_td', 'filter_block' => 'grid_like_filter'),
+ 'LinkValidationStatus' => Array ('title' => 'la_col_Status', 'filter_block' => 'grid_options_filter',),
+ 'ValidationCode' => Array ('title' => 'la_col_ValidationCode', 'filter_block' => 'grid_options_filter',),
+ 'ValidationTime' => Array ('title' => 'la_col_ValidatedOn', 'filter_block' => 'grid_date_range_filter',),
+ 'LinkCreatedOn' => Array ('title' => 'la_col_CreatedOn', 'filter_block' => 'grid_date_range_filter',),
+ ),
+ ),
+ ),
+ );
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/link_validation/link_validation_config.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.5
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/links/links_config.php
===================================================================
--- branches/5.0.x/in-link/units/links/links_config.php (nonexistent)
+++ branches/5.0.x/in-link/units/links/links_config.php (revision 12118)
@@ -0,0 +1,548 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+$config = Array(
+ 'Prefix' => 'l',
+ 'ItemClass' => Array('class'=>'kCatDBItem','file'=>'','build_event'=>'OnItemBuild'),
+ 'ListClass' => Array('class'=>'kCatDBList','file'=>'','build_event'=>'OnListBuild'),
+ 'EventHandlerClass' => Array('class' => 'LinksEventHandler', 'file' => 'links_event_handler.php', 'require_classes' => Array('kCatDBEventHandler'), 'build_event'=>'OnBuild'),
+ 'TagProcessorClass' => Array('class'=>'LinkTagProcessor','file'=>'link_tag_processor.php', 'require_classes' => Array('kCatDBTagProcessor'), 'build_event'=>'OnBuild'),
+ 'AutoLoad' => true,
+
+ 'ConfigPriority' => 0,
+ 'Hooks' => Array (
+ Array (
+ 'Mode' => hBEFORE,
+ 'Conditional' => false,
+ 'HookToPrefix' => '',
+ 'HookToSpecial' => '*',
+ 'HookToEvent' => Array('OnAfterConfigRead'),
+ 'DoPrefix' => 'cdata',
+ 'DoSpecial' => '*',
+ 'DoEvent' => 'OnDefineCustomFields',
+ ),
+
+ Array (
+ 'Mode' => hBEFORE,
+ 'Conditional' => false,
+ 'HookToPrefix' => '',
+ 'HookToSpecial' => '*',
+ 'HookToEvent' => Array('OnAfterConfigRead'),
+ 'DoPrefix' => '#file',
+ 'DoSpecial' => '*',
+ 'DoEvent' => 'OnDefineFiles',
+ ),
+ Array (
+ 'Mode' => hAFTER,
+ 'Conditional' => false,
+ 'HookToPrefix' => '',
+ 'HookToSpecial' => '*',
+ 'HookToEvent' => Array('OnAfterConfigRead'),
+ 'DoPrefix' => 'captcha',
+ 'DoSpecial' => '*',
+ 'DoEvent' => 'OnPrepareCaptcha',
+ ),
+ ),
+
+ 'QueryString' => Array(
+ 1 => 'id',
+ 2 => 'Page',
+ 3 => 'event',
+ 4 => 'mode',
+ ),
+
+ 'AggregateTags' => Array (
+ Array (
+ 'AggregateTo' => 'l',
+ 'AggregatedTagName' => 'ListLinks',
+ 'LocalTagName' => 'PrintList2',
+ ),
+ ),
+
+ 'CatalogItem' => true,
+ 'AdminTemplatePath' => 'links',
+ 'AdminTemplatePrefix' => 'links_',
+ 'SearchConfigPostfix' => 'links',
+
+ 'IDField' => 'LinkId',
+ 'StatusField' => Array('Status'), // field, that is affected by Approve/Decline events
+
+ 'ItemType' => 4,
+
+ 'StatisticsInfo' => Array(
+ 'pending' => Array(
+ 'icon' => 'icon16_link_pending.gif',
+ 'label' => 'la_Text_Links',
+ 'js_url' => '#url#',
+ 'url' => Array('t' => 'catalog/advanced_view', 'SetTab' => 'l', 'pass' => 'm,l.showall', 'l.showall_event' => 'OnSetFilterPattern', 'l.showall_filters' => 'show_active=0,show_pending=1,show_disabled=0,show_new=1,show_hot=1,show_pop=1,show_pick=1'),
+ 'status' => STATUS_PENDING,
+ ),
+ ),
+
+ 'TitlePhrase' => 'la_Text_Link', // phrase used to specify item type in relationship list
+
+ 'ViewMenuPhrase' => 'la_title_Links',
+ 'CatalogTabIcon' => 'in-link:icon16_link.gif',
+ 'UsePendingEditing' => true, // item editing is controlled by LINK.ADD/EDIT, LINK.ADD/EDIT.PENDING permissions
+
+ 'CatalogSelectorName' => 'linklist', // used in old catalog section
+
+ 'ItemPropertyMappings' => Array(
+ 'NewDays' => 'Link_NewDays', // number of days item to be NEW
+ 'MinPopVotes' => 'Link_MinPopVotes', // minimum number of votes for an item to be POP
+ 'MinPopRating' => 'Link_MinPopRating', // minimum rating for an item to be POP
+ 'MaxHotNumber' => 'Link_MaxHotNumber', // maximum number of HOT items
+
+ 'HotLimit' => 'Link_HotLimit', // variable name in inp_Cache table
+ 'ClickField' => 'Hits', // item click count is stored here (in item table)
+ ),
+
+ 'TitleField' => 'Name',
+
+ 'TitlePresets' => Array(
+ 'default' => Array(
+ 'new_status_labels' => Array('l' => '!la_title_AddingLink!'),
+ 'edit_status_labels' => Array('l'=>'!la_title_EditingLink!'),
+ 'new_titlefield' => Array('l'=>'!la_title_NewLink!'),
+ ),
+
+ 'links_edit' => Array(
+ 'prefixes' => Array('l'), 'format' => "#l_status# '#l_titlefield#' - !la_title_General!",
+ 'toolbar_buttons' => Array ('select', 'cancel', 'prev', 'next'),
+ ),
+
+ 'link_list' => Array(
+ 'prefixes' => Array('c_List', 'l_List'),
+ 'format' => "!la_title_Categories! (#c_recordcount#) - !la_title_Links!",
+ 'toolbar_buttons' => Array (),
+ ),
+
+ 'links_categories' => Array(
+ 'prefixes' => Array('l','l-ci_List'), 'format' => "#l_status# '#l_titlefield#' - !la_title_Categories!",
+ 'toolbar_buttons' => Array ('select', 'cancel', 'prev', 'next', 'new_cat', 'delete', 'primary_cat',),
+ ),
+
+ 'links_relations' => Array(
+ 'prefixes' => Array('l'), 'format' => "#l_status# '#l_titlefield#' - !la_title_Relations!",
+ 'toolbar_buttons' => Array ('select', 'cancel', 'prev', 'next', 'new_relation', 'edit', 'delete', 'approve', 'decline', 'view', 'dbl-click'),
+ ),
+
+ 'links_images' => Array(
+ 'prefixes' => Array('l'), 'format' => "#l_status# '#l_titlefield#' - !la_title_Images!",
+ 'toolbar_buttons' => Array ('select', 'cancel', 'prev', 'next', 'new_image', 'edit', 'delete', 'move_up', 'move_down', 'primary_image', 'view', 'dbl-click'),
+ ),
+
+ 'links_files' => Array(
+ 'prefixes' => Array('l'), 'format' => "#l_status# '#l_titlefield#' - !la_title_Files!",
+ 'toolbar_buttons' => Array ('select', 'cancel', 'prev', 'next', 'new_file', 'edit', 'delete', 'view', 'dbl-click'),
+ ),
+
+ 'links_reviews' => Array(
+ 'prefixes' => Array('l'), 'format' => "#l_status# '#l_titlefield#' - !la_title_Reviews!",
+ 'toolbar_buttons' => Array ('select', 'cancel', 'prev', 'next', 'new_review', 'edit', 'delete', 'approve', 'decline', 'move_up', 'move_down', 'view', 'dbl-click'),
+ ),
+
+ 'links_custom' => Array(
+ 'prefixes' => Array('l'), 'format' => "#l_status# '#l_titlefield#' - !la_title_Custom!",
+ 'toolbar_buttons' => Array ('select', 'cancel', 'prev', 'next'),
+ ),
+
+ 'images_edit' => Array(
+ 'prefixes' => Array('l', 'l-img'),
+ 'new_status_labels' => Array('l-img' => '!la_title_Adding_Image!'),
+ 'edit_status_labels' => Array('l-img' => '!la_title_Editing_Image!'),
+ 'new_titlefield' => Array('l-img' => '!la_title_New_Image!'),
+ 'format' => "#l_status# '#l_titlefield#' - #l-img_status# '#l-img_titlefield#'",
+ 'toolbar_buttons' => Array ('select', 'cancel'),
+ ),
+
+ 'file_edit' => Array (
+ 'prefixes' => Array ('l', 'l-file'),
+ 'new_status_labels' => Array ('l-file' => "!la_title_AddingFile!"),
+ 'edit_status_labels' => Array ('l-file' => '!la_title_EditingFile!'),
+ 'new_titlefield' => Array ('l-file' => '!la_title_NewFile!'),
+ 'format' => "#l_status# '#l_titlefield#' - #l-file_status# '#l-file_titlefield#'",
+ 'toolbar_buttons' => Array ('select', 'cancel'),
+ ),
+
+ 'reviews_edit' => Array(
+ 'prefixes' => Array('l', 'l-rev'),
+ 'new_status_labels' => Array('l-rev'=>"!la_title_Adding_Review! '!la_title_New_Review!'"),
+ 'edit_status_labels' => Array('l-rev'=>'!la_title_Editing_Review!'),
+ 'format' => "#l_status# '#l_titlefield#' - #l-rev_status#",
+ 'toolbar_buttons' => Array ('select', 'cancel'),
+ ),
+
+ 'relations_edit' => Array(
+ 'prefixes' => Array('l', 'l-rel'),
+ 'new_status_labels' => Array('l-rel'=>"!la_title_Adding_Relationship! '!la_title_New_Relationship!'"),
+ 'edit_status_labels' => Array('l-rel'=>'!la_title_Editing_Relationship!'),
+ 'format' => "#l_status# '#l_titlefield#' - #l-rel_status#",
+ 'toolbar_buttons' => Array ('select', 'cancel'),
+ ),
+
+ 'links_export' => Array('format' => '!la_title_LinksExport!'),
+
+ 'links_import' => Array('format' => '!la_title_ImportLinks!'),
+
+ 'duplicate_links' => Array(
+ 'prefixes' => Array('l.duplicates_List'), 'format' => "!la_title_DuplicateLinks! - %s",
+ 'toolbar_buttons' => Array ('view_item', 'view', 'dbl-click'),
+ ),
+
+ 'duplicate_links_view' => Array(
+ 'prefixes' => Array('l.duplicates-sub_List'), 'format' => "!la_title_Links!",
+ 'toolbar_buttons' => Array ('cancel', 'edit', 'delete', 'merge_links', 'view', 'dbl-click'),
+ ),
+
+ 'tree_in-link' => Array('format' => '!la_Text_Version! '.$this->Application->findModule('Name', 'In-Link', 'Version')),
+ ),
+
+ 'EditTabPresets' => Array (
+ 'Default' => Array (
+ 'general' => Array ('title' => 'la_tab_General', 't' => 'in-link/links/links_edit', 'priority' => 1),
+ 'categories' => Array ('title' => 'la_tab_Categories', 't' => 'in-link/links/links_categories', 'priority' => 2),
+ 'relations' => Array ('title' => 'la_tab_Relations', 't' => 'in-link/links/links_relations', 'priority' => 3),
+ 'images' => Array ('title' => 'la_tab_Images', 't' => 'in-link/links/links_images', 'priority' => 4),
+ 'files' => Array ('title' => 'la_tab_Files', 't' => 'in-link/links/links_files', 'priority' => 5),
+ 'reviews' => Array ('title' => 'la_tab_Reviews', 't' => 'in-link/links/links_reviews', 'priority' => 6),
+ 'custom' => Array ('title' => 'la_tab_Custom', 't' => 'in-link/links/links_custom', 'priority' => 7),
+ ),
+ ),
+
+ 'PermItemPrefix' => 'LINK',
+
+ 'PermTabText' => 'In-Link',
+ 'PermSection' => Array('main' => 'CATEGORY:in-link:links_list', 'search' => 'in-link:configuration_search', 'email' => 'in-link:configuration_email', 'custom' => 'in-link:configuration_custom'),
+
+ 'Sections' => Array(
+ 'in-link' => Array(
+ 'parent' => 'in-portal:root',
+ 'icon' => 'settings_in-link',
+ 'label' => 'la_title_In-Link',
+ 'url' => Array('t' => 'index', 'pass_section' => true, 'pass' => 'm'),
+ 'permissions' => Array('view'),
+ 'priority' => 2.3,
+ 'container' => true,
+ 'type' => stTREE,
+ ),
+
+ 'in-link:links' => Array(
+ 'parent' => 'in-link',
+ 'icon' => 'paid_listings',
+ 'label' => 'la_tab_Links',
+ 'url' => Array('t' => 'catalog/advanced_view', 'anchor' => 'tab-l.showall', 'pass' => 'm'),
+ 'onclick' => 'setCatalogTab(\'l.showall\')',
+ 'permissions' => Array('view'),
+ 'priority' => 1,
+ 'type' => stTREE,
+ ),
+
+ 'in-link:duplicate_checker' => Array(
+ 'parent' => 'in-link',
+ 'icon' => 'duplicate_checker',
+ 'label' => 'la_tab_DuplicateChecker',
+ 'url' => Array('t' => 'in-link/duplicate_checker', 'pass' => 'm'),
+ 'permissions' => Array('view', 'add', 'edit', 'delete'),
+ 'priority' => 3,
+ 'type' => stTREE,
+ ),
+
+ // link settings
+ 'in-link:setting_folder' => Array (
+ 'parent' => 'in-portal:system',
+ 'icon' => 'core:conf',
+ 'label' => 'la_title_In-Link',
+ 'url' => Array ('t' => 'index', 'pass_section' => true, 'pass' => 'm'),
+ 'permissions' => Array ('view'),
+ 'priority' => 3.3,
+ 'container' => true,
+ 'type' => stTREE,
+ ),
+
+ /*'in-link:inlink_general' => Array(
+ 'parent' => 'in-link:setting_folder',
+ 'icon' => 'core:settings_general',
+ 'label' => 'la_tab_GeneralSettings',
+ 'url' => Array('t' => 'config/config_general', 'pass_section' => true, 'pass' => 'm'),
+ 'permissions' => Array('view', 'edit'),
+ 'priority' => 1,
+ 'type' => stTREE,
+ ),*/
+
+ 'in-link:configuration_output' => Array(
+ 'parent' => 'in-link:setting_folder',
+ 'icon' => 'core:settings_output',
+ 'label' => 'la_tab_ConfigOutput',
+ 'url' => Array('t' => 'config/config_general', 'pass_section' => true, 'pass' => 'm'),
+ 'permissions' => Array('view', 'edit'),
+ 'priority' => 2,
+ 'type' => stTREE,
+ ),
+
+ 'in-link:configuration_search' => Array(
+ 'parent' => 'in-link:setting_folder',
+ 'icon' => 'core:settings_search',
+ 'label' => 'la_tab_ConfigSearch',
+ 'url' => Array('t' => 'config/config_search', 'module_key' => 'links', 'pass_section' => true, 'pass' => 'm'),
+ 'permissions' => Array('view', 'edit'),
+ 'priority' => 3,
+ 'type' => stTREE,
+ ),
+
+ 'in-link:configuration_email' => Array(
+ 'parent' => 'in-link:setting_folder',
+ 'icon' => 'core:settings_email',
+ 'label' => 'la_tab_ConfigE-mail',
+ 'url' => Array('t' => 'config/config_email', 'pass_section' => true, 'pass' => 'm'),
+ 'permissions' => Array('view', 'edit'),
+ 'priority' => 4,
+ 'type' => stTREE,
+ ),
+
+ 'in-link:configuration_custom' => Array(
+ 'parent' => 'in-link:setting_folder',
+ 'icon' => 'core:settings_custom',
+ 'label' => 'la_tab_ConfigCustom',
+ 'url' => Array('t' => 'custom_fields/custom_fields_list', 'cf_type' => 4, 'pass_section' => true, 'pass' => 'm,cf'),
+ 'permissions' => Array('view', 'add', 'edit', 'delete'),
+ 'priority' => 5,
+ 'type' => stTREE,
+ ),
+ ),
+
+ 'FilterMenu' => Array(
+ 'Groups' => Array(
+ Array('mode' => 'AND', 'filters' => Array('show_active','show_pending','show_disabled'), 'type' => WHERE_FILTER),
+ Array('mode' => 'AND', 'filters' => Array('show_new'), 'type' => HAVING_FILTER),
+ Array('mode' => 'AND', 'filters' => Array('show_hot'), 'type' => HAVING_FILTER),
+ Array('mode' => 'AND', 'filters' => Array('show_pop'), 'type' => HAVING_FILTER),
+ Array('mode' => 'AND', 'filters' => Array('show_pick'), 'type' => WHERE_FILTER),
+ ),
+ 'Filters' => Array(
+ 'show_active' => Array('label' =>'la_Active', 'on_sql' => '', 'off_sql' => '%1$s.Status != 1' ),
+ 'show_pending' => Array('label' => 'la_Pending', 'on_sql' => '', 'off_sql' => '%1$s.Status != 2' ),
+ 'show_disabled' => Array('label' => 'la_Disabled', 'on_sql' => '', 'off_sql' => '%1$s.Status != 0' ),
+ 's1' => Array(),
+ 'show_new' => Array('label' => 'la_Text_New', 'on_sql' => '', 'off_sql' => '`IsNew` != 1' ),
+ 'show_hot' => Array('label' => 'la_Text_Hot', 'on_sql' => '', 'off_sql' => '`IsHot` != 1' ),
+ 'show_pop' => Array('label' => 'la_Text_Pop', 'on_sql' => '', 'off_sql' => '`IsPop` != 1' ),
+ 'show_pick' => Array('label' => 'la_prompt_EditorsPick', 'on_sql' => '', 'off_sql' => '%1$s.`EditorsPick` != 1' ),
+ )
+ ),
+
+ 'TableName' => TABLE_PREFIX.'Link',
+
+ 'CalculatedFields' => Array (
+ '' => Array (
+ 'UserName' => 'IF (ISNULL(u.Login), IF (%1$s.CreatedById = -1, "root", IF (%1$s.CreatedById = -2, "Guest", "n/a")), u.Login)',
+ 'CategoryId' => TABLE_PREFIX.'%3$sCategoryItems.CategoryId',
+ 'Filename' => TABLE_PREFIX.'%3$sCategoryItems.Filename',
+ 'CategoryFilename' => TABLE_PREFIX.'Category.NamedParentPath',
+ 'PrimaryCat' => TABLE_PREFIX.'%3$sCategoryItems.PrimaryCat',
+ 'ParentPath' => TABLE_PREFIX.'Category.ParentPath',
+
+ 'SameImages' => 'img.SameImages',
+ 'LocalThumb' => 'img.LocalThumb',
+ 'ThumbPath' => 'img.ThumbPath',
+ 'ThumbUrl' => 'img.ThumbUrl',
+ 'LocalImage' => 'img.LocalImage',
+ 'LocalPath' => 'img.LocalPath',
+ 'FullUrl' => 'img.Url',
+ ),
+ ),
+
+ 'CacheModRewrite' => true,
+
+ 'AggregatedCalculatedFields' => Array(
+
+ 'duplicates' => Array (
+ 'DupeCount' => 'COUNT(*)',
+ ),
+ ),
+
+
+ 'ListSQLs' => Array( ''=>' SELECT %1$s.* %2$s
+ FROM %1$s
+ LEFT JOIN '.TABLE_PREFIX.'%3$sCategoryItems ON '.TABLE_PREFIX.'%3$sCategoryItems.ItemResourceId = %1$s.ResourceId
+ LEFT JOIN '.TABLE_PREFIX.'Category ON '.TABLE_PREFIX.'Category.CategoryId = '.TABLE_PREFIX.'%3$sCategoryItems.CategoryId
+ LEFT JOIN '.TABLE_PREFIX.'Images img ON img.ResourceId = %1$s.ResourceId AND img.DefaultImg = 1
+ LEFT JOIN '.TABLE_PREFIX.'PermCache perm ON perm.CategoryId = '.TABLE_PREFIX.'%3$sCategoryItems.CategoryId
+ LEFT JOIN '.TABLE_PREFIX.'PortalUser u ON %1$s.CreatedById = u.PortalUserId
+ LEFT JOIN '.TABLE_PREFIX.'%3$sLinkCustomData cust ON %1$s.ResourceId = cust.ResourceId',
+
+ ), // key - special, value - list select sql
+
+ 'ListSortings' => Array(
+ '' => Array(
+ 'ForcedSorting' => Array('Priority' => 'desc'),
+ 'Sorting' => Array('Name' => 'asc', 'Description' => 'desc'),
+ )
+ ),
+ 'ItemSQLs' => Array( ''=>' SELECT %1$s.* %2$s
+ FROM %1$s
+ LEFT JOIN '.TABLE_PREFIX.'%3$sCategoryItems ON '.TABLE_PREFIX.'%3$sCategoryItems.ItemResourceId = %1$s.ResourceId
+ LEFT JOIN '.TABLE_PREFIX.'Category ON '.TABLE_PREFIX.'Category.CategoryId = '.TABLE_PREFIX.'%3$sCategoryItems.CategoryId
+ LEFT JOIN '.TABLE_PREFIX.'Images img ON img.ResourceId = %1$s.ResourceId AND img.DefaultImg = 1
+ LEFT JOIN '.TABLE_PREFIX.'PortalUser u ON %1$s.CreatedById = u.PortalUserId
+ LEFT JOIN '.TABLE_PREFIX.'%3$sLinkCustomData cust ON %1$s.ResourceId = cust.ResourceId'),
+
+ 'SubItems' => Array('l-rev', 'l-ci', 'l-rel', 'l-img', 'l-cdata', 'l-fav', 'l-file'),
+
+ 'Fields' => Array (
+ 'LinkId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0,),
+ 'Name' => Array('type' => 'string', 'formatter' => 'kMultiLanguage', 'not_null' => 1, 'required' => 1, 'max_len' => 255, 'default' => ''),
+ 'AutomaticFilename' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 1),
+ 'Description' => Array('type' => 'string', 'formatter' => 'kMultiLanguage', 'using_fck' => 1, 'default' => null),
+ 'Url' => Array('type' => 'string', 'not_null' => 1, 'required' => 1, 'default' => ''),
+ 'CreatedOn' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'),
+ 'Modified' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'),
+ 'Expire' => Array('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => null),
+ 'Hits' => Array('type' => 'double', 'formatter' => 'kFormatter', 'format' => '%d', 'not_null' => 1, 'default' => 0),
+ 'CachedRating' => Array('type' => 'string', 'not_null' => 1, 'formatter' => 'kFormatter', 'default' => 0),
+ 'CachedVotesQty' => Array('type' => 'int', 'formatter' => 'kFormatter', 'not_null' => 1, 'default' => 0),
+ 'CachedReviewsQty' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
+ 'CreatedById' => Array('type' => 'int', 'formatter' => 'kLEFTFormatter', 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), 'options' => Array(-1 => 'root', -2 => 'Guest'),'left_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'PortalUser WHERE `%s` = \'%s\'', 'left_key_field' => 'PortalUserId', 'left_title_field' => 'Login', 'not_null' => 1, 'default' => -1),
+ 'ModifiedById' => Array('type' => 'int', 'formatter' => 'kLEFTFormatter', 'error_msgs' => Array ('invalid_option' => '!la_error_UserNotFound!'), 'options' => Array(-1 => 'root', -2 => 'Guest'),'left_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'PortalUser WHERE `%s` = \'%s\'', 'left_key_field' => 'PortalUserId', 'left_title_field' => 'Login', 'not_null' => 1, 'default' => -1),
+ 'Priority' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
+ 'Status' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 2),
+ 'EditorsPick' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'not_null' => 1, 'default' => 0),
+ 'ResourceId' => Array('type' => 'int', 'default' => null),
+ 'HotItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1,'default' => 2),
+ 'PopItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1,'default' => 2),
+ 'NewItem' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (2 => 'la_Auto', 1 => 'la_Always', 0 => 'la_Never'), 'use_phrases' => 1, 'not_null' => 1,'default' => 2),
+ 'OrgId' => Array('type' => 'int', 'default' => null),
+ 'CustomTemplate' => Array('type' => 'string', 'not_null' => 1, 'default' => ''),
+ 'MetaKeywords' => Array('type' => 'string', 'default' => null),
+ 'MetaDescription' => Array('type' => 'string', 'formatter' => 'kFormatter', 'using_fck' => 1, 'default' => null),
+ 'ReciprocalLinkFound' => Array (
+ 'type' => 'int',
+ 'formatter' => 'kOptionsFormatter', 'options' => Array (0 => 'la_NotChecked', 1 => 'la_Yes', 2 => 'la_No'), 'use_phrases' => 1,
+ 'not_null' => 1, 'default' => 0
+ ),
+ ),
+
+ 'VirtualFields' => Array(
+ 'UserName' => Array('type' => 'string', 'default' => ''),
+ 'DupeCount' => Array('type' => 'string', 'default' => ''),
+
+ 'ListingTypeId' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options_sql' => 'SELECT %1$s FROM '.TABLE_PREFIX.'ListingTypes ORDER BY Name', 'option_title_field' => 'Name', 'option_key_field' => 'ListingTypeId', 'default' => 0),
+
+ 'MoreCategories' => Array ('type' => 'string', 'default' => ''),
+
+ // export related fields: begin
+ 'CategoryId' => Array ('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array (), 'default' => 0),
+ 'ExportFormat' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'CSV', /*2 => 'XML'*/), 'default' => 1),
+ 'ExportFilename' => Array('type' => 'string', 'default' => ''),
+ 'FieldsSeparatedBy' => Array('type' => 'string', 'default' => ','),
+ 'FieldsEnclosedBy' => Array('type' => 'string', 'default' => '"'),
+ 'LineEndings' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'Windows', 2 => 'UNIX'), 'default' => 1),
+ 'LineEndingsInside' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'CRLF', 2 => 'LF'), 'default' => 2),
+ 'IncludeFieldTitles' => Array('type' => 'int', 'default' => 1),
+ 'ExportColumns' => Array('type' => 'string', 'formatter' => 'kOptionsFormatter', 'options' => Array()),
+ 'AvailableColumns' => Array('type' => 'string', 'formatter' => 'kOptionsFormatter', 'options' => Array()),
+ 'CategoryFormat' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_MixedCategoryPath', 2 => 'la_SeparatedCategoryPath'), 'use_phrases' => 1, 'default' => 1),
+ 'CategorySeparator' => Array('type' => 'string', 'error_field' => 'CategoryFormat', 'default' => ':'),
+ 'IsBaseCategory' => Array('type' => 'int', 'default' => 0),
+ // export related fields: end
+
+ // import related fields: begin
+ 'FieldTitles' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_Automatic', 2 => 'la_Manual'), 'use_phrases' => 1, 'default' => 1),
+ 'ImportSource' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_Upload', 2 => 'la_Local'), 'use_phrases' => 1, 'default' => 2),
+ 'ImportFilename' => Array('type' => 'string', 'formatter' => 'kUploadFormatter', 'max_size' => MAX_UPLOAD_SIZE, 'upload_dir' => (defined('EXPORT_BASE_PATH') ? EXPORT_BASE_PATH : '/admin/export') . '/'),
+ 'ImportLocalFilename' => Array('type' => 'string', 'formatter' => 'kOptionsFormatter', 'default' => ''),
+ 'CheckDuplicatesMethod' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_IDField', 2 => 'la_OtherFields'), 'use_phrases' => 1, 'default' => 1),
+ 'ReplaceDuplicates' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(0 => 'la_No', 1 => 'la_Yes'), 'use_phrases' => 1, 'default' => 0),
+ 'DuplicateCheckFields' => Array('type' => 'string', 'formatter' => 'kOptionsFormatter', 'options' => Array('Name' => 'NAME', 'Url' => 'URL'), 'default' => '|Name|Url|'),
+ 'SkipFirstRow' => Array('type' => 'int', 'formatter' => 'kOptionsFormatter', 'options' => Array(1 => 'la_Yes', 0 => 'la_No'), 'use_phrases' => 1, 'default' => 1),
+ // import related fields: end
+
+ 'ThumbnailImage' => Array('type' => 'string', 'default' => ''),
+ 'FullImage' => Array('type' => 'string', 'default' => ''),
+ 'ImageAlt' => Array('type' => 'string', 'default' => ''),
+
+ 'Filename' => Array('type' => 'string','not_null' => 1,'default' => ''),
+ 'CachedNavbar' => Array('type' => 'string', 'default' => ''),
+ 'ParentPath' => Array('type' => 'string', 'default' => ''),
+
+ // for primary image
+ 'SameImages' => Array('type' => 'string', 'default' => ''),
+ 'LocalThumb' => Array('type' => 'string', 'default' => ''),
+ 'ThumbPath' => Array('type' => 'string', 'default' => ''),
+ 'ThumbUrl' => Array('type' => 'string', 'default' => ''),
+ 'LocalImage' => Array('type' => 'string', 'default' => ''),
+ 'LocalPath' => Array('type' => 'string', 'default' => ''),
+ 'FullUrl' => Array('type' => 'string', 'default' => ''),
+ ),
+
+ 'Grids' => Array (
+ 'Default' => Array (
+ 'Icons' => Array (0 => 'icon16_link_disabled.gif', 1 => 'icon16_link.gif', 2 => 'icon16_link_pending.gif', -2 => 'icon16_link_pending.gif', 'HOT' => 'icon16_link_hot.gif', 'POP' => 'icon16_link_pop.gif', 'NEW' => 'icon16_link_new.gif', 'PICK' => 'icon16_link_pick.gif'),
+ 'Fields' => Array (
+ 'LinkId' => Array ('title'=>'la_col_Id', 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter'),
+ 'Name' => Array ('title'=>'la_col_LinkName', 'data_block' => 'grid_catitem_td'),
+ 'Url' => Array ('title' => 'la_col_LinkUrl'),
+ 'Description' => Array ('title' => 'la_col_Description', 'first_chars' => 100),
+ 'CreatedOn' => Array ('title' => 'la_col_CreatedOn', 'filter_block' => 'grid_date_range_filter'),
+ 'Modified' => Array ('title' => 'la_col_Modified', 'filter_block' => 'grid_date_range_filter'),
+ 'Hits' => Array ('title' => 'la_col_Hits', 'filter_block' => 'grid_range_filter'),
+ 'CachedRating' => Array ('title' => 'la_col_Rating', 'filter_block' => 'grid_range_filter'),
+ 'CachedVotesQty' => Array ('title' => 'la_col_VoteCount', 'filter_block' => 'grid_range_filter'),
+ 'CachedReviewsQty' => Array ('title' => 'la_col_ReviewCount', 'filter_block' => 'grid_range_filter'),
+ ),
+ ),
+
+ 'Radio' => Array (
+ 'Icons' => Array (0 => 'icon16_link_disabled.gif', 1 => 'icon16_link.gif', 2 => 'icon16_link_pending.gif', -2 => 'icon16_link_pending.gif', 'HOT' => 'icon16_link_hot.gif', 'POP' => 'icon16_link_pop.gif', 'NEW' => 'icon16_link_new.gif', 'PICK' => 'icon16_link_pick.gif'),
+ 'Selector' => 'radio',
+ 'Fields' => Array (
+ 'LinkId' => Array ('title'=>'la_col_Id', 'data_block' => 'grid_radio_td', 'filter_block' => 'grid_range_filter'),
+ 'Name' => Array ('title'=>'la_col_LinkName', 'data_block' => 'grid_catitem_td'),
+ 'Url' => Array ('title' => 'la_col_LinkUrl'),
+ 'Description' => Array ('title' => 'la_col_Description', 'first_chars' => 100),
+ 'CreatedOn' => Array ('title' => 'la_col_CreatedOn', 'filter_block' => 'grid_date_range_filter'),
+ 'Modified' => Array ('title' => 'la_col_Modified', 'filter_block' => 'grid_date_range_filter'),
+ 'Hits' => Array ('title' => 'la_col_Hits', 'filter_block' => 'grid_range_filter'),
+ 'CachedRating' => Array ('title' => 'la_col_Rating', 'filter_block' => 'grid_range_filter'),
+ 'CachedVotesQty' => Array ('title' => 'la_col_VoteCount', 'filter_block' => 'grid_range_filter'),
+ 'CachedReviewsQty' => Array ('title' => 'la_col_ReviewCount', 'filter_block' => 'grid_range_filter'),
+ ),
+ ),
+
+ 'Duplicates' => Array (
+ 'Icons' => Array ('default' => 'icon16_link.gif'),
+ 'Fields' => Array (
+ 'Name' => Array ('title' => 'la_col_LinkName', 'filter_block' => 'grid_like_filter'),
+ 'Url' => Array ('title' => 'la_col_LinkUrl', 'filter_block' => 'grid_like_filter'),
+ 'DupeCount' => Array ('title' => 'la_col_DupeCount', 'filter_block' => 'grid_range_filter'),
+ ),
+ ),
+ ),
+
+
+ 'ConfigMapping' => Array(
+ 'PerPage' => 'Perpage_Links',
+ 'ShortListPerPage' => 'Perpage_Links_Short',
+ 'ForceEditorPick' => 'Link_ShowPick',
+ 'DefaultSorting1Field' => 'Link_SortField',
+ 'DefaultSorting2Field' => 'Link_SortField2',
+ 'DefaultSorting1Dir' => 'Link_SortOrder',
+ 'DefaultSorting2Dir' => 'Link_SortOrder2',
+
+ 'RatingDelayValue' => 'link_RatingDelay_Value',
+ 'RatingDelayInterval' => 'link_RatingDelay_Interval',
+
+ ),
+ );
+?>
Property changes on: branches/5.0.x/in-link/units/links/links_config.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.75.2.30
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/links/links_event_handler.php
===================================================================
--- branches/5.0.x/in-link/units/links/links_event_handler.php (nonexistent)
+++ branches/5.0.x/in-link/units/links/links_event_handler.php (revision 12118)
@@ -0,0 +1,487 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+ class LinksEventHandler extends kCatDBEventHandler {
+
+ /**
+ * Allows to override standart permission mapping
+ *
+ */
+ function mapPermissions()
+ {
+ parent::mapPermissions();
+ $permissions = Array(
+ 'OnContactFormSubmit' => Array('self' => true),
+ 'OnProcessReciprocalLinks' => Array('self' => true),
+ 'OnSetGrouping' => Array('self' => 'view'),
+ 'OnStoreSelected' => Array('self' => 'view'),
+ 'OnMerge ' => Array('self' => 'edit'),
+ );
+ $this->permMapping = array_merge($this->permMapping, $permissions);
+ }
+
+ /**
+ * Enter description here...
+ *
+ * @param kEvent $event
+ */
+ function SetCustomQuery(&$event)
+ {
+ parent::SetCustomQuery($event);
+
+ $object =& $event->getObject();
+
+ if (!$this->Application->IsAdmin()) {
+ $object->addFilter('expire_filter', '(Expire > '.adodb_mktime().' OR Expire IS NULL)');
+ }
+
+ if (substr($event->Special, 0, 10) == 'duplicates') {
+ $object->removeFilter('category_filter');
+
+ $link_helper =& $this->Application->recallObject('LinkHelper');
+ /* @var $link_helper LinkHelper */
+
+ $grouping = $link_helper->getGrouping( $event->getPrefixSpecial() );
+ switch ($event->Special) {
+ case 'duplicates':
+ foreach ($grouping as $group_field) {
+ $object->AddGroupByField($object->TableName.'.'.$group_field);
+ }
+ $object->addFilter('has_dupes_filter', 'DupeCount > 1', AGGREGATE_FILTER, FLT_SYSTEM);
+ break;
+
+ case 'duplicates-sub':
+ $main_object =& $this->Application->recallObject($event->Prefix.'.duplicates');
+ foreach ($grouping as $field_index => $group_field) {
+ $object->addFilter('dupe_filter_'.$field_index, '%1$s.`'.$group_field.'` = '.$this->Conn->qstr($main_object->GetDBField($group_field)) );
+ }
+ break;
+ }
+ $object->addFilter('primary_filter', TABLE_PREFIX.'CategoryItems.PrimaryCat = 1');
+ }
+
+ }
+
+ /**
+ * Set groping fields for link duplicate checker
+ *
+ * @param kEvent $event
+ */
+ function OnSetGrouping(&$event)
+ {
+ $this->Application->LinkVar($event->getPrefixSpecial(true).'_dupe_fields', $event->getPrefixSpecial().'_dupe_fields');
+ }
+
+ /**
+ * Merge duplicate links together (only categories) & delete duplicates
+ *
+ * @param kEvent $event
+ */
+ function OnMerge(&$event)
+ {
+ $link_helper =& $this->Application->recallObject('LinkHelper');
+ /* @var $link_helper LinkHelper */
+
+ $grouping = $link_helper->getGrouping( $event->getPrefixSpecial() );
+
+ $ids = $this->StoreSelectedIDs($event);
+ if (!$ids) {
+ return true;
+ }
+
+ // check, that user has not selected multiple links from same group
+ $primary_links = Array();
+
+ $id_field = $this->Application->getUnitOption($event->Prefix, 'IDField');
+ $table_name = $this->Application->getUnitOption($event->Prefix, 'TableName');
+ $sql = 'SELECT *
+ FROM '.$table_name.'
+ WHERE '.$id_field.' IN ('.implode(',', $ids).')';
+ $links = $this->Conn->Query($sql, $id_field);
+
+ $groping_error = false;
+ foreach ($links as $link_id => $link_data) {
+ $group_key = '';
+ foreach ($grouping as $grouping_field) {
+ $group_key .= 'main_table.`'.$grouping_field.'` = '.$this->Conn->qstr($link_data[$grouping_field]).' AND ';
+ }
+ $group_key = preg_replace('/(.*) AND $/', '\\1', $group_key);
+
+ if (isset($primary_links[$group_key])) {
+ $groping_error = true;
+ break;
+ }
+ else {
+ $primary_links[$group_key] = $link_data['ResourceId'];
+ }
+ }
+
+ if (!$groping_error) {
+ $temp =& $this->Application->recallObject($event->getPrefixSpecial().'_TempHandler', 'kTempTablesHandler');
+
+ $categories_sql = 'SELECT main_table.ResourceId, ci.CategoryId, main_table.'.$id_field.'
+ FROM '.$table_name.' main_table
+ LEFT JOIN '.TABLE_PREFIX.'CategoryItems ci ON main_table.ResourceId = ci.ItemResourceId
+ WHERE %s';
+
+ foreach ($primary_links as $group_key => $primary_resource_id) {
+ $categories = Array();
+ $group_links = Array();
+ $group_categories = $this->Conn->Query(sprintf($categories_sql, $group_key));
+ foreach ($group_categories as $category_data) {
+ $group_links[ $category_data['ResourceId'] ] = $category_data[$id_field];
+ $categories[$category_data['ResourceId'] == $primary_resource_id ? 'remove' : 'add'][] = $category_data['CategoryId'];
+ }
+ unset($group_links[$primary_resource_id]);
+ $categories = array_unique( array_diff($categories['add'], $categories['remove']) );
+ if ($categories) {
+ // add link to other link categories
+ $values_sql = '';
+ foreach ($categories as $category_id) {
+ $values_sql .= '('.$category_id.','.$primary_resource_id.',0),';
+ }
+ $values_sql = preg_replace('/(.*),$/', '\\1', $values_sql);
+ $insert_sql = 'INSERT INTO '.TABLE_PREFIX.'CategoryItems (CategoryId,ItemResourceId,PrimaryCat) VALUES '.$values_sql;
+ $this->Conn->Query($insert_sql);
+ }
+
+ // delete all links from group except primary
+ $temp->DeleteItems($event->Prefix, $event->Special, array_values($group_links));
+ }
+
+
+ }
+ else {
+ $event->status = erFAIL;
+ $event->redirect = false;
+ $this->Application->SetVar($event->getPrefixSpecial().'_error', 1);
+ }
+
+ }
+
+ /**
+ * Stores ids, that were selected in duplicate checker
+ *
+ * @param kEvent $event
+ */
+ function OnStoreSelected(&$event)
+ {
+ $this->StoreSelectedIDs($event);
+
+ $event->SetRedirectParam('pass', 'm,' . $event->getPrefixSpecial());
+ }
+
+ /**
+ * Allows to enhance link after creation
+ *
+ * @param kEvent $event
+ */
+ function OnCreate(&$event)
+ {
+ parent::OnCreate($event);
+
+ if ($event->status == erSUCCESS) {
+ $object =& $event->getObject();
+ /* @var $object kDBItem */
+
+ // replace 0 id in post with actual created id (used in enhancement process)
+ $items_info = $this->Application->GetVar( $event->getPrefixSpecial(true) );
+ array_rename_key($items_info, 0, $object->GetID());
+ $this->Application->SetVar($event->getPrefixSpecial(true), $items_info);
+
+ // listing was created -> enhance it right away
+ $enhancement_event = new kEvent('ls:OnRequestEnhancement');
+ $this->Application->HandleEvent($enhancement_event);
+ if (($enhancement_event->status == erSUCCESS) && strlen($enhancement_event->redirect)) {
+ $event->SetRedirectParam('next_template', $event->redirect);
+ $event->redirect = $enhancement_event->redirect;
+ }
+ }
+ }
+
+ /**
+ * Adds free listing option to listing type selection
+ *
+ * @param kEvent $event
+ */
+ function OnAfterConfigRead(&$event)
+ {
+ parent::OnAfterConfigRead($event);
+
+ if (defined('IS_INSTALL') && IS_INSTALL) {
+ return ;
+ }
+
+ $free_listings = $this->Application->ConfigValue('Link_AllowFreeListings');
+
+ $virtual_fields = $this->Application->getUnitOption($event->Prefix, 'VirtualFields');
+ $virtual_fields['ListingTypeId']['options'] = $free_listings ? Array (0 => 'lu_free_listing') : Array ();
+
+ $language_id = $this->Application->GetVar('m_lang');
+ $duplicate_options = array_flip($virtual_fields['DuplicateCheckFields']['options']);
+ $duplicate_options['NAME'] = 'l' . $language_id . '_Name';
+ $virtual_fields['DuplicateCheckFields']['options'] = array_flip($duplicate_options);
+ $default = $virtual_fields['DuplicateCheckFields']['default'];
+ $virtual_fields['DuplicateCheckFields']['default'] = str_replace('|Name|', '|l' . $language_id . '_Name|', $default);
+
+ $this->Application->setUnitOption($event->Prefix, 'VirtualFields', $virtual_fields);
+
+ if (!$this->Application->IsAdmin()) {
+ // for now only on Front-End
+ $this->Application->setUnitOption($event->Prefix, 'PopulateMlFields', true);
+ }
+ }
+
+ /**
+ * contact us form submitted on link details page
+ *
+ * @param kEvent $event
+ */
+ function OnContactFormSubmit(&$event)
+ {
+ $fields = Array (
+ 'ContactFormFullName', 'ContactFormEmail', 'ContactFormSubject', 'ContactFormBody', 'ContactFormCaptcha'
+ );
+
+ // reset errors var
+ $this->Application->SetVar('ContactForm_HasErrors', '');
+
+ // 1. validate form fields
+ $required_fields = $this->Application->GetVar('FormRequiredFields');
+ foreach ($fields as $field_name) {
+ $field_value = trim($this->Application->GetVar($field_name));
+ if (in_array($field_name, $required_fields)) {
+ // custom captcha validation
+ if ($field_name == 'ContactFormCaptcha') {
+ if (!strlen($field_value) || ($field_value != $this->Application->RecallVar($event->Prefix . '_captcha_code'))) {
+ $this->Application->SetVar('error_'.$field_name, 1);
+
+ $captcha_helper =& $this->Application->recallObject('CaptchaHelper');
+ /* @var $captcha_helper kCaptchaHelper */
+ $this->Application->StoreVar($event->Prefix . '_captcha_code', $captcha_helper->GenerateCaptchaCode());
+
+ $event->status = erFAIL;
+ $event->redirect = false;
+ }
+ }
+ // email validation
+ elseif (!strlen($field_value) || ($field_name == 'ContactFormEmail' && !preg_match('/'.REGEX_EMAIL_USER.'@'.REGEX_EMAIL_DOMAIN.'/', $field_value))) {
+ $this->Application->SetVar('error_'.$field_name, 1);
+ $event->status = erFAIL;
+ $event->redirect = false;
+ }
+
+ }
+ }
+
+ if ($event->status != erSUCCESS) {
+ // set errors var
+ $this->Application->SetVar('ContactForm_HasErrors', 1);
+ return ;
+ }
+
+ $object =& $event->getObject(); // get link object
+ /* @var $object kDBItem */
+
+ $send_params = Array(
+ 'from_name' => $this->Application->GetVar('ContactFormFullName'),
+ 'from_email' => $this->Application->GetVar('ContactFormEmail'),
+ 'from_subject' => $this->Application->GetVar('ContactFormSubject'),
+ 'message' => $this->Application->GetVar('ContactFormBody'),
+ 'to_linkname' => $object->GetField('Name'),
+ );
+
+ $email_event =& $this->Application->EmailEventUser('LINK.CONTACTFORM', $object->GetDBField('CreatedById'), $send_params);
+
+ if ($email_event->status == erSUCCESS) {
+ $event->redirect = $this->Application->GetVar('success_template');
+
+ $redirect_params = Array (
+ 'opener' => 's',
+ 'pass' => 'all',
+ 'thankyou_header' => $this->Application->GetVar('success_label_header'),
+ 'thankyou_text' => $this->Application->GetVar('success_label_body')
+ );
+ $event->setRedirectParams($redirect_params);
+
+ $this->Application->EmailEventAdmin('LINK.CONTACTFORM', 0, $send_params);
+ }
+ else {
+ $this->Application->SetVar('error_ContactFormEmail', 1);
+ $event->status = erFAIL;
+ $event->redirect = false;
+ }
+ }
+
+ /**
+ * Makes reciprocal check on link, when it is created
+ *
+ * @param kEvent $event
+ */
+ function OnBeforeItemCreate(&$event)
+ {
+ parent::OnBeforeItemCreate($event);
+
+ $this->_checkLink($event);
+ }
+
+ /**
+ * Makes reciprocal check on link, when it is updated
+ *
+ * @param kEvent $event
+ */
+ function OnBeforeItemUpdate(&$event)
+ {
+ parent::OnBeforeItemUpdate($event);
+
+ $this->_checkLink($event);
+ }
+
+ /**
+ * Makes reciprocal check on link & saves results
+ *
+ * @param kEvent $event
+ */
+ function _checkLink(&$event)
+ {
+ if (!$this->Application->ConfigValue('ReciprocalLinkChecking')) {
+ return ;
+ }
+
+ $object =& $event->getObject();
+ /* @var $object kDBItem */
+
+ if ($object->GetDBField('Url') != $object->GetOriginalField('Url')) {
+ // check only when url was changed
+
+ $link_helper =& $this->Application->recallObject('LinkHelper');
+ /* @var $link_helper LinkHelper */
+
+ $link_checked = $link_helper->CheckReciprocalURL($object->GetDBField('Url'));
+
+ $object->SetDBField('ReciprocalLinkFound', $link_checked ? LINK_IS_RECIPROCAL : LINK_IS_NOT_RECIPROCAL);
+
+ if (!$link_checked) {
+ $this->Application->EmailEventAdmin('LINK.RECIPROCAL.CHECK.FAILED');
+ }
+ }
+ }
+
+ /**
+ * Update links status by their reciprocal status
+ *
+ * @param kEvent $event
+ */
+ function OnProcessReciprocalLinks(&$event)
+ {
+ if (!$this->Application->ConfigValue('ReciprocalLinkChecking')) {
+ return ;
+ }
+
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ /* @var $object kDBItem */
+
+ $link_helper =& $this->Application->recallObject('LinkHelper');
+ /* @var $link_helper LinkHelper */
+
+ // 1. verify all links, that were not verified previously
+ $sql = 'SELECT ' . $id_field . '
+ FROM ' . $table_name . '
+ WHERE (ReciprocalLinkFound = 0)';
+ $not_checked_links = $this->Conn->GetCol($sql);
+
+ foreach ($not_checked_links as $link_id) {
+ $object->Load($link_id);
+
+ $link_checked = $link_helper->CheckReciprocalURL($object->GetDBField('Url'));
+
+ $object->SetDBField('ReciprocalLinkFound', $link_checked ? LINK_IS_RECIPROCAL : LINK_IS_NOT_RECIPROCAL);
+ $object->Update();
+
+ if ($link_checked) {
+ $object->ApproveChanges();
+ }
+ else {
+ $object->DeclineChanges();
+ $this->Application->EmailEventAdmin('LINK.RECIPROCAL.CHECK.FAILED');
+ }
+ }
+
+ // 2. approve all links, that have succeeded in reciprocal check (during adding/changing on front-end)
+ $id_field = $this->Application->getUnitOption($event->Prefix, 'IDField');
+ $table_name = $this->Application->getUnitOption($event->Prefix, 'TableName');
+
+ $sql = 'SELECT ' . $id_field . '
+ FROM ' . $table_name . '
+ WHERE (ReciprocalLinkFound = ' . LINK_IS_RECIPROCAL . ') AND (Status <> ' . STATUS_ACTIVE . ')';
+ $verified_links = $this->Conn->GetCol($sql);
+
+ foreach ($verified_links as $link_id) {
+ $object->Load($link_id);
+ $object->ApproveChanges();
+ }
+
+ // 3. decline all links, that failed in reciprocal check (during adding/changing on front-end)
+ $sql = 'SELECT ' . $id_field . '
+ FROM ' . $table_name . '
+ WHERE (ReciprocalLinkFound = ' . LINK_IS_NOT_RECIPROCAL . ') AND (Status <> ' . STATUS_DISABLED . ')';
+ $not_verified_links = $this->Conn->GetCol($sql);
+
+ foreach ($not_verified_links as $link_id) {
+ $object->Load($link_id);
+ $object->DeclineChanges();
+ }
+ }
+
+ /**
+ * Allows to load duplicate link by special id
+ *
+ * @param kEvent $event
+ * @return int
+ */
+ function getPassedID(&$event)
+ {
+ $id = parent::getPassedID($event);
+
+ if (($event->Special == 'duplicates') && !is_numeric($id)) {
+ $load_keys = unserialize( base64_decode($id) );
+ // can't return $load_keys as $id, because "kCatDBItem::GetKeyClause" will ignore them
+
+ foreach ($load_keys as $field => $value) {
+ $load_keys[$field] = $field . ' = ' . $this->Conn->qstr($value);
+ }
+
+ $sql = 'SELECT ' . $this->Application->getUnitOption($event->Prefix, 'IDField') . '
+ FROM ' . $this->Application->getUnitOption($event->Prefix, 'TableName') . '
+ WHERE (' . implode(') AND (', $load_keys) . ')';
+ $id = $this->Conn->GetOne($sql);
+ }
+
+ return $id;
+ }
+
+ /**
+ * Returns events, that require item-based (not just event-name based) permission check
+ *
+ * @return Array
+ */
+ function _getMassPermissionEvents()
+ {
+ $events = parent::_getMassPermissionEvents();
+ $events[] = 'OnMerge';
+
+ return $events;
+ }
+ }
+?>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/links/links_event_handler.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.6.6.16
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/links/link_tag_processor.php
===================================================================
--- branches/5.0.x/in-link/units/links/link_tag_processor.php (nonexistent)
+++ branches/5.0.x/in-link/units/links/link_tag_processor.php (revision 12118)
@@ -0,0 +1,459 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+class LinkTagProcessor extends kCatDBTagProcessor {
+
+
+ /**
+ * Returns object used in tag processor
+ *
+ * @access public
+ * @return kDBBase
+ */
+ /*function &getObject($params = Array())
+ {
+ $object =& parent::getObject($params);
+
+ // Forces item loading (compatibility with old theme)
+ if (is_subclass_of($object, 'kDBItem')) {
+ // force reload when using from old code
+ $id = $this->Application->GetVar($this->Prefix.'_id');
+ if ($object->isLoaded() && $id && ($object->GetID() != $id)) {
+ $object->Load($id);
+ }
+ }
+
+ return $object;
+ }*/
+
+ function getListingInfo($resource_id, $field = null)
+ {
+ $sql = 'SELECT *
+ FROM '.$this->Application->getUnitOption('ls', 'TableName').'
+ WHERE ItemResourceId = '.$resource_id;
+ $listing_info = $this->Conn->GetRow($sql);
+ return isset($field) ? $listing_info[$field] : $listing_info;
+ }
+
+ /**
+ * Detects listing enhancement status (enhanced or not)
+ *
+ * @param Array $params
+ * @return int
+ */
+ function LinkIsEnhanced($params)
+ {
+ $object =& $this->getObject();
+ /* @var $object kDBItem */
+
+ if ($object->GetDBField('Status') == STATUS_PENDING || $object->GetDBField('Status') == STATUS_PENDING_EDITING) {
+ return false;
+ }
+
+ $listing_type_id = $this->getListingInfo($object->GetDBField('ResourceId'), 'ListingTypeId');
+
+ $this->Application->SetVar('lst_id', $listing_type_id); // compatibility with old-theme
+ return $listing_type_id ? 1 : 0;
+ }
+
+ /**
+ * Detects if enhancement is pending approval
+ *
+ * @param Array $params
+ * @return int
+ */
+ function EnhancementIsPending($params)
+ {
+ $object =& $this->getObject();
+ /* @var $object kDBItem */
+
+ $status = $this->getListingInfo($object->GetDBField('ResourceId'), 'Status');
+
+ return $status == STATUS_PENDING ? 1 : 0;
+ }
+
+ function ListingTypeField($params)
+ {
+ $object =& $this->getObject();
+ /* @var $object kDBItem */
+
+ $lst_id = $this->getListingInfo($object->GetDBField('ResourceId'), 'ListingTypeId');
+
+ $lst_object =& $this->Application->recallObject('lst', null, Array('skip_autoload' => true));
+ $lst_object->Load($lst_id);
+
+ return $lst_object->GetField( $this->SelectParam($params, 'name,field') );
+ }
+
+ function EnhancementField($params)
+ {
+ $object =& $this->getObject();
+ /* @var $object kDBItem */
+
+ $listing_id = $this->getListingInfo($object->GetDBField('ResourceId'), 'ListingId');
+
+ $listing_object =& $this->Application->recallObject('ls', null, Array('skip_autoload' => true));
+ $listing_object->Load($listing_id);
+
+ return $listing_object->GetField( $this->SelectParam($params, 'name,field') );
+ }
+
+ function IsRenewalPeriod($params)
+ {
+ $object =& $this->getObject();
+ /* @var $object kDBItem */
+
+ $listing_info = $this->getListingInfo($object->GetDBField('ResourceId'));
+
+ $sql = 'SELECT RenewalReminder
+ FROM '.$this->Application->getUnitOption('lst', 'TableName').'
+ WHERE ListingTypeId = '.$listing_info['ListingTypeId'];
+ $renewal_interval = $this->Conn->GetOne($sql) * 3600 * 24;
+
+ return ($listing_info['ExpiresOn'] - adodb_mktime() < $renewal_interval) ? 1 : 0;
+ }
+
+ function FirstListingType($params)
+ {
+ static $first = true;
+ if ($first) {
+ $first = false;
+ return true;
+ }
+ else {
+ return false;
+ }
+ }
+
+ function IsReocurringEnhancement($params)
+ {
+ $params['name'] = 'Recurring';
+ return $this->ListingTypeField($params);
+ }
+
+ function EnhanceUsingInCommerce($params)
+ {
+ if (!$this->Application->isModuleEnabled('In-Commerce')) {
+ return 0;
+ }
+
+ $object =& $this->getObject();
+ /* @var $object kDBItem */
+
+ $listtype_id = $this->getListingInfo($object->GetDBField('ResourceId'), 'ListingTypeId');
+
+ $lst_object =& $this->Application->recallObject('lst', null, Array('skip_autoload' => true));
+ $lst_object->Load($listtype_id);
+
+ return $lst_object->GetDBField('EnableBuying');
+ }
+
+ function ClickLink($params)
+ {
+ $object =& $this->getObject($params);
+
+ return $this->Application->HREF($params['t'], '', Array('l_id' => $object->GetID(), 'pass'=>'all,l' ));
+ }
+
+ function ListRelatedLinks($params)
+ {
+ return $this->PrintList2($params);
+ }
+
+ function LinkLink($params)
+ {
+ return $this->ItemLink($params, 'link');
+ }
+
+ function ListingDescription($params)
+ {
+ $listing_type =& $this->Application->recallObject('lst');
+ /* @var $listing_type kDBItem */
+
+ return $listing_type->GetDBField('Description');
+ }
+
+ function ListingTypeDetailsLink($params)
+ {
+ $listing_type =& $this->Application->recallObject('lst', null, Array ('raise_warnings' => 0));
+ /* @var $listing_type kDBList */
+
+ $params['lst_id'] = $listing_type->isLoaded() ? $listing_type->GetID() : $this->Application->Parser->GetParam('key');
+
+ return $this->Application->ProcessParsedTag('m', 'Link', $params);
+ }
+
+ /**
+ * Register hit & go to link url
+ *
+ * @param Array $params
+ */
+ function FollowLocation($params)
+ {
+ $object =& $this->getObject();
+ /* @var $object kCatDBItem */
+
+ if (!$object->isLoaded()) {
+ trigger_error('No Link ID for redirect', E_USER_ERROR);
+ }
+
+ $object->RegisterHit();
+
+ // save user and time
+ if (!$this->Application->IsAdmin() && $this->Application->LoggedIn()) {
+ $resource_id = $object->GetDBField('ResourceId');
+ $user_id = $this->Application->RecallVar('user_id');
+
+ $link_visit = $this->Application->recallObject('l-visit', null, Array ('skip_autoload' => true));
+ /* @var $link_visit kDBItem */
+
+ $link_visit->Load( Array ('ResourceId' => $resource_id, 'PortalUserId' => $user_id) );
+ if ($link_visit->isLoaded()) {
+ // for existing visits update date
+ $link_visit->SetDBField('VisitTimestamp_date', adodb_mktime());
+ $link_visit->SetDBField('VisitTimestamp_time', adodb_mktime());
+ }
+ else {
+ // for new visits set user & link, visit will be set as default value
+ $link_visit->SetDBField('ResourceId', $resource_id);
+ $link_visit->SetDBField('PortalUserId', $user_id);
+ }
+
+ $status = $link_visit->isLoaded() ? $link_visit->Update() : $link_visit->Create();
+ }
+
+ $url = $object->GetDBField('Url');
+ if (!preg_match('/^(http|ftp|mailto:)(.*)/U', $url)) {
+ $url = 'http://'.$url;
+ }
+
+ $this->Application->Redirect('external:'.$url);
+ }
+
+ /**
+ * Returns formatted address (from custom fields) for using with google
+ *
+ * @param Array $params
+ * @return string
+ */
+ function GetGoogleAddress($params)
+ {
+ $object =& $this->getObject();
+
+ if (isset($params['display_info']) && $params['display_info']) {
+ $ret = $object->GetField('cust_LinkAddress') ? $object->GetField('cust_LinkAddress').'<BR/>' : '';
+ $ret .= $object->GetField('cust_LinkCity') ? $object->GetField('cust_LinkCity').',' : '';
+ $ret .= $object->GetField('cust_LinkState') ? $object->GetField('cust_LinkState') : '';
+ $ret .= $object->GetField('cust_LinkZipCode') ? $object->GetField('cust_LinkZipCode').'<BR/>' : '';
+ $ret .= $object->GetField('cust_LinkCountry') ? $object->GetField('cust_LinkCountry').'<BR/>' : '';
+ $ret .= $object->GetField('cust_LinkPhone') ? '<b>'.$this->Application->Phrase('lu_fld_LinkPhone').':</b> '.$object->GetField('cust_LinkPhone') : '';
+
+ return $ret;
+ }
+
+ $ret = $object->GetField('cust_LinkAddress') ? $object->GetField('cust_LinkAddress').',' : '';
+ $ret .= $object->GetField('cust_LinkCity') ? $object->GetField('cust_LinkCity').',' : '';
+ $ret .= $object->GetField('cust_LinkState') ? $object->GetField('cust_LinkState').',' : '';
+ $ret .= $object->GetField('cust_LinkZipCode') ? $object->GetField('cust_LinkZipCode').',' : '';
+ $ret .= $object->GetField('cust_LinkCountry') ? $object->GetField('cust_LinkCountry') : '';
+
+ return $ret;
+ }
+
+ /**
+ * Returns timestamp of last link visit for logged in users only.
+ *
+ * @param Array $params
+ * @return string
+ */
+ function LastVisited($params)
+ {
+ if (!$this->Application->LoggedIn()) {
+ // we don't gather link visit statistics for Guests
+ return '';
+ }
+
+ static $link_visited = Array ();
+
+ $object =& $this->getObject();
+ /* @var $object kDBList */
+
+ if (!isset($link_visited[$this->Special])) {
+ $resource_ids = $object->GetCol('ResourceId');
+ $user_id = $this->Application->RecallVar('user_id');
+
+ $table_name = $this->Application->getUnitOption('l-visit', 'TableName');
+ $sql = 'SELECT VisitTimestamp, ResourceId
+ FROM '.$table_name.'
+ WHERE (PortalUserId = '.$user_id.') AND (ResourceId IN ('.implode(',', $resource_ids).'))';
+ $link_visited[$this->Special] = $this->Conn->GetCol($sql, 'ResourceId');
+ }
+
+ if (!isset($link_visited[$this->Special][$object->GetDBField('ResourceId')])) {
+ // link has no visit information for current user
+ return '';
+ }
+
+ $link_visit = $link_visited[$this->Special][$object->GetDBField('ResourceId')];
+
+ if (isset($params['formatted']) && $params['formatted']) {
+ // format the date
+ $lang =& $this->Application->recallObject('lang.current');
+
+ if (isset($params['display_time']) && $params['display_time']) {
+ $display_format = $lang->GetDBField('DateFormat').' @ '.$lang->GetDBField('TimeFormat');
+ }
+ else {
+ $display_format = $lang->GetDBField('DateFormat');
+ }
+
+ return adodb_date($display_format, $link_visit);
+ }
+
+ return $link_visit;
+ }
+
+ /**
+ * Checks if specified Custom Fields and condition are true
+ *
+ * @param Array $params
+ * @return string
+ */
+ function HasValue($params)
+ {
+ $condition = isset($params['condition']) ? strtolower($params['condition']) : false;
+ $fields = isset($params['fields']) ? $params['fields'] : false;
+ if (!$fields || !in_array($condition, Array('or', 'and'))) {
+ // required parameters not passed
+ return false;
+ }
+
+ $fields = explode(',', $fields);
+
+ $object =& $this->getObject();
+ /* @var $object kDBList */
+
+ switch ($condition) {
+ case 'or':
+ foreach ($fields as $field) {
+ if (strlen($object->GetDBField($field))) {
+ return true;
+ }
+ }
+ break;
+
+ case 'and':
+ foreach ($fields as $field) {
+ if (!strlen($object->GetDBField($field))) {
+ return false;
+ }
+ }
+ break;
+ }
+
+ return $condition == 'and' ? true : false;
+ }
+
+ /**
+ * Gets and parses custom details template or default one
+ *
+ * @param Array $params
+ * @return string
+ */
+ function DisplayDetailTemplate($params)
+ {
+ $object =& $this->getObject($params);
+ /* @var $object kDBItem */
+
+ $template_name = $object->GetDBField('CustomTemplate');
+ if (!$template_name || !$this->Application->TemplatesCache->TemplateExists($template_name)) {
+ $template_name = $params['default_template'];
+ }
+
+ $block_params['name'] = $template_name;
+
+ // parse template
+ return $this->Application->ParseBlock($block_params);
+ }
+
+ /**
+ * Changes title preset of "Duplicate checker" section to show current grouping
+ *
+ * @param Array $params
+ */
+ function ModifyUnitConfig($params)
+ {
+ $grid = array_key_exists('grid', $params) ? $params['grid'] : false;
+ if ($grid != 'Duplicates') {
+ // only for "Duplicate Checker" section
+ return ;
+ }
+
+ $link_helper =& $this->Application->recallObject('LinkHelper');
+ /* @var $link_helper LinkHelper */
+
+ // 1. get current grouping
+ $grouping = $link_helper->getGrouping( $this->getPrefixSpecial() );
+
+ // 2. replace field names in grouping with their corresponding column titles
+ $grids = $this->Application->getUnitOption($this->Prefix, 'Grids');
+ foreach ($grouping as $index => $group_field) {
+ $group_field = preg_replace('/^l[\d]+_/', '', $group_field); // remove ml prefix
+ $grouping[$index] = $this->Application->Phrase($grids[$grid]['Fields'][$group_field]['title']);
+ }
+
+ // 3. patch resulting title preset
+ $concat_with = "' " . $this->Application->Phrase('la_and') . " '";
+ $title_presets = $this->Application->getUnitOption($this->Prefix, 'TitlePresets');
+ $title_presets['duplicate_links'] = str_replace('%s', "'" . implode($concat_with, $grouping) . "'", $title_presets['duplicate_links']);
+
+ $this->Application->setUnitOption($this->Prefix, 'TitlePresets', $title_presets);
+ }
+
+ /**
+ * Allows to modify block params & current list record before PrintList parses record
+ *
+ * @param kDBList $object
+ * @param Array $block_params
+ */
+ function PrepareListElementParams(&$object, &$block_params)
+ {
+ $grid = array_key_exists('grid', $block_params) ? $block_params['grid'] : false;
+ if ($grid != 'Duplicates') {
+ // only for "Duplicate Checker" section
+ return ;
+ }
+
+ static $grouping = null;
+
+ if (!isset($grouping)) {
+ $link_helper =& $this->Application->recallObject('LinkHelper');
+ /* @var $link_helper LinkHelper */
+
+ // 1. get current grouping
+ $grouping = $link_helper->getGrouping( $this->getPrefixSpecial() );
+ }
+
+ $fields_hash =& $object->getCurrentRecord();
+
+ $key_fields = Array ();
+ foreach ($grouping as $group_field) {
+ $key_fields[$group_field] = $fields_hash[$group_field];
+ }
+
+ $fields_hash['LinkId'] = base64_encode( serialize($key_fields) );
+ }
+}
+
+?>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/links/link_tag_processor.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.20.2.14
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/helpers/link_helper.php
===================================================================
--- branches/5.0.x/in-link/units/helpers/link_helper.php (nonexistent)
+++ branches/5.0.x/in-link/units/helpers/link_helper.php (revision 12118)
@@ -0,0 +1,77 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+ class LinkHelper extends kHelper {
+
+ /**
+ * Checks, that we have link to our website on given site url
+ *
+ * @param string $url
+ * @return bool
+ */
+ function CheckReciprocalURL($url)
+ {
+ $ch = curl_init();
+ curl_setopt($ch, CURLOPT_URL, $url);
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
+ curl_setopt($ch, CURLOPT_HEADER, 0);
+ curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
+ curl_setopt($ch, CURLOPT_TIMEOUT, 10);
+ $html = curl_exec($ch);
+
+ if (curl_errno($ch) != 0) {
+ // connection error
+ return false;
+ }
+
+ $info = curl_getinfo($ch);
+ if ($info['http_code'] != 200) {
+ // http error
+ return false;
+ }
+ curl_close($ch);
+
+ $reciprocal_url = rtrim($this->Application->BaseURL());
+
+ if (preg_match('/<a[^<]*href=(["\']?)' . preg_quote($reciprocal_url, '/') . '[\\/]?.*(\\1).*>(.*)<\\/a.*>/sUi', $html, $ret)) {
+ return true;
+ }
+
+ return false;
+ }
+
+
+ /**
+ * Returns grouping fields for "Duplicate Checker" section
+ *
+ * @param string $prefix_special
+ * @return Array
+ */
+ function getGrouping($prefix_special)
+ {
+ // cut "sub" postfix from special
+ $prefix_special = preg_replace('/(.*)-sub$/', '\\1', $prefix_special);
+ $grouping = $this->Application->RecallVar($prefix_special . '_dupe_fields');
+
+ if (!$grouping) {
+ $grouping = '|Url|';
+ $this->Application->StoreVar($prefix_special . '_dupe_fields', $grouping);
+ }
+
+ return explode('|', substr($grouping, 1, -1));
+ }
+
+
+
+ }
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/helpers/link_helper.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/helpers/helpers_config.php
===================================================================
--- branches/5.0.x/in-link/units/helpers/helpers_config.php (nonexistent)
+++ branches/5.0.x/in-link/units/helpers/helpers_config.php (revision 12118)
@@ -0,0 +1,22 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+ $config = Array (
+ 'Prefix' => 'in-link-helpers',
+ 'EventHandlerClass' => Array ('class' => 'kEventHandler', 'file' => '', 'build_event' => 'OnBuild'),
+
+ 'RegisterClasses' => Array (
+ Array ('pseudo' => 'LinkHelper', 'class' => 'LinkHelper', 'file' => 'link_helper.php', 'build_event' => '', 'require_classes' => 'kHelper'),
+ ),
+ );
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/helpers/helpers_config.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/l-visits/l-visits_config.php
===================================================================
--- branches/5.0.x/in-link/units/l-visits/l-visits_config.php (nonexistent)
+++ branches/5.0.x/in-link/units/l-visits/l-visits_config.php (revision 12118)
@@ -0,0 +1,85 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+ $config = Array (
+ 'Prefix' => 'l-visit',
+ 'ItemClass' => Array('class' => 'kDBItem', 'file' => '', 'build_event' => 'OnItemBuild'),
+ 'EventHandlerClass' => Array('class' => 'LinkVisitEventHandler', 'file' => 'l-visit_eh.php', 'build_event' => 'OnBuild'),
+
+ 'AutoLoad' => true,
+
+ 'Hooks' => Array (
+ Array (
+ 'Mode' => hAFTER,
+ 'Conditional' => false,
+ 'HookToPrefix' => 'u',
+ 'HookToSpecial' => '-item', // from OnMassDelete event
+ 'HookToEvent' => Array('OnAfterItemDelete'),
+ 'DoPrefix' => '',
+ 'DoSpecial' => '*',
+ 'DoEvent' => 'OnDeleteVisits',
+ ),
+
+ Array (
+ 'Mode' => hAFTER,
+ 'Conditional' => false,
+ 'HookToPrefix' => 'l',
+ 'HookToSpecial' => '-item', // from "Catalog"
+ 'HookToEvent' => Array('OnAfterItemDelete'),
+ 'DoPrefix' => '',
+ 'DoSpecial' => '*',
+ 'DoEvent' => 'OnDeleteVisits',
+ ),
+
+ Array (
+ 'Mode' => hAFTER,
+ 'Conditional' => false,
+ 'HookToPrefix' => 'l',
+ 'HookToSpecial' => 'showall-item', // from "Advanced View"
+ 'HookToEvent' => Array('OnAfterItemDelete'),
+ 'DoPrefix' => '',
+ 'DoSpecial' => '*',
+ 'DoEvent' => 'OnDeleteVisits',
+ ),
+ ),
+
+ 'QueryString' => Array (
+ 1 => 'id',
+ 2 => 'page',
+ 3 => 'event',
+ ),
+
+ 'IDField' => 'VisitId',
+ 'TableName' => TABLE_PREFIX.'LinkVisits',
+
+ 'AutoDelete' => true,
+
+ 'ListSQLs' => Array ('' => 'SELECT * FROM %s'),
+ 'ItemSQLs' => Array ('' => 'SELECT * FROM %s'),
+
+ 'ListSortings' => Array (
+ '' => Array(
+ 'Sorting' => Array('VisitTimestamp' => 'desc'),
+ )
+ ),
+
+ 'Fields' => Array (
+ 'VisitId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),
+ 'ResourceId' => Array ('type' => 'int', 'default' => NULL),
+ 'PortalUserId' => Array ('type' => 'int', 'not_null' => 1, 'default' => 0),
+ 'VisitTimestamp' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'not_null' => 1, 'default' => '#NOW#'),
+ ),
+ );
+
+?>
Property changes on: branches/5.0.x/in-link/units/l-visits/l-visits_config.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/l-visits/l-visit_eh.php
===================================================================
--- branches/5.0.x/in-link/units/l-visits/l-visit_eh.php (nonexistent)
+++ branches/5.0.x/in-link/units/l-visits/l-visit_eh.php (revision 12118)
@@ -0,0 +1,34 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+class LinkVisitEventHandler extends kDBEventHandler {
+
+ /**
+ * Deletes visits when user/link got deleted
+ *
+ * @param kEvent $event
+ */
+ function OnDeleteVisits(&$event)
+ {
+ $key_field = $event->MasterEvent->Prefix == 'u' ? 'PortalUserId' : 'ResourceId';
+ $table_name = $this->Application->getUnitOption($this->Prefix, 'TableName');
+
+ $object =& $event->MasterEvent->getObject();
+
+ $sql = 'DELETE FROM '.$table_name.'
+ WHERE '.$key_field.' = '.$object->GetDBField($key_field);
+ $this->Conn->Query($sql);
+ }
+}
+?>
Property changes on: branches/5.0.x/in-link/units/l-visits/l-visit_eh.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/listings/listings_event_handler.php
===================================================================
--- branches/5.0.x/in-link/units/listings/listings_event_handler.php (nonexistent)
+++ branches/5.0.x/in-link/units/listings/listings_event_handler.php (revision 12118)
@@ -0,0 +1,773 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+class ListingsEventHandler extends kDBEventHandler {
+
+ /**
+ * Allows to override standart permission mapping
+ *
+ */
+ function mapPermissions()
+ {
+ parent::mapPermissions();
+ $permissions = Array(
+ // front
+ 'OnRequestEnhancement' => Array ('self' => true),
+ 'OnCancelEnhancement' => Array ('self' => true),
+ 'OnExtendEnhancement' => Array ('self' => true),
+
+ );
+ $this->permMapping = array_merge($this->permMapping, $permissions);
+ }
+
+ /**
+ * Adds selected link to listing
+ *
+ * @param kEvent $event
+ */
+ function OnProcessSelected(&$event)
+ {
+ $object =& $event->getObject();
+
+ $selected_ids = $this->Application->GetVar('selected_ids');
+ if ($selected_ids['l']) {
+ $link_id = $selected_ids['l'];
+ $sql = 'SELECT ResourceId
+ FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE '.$this->Application->getUnitOption('l', 'IDField').' = '.$link_id;
+
+ $object->SetDBField($this->Application->RecallVar('dst_field'), $this->Conn->GetOne($sql));
+ $object->IgnoreValidation = true;
+ // $this->RemoveRequiredFields($object);
+ $object->Update();
+ }
+
+ $this->finalizePopup($event);
+ }
+
+ function OnPreSaveListing(&$event)
+ {
+ $event->redirect=false;
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ $object->IgnoreValidation = true;
+ // $this->RemoveRequiredFields($object);
+ $event->CallSubEvent('OnPreSave');
+ $this->Application->SetVar($event->getPrefixSpecial(true).'_id', $object->GetId());
+ return;
+ }
+
+ function OnBeforeItemUpdate(&$event)
+ {
+ $object =& $event->getObject();
+ if($object->IgnoreValidation)
+ {
+ $object->UpdateFormattersMasterFields();
+ }
+ }
+
+ function OnBeforeItemCreate(&$event)
+ {
+ $object =& $event->getObject();
+ if($object->IgnoreValidation)
+ {
+ $object->UpdateFormattersMasterFields();
+ }
+ }
+
+ /**
+ * Enter description here...
+ *
+ * @param kEvent $event
+ */
+ function OnBeforeDeleteFromLive(&$event)
+ {
+ $object =& $event->getObject();
+ $sql = 'SELECT * FROM '.$this->Application->getUnitOption($event->Prefix, 'TableName').'
+ WHERE ListingId = '.$object->GetId();
+ $original_values = $this->Conn->GetRow($sql);
+
+ $type_modified = ($object->GetDBField('ListingTypeId') != $original_values['ListingTypeId']);
+ $link_modified = ($object->GetDBField('ItemResourceId') != $original_values['ItemResourceId']);
+ $status_modified = ($object->GetDBField('Status') != $original_values['Status']);
+
+ if($status_modified)
+ {
+ $email_event = $object->GetDBField('Status') ? 'LINK.ENHANCE.APPROVE' : 'LINK.ENHANCE.APPROVE';
+ $sql = 'SELECT CreatedById FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE ResourceId = '.$object->GetDBField('ItemResourceId');
+ $email_event_user =& $this->Application->EmailEventUser($email_event, $this->Conn->GetOne($sql));
+ $email_event_admin =& $this->Application->EmailEventAdmin($email_event);
+ }
+
+ if( $type_modified || $link_modified )
+ {
+ $this->ResetLink($original_values);
+ }
+
+ if( $status_modified || $type_modified || $link_modified )
+ {
+ $this->EnhanceLink($object, $original_values);
+ }
+
+ if( $status_modified && !($type_modified || $link_modified) )
+ {
+ $this->ResetLink($original_values);
+ }
+ }
+
+ function EnhanceLink(&$object, $original_values)
+ {
+ if ($object->GetDBField('Status') != STATUS_ACTIVE) {
+ return false;
+ }
+
+ if ($object->GetDBField('ExpiresOn') < adodb_mktime()) {
+ $object->SetDBField('Status', STATUS_PENDING);
+ $object->Update();
+ $this->ResetLink($original_values);
+ return false;
+ }
+
+ $this->UpdateLink('OnPurchase', $object->GetDBField('ItemResourceId'), $object->GetDBField('ListingTypeId'));
+
+ $listtype_object =& $this->Application->recallObject('lst');
+ if( $listtype_object->GetDBField('OnPurchaseAddToCatEnabled') )
+ {
+ $link_object =& $this->Application->recallObject('l');
+ $add_to_cat = (int)$listtype_object->GetDBField('OnPurchaseAddToCat');
+ $sql = 'DELETE FROM '.$this->Application->getUnitOption('l-ci', 'TableName').'
+ WHERE CategoryId = '.$add_to_cat.'
+ AND ItemResourceId = '.$link_object->GetDBField('ResourceId').'
+ AND PrimaryCat = 0';
+ $this->Conn->Query($sql);
+ $sql = 'INSERT INTO '.$this->Application->getUnitOption('l-ci', 'TableName').'
+ (CategoryId, ItemResourceId, PrimaryCat)
+ VALUES ('.$add_to_cat.', '.$link_object->GetDBField('ResourceId').', 0)';
+ $this->Conn->Query($sql);
+ }
+ }
+
+ function ResetLink($original_values)
+ {
+ static $has_been_reset = Array();
+
+ if( $original_values['Status'] != STATUS_ACTIVE ||
+ getArrayValue($has_been_reset, $original_values['ListingId']) )
+ {
+ return;
+ }
+
+ $has_been_reset[$original_values['ListingId']] = 1;
+
+ $this->UpdateLink('OnExpire', $original_values['ItemResourceId'], $original_values['ListingTypeId']);
+
+ $listtype_object =& $this->Application->recallObject('lst');
+ if( $listtype_object->GetDBField('OnExpireRemoveFromCatEnabled') )
+ {
+ $remove_from_cat = $listtype_object->GetDBField('OnExpireRemoveFromCat');
+ $sql = 'DELETE FROM '.$this->Application->getUnitOption('l-ci', 'TableName').'
+ WHERE ItemResourceId = '.$original_values['ItemResourceId'].'
+ AND CategoryId = '.$remove_from_cat.'
+ AND PrimaryCat = 0';
+ $this->Conn->Query($sql);
+ }
+ }
+
+ function UpdateLink($action_prefix, $resource_id, $listtype_id)
+ {
+
+ $link_object =& $this->Application->recallObject('l', null, Array('skip_autoload' => true));
+ $link_object->Load($resource_id, 'ResourceId');
+
+ // "-item", because can be called as regular after event, and just "lst" recalls list instead
+ $listtype_object =& $this->Application->recallObject('lst.-item', null, Array('skip_autoload' => true));
+ $listtype_object->Load($listtype_id);
+
+ $action_fields = Array( 'EdPick' => 'EditorsPick',
+ 'New' => 'NewItem',
+ 'Hot' => 'HotItem',
+ 'Pop' => 'PopItem',
+ 'Status' => 'Status',
+ 'CustomTemplate' => 'CustomTemplate',
+ );
+ // $action_prefix = 'OnPurchase';
+
+ foreach($action_fields as $action => $field)
+ {
+ $action_value = $listtype_object->GetDBField($action_prefix.$action);
+ if( $action_value != 3 )
+ {
+ $link_object->SetDBField($field, $action_value);
+ }
+ }
+
+ $priority_value = $listtype_object->GetDBField($action_prefix.'PriorityValue');
+ switch( $listtype_object->GetDBField($action_prefix.'PriorityAction') )
+ {
+ case 1: // equal
+ $link_object->SetDBField('Priority', $priority_value);
+ break;
+ case 2: // increase
+ $original_priority = $link_object->GetDBField('Priority');
+ $link_object->SetDBField('Priority', $original_priority + $priority_value);
+ break;
+ case 3: // decrease
+ $original_priority = $link_object->GetDBField('Priority');
+ $link_object->SetDBField('Priority', $original_priority - $priority_value);
+ break;
+ default:
+ }
+
+ $link_object->Update();
+ }
+
+ /**
+ * Enter description here...
+ *
+ * @param kEvent $event
+ */
+ function OnRequestEnhancement(&$event)
+ {
+ if ($this->Application->isModuleEnabled('In-Commerce')) {
+ $l_info = $this->Application->GetVar('l');
+ if (!$l_info) {
+ return false;
+ }
+
+ list ($link_id, $link_info) = each($l_info);
+ $listing_type_id = $link_info['ListingTypeId'];
+
+ $listing_type =& $this->Application->recallObject('lst', null, Array('skip_autoload' => true));
+ $listing_type->Load($listing_type_id);
+
+ if ($listing_type->GetDBField('EnableBuying')) {
+ $add_to_cart_event = new kEvent('ord:OnAddVirtualProductToCart');
+ $this->Application->HandleEvent($add_to_cart_event);
+
+ if ($add_to_cart_event->redirect) {
+ $event->SetRedirectParam('pass', 'm');
+ $event->redirect = $add_to_cart_event->redirect;
+ }
+ return true;
+ }
+ }
+
+ $event->CallSubEvent('OnListingCreate');
+ }
+
+ /**
+ * Create listing or extend existing listing period
+ *
+ * @param kEvent $event
+ */
+ function OnListingCreate(&$event)
+ {
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+
+ switch ($event->Name) {
+ case 'EnhanceLinkAfterOrderApprove':
+ case 'EnhancedLinkOnCompleteOrder':
+ // when order with listing virtual product is approved
+ $fields = $event->getEventParam('field_values');
+ $item_data = unserialize($fields['ItemData']);
+ $listing_type_id = $item_data['ListingTypeId'];
+ $link_id = $item_data['LinkId'];
+
+ $new_processing = getArrayValue($item_data, 'HasNewProcessing');
+ break;
+
+ case 'OnListingCreate':
+ // when requesting enhancement from front (and not via in-commerce)
+ $links_info = $this->Application->GetVar('l');
+ if (!$links_info) return false;
+
+ $event->redirect = false;
+ list($link_id, $link_info) = each($links_info);
+ $listing_type_id = $link_info['ListingTypeId'];
+
+ $new_processing = false;
+ break;
+ }
+
+ if (!$listing_type_id) {
+ // free or invalid listing type selected
+ return false;
+ }
+
+ // get resource_id of link beeing enhanced
+ $sql = 'SELECT ResourceId
+ FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE LinkId = '.$link_id;
+ $resource_id = $this->Conn->GetOne($sql);
+
+ // get listing by link's resource_id
+ $object->Load($resource_id, 'ItemResourceId');
+ if ($object->isLoaded()) {
+ $original_values = $object->FieldValues;
+ }
+ else {
+ // set initial fields to listing
+ $object->SetDBField('ListingTypeId', $listing_type_id);
+ $object->SetDBField('ItemResourceId', $resource_id);
+
+ if ($event->Name == 'OnListingCreate' || $new_processing) {
+ $item_status = STATUS_PENDING;
+ }
+ else {
+ $item_status = STATUS_ACTIVE;
+ }
+
+ $object->SetDBField('Status', $item_status);
+ }
+
+ // set date of purchase for new listings
+ $purchased_on = max(adodb_mktime(), $object->GetDBField('ExpiresOn'));
+ if (!$object->isLoaded()) {
+ $object->SetDBField('PurchasedOn_date', $purchased_on);
+ $object->SetDBField('PurchasedOn_time', $purchased_on);
+ }
+
+ // set expiration time for listing
+ $listing_type =& $this->Application->recallObject('lst', null, Array('skip_autoload' => true));
+ $listing_type->Load($listing_type_id);
+
+ $dur_type_mapping = Array( 1 => 1,
+ 2 => 60,
+ 3 => 3600,
+ 4 => 3600*24,
+ 5 => 3600*24*7,
+ 6 => 3600*24*365/12,
+ 7 => 3600*24*365
+ );
+ $duration = $listing_type->GetDBField('Duration');
+ $duration_type = $listing_type->GetDBField('DurationType');
+ $expiration_interval = $duration * $dur_type_mapping[$duration_type];
+ $expiration_date = $purchased_on + $expiration_interval;
+ $object->SetDBField('ExpiresOn_date', $expiration_date);
+ $object->SetDBField('ExpiresOn_time', $expiration_date);
+
+ // when extending enhancement mark listing as non-received renewal reminder
+ $object->SetDBField('RenewalReminderSent', 0);
+
+ $action = $object->isLoaded() ? 'Update' : 'Create';
+ if ($object->$action()) {
+ $event->status = erSUCCESS;
+ switch ($event->Name) {
+ case 'EnhanceLinkAfterOrderApprove':
+ case 'EnhancedLinkOnCompleteOrder':
+ // when order with listing virtual product is approved
+ if (getArrayValue($original_values, 'Status') != STATUS_ACTIVE) {
+ $this->EnhanceLink($object, Array());
+ }
+ break;
+
+ case 'OnListingCreate':
+ // when requesting enhancement from front (and not via in-commerce)
+ $event->redirect = $this->Application->GetVar('success_template');
+
+ $sql = 'SELECT CreatedById FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE ResourceId = '.$object->GetDBField('ItemResourceId');
+ $email_event_user =& $this->Application->EmailEventUser('LINK.ENHANCE', $this->Conn->GetOne($sql));
+ $email_event_admin =& $this->Application->EmailEventAdmin('LINK.ENHANCE');
+ break;
+ }
+
+
+ }
+ else {
+ $event->status = erFAIL;
+ }
+
+
+ }
+
+ /**
+ * Enter description here...
+ *
+ * @param kEvent $event
+ */
+ function EnhancedLinkOnCompleteOrder(&$event)
+ {
+ // create enhancement, but pending
+ $this->OnListingCreate($event);
+
+ // save created listing_id back to itemdata
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ $fields = $event->getEventParam('field_values');
+ $item_data = unserialize($fields['ItemData']);
+ unset($item_data['ListingTypeId']);
+ $item_data['ListingId'] = $object->GetID();
+
+ $orditems_idfield = $this->Application->getUnitOption('orditems', 'IDField');
+ $orditems_table = $this->Application->getUnitOption('orditems', 'TableName');
+
+ $this->Conn->doUpdate( Array('ItemData' => serialize($item_data)), $orditems_table, $orditems_idfield.' = '.$fields['OrderItemId'] );
+ }
+
+ /**
+ * Enter description here...
+ *
+ * @param kEvent $event
+ */
+ function EnhanceLinkAfterOrderApprove(&$event)
+ {
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ $fields = $event->getEventParam('field_values');
+ $item_data = unserialize($fields['ItemData']);
+
+ if ( getArrayValue($item_data, 'HasNewProcessing') ) {
+ // new processing: just approve created listing here
+ $listing_id = $item_data['ListingId'];
+ $object->Load($listing_id);
+
+ // moved enhancement period to time admin approved enhancement
+ $time_diff = adodb_mktime() - $object->GetDBField('PurchasedOn');
+ $object->SetDBField('PurchasedOn_date', $object->GetDBField('PurchasedOn_date') + $time_diff);
+ $object->SetDBField('PurchasedOn_time', $object->GetDBField('PurchasedOn_time') + $time_diff);
+ $object->SetDBField('ExpiresOn_date', $object->GetDBField('ExpiresOn_date') + $time_diff);
+ $object->SetDBField('ExpiresOn_time', $object->GetDBField('ExpiresOn_time') + $time_diff);
+
+ $object->SetDBField('Status', STATUS_ACTIVE);
+ $object->Update();
+
+ $this->EnhanceLink($object, Array());
+ return true;
+ }
+ else {
+ // create listing & approve it at the same time
+ $this->OnListingCreate($event);
+ }
+ }
+
+ /**
+ * Delete listing
+ *
+ * @param kEvent $event
+ */
+ function EnhanceLinkAfterOrderDeny(&$event)
+ {
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ $fields = $event->getEventParam('field_values');
+ $item_data = unserialize($fields['ItemData']);
+ $listing_id = $item_data['ListingId'];
+
+ $temp_handler =& $this->Application->recallObject($event->getPrefixSpecial().'_TempHandler', 'kTempTablesHandler');
+ $temp_handler->DeleteItems($event->Prefix, $event->Special, Array($listing_id));
+ }
+
+ /**
+ * Enter description here...
+ *
+ * @param kEvent $event
+ */
+ function ExpireLink(&$event)
+ {
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ $fields = $event->getEventParam('field_values');
+ $item_data = unserialize($fields['ItemData']);
+ $sql = 'SELECT ListingId FROM '.$this->Application->getUnitOption($event->Prefix, 'TableName').'
+ WHERE ItemResourceId = '.$item_data['LinkId'];
+ $listing_id = $this->Conn->GetOne($sql);
+ $object->Load($listing_id);
+ $original_values = $object->FieldValues;
+ $object->SetDBField('Status', 2);
+
+ if($object->Update())
+ {
+ $event->status = erSUCCESS;
+ $this->ResetLink($original_values);
+ }
+ else
+ {
+ $event->status = erFAIL;
+ }
+ }
+
+ function iterateItems(&$event)
+ {
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ $ids = $this->StoreSelectedIDs($event);
+
+ if ($event->Name == 'OnMassApprove') {
+ foreach ($ids as $id) {
+ $object->Load($id);
+ if ($object->GetDBField('Status') != STATUS_ACTIVE) {
+ $original_values = $object->FieldValues;
+ $object->SetDBField('Status', STATUS_ACTIVE);
+ $this->EnhanceLink($object, $original_values);
+ }
+ }
+ }
+
+ if ($event->Name == 'OnMassDecline') {
+ foreach ($ids as $id) {
+ $object->Load($id);
+ if ($object->GetDBField('Status') == STATUS_ACTIVE) {
+ $original_values = $object->FieldValues;
+ $this->ResetLink($original_values);
+
+ $sql = 'SELECT CreatedById
+ FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE ResourceId = '.$object->GetDBField('ItemResourceId');
+ $email_event_user =& $this->Application->EmailEventUser('LINK.ENHANCE.DENY', $this->Conn->GetOne($sql));
+ $email_event_admin =& $this->Application->EmailEventAdmin('LINK.ENHANCE.DENY');
+ }
+ }
+ }
+
+ parent::iterateItems($event);
+
+ // extend period for pending/renewal links (if owner has agreed)
+ if ($event->Name == 'OnMassApprove') {
+ $lst_object =& $this->Application->recallObject('lst', null, Array('skip_autoload' => true));
+
+ foreach ($ids as $id) {
+ $object->Load($id);
+ $sql = 'SELECT CreatedById
+ FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE ResourceId = '.$object->GetDBField('ItemResourceId');
+ $owner_id = $this->Conn->GetOne($sql);
+
+ if ($object->GetDBField('PendingRenewal') == 1) {
+ $lst_object->Load( $object->GetDBField('ListingTypeId') );
+ $dur_type_mapping = Array( 1 => 1,
+ 2 => 60,
+ 3 => 3600,
+ 4 => 3600*24,
+ 5 => 3600*24*7,
+ 6 => 3600*24*365/12,
+ 7 => 3600*24*365
+ );
+ $duration = $lst_object->GetDBField('Duration');
+ $duration_type = $lst_object->GetDBField('DurationType');
+ $expiration_interval = $duration * $dur_type_mapping[$duration_type];
+ $renewal_begins = max( adodb_mktime(), $object->GetDBField('ExpiresOn') );
+ $expiration_date = $renewal_begins + $expiration_interval;
+
+ $object->SetDBField('ExpiresOn_date', $expiration_date);
+ $object->SetDBField('ExpiresOn_time', $expiration_date);
+
+ $object->SetDBField('RenewalReminderSent', 0);
+ $object->SetDBField('PendingRenewal', 0);
+
+ if ($object->Update()) {
+ $event->status = erSUCCESS;
+ $event->redirect_params = Array('opener' => 's'); //stay!
+ $email_event_user =& $this->Application->EmailEventUser('LINK.ENHANCE.RENEW', $owner_id);
+ $email_event_admin =& $this->Application->EmailEventAdmin('LINK.ENHANCE.RENEW');
+ }
+ else {
+ $event->status=erFAIL;
+ $event->redirect=false;
+ break;
+ }
+ }
+ else {
+ $email_event_user =& $this->Application->EmailEventUser('LINK.ENHANCE.APPROVE', $owner_id);
+ $email_event_admin =& $this->Application->EmailEventAdmin('LINK.ENHANCE.APPROVE');
+ }
+ }
+ }
+ }
+
+ /**
+ * Redirects to cancel template on front-end
+ *
+ * @param kEvent $event
+ */
+ function OnCancel(&$event)
+ {
+ parent::OnCancel($event);
+
+ if (!$this->Application->IsAdmin()) {
+ $event->SetRedirectParam('opener', 's');
+ $event->redirect = $this->Application->GetVar('cancel_template');
+ }
+ }
+
+ /**
+ * Checks that user is owner of link & returns listing id if permissions are ok
+ *
+ * @param kEvent $event
+ * @return mixed
+ */
+ function verifyListingOwner(&$event)
+ {
+ $link_id = $this->Application->GetVar('l_id');
+ $user_id = $this->Application->RecallVar('user_id');
+ $sql = 'SELECT ResourceId
+ FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE (LinkId = '.$link_id.') AND (CreatedById = '.$user_id.')';
+ $resource_id = $this->Conn->GetOne($sql);
+
+ if (!$resource_id) {
+ $event->status = erFAIL;
+ return false;
+ }
+
+ $sql = 'SELECT ListingId
+ FROM '.$this->Application->getUnitOption($event->Prefix, 'TableName').'
+ WHERE ItemResourceId = '.$resource_id;
+
+ return $this->Conn->GetOne($sql);
+ }
+
+ function OnExtendEnhancement(&$event)
+ {
+ $listing_id = $this->verifyListingOwner($event);
+ if (!$listing_id) {
+ return ;
+ }
+
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ $object->Load($listing_id);
+
+ $object->SetDBField('PendingRenewal', 1);
+ $object->Update();
+ $event->redirect = $this->Application->GetVar('success_template');
+
+ $sql = 'SELECT CreatedById FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE ResourceId = '.$object->GetDBField('ItemResourceId');
+ $email_event_user =& $this->Application->EmailEventUser('LINK.ENHANCE.EXTEND', $this->Conn->GetOne($sql));
+ $email_event_admin =& $this->Application->EmailEventAdmin('LINK.ENHANCE.EXTEND');
+ }
+
+ function OnCancelEnhancement(&$event)
+ {
+ $listing_id = $this->verifyListingOwner($event);
+ if (!$listing_id) {
+ return ;
+ }
+
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ $object->Load($listing_id);
+
+ $original_values = $object->FieldValues;
+ $original_values['Status'] = 1;
+ $this->ResetLink($original_values);
+
+ $sql = 'SELECT CreatedById FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE ResourceId = '.$object->GetDBField('ItemResourceId');
+ $email_event_user =& $this->Application->EmailEventUser('LINK.ENHANCE.CANCEL', $this->Conn->GetOne($sql));
+ $email_event_admin =& $this->Application->EmailEventAdmin('LINK.ENHANCE.CANCEL');
+
+ $object->Delete();
+ $event->redirect = $this->Application->GetVar('success_template');
+ }
+
+ function OnCheckExpiredPaidListings(&$event)
+ {
+ $sql = 'SELECT ListingId FROM '.$this->Application->getUnitOption($event->Prefix, 'TableName').'
+ WHERE ExpiresOn < '.adodb_mktime().' AND Status = 1';
+ $expired_listings = $this->Conn->GetCol($sql);
+ if(is_array($expired_listings) && count($expired_listings) > 0)
+ {
+ $object =& $this->Application->recallObject($event->Prefix.'.-item', null, Array('skip_autoload' => true));
+ foreach($expired_listings as $listing_id)
+ {
+ $object->Load($listing_id);
+ $original_values = $object->FieldValues;
+ $this->ResetLink($original_values);
+ $object->SetDBField('Status', 2);
+ $object->Update();
+
+ $sql = 'SELECT CreatedById FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE ResourceId = '.$object->GetDBField('ItemResourceId');
+ $email_event_user =& $this->Application->EmailEventUser('LINK.ENHANCE.EXPIRE', $this->Conn->GetOne($sql));
+ $email_event_admin =& $this->Application->EmailEventAdmin('LINK.ENHANCE.EXPIRE');
+ }
+ }
+
+ $sql = 'SELECT ls.ListingId, l.CreatedById FROM '.$this->Application->getUnitOption($event->Prefix, 'TableName').' ls
+ LEFT JOIN '.$this->Application->getUnitOption('lst', 'TableName').' lst
+ ON ls.ListingTypeId = lst.ListingTypeId
+ LEFT JOIN '.$this->Application->getUnitOption('l', 'TableName').' l
+ ON ls.ItemResourceId = l.ResourceId
+ WHERE ls.Status = 1
+ AND ls.ExpiresOn < '.adodb_mktime().' + lst.RenewalReminder * 3600 *24
+ AND ls.RenewalReminderSent = 0';
+ $res = $this->Conn->Query($sql);
+ if(is_array($res) && count($res) > 0)
+ {
+ $listing_ids = Array();
+ foreach($res as $record)
+ {
+ $email_event_user =& $this->Application->EmailEventUser('LINK.ENHANCE.RENEWAL.NOTICE', $record['CreatedById']);
+ $email_event_admin =& $this->Application->EmailEventAdmin('LINK.ENHANCE.RENEWAL.NOTICE');
+ $listing_ids[] = $record['ListingId'];
+ }
+ $sql = 'UPDATE '.$this->Application->getUnitOption($event->Prefix, 'TableName').'
+ SET RenewalReminderSent = 1
+ WHERE ListingId IN ('.implode(',', $listing_ids).')';
+ $this->Conn->Query($sql);
+ }
+ }
+
+ function OnMassDelete(&$event)
+ {
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ $ids = $this->StoreSelectedIDs($event);
+
+ foreach($ids as $id)
+ {
+ $object->Load($id);
+ if($object->GetDBField('Status') == 1)
+ {
+ $original_values = $object->FieldValues;
+ $this->ResetLink($original_values);
+ }
+ }
+ parent::OnMassDelete($event);
+ }
+
+ /**
+ * Moves enhancement from original link to it's pending copy, that is going to be approved
+ *
+ * @param kEvent $event
+ */
+ function OnMoveEnhancement(&$event)
+ {
+ $id_field = $this->Application->getUnitOption($event->MasterEvent->Prefix, 'IDField');
+ $item_table_name = $this->Application->getUnitOption($event->MasterEvent->Prefix, 'TableName');
+
+ $pending_id = $event->MasterEvent->getEventParam('id');
+ $original_id = $event->MasterEvent->getEventParam('original_id');
+
+ $sql = 'SELECT ResourceId, '.$id_field.'
+ FROM '.$item_table_name.'
+ WHERE '.$id_field.' IN ('.$pending_id.','.$original_id.')';
+ $resource_ids = $this->Conn->GetCol($sql, $id_field);
+
+ $table_name = $this->Application->getUnitOption($event->Prefix, 'TableName');
+ $sql = 'UPDATE '.$table_name.'
+ SET ItemResourceId = '.$resource_ids[$pending_id].'
+ WHERE ItemResourceId = '.$resource_ids[$original_id];
+ $this->Conn->Query($sql);
+ }
+
+ /**
+ * Makes calcualated fields to go to multilingual link fields
+ *
+ * @param kEvent $event
+ */
+ function OnAfterConfigRead(&$event)
+ {
+ parent::OnAfterConfigRead($event);
+
+ $language_id = $this->Application->GetVar('m_lang');
+ $calculated_fields = $this->Application->getUnitOption($event->Prefix, 'CalculatedFields');
+ $calculated_fields['']['LinkName'] = 'CONCAT(item_table.l' . $language_id . '_Name, " (", item_table.Url, ")")';
+ $this->Application->setUnitOption($event->Prefix, 'CalculatedFields', $calculated_fields);
+ }
+}
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/listings/listings_event_handler.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.37.2.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/listings/listings_config.php
===================================================================
--- branches/5.0.x/in-link/units/listings/listings_config.php (nonexistent)
+++ branches/5.0.x/in-link/units/listings/listings_config.php (revision 12118)
@@ -0,0 +1,156 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+$config = Array(
+ 'Prefix' => 'ls',
+ 'ItemClass' => Array('class'=>'kDBItem','file'=>'','build_event'=>'OnItemBuild'),
+ 'ListClass' => Array('class'=>'kDBList','file'=>'','build_event'=>'OnListBuild'),
+ 'EventHandlerClass' => Array('class'=>'ListingsEventHandler','file'=>'listings_event_handler.php','build_event'=>'OnBuild'),
+ 'TagProcessorClass' => Array('class'=>'ListingsTagProcessor','file'=>'listings_tag_processor.php','build_event'=>'OnBuild'),
+ 'AutoLoad' => true,
+
+ 'Hooks' => Array(
+ Array(
+ 'Mode' => hAFTER,
+ 'Conditional' => false,
+ 'HookToPrefix' => 'l',
+ 'HookToSpecial' => '*',
+ 'HookToEvent' => Array('OnBeforeDeleteOriginal'),
+ 'DoPrefix' => '',
+ 'DoSpecial' => '*',
+ 'DoEvent' => 'OnMoveEnhancement',
+ ),
+ ),
+
+ 'QueryString' => Array(
+ 1 => 'id',
+ 2 => 'page',
+ 3 => 'event',
+ 4 => 'mode',
+ ),
+
+ 'RegularEvents' => Array(
+ 'listings_expiration' => Array('EventName' => 'OnCheckExpiredPaidListings', 'RunInterval' => 1800, 'Type' => reAFTER),
+ ),
+
+ 'IDField' => 'ListingId',
+ 'StatusField' => Array('Status', 'PendingRenewal'),
+ 'TitleField' => 'LinkName',
+
+ 'TitlePresets' => Array(
+ 'default' => Array( 'new_status_labels' => Array('ls'=>'!la_title_AddingListing!'),
+ 'edit_status_labels' => Array('ls'=>'!la_title_EditingListing!'),
+ 'new_titlefield' => Array('ls'=>'!la_title_NewListing!'),
+ ),
+
+ 'listing_list' => Array('prefixes' => Array('ls_List'), 'format' => "!la_title_PaidListings!",),
+ 'listing_edit' => Array('prefixes' => Array('ls'), 'format' => "#ls_status# '#ls_titlefield#' - !la_title_General!",),
+ ),
+
+ 'PermSection' => Array('main' => 'in-link:paid_listings'),
+
+ 'Sections' => Array(
+ 'in-link:paid_listings_folder' => Array(
+ 'parent' => 'in-link',
+ 'icon' => 'paid_listings',
+ 'label' => 'la_tab_PaidListings',
+ 'permissions' => Array(),
+ 'priority' => 2,
+ 'type' => stTREE,
+ ),
+
+ 'in-link:paid_listings' => Array(
+ 'parent' => 'in-link:paid_listings_folder',
+ 'icon' => 'paid_listings',
+ 'label' => 'la_tab_Listings',
+ 'url' => Array('t' => 'in-link/paid_listings/paid_listings_list', 'pass' => 'm'),
+ 'permissions' => Array('view', 'add', 'edit', 'delete', 'advanced:approve', 'advanced:decline'),
+ 'priority' => 2.1,
+ 'type' => stTAB,
+ ),
+ ),
+
+ 'TableName' => TABLE_PREFIX.'Listings',
+
+ 'ListSQLs' => Array( ''=>' SELECT %1$s.* %2$s
+ FROM %1$s
+ LEFT JOIN '.TABLE_PREFIX.'Link item_table ON item_table.ResourceId = %1$s.ItemResourceId
+ LEFT JOIN '.TABLE_PREFIX.'PortalUser u ON u.PortalUserId = item_table.CreatedById'),
+
+ 'ItemSQLs' => Array( ''=>' SELECT %1$s.* %2$s
+ FROM %1$s
+ LEFT JOIN '.TABLE_PREFIX.'Link item_table ON item_table.ResourceId = %1$s.ItemResourceId
+ LEFT JOIN '.TABLE_PREFIX.'PortalUser u ON u.PortalUserId = item_table.CreatedById'),
+
+ 'ListSortings' => Array(
+ '' => Array(
+ 'Sorting' => Array('PurchasedOn' => 'desc'),
+ )
+ ),
+
+ 'CalculatedFields' => Array (
+ '' => Array (
+ 'LinkName' => 'CONCAT(item_table.Name, " (", item_table.Url, ")")',
+ 'LinkOwner' => 'IF (ISNULL(u.Login), IF (item_table.CreatedById = -1, "root", IF (item_table.CreatedById = -2, "Guest", "n/a")), u.Login)',
+ ),
+ ),
+ 'Fields' => Array
+ (
+ 'ListingId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0,),
+ 'ListingTypeId' => Array('type' => 'int', 'formatter'=>'kOptionsFormatter', 'options_sql'=>'SELECT %s FROM '.TABLE_PREFIX.'ListingTypes ORDER BY Name', 'option_key_field'=>'ListingTypeId', 'option_title_field'=>'Name', 'default' => 0,),
+ 'ItemResourceId' => Array('type' => 'int', 'required' => 1, 'unique' => Array('ItemResourceId'), 'error_field' => 'LinkName', 'default' => NULL),
+ 'PurchasedOn' => Array('type' => 'int', 'formatter'=>'kDateFormatter','default'=>'#NOW#'),
+ 'ExpiresOn' => Array('type' => 'int', 'formatter'=>'kDateFormatter','default' => '#NOW#','required'=>1),
+ 'Status' => Array('type' => 'int', 'not_null' => 1, 'default' => 2, 'formatter'=>'kOptionsFormatter','options' => Array(1 => 'la_Active', 2 => 'la_Pending', 0 => 'la_Disabled'),'use_phrases' => 1),
+ 'PendingRenewal' => Array('type' => 'int','formatter'=>'kOptionsFormatter','options' => Array(0 => 'la_NotPendingRenewal', 1 => 'la_PendingRenewal'),'use_phrases' => 1, 'not_null' => 1, 'default' => 0),
+ 'RenewalReminderSent' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
+ ),
+
+ 'VirtualFields' => Array (
+ 'LinkName' => Array ('type' => 'string'),
+ 'LinkOwner' => Array ('type' => 'string'),
+ ),
+
+ 'FilterMenu' => Array(
+ 'Groups' => Array(
+ Array('mode' => 'AND', 'filters' => Array(0,1,2), 'type' => WHERE_FILTER),
+ Array('mode' => 'AND', 'filters' => Array(3), 'type' => WHERE_FILTER),
+ ),
+
+ 'Filters' => Array(
+ 0 => Array('label' =>'la_Enabled', 'on_sql' => '', 'off_sql' => '%1$s.Status != 1' ),
+ 1 => Array('label' => 'la_Disabled', 'on_sql' => '', 'off_sql' => '%1$s.Status != 0' ),
+ 2 => Array('label' => 'la_Pending', 'on_sql' => '', 'off_sql' => '%1$s.Status != 2' ),
+ 3 => Array('label' => 'la_PendingRenewal', 'on_sql' => '', 'off_sql' => '%1$s.PendingRenewal != 1' ),
+ )
+ ),
+
+ 'Grids' => Array(
+ 'Default' => Array(
+ 'Icons' => Array('default'=>'icon17_custom.gif','1_0'=>'icon16_listing.gif','0_0'=>'icon16_listing_disabled.gif','2_0'=>'icon16_listing_pending.gif', '1_1'=>'icon16_listing_pending.gif','0_1'=>'icon16_listing_disabled.gif','2_1'=>'icon16_listing_pending.gif'),
+ 'Fields' => Array(
+ 'ListingId' => Array( 'title'=>'la_col_Id' , 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter'),
+ 'ListingTypeId' => Array( 'title'=>'la_col_ListingTypeName' , 'data_block' => 'listing_type_td', 'filter_block' => 'grid_like_filter'),
+ 'LinkName' => Array( 'title'=>'la_col_LinkName' , 'data_block' => 'link_td', 'filter_block' => 'grid_like_filter'),
+ 'LinkOwner' => Array( 'title'=>'la_col_LinkOwner', 'filter_block' => 'grid_like_filter'),
+ 'PendingRenewal' => Array( 'title'=>'la_col_PendingRenewal', 'filter_block' => 'grid_options_filter'),
+ 'PurchasedOn' => Array( 'title'=>'la_col_PurchasedOn', 'filter_block' => 'grid_date_range_filter'),
+ 'ExpiresOn' => Array( 'title'=>'la_col_ExpiresOn', 'filter_block' => 'grid_date_range_filter'),
+ ),
+
+ ),
+ ),
+ );
+
+?>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/listings/listings_config.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.18.2.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/listings/listings_tag_processor.php
===================================================================
--- branches/5.0.x/in-link/units/listings/listings_tag_processor.php (nonexistent)
+++ branches/5.0.x/in-link/units/listings/listings_tag_processor.php (revision 12118)
@@ -0,0 +1,104 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+class ListingsTagProcessor extends kDBTagProcessor {
+
+ /**
+ * Returns a link for editing product
+ *
+ * @param Array $params
+ * @return string
+ */
+ function ListingTypeLink($params)
+ {
+ $object =& $this->Application->recallObject($this->getPrefixSpecial(), $this->Prefix, $params);
+
+ return $this->Application->HREF($params['edit_template'],'', Array(
+ 'm_opener' => 'd',
+ 'lst_mode' => 't',
+ 'lst_event' => 'OnEdit',
+ 'lst_id' => $object->GetDBField('ListingTypeId'),
+ 'pass' => 'all,lst'
+ ), 'index.php');
+ }
+
+ function LinkEditLink($params)
+ {
+ $object =& $this->Application->recallObject( $this->getPrefixSpecial(), $this->Prefix, $params );
+
+ $sql = 'SELECT '.$this->Application->getUnitOption('l', 'IDField').'
+ FROM '.$this->Application->getUnitOption('l', 'TableName').'
+ WHERE ResourceId = '.$object->GetDBField('ItemResourceId');
+
+ return $this->Application->HREF($params['edit_template'],'', Array(
+ 'm_opener' => 'd',
+ 'l_mode' => 't',
+ 'l_event' => 'OnEdit',
+ 'l_id' => $this->Conn->GetOne($sql),
+ 'pass' => 'all,l'
+ ));
+ }
+
+ function ExpirationDate($params)
+ {
+ $object =& $this->Application->recallObject( $this->getPrefixSpecial(), $this->Prefix, $params );
+ $listing_type =& $this->Application->recallObject( 'lst', 'lst', $params );
+
+ $dur_type_mapping = Array( 1 => 1,
+ 2 => 60,
+ 3 => 3600,
+ 4 => 3600*24,
+ 5 => 3600*24*7,
+ 6 => 3600*24*365/12,
+ 7 => 3600*24*365
+ );
+ $duration = $listing_type->GetDBField('Duration');
+ $duration_type = $listing_type->GetDBField('DurationType');
+ $expiration_interval = $duration * $dur_type_mapping[$duration_type];
+ $expiration_date = adodb_mktime() + $expiration_interval;
+
+ $lang =& $this->Application->recallObject('lang.current');
+ $format = $lang->GetDBField('DateFormat');
+ $expiration_date = adodb_date($format, $expiration_date);
+
+ return $expiration_date;
+ }
+
+ function ExpirationTime($params)
+ {
+ $object =& $this->Application->recallObject( $this->getPrefixSpecial(), $this->Prefix, $params );
+ $listing_type =& $this->Application->recallObject( 'lst', 'lst', $params );
+
+ $dur_type_mapping = Array( 1 => 1,
+ 2 => 60,
+ 3 => 3600,
+ 4 => 3600*24,
+ 5 => 3600*24*7,
+ 6 => 3600*24*365/12,
+ 7 => 3600*24*365
+ );
+ $duration = $listing_type->GetDBField('Duration');
+ $duration_type = $listing_type->GetDBField('DurationType');
+ $expiration_interval = $duration * $dur_type_mapping[$duration_type];
+ $expiration_date = adodb_mktime() + $expiration_interval;
+
+ $lang =& $this->Application->recallObject('lang.current');
+ $format = $lang->GetDBField('TimeFormat');
+ $expiration_date = adodb_date($format, $expiration_date);
+
+ return $expiration_date;
+ }
+}
+
+?>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/listings/listings_tag_processor.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.8
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/listing_types/listing_types_event_handler.php
===================================================================
--- branches/5.0.x/in-link/units/listing_types/listing_types_event_handler.php (nonexistent)
+++ branches/5.0.x/in-link/units/listing_types/listing_types_event_handler.php (revision 12118)
@@ -0,0 +1,85 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+class ListingTypesEventHandler extends kDBEventHandler {
+
+ /**
+ * Allows to override standart permission mapping
+ *
+ */
+ function mapPermissions()
+ {
+ parent::mapPermissions();
+ $permissions = Array(
+ 'OnItemBuild' => Array('self' => true),
+ );
+
+ $this->permMapping = array_merge($this->permMapping, $permissions);
+ }
+
+ /**
+ * Set's selected category to listing type
+ *
+ * @param kEvent $event
+ */
+ function OnProcessSelected(&$event)
+ {
+ $object =& $event->getObject();
+ $selected_ids = $this->Application->GetVar('selected_ids');
+
+ $object->SetDBField($this->Application->RecallVar('dst_field'), $selected_ids['c']);
+ $this->RemoveRequiredFields($object);
+ $object->Update();
+
+ $this->finalizePopup($event);
+ }
+
+
+ function OnPreSaveListingType(&$event)
+ {
+ $event->redirect = false;
+ $object =& $event->getObject( Array('skip_autoload' => true) );
+ $this->RemoveRequiredFields($object);
+ $event->CallSubEvent('OnPreSave');
+ $this->Application->SetVar($event->getPrefixSpecial(true).'_id', $object->GetID());
+ }
+
+ function OnPreSave(&$event)
+ {
+ $object =& $event->getObject();
+ $item_info = $this->Application->GetVar($event->Prefix);
+ if(is_array($item_info))
+ {
+ $item_info = array_shift($item_info);
+ if( getArrayValue($item_info, 'EnableBuying') )
+ {
+ $options = $object->GetFieldOptions('ShopCartName');
+ $options['required'] = 1;
+ $object->SetFieldOptions('ShopCartName', $options);
+ }
+ }
+ parent::OnPreSave($event);
+ }
+
+ function OnEdit(&$event)
+ {
+ if ($this->Application->prefixRegistred('p')) {
+ $this->Application->recallObject('p', null, Array('skip_autoload' => true));
+ }
+ parent::OnEdit($event);
+ }
+}
+
+
+?>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/listing_types/listing_types_event_handler.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.10
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/listing_types/listing_types_config.php
===================================================================
--- branches/5.0.x/in-link/units/listing_types/listing_types_config.php (nonexistent)
+++ branches/5.0.x/in-link/units/listing_types/listing_types_config.php (revision 12118)
@@ -0,0 +1,147 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+$config = Array(
+ 'Prefix' => 'lst',
+ 'ItemClass' => Array('class'=>'kDBItem','file'=>'','build_event'=>'OnItemBuild'),
+ 'ListClass' => Array('class'=>'kDBList','file'=>'','build_event'=>'OnListBuild'),
+ 'EventHandlerClass' => Array('class'=>'ListingTypesEventHandler','file'=>'listing_types_event_handler.php','build_event'=>'OnBuild'),
+ 'TagProcessorClass' => Array('class'=>'ListingTypesTagProcessor','file'=>'listing_types_tag_processor.php','build_event'=>'OnBuild'),
+ 'AutoLoad' => true,
+ 'AggregateTags' => Array(
+ Array(
+ 'AggregateTo' => 'l',
+ 'AggregatedTagName' => 'ListListingTypes',
+ 'LocalTagName' => 'PrintList',
+ ),
+ Array(
+ 'AggregateTo' => 'l',
+ 'AggregatedTagName' => 'ListingTypeField',
+ 'LocalTagName' => 'Field',
+ ),
+ ),
+ 'Hooks' => Array(),
+ 'QueryString' => Array(
+ 1 => 'id',
+ 2 => 'page',
+ 3 => 'event',
+ 4 => 'mode',
+ ),
+ 'IDField' => 'ListingTypeId',
+ 'TitleField' => 'Name',
+ 'TitlePresets' => Array(
+ 'default' => Array( 'new_status_labels' => Array('lst'=>'!la_title_AddingPaidListingType!'),
+ 'edit_status_labels' => Array('lst'=>'!la_title_EditingPaidListingType!'),
+ 'new_titlefield' => Array('lst'=>'!la_title_NewPaidListingType!'),
+ ),
+ 'listing_type_list'=>Array( 'prefixes' => Array('lst_List'),
+ 'format' => "!la_title_PaidListingTypes!",
+ ),
+ 'listing_type_edit'=>Array( 'prefixes' => Array('lst'),
+ 'new_titlefield' => Array('lst'=>'!la_title_NewPaidListingType!'),
+ 'format' => "#lst_status# '#lst_titlefield#' - !la_title_General!",
+ ),
+ 'listing_type_shop_cart'=>Array( 'prefixes' => Array('lst'),
+ 'new_titlefield' => Array('lst'=>'!la_title_NewPaidListingType!'),
+ 'format' => "#lst_status# '#lst_titlefield#' - !la_title_ShopCartEntry!",
+ ),
+
+
+ ),
+
+ 'EditTabPresets' => Array (
+ 'Default' => Array (
+ 'general' => Array ('title' => 'la_tab_General', 't' => 'in-link/paid_listings/paid_listing_type_edit', 'priority' => 1),
+ ),
+ ),
+
+ 'PermSection' => Array('main' => 'in-link:listing_types'),
+
+ 'Sections' => Array(
+ 'in-link:listing_types' => Array(
+ 'parent' => 'in-link:paid_listings_folder',
+ 'icon' => 'paid_listings',
+ 'label' => 'la_tab_ListingTypes',
+ 'url' => Array('t' => 'in-link/paid_listings/paid_listing_types_list', 'pass' => 'm'),
+ 'permissions' => Array('view', 'add', 'edit', 'delete'),
+ 'priority' => 2.2,
+ 'type' => stTAB,
+ ),
+ ),
+
+ 'TableName' => TABLE_PREFIX.'ListingTypes',
+
+ 'ListSQLs' => Array( ''=>'SELECT * FROM %s',), // key - special, value - list select sql
+
+ 'ItemSQLs' => Array( ''=>'SELECT * FROM %s',),
+
+ 'ListSortings' => Array(
+ '' => Array(
+ 'Sorting' => Array('ListingTypeId' => 'asc'),
+ )
+ ),
+
+ 'Fields' => Array
+ (
+ 'ListingTypeId' => Array('type' => 'int', 'not_null' => 1, 'default' => 0,),
+ 'Name' => Array('type' => 'string','not_null' => '1','default' => '','required' => '1'),
+ 'Description' => Array('type' => 'string', 'formatter' => 'kFormatter', 'not_null' => 1, 'using_fck' => 1, 'default' => ''),
+ 'Duration' => Array('type' => 'int', 'not_null' => 1, 'default' => 0),
+ 'DurationType' => Array('type' => 'int', 'not_null' => 1, 'default' => 0, 'formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(1 => 'la_opt_sec', 2 => 'la_opt_min', 3 => 'la_opt_hour', 4 => 'la_opt_day', 5 => 'la_opt_week', 6 => 'la_opt_month', 7 => 'la_opt_year')),
+ 'OnPurchaseEdPick' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(3 => 'la_Unchanged', 1 => 'la_On', 0 => 'la_Off'), 'default' => 3),
+
+ 'OnPurchaseStatus' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(3 => 'la_Unchanged', 1 => 'la_Enabled', 0 => 'la_Disabled', 2 => 'la_Pending'),'default' => 3),
+
+ 'OnPurchaseNew' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(3 => 'la_Unchanged', 1 => 'la_On', 0 => 'la_Off', 2 => 'la_Auto'),'default' => 3),
+ 'OnPurchasePop' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(3 => 'la_Unchanged', 1 => 'la_On', 0 => 'la_Off', 2 => 'la_Auto'),'default' => 3),
+ 'OnPurchaseHot' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(3 => 'la_Unchanged', 1 => 'la_On', 0 => 'la_Off', 2 => 'la_Auto'),'default' => 3),
+ 'OnPurchasePriorityAction' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(0 => 'la_DontChange', 1 => 'la_SetEqualTo', 2 => 'la_IncreaseBy', 3 => 'la_DecreaseBy'),'default' => 0),
+ 'OnPurchasePriorityValue' => Array('type' => 'int','not_null' => '1','default' => 1),
+ 'OnPurchaseAddToCatEnabled' => Array('type' => 'int','not_null' => '1','default' => 0),
+ 'OnPurchaseAddToCat' => Array('type' => 'int','not_null' => '1','default' => 0),
+ 'OnPurchaseCustomTemplate' => Array('type' => 'string','not_null' => 1,'default' => ''),
+
+ 'OnExpireEdPick' => Array('type' => 'int','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(3 => 'la_Unchanged', 1 => 'la_On', 0 => 'la_Off'),'not_null' => '1','default' => 3),
+ 'OnExpireNew' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(3 => 'la_Unchanged', 1 => 'la_On', 0 => 'la_Off', 2 => 'la_Auto'),'default' => 3),
+ 'OnExpirePop' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(3 => 'la_Unchanged', 1 => 'la_On', 0 => 'la_Off', 2 => 'la_Auto'),'default' => 3),
+ 'OnExpireHot' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(3 => 'la_Unchanged', 1 => 'la_On', 0 => 'la_Off', 2 => 'la_Auto'),'default' => 3),
+ 'OnExpirePriorityAction' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(0 => 'la_DontChange', 1 => 'la_SetEqualTo', 2 => 'la_IncreaseBy', 3 => 'la_DecreaseBy'),'default' => 0),
+ 'OnExpirePriorityValue' => Array('type' => 'int','not_null' => '1','default' => 1),
+ 'OnExpireRemoveFromCatEnabled' => Array('type' => 'int','not_null' => '1','default' => 0),
+ 'OnExpireRemoveFromCat' => Array('type' => 'int','not_null' => '1','default' => 0),
+ 'OnExpireCustomTemplate' => Array('type' => 'string','not_null' => 1,'default' => ''),
+
+ 'OnExpireStatus' => Array('type' => 'int','not_null' => '1','formatter'=>'kOptionsFormatter','use_phrases' => 1,'options' => Array(3 => 'la_Unchanged', 1 => 'la_Enabled', 0 => 'la_Disabled', 2 => 'la_Pending'),'default' => 3),
+ 'RenewalReminder' => Array('type' => 'int','not_null' => '1','default' => 0),
+ 'EnableBuying' => Array('type' => 'int','not_null' => '1','default' => 0),
+ 'ShopCartName' => Array('type' => 'string', 'default' => null),
+ 'Price' => Array('type' => 'double','default' => ''),
+ 'Recurring' => Array('type' => 'int','not_null' => '1','default' => 0),
+ 'VirtualProductId' => Array('type' => 'int','not_null' => '1','default' => 0),
+ ),
+
+ 'Grids' => Array(
+ 'Default' => Array(
+ 'Icons' => Array('default'=>'icon16_listing_type.gif'),
+ 'Fields' => Array(
+ 'ListingTypeId' => Array( 'title'=>'la_col_Id' , 'data_block' => 'grid_checkbox_td', 'filter_block' => 'grid_range_filter'),
+ 'Name' => Array( 'title'=>'la_col_Name', 'filter_block' => 'grid_like_filter'),
+ 'Duration' => Array( 'title'=>'la_col_Duration' , 'data_block' => 'duration_td', 'filter_block' => 'grid_like_filter'),
+ ),
+
+ ),
+ ),
+ );
+
+?>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/listing_types/listing_types_config.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.13.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/units/listing_types/listing_types_tag_processor.php
===================================================================
--- branches/5.0.x/in-link/units/listing_types/listing_types_tag_processor.php (nonexistent)
+++ branches/5.0.x/in-link/units/listing_types/listing_types_tag_processor.php (revision 12118)
@@ -0,0 +1,47 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+class ListingTypesTagProcessor extends kDBTagProcessor {
+
+ function CategoryPath($params)
+ {
+ $object =& $this->getObject($params);
+ $params['cat_id'] = $object->GetDBField($params['field']);
+
+ return $this->Application->ProcessParsedTag('c', 'CategoryPath', $params);
+ }
+
+ /**
+ * Makes 1st listing type default
+ *
+ * @param Array $params
+ * @return bool
+ */
+ function IsDefault($params)
+ {
+ static $listing_type_id = null;
+
+ $object =& $this->getObject();
+ /* @var $object kDBItem */
+
+ if (!isset($listing_type_id)) {
+ $listing_type_id = $object->GetID();
+ }
+
+ return $listing_type_id == $object->GetID();
+ }
+}
+
+
+?>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/units/listing_types/listing_types_tag_processor.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/relations_edit.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/relations_edit.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/relations_edit.tpl (revision 12118)
@@ -0,0 +1,49 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" title_preset="relations_edit"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l-rel','<inp2:l-rel_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l-rel','OnCancel');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_include t="categories/ci_blocks"/>
+
+<inp2:l-rel_SaveWarning name="grid_save_warning"/>
+<inp2:l-rel_ErrorWarning name="form_error_warning"/>
+
+<div id="scroll_container">
+ <table class="edit-form">
+ <inp2:m_RenderElement name="subsection" prefix="l-rel" fields="SourceId,SourceType,TargetId,TargetType,RelationshipId,TargetId,Type,Enabled,Priority" title="!la_section_Relation!"/>
+ <inp2:m_RenderElement name="inp_edit_hidden" prefix="l-rel" field="SourceId"/>
+ <inp2:m_RenderElement name="inp_edit_hidden" prefix="l-rel" field="SourceType"/>
+ <inp2:m_RenderElement name="inp_edit_hidden" prefix="l-rel" field="TargetId"/>
+ <inp2:m_RenderElement name="inp_edit_hidden" prefix="l-rel" field="TargetType"/>
+
+ <inp2:m_RenderElement name="inp_id_label" prefix="l-rel" field="RelationshipId" title="!la_fld_Id!"/>
+ <inp2:m_RenderElement name="inp_edit_relation" prefix="l-rel" field="TargetId" title="!la_fld_TargetId!"/>
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l-rel" field="Type" title="!la_fld_RelationshipType!"/>
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l-rel" field="Enabled" title="!la_fld_Enabled!"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l-rel" field="Priority" title="!la_fld_Priority!" size="4"/>
+ <inp2:m_RenderElement name="inp_edit_filler"/>
+ </table>
+</div>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/relations_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.5.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/review_edit.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/review_edit.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/review_edit.tpl (revision 12118)
@@ -0,0 +1,60 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" title_preset="reviews_edit"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l-rev','<inp2:l-rev_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l-rev','OnCancel');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ <inp2:m_if check="l-rev_IsSingle" >
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if check="l-rev_IsLast" >
+ a_toolbar.DisableButton('next');
+ </inp2:m_if>
+ <inp2:m_if check="l-rev_IsFirst" >
+ a_toolbar.DisableButton('prev');
+ </inp2:m_if>
+ </inp2:m_if>
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:l-rev_SaveWarning name="grid_save_warning"/>
+<inp2:l-rev_ErrorWarning name="form_error_warning"/>
+
+<div id="scroll_container">
+ <table class="edit-form">
+ <inp2:m_RenderElement name="subsection" prefix="l-rev" fields="ItemId,TextFormat,ReviewId,CreatedById,ReviewText,Rating" title="!la_Text_Review!"/>
+ <inp2:m_RenderElement name="inp_edit_hidden" prefix="l-rev" field="ItemId"/>
+ <inp2:m_RenderElement name="inp_edit_checkbox_allow_html" prefix="l-rev" field="TextFormat"/>
+ <inp2:m_RenderElement name="inp_label" prefix="l-rev" field="ReviewId" title="!la_fld_Id!"/>
+ <inp2:m_RenderElement name="inp_edit_user" prefix="l-rev" field="CreatedById" title="!la_fld_CreatedById!" class="text"/>
+ <inp2:m_RenderElement name="inp_edit_textarea" prefix="l-rev" field="ReviewText" title="!la_fld_ReviewText!" cols="70" rows="8"/>
+ <inp2:m_RenderElement name="inp_edit_options" prefix="l-rev" field="Rating" title="la_fld_Rating" class="text"/>
+ <inp2:m_RenderElement name="subsection" prefix="l-rev" fields="Status,Priority,CreatedOn" title="!la_Text_General!"/>
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l-rev" field="Status" title="!la_fld_Status!"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l-rev" field="Priority" title="!la_fld_Priority!" size="3" class="text"/>
+ <inp2:m_RenderElement name="inp_edit_date_time" prefix="l-rev" field="CreatedOn" title="!la_fld_CreatedOn!" size="20" class="text"/>
+ <inp2:m_RenderElement name="inp_edit_filler"/>
+ </table>
+</div>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/review_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.5.2.5
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/images_edit.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/images_edit.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/images_edit.tpl (revision 12118)
@@ -0,0 +1,60 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" title_preset="images_edit"/>
+
+<inp2:m_include t="incs/image_blocks"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l-img','<inp2:l-img_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l-img','OnCancel');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:l-img_SaveWarning name="grid_save_warning"/>
+<inp2:l-img_ErrorWarning name="form_error_warning"/>
+
+<div id="scroll_container">
+ <table class="edit-form">
+ <inp2:m_RenderElement name="subsection" prefix="l-img" fields="ResourceId,ImageId,Name,AltName,Enabled,DefaultImg,Priority" title="!la_section_Image!"/>
+ <inp2:m_RenderElement name="inp_edit_hidden" prefix="l-img" field="ResourceId"/>
+ <inp2:m_RenderElement name="inp_label" prefix="l-img" field="ImageId" title="!la_fld_Id!"/>
+
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l-img" field="Name" title="!la_fld_Name!" size="40"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l-img" field="AltName" title="!la_fld_AltValue!" size="40"/>
+
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l-img" field="Enabled" title="!la_fld_Enabled!" onchange="check_primary()" />
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l-img" field="DefaultImg" title="!la_fld_Primary!" onchange="check_status()" />
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l-img" field="Priority" title="!la_fld_Priority!" size="5"/>
+
+ <inp2:m_RenderElement name="subsection" title="!la_section_ThumbnailImage!"/>
+ <inp2:m_RenderElement name="thumbnail_section" prefix="l-img"/>
+
+ <inp2:m_RenderElement name="subsection" prefix="l-img" fields="SameImages" title="!la_section_FullSizeImage!"/>
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l-img" field="SameImages" title="!la_fld_SameAsThumb!" onchange="toggle_fullsize()"/>
+ <inp2:m_RenderElement name="fullsize_section" prefix="l-img"/>
+ <inp2:m_RenderElement name="inp_edit_filler"/>
+ </table>
+</div>
+
+<script type="text/javascript">
+ <inp2:m_RenderElement name="images_edit_js" prefix="l-img"/>
+ toggle_fullsize();
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/images_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.6.2.5
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/file_edit.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/file_edit.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/file_edit.tpl (revision 12118)
@@ -0,0 +1,41 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" title_preset="file_edit"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l-file','<inp2:l-file_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l-file','OnCancel');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:l-file_SaveWarning name="grid_save_warning"/>
+<inp2:l-file_ErrorWarning name="form_error_warning"/>
+
+<div id="scroll_container">
+ <table class="edit-form">
+ <inp2:m_RenderElement name="subsection" prefix="l-file" fields="ResourceId,FileName,FilePath,Status" title="!la_section_File!"/>
+ <inp2:m_RenderElement name="inp_edit_hidden" prefix="l-file" field="ResourceId"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l-file" field="FileName" title="la_fld_Name" size="50" />
+ <inp2:m_RenderElement name="inp_edit_upload" prefix="l-file" field="FilePath" title="la_fld_FilePath" />
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l-file" field="Status" title="la_fld_Enabled" onchange="check_primary()" />
+ <inp2:m_RenderElement name="inp_edit_filler"/>
+ </table>
+</div>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/file_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.6
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/links_edit.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/links_edit.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/links_edit.tpl (revision 12118)
@@ -0,0 +1,128 @@
+<inp2:adm_SetPopupSize width="880" height="680"/>
+
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" title_preset="links_edit" tab_preset="Default"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l','<inp2:l_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l','OnCancelEdit');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_NextId/>');
+ }
+ ) );
+
+ //a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ a_toolbar.Render();
+
+ <inp2:m_if check="l_IsSingle" >
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ //a_toolbar.HideButton('sep2');
+ <inp2:m_else/>
+ <inp2:m_if check="l_IsLast" >
+ a_toolbar.DisableButton('next');
+ </inp2:m_if>
+ <inp2:m_if check="l_IsFirst" >
+ a_toolbar.DisableButton('prev');
+ </inp2:m_if>
+ </inp2:m_if>
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="ml_selector" prefix="l"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:l_SaveWarning name="grid_save_warning"/>
+<inp2:l_ErrorWarning name="form_error_warning"/>
+
+<div id="scroll_container">
+ <table class="edit-form">
+ <inp2:m_RenderElement name="subsection" prefix="l" fields="LinkId,Name,Description,Url,ReciprocalLinkFound,CreatedById,AutomaticFilename,Filename,CustomTemplate,CategoryId" title="la_section_Link" original_title="la_section_OriginalValues" display_original="1"/>
+ <inp2:m_RenderElement name="inp_id_label" prefix="l" field="LinkId" title="!la_fld_Id!" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_box_ml" prefix="l" field="Name" title="!la_fld_Name!" size="60" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_textarea_ml" prefix="l" field="Description" title="!la_fld_Description!" cols="60" rows="5" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="Url" title="!la_fld_Url!" size="60" display_original="1"/>
+ <inp2:m_RenderElement name="inp_label" prefix="l" field="ReciprocalLinkFound" title="la_fld_ReciprocalLinkFound"/>
+ <inp2:m_RenderElement name="inp_edit_user" prefix="l" field="CreatedById" title="!la_fld_LinkOwner!" size="30" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l" field="AutomaticFilename" title="la_fld_AutomaticFilename" onchange="reflect_filename()" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="Filename" title="la_fld_Filename" size="60" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="CustomTemplate" title="la_fld_CustomTemplate" size="60" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_options" prefix="l" field="CategoryId" title="la_fld_ParentSection" display_original="1"/>
+
+ <inp2:m_RenderElement name="subsection" prefix="l" fields="Status,NewItem,HotItem,PopItem,EditorPick,PriorityCreatedOn,Expire,MetaKeywords,MetaDescription" title="la_section_Properties" original_title="la_section_OriginalValues" display_original="1"/>
+ <inp2:m_if check="l_DisplayOriginal" display_original="1">
+ <inp2:m_if check="l_FieldVisible" field="Status">
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="l" field="Status" title="!la_fld_Status!"/>
+ <td class="control-cell">
+ <inp2:m_Phrase label="la_UseGridToApproveDecline" />
+ </td>
+ <td>
+ &nbsp;
+ </td>
+ </tr>
+ </inp2:m_if>
+ <inp2:m_else/>
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l" field="Status" title="!la_fld_Status!" display_original="1"/>
+ </inp2:m_if>
+
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l" field="NewItem" title="!la_fld_New!" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l" field="HotItem" title="!la_fld_Hot!" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l" field="PopItem" title="!la_fld_Pop!" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l" field="EditorsPick" title="!la_fld_EditorsPick!" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="Priority" title="!la_fld_Priority!" size="4" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_date_time" prefix="l" field="CreatedOn" title="!la_fld_CreatedOn!" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_date_time" prefix="l" field="Expire" title="!la_fld_Expire!" size="12" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="MetaKeywords" title="!la_fld_MetaKeywords!" size="60"/>
+ <inp2:m_RenderElement name="inp_edit_textarea" prefix="l" field="MetaDescription" title="!la_fld_MetaDescription!" cols="60" rows="5"/>
+
+ <inp2:m_RenderElement name="subsection" prefix="l" fields="CachedRating,CachedVotesQty,Hits" title="la_section_Counters" original_title="la_section_OriginalValues" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="CachedRating" title="!la_fld_Rating!" hint_label="la_prompt_RatingLimits" size="4" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="CachedVotesQty" title="!la_fld_Votes!" hint_label="la_prompt_VoteLimits" size="4" display_original="1"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l" field="Hits" title="!la_fld_Hits!" hint_label="la_prompt_HitLimits" size="4" display_original="1"/>
+
+ <!-- custom fields: begin -->
+ <inp2:m_include t="incs/custom_blocks"/>
+ <inp2:cf.general_PrintList render_as="cv_row_block" SourcePrefix="l" value_field="Value" per_page="-1" grid="Default" original_title="la_section_OriginalValues" display_original="1"/>
+ <!-- custom fields: end -->
+
+ <inp2:m_RenderElement name="inp_edit_filler"/>
+ </table>
+</div>
+
+<input type="hidden" name="Hits_original" id="Hits_original" value="<inp2:l_Field name='Hits' db='db' />" />
+
+<script type="text/javascript">
+ function reflect_filename()
+ {
+ var $checked = document.getElementById('_cb_<inp2:l_InputName field="AutomaticFilename"/>').checked;
+ document.getElementById('<inp2:l_InputName field="Filename"/>').readOnly = $checked;
+ }
+
+ Application.setHook('m:OnAfterWindowLoad', reflect_filename);
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/links_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.13.2.12
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/links_files.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/links_files.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/links_files.tpl (revision 12118)
@@ -0,0 +1,86 @@
+<inp2:adm_SetPopupSize width="880" height="680"/>
+
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" title_preset="links_files" tab_preset="Default" pagination="1" pagination_prefix="l-file"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+
+ function edit()
+ {
+ std_edit_temp_item('l-file', 'in-link/links/file_edit');
+ }
+
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l','<inp2:l_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l','OnCancelEdit');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_NextId/>');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ a_toolbar.AddButton( new ToolBarButton('new_file', '<inp2:m_phrase label="la_ToolTip_NewFile" escape="1"/>',
+ function() {
+ std_new_item('l-file', 'in-link/links/file_edit')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
+ a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
+ function() {
+ std_delete_items('l-file')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep3') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ <inp2:m_if check="l_IsSingle" >
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if check="l_IsLast" >
+ a_toolbar.DisableButton('next');
+ </inp2:m_if>
+ <inp2:m_if check="l_IsFirst" >
+ a_toolbar.DisableButton('prev');
+ </inp2:m_if>
+ </inp2:m_if>
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="l-file" grid="Default"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_RenderElement name="grid" PrefixSpecial="l-file" IdField="FileId" grid="Default" menu_filters="yes"/>
+<script type="text/javascript">
+ Grids['l-file'].SetDependantToolbarButtons( new Array('edit','delete') );
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/links_files.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.6
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/links_reviews.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/links_reviews.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/links_reviews.tpl (revision 12118)
@@ -0,0 +1,114 @@
+<inp2:adm_SetPopupSize width="880" height="680"/>
+
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" title_preset="links_reviews" tab_preset="Default" pagination="1" pagination_prefix="l-rev"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l','<inp2:l_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l','OnCancelEdit');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_NextId/>');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ //Pricing related:
+ a_toolbar.AddButton( new ToolBarButton('new_review', '<inp2:m_phrase label="la_ToolTip_NewReview" escape="1"/>',
+ function() {
+ std_new_item('l-rev', 'in-link/links/review_edit')
+ } ) );
+
+ function edit()
+ {
+ std_edit_temp_item('l-rev', 'in-link/links/review_edit');
+ }
+
+ a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
+ a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
+ function() {
+ std_delete_items('l-rev')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep3') );
+
+ a_toolbar.AddButton( new ToolBarButton('approve', '<inp2:m_phrase label="la_ToolTip_Approve" escape="1"/>', function() {
+ submit_event('l-rev','OnMassApprove');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('decline', '<inp2:m_phrase label="la_ToolTip_Decline" escape="1"/>', function() {
+ submit_event('l-rev','OnMassDecline');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep4') );
+
+ a_toolbar.AddButton( new ToolBarButton('move_up', '<inp2:m_phrase label="la_ToolTip_MoveUp" escape="1"/>', function() {
+ submit_event('l-rev','OnMassMoveUp');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('move_down', '<inp2:m_phrase label="la_ToolTip_MoveDown" escape="1"/>', function() {
+ submit_event('l-rev','OnMassMoveDown');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep5') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ <inp2:m_if check="l_IsSingle" >
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if check="l_IsLast" >
+ a_toolbar.DisableButton('next');
+ </inp2:m_if>
+ <inp2:m_if check="l_IsFirst" >
+ a_toolbar.DisableButton('prev');
+ </inp2:m_if>
+ </inp2:m_if>
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="l-rev" grid="Default"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_DefineElement name="reviewtext_checkbox_td">
+ <inp2:Field field="$field" no_special="no_special" cut_first="100"/>
+</inp2:m_DefineElement>
+
+<inp2:m_RenderElement name="grid" PrefixSpecial="l-rev" IdField="ReviewId" grid="Default" menu_filters="yes"/>
+<script type="text/javascript">
+ Grids['l-rev'].SetDependantToolbarButtons( new Array('edit','delete','approve','decline','move_up','move_down') );
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/links_reviews.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.6.2.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/links_categories.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/links_categories.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/links_categories.tpl (revision 12118)
@@ -0,0 +1,84 @@
+<inp2:adm_SetPopupSize width="880" height="680"/>
+
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" title_preset="links_categories" tab_preset="Default" pagination="1" pagination_prefix="l-ci"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ function edit(){ }
+
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l','<inp2:l_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l','OnCancelEdit');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_NextId/>');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ //Category related:
+ a_toolbar.AddButton( new ToolBarButton('new_cat', '<inp2:m_phrase label="la_ToolTip_New_Category" escape="1"/>',
+ function() {
+ openSelector('l', '<inp2:adm_SelectorLink prefix="l" selection_mode="multi" tab_prefixes="none"/>', 'ItemCategory');
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
+ function() {
+ std_delete_items('l-ci')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarButton('primary_cat', '<inp2:m_phrase label="la_ToolTip_SetPrimaryCategory" escape="1"/>', function() {
+ submit_event('l-ci','OnSetPrimary');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ <inp2:m_if check="l_IsSingle" >
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if check="l_IsLast" >
+ a_toolbar.DisableButton('next');
+ </inp2:m_if>
+ <inp2:m_if check="l_IsFirst" >
+ a_toolbar.DisableButton('prev');
+ </inp2:m_if>
+ </inp2:m_if>
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="l-ci" grid="Default"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_DefineElement name="grid_checkbox_category_td">
+ <inp2:CategoryName field="$field" primary_title="!la_PrimaryCategory!" no_special="1"/>
+</inp2:m_DefineElement>
+
+<inp2:m_RenderElement name="grid" PrefixSpecial="l-ci" IdField="CategoryId" grid="Default"/>
+<script type="text/javascript">
+ Grids['l-ci'].SetDependantToolbarButtons( new Array('delete','primary_cat') );
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/links_categories.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.4.2.5
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/links_images.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/links_images.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/links_images.tpl (revision 12118)
@@ -0,0 +1,107 @@
+<inp2:adm_SetPopupSize width="880" height="680"/>
+
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" title_preset="links_images" tab_preset="Default" pagination="1" pagination_prefix="l-img"/>
+
+<inp2:m_include t="incs/image_blocks"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+
+ function edit()
+ {
+ std_edit_temp_item('l-img', 'in-link/links/images_edit');
+ }
+
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l','<inp2:l_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l','OnCancelEdit');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_NextId/>');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+
+
+ a_toolbar.AddButton( new ToolBarButton('new_image', '<inp2:m_phrase label="la_ToolTip_New_Images" escape="1"/>',
+ function() {
+ std_new_item('l-img', 'in-link/links/images_edit')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
+ a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
+ function() {
+ std_delete_items('l-img')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep3') );
+
+ a_toolbar.AddButton( new ToolBarButton('move_up', '<inp2:m_phrase label="la_ToolTip_MoveUp" escape="1"/>', function() {
+ submit_event('l-img','OnMassMoveUp');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('move_down', '<inp2:m_phrase label="la_ToolTip_MoveDown" escape="1"/>', function() {
+ submit_event('l-img','OnMassMoveDown');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('primary_image', '<inp2:m_phrase label="la_ToolTip_SetPrimary" escape="1"/>', function() {
+ submit_event('l-img','OnSetPrimary');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep4') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ <inp2:m_if check="l_IsSingle" >
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if check="l_IsLast" >
+ a_toolbar.DisableButton('next');
+ </inp2:m_if>
+ <inp2:m_if check="l_IsFirst" >
+ a_toolbar.DisableButton('prev');
+ </inp2:m_if>
+ </inp2:m_if>
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="l-img" grid="Default"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_RenderElement name="grid" PrefixSpecial="l-img" IdField="ImageId" grid="Default" menu_filters="yes"/>
+<script type="text/javascript">
+ Grids['l-img'].SetDependantToolbarButtons( new Array('edit','delete','move_up','move_down','primary_image') );
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/links_images.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.7.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/links_custom.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/links_custom.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/links_custom.tpl (revision 12118)
@@ -0,0 +1,71 @@
+<inp2:adm_SetPopupSize width="880" height="680"/>
+
+<inp2:m_include t="incs/header"/>
+
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" grid="SeparateTab" title_preset="links_custom" tab_preset="Default"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l','<inp2:l_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l','OnCancelEdit');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_NextId/>');
+ }
+ ) );
+
+ function edit(){ }
+
+ a_toolbar.Render();
+
+ <inp2:m_if check="l_IsSingle">
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if check="l_IsLast" >
+ a_toolbar.DisableButton('next');
+ </inp2:m_if>
+ <inp2:m_if check="l_IsFirst" >
+ a_toolbar.DisableButton('prev');
+ </inp2:m_if>
+ </inp2:m_if>
+ </script>
+ </td>
+
+ <inp2:m_if check="l_DisplayOriginal" display_original="1">
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="cf" grid="SeparateTabOriginal"/>
+ <inp2:m_else/>
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="cf" grid="SeparateTab"/>
+ </inp2:m_if>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_include t="incs/custom_blocks"/>
+<inp2:m_if check="l_DisplayOriginal" display_original="1">
+ <inp2:m_RenderElement name="grid" PrefixSpecial="cf" IdField="CustomFieldId" SourcePrefix="l" value_field="Value" per_page="-1" grid="SeparateTabOriginal" header_block="grid_column_title_no_sorting" no_init="no_init" original_title="la_section_OriginalValues" display_original="1"/>
+<inp2:m_else/>
+ <inp2:m_RenderElement name="grid" PrefixSpecial="cf" IdField="CustomFieldId" SourcePrefix="l" value_field="Value" per_page="-1" grid="SeparateTab" header_block="grid_column_title_no_sorting" no_init="no_init"/>
+</inp2:m_if>
+
+<input type="hidden" name="cf_type" value="<inp2:l_UnitOption name='ItemType'/>"/>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/links_custom.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.6.2.6
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/links_relations.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/links_relations.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/links_relations.tpl (revision 12118)
@@ -0,0 +1,105 @@
+<inp2:adm_SetPopupSize width="880" height="680"/>
+
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l" section="in-portal:browse" title_preset="links_relations" tab_preset="Default" pagination="1" pagination_prefix="l-rel"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('l','<inp2:l_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l','OnCancelEdit');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('l', '<inp2:l_NextId/>');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ //Relations related:
+ a_toolbar.AddButton( new ToolBarButton('new_relation', '<inp2:m_phrase label="la_ToolTip_New_Relation" escape="1"/>',
+ function() {
+ openSelector('l-rel', '<inp2:adm_SelectorLink prefix="l-rel" selection_mode="single" tab_prefixes="all"/>', 'TargetId', '950x600');
+ } ) );
+
+ function edit()
+ {
+ std_edit_temp_item('l-rel', 'in-link/links/relations_edit');
+ }
+
+ a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
+ a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
+ function() {
+ std_delete_items('l-rel')
+ } ) );
+
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep3') );
+
+ a_toolbar.AddButton( new ToolBarButton('approve', '<inp2:m_phrase label="la_ToolTip_Approve" escape="1"/>', function() {
+ submit_event('l-rel','OnMassApprove');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('decline', '<inp2:m_phrase label="la_ToolTip_Decline" escape="1"/>', function() {
+ submit_event('l-rel','OnMassDecline');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep4') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ <inp2:m_if check="l_IsSingle" >
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ //a_toolbar.HideButton('sep2');
+ <inp2:m_else/>
+ <inp2:m_if check="l_IsLast" >
+ a_toolbar.DisableButton('next');
+ </inp2:m_if>
+ <inp2:m_if check="l_IsFirst" >
+ a_toolbar.DisableButton('prev');
+ </inp2:m_if>
+ </inp2:m_if>
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="l-rel" grid="Default"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_RenderElement name="grid" PrefixSpecial="l-rel" IdField="RelationshipId" grid="Default" menu_filters="yes"/>
+<script type="text/javascript">
+ Grids['l-rel'].SetDependantToolbarButtons( new Array('edit','delete','approve','decline') );
+</script>
+<input type="hidden" name="TargetId" id="TargetId" value="<inp2:m_get name="TargetId"/>">
+<input type="hidden" name="TargetType" id="TargetType" value="<inp2:m_get name="TargetType"/>">
+<inp2:m_include t="incs/footer"/>
+
+<script type="text/javascript">
+ var $env = document.getElementById('sid').value+'-:m<inp2:m_get name="m_cat_id"/>-1-1-1-s';
+</script>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/links_relations.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.5.2.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/links/inlink_redirect.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/links/inlink_redirect.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/links/inlink_redirect.tpl (revision 12118)
@@ -0,0 +1 @@
+<inp2:l_FollowLocation field="Url"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/links/inlink_redirect.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/duplicate_checker.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/duplicate_checker.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/duplicate_checker.tpl (revision 12118)
@@ -0,0 +1,73 @@
+<inp2:m_include t="incs/header"/>
+
+<inp2:m_RenderElement name="combined_header" prefix="l.duplicates" section="in-link:duplicate_checker" grid="Duplicates" title_preset="duplicate_links" pagination="1"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+
+ function edit()
+ {
+ open_popup('l.duplicates', 'OnStoreSelected', 'in-link/duplicate_checker/duplicate_link_view');
+ }
+
+ a_toolbar.AddButton( new ToolBarButton('view_item', '<inp2:m_phrase label="la_ToolTip_ViewItem" escape="1"/>', edit) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ function set_grouping($prefix_special, $dupe_fields)
+ {
+ set_hidden_field($prefix_special + '_dupe_fields', $dupe_fields);
+ submit_event($prefix_special, 'OnSetGrouping');
+
+ }
+
+ Application.setHook(
+ 'l.duplicates:OnCreateViewMenu',
+ function() {
+ // create grouping menu
+ $Menus['l.duplicates_grouping_menu'] = menuMgr.createMenu(rs('l.duplicates.grouping.menu'));
+ $Menus['l.duplicates_grouping_menu'].applyBorder(false, false, false, false);
+ $Menus['l.duplicates_grouping_menu'].dropShadow("none");
+ $Menus['l.duplicates_grouping_menu'].showIcon = true;
+ <inp2:m_Get name="m_lang" result_to_var="language"/>
+ $Menus['l.duplicates_grouping_menu'].addItem(rs('l.duplicates.group.name'), 'Name', 'javascript:set_grouping("l.duplicates", "|l<inp2:m_Param name="language"/>_Name|");' <inp2:m_if check="m_RecallEquals" name="l.duplicates_dupe_fields" value="|l{$language}_Name|">,['img/check_on.gif']</inp2:m_if>);
+ $Menus['l.duplicates_grouping_menu'].addItem(rs('l.duplicates.group.url'), 'Url', 'javascript:set_grouping("l.duplicates", "|Url|");' <inp2:m_if check="m_RecallEquals" name="l.duplicates_dupe_fields" value="|Url|">,['img/check_on.gif']</inp2:m_if>);
+ $Menus['l.duplicates_grouping_menu'].addItem(rs('l.duplicates.group.name.url'), 'Name <inp2:m_phrase name="la_and"/> Url', 'javascript:set_grouping("l.duplicates", "|l<inp2:m_Param name="language"/>_Name|Url|");' <inp2:m_if check="m_RecallEquals" name="l.duplicates_dupe_fields" value="|l{$language}_Name|Url|">,['img/check_on.gif']</inp2:m_if>);
+
+ // add grouping menu to view menu
+ $Menus['l.duplicates_view_menu'].addItem(
+ rs('l.duplicates.grouping.menu.item'),
+ '<inp2:m_phrase name="la_menu_Grouping"/>',
+ 'javascript:void()',
+ null, true, null,
+ rs('l.duplicates.grouping.menu'),
+ '<inp2:m_phrase name="la_menu_Grouping"/>'
+ );
+ }
+ );
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="l.duplicates" grid="Duplicates"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_RenderElement name="grid" PrefixSpecial="l.duplicates" IdField="LinkId" grid="Duplicates"/>
+<script type="text/javascript">
+ Grids['l.duplicates'].SetDependantToolbarButtons( new Array('view_item') );
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/duplicate_checker.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.15.2.6
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/user_item_tab.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/user_item_tab.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/user_item_tab.tpl (revision 12118)
@@ -0,0 +1,34 @@
+<inp2:m_RequireLogin permissions="in-portal:user_list.view" system="1"/>
+<inp2:m_DefineElement name="catalog_tab">
+ <inp2:m_if check="m_ParamEquals" name="tab_init" value="" inverse="inverse">
+ <inp2:m_if check="m_ParamEquals" name="tab_init" value="1">
+ <div id="links_div" prefix="<inp2:m_param name="prefix"/>" view_template="in-link/user_item_tab" edit_template="in-link/links/links_edit" dep_buttons="new_link" category_id="-1" class="catalog-tab"><!-- IE minimal height problem fix --></div>
+ <script type="text/javascript">$Catalog.registerTab('links');</script>
+ </inp2:m_if>
+ <inp2:m_if check="m_ParamEquals" name="tab_init" value="2">
+ <inp2:adm_CatalogTab render_as="item_tab" prefix="$prefix" title_property="$title_property"/>
+ </inp2:m_if>
+ <inp2:m_else/>
+ <inp2:m_include t="incs/blocks"/>
+ <inp2:m_include t="incs/in-portal"/>
+ <inp2:m_include t="categories/ci_blocks"/>
+ <inp2:$prefix_InitList grid="$grid_name"/>
+
+ $Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id"/>);
+ $Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
+
+ <inp2:m_RenderElement name="grid_js" PrefixSpecial="$prefix" IdField="LinkId" grid="$grid_name" menu_filters="yes"/>
+
+ Grids['<inp2:m_param name="prefix"/>'].SetDependantToolbarButtons( new Array('edit','delete'));
+ $Catalog.setViewMenu('<inp2:m_param name="prefix"/>');
+ #separator#
+ <!-- links tab: begin -->
+ <inp2:m_RenderElement name="kernel_form" form_name="links_form"/>
+ <inp2:m_RenderElement name="grid" ajax="1" PrefixSpecial="$prefix" IdField="LinkId" grid="$grid_name" menu_filters="yes"/>
+ <inp2:m_RenderElement name="kernel_form_end"/>
+ <!-- links tab: end -->
+ </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:l_InitCatalogTab render_as="catalog_tab" default_grid="Default" radio_grid="Radio"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/user_item_tab.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.7
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/catalog_tab.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/catalog_tab.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/catalog_tab.tpl (revision 12118)
@@ -0,0 +1,55 @@
+<inp2:m_RequireLogin permissions="in-portal:browse.view" system="1"/>
+<inp2:m_DefineElement name="catalog_tab">
+ <inp2:m_if check="m_ParamEquals" name="tab_init" value="" inverse="inverse">
+ <inp2:m_if check="m_ParamEquals" name="tab_init" value="1">
+ a_toolbar.AddButton(
+ new ToolBarButton(
+ 'in-link:new_link',
+ '<inp2:m_phrase label="lu_btn_NewLink" escape="1"/>',
+ add_item,
+ true
+ )
+ );
+ </inp2:m_if>
+
+ <inp2:m_if check="m_ParamEquals" name="tab_init" value="2">
+ <div id="links_div" prefix="<inp2:m_param name='prefix'/>" view_template="in-link/catalog_tab" edit_template="in-link/links/links_edit" category_id="-1" dep_buttons="new_link" class="catalog-tab"><!-- IE minimal height problem fix --></div>
+ <script type="text/javascript">$Catalog.registerTab('links');</script>
+ </inp2:m_if>
+
+ <inp2:m_if check="m_ParamEquals" name="tab_init" value="3">
+ $Catalog.setItemCount('<inp2:m_Param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount grid="$grid_name"/>');
+ </inp2:m_if>
+ <inp2:m_else/>
+ <inp2:lang.current_Field name="Charset" result_to_var="charset"/>
+ <inp2:m_Header data="Content-type: text/plain; charset=$charset"/>
+ <inp2:m_include t="incs/blocks"/>
+ <inp2:m_include t="incs/in-portal"/>
+ <inp2:m_include t="categories/ci_blocks"/>
+ <inp2:$prefix_InitList grid="$grid_name"/>
+
+ $Catalog.setItemCount('<inp2:m_param name="prefix"/>', '<inp2:{$prefix}_CatalogItemCount/>');
+ $Catalog.setCurrentCategory('<inp2:m_param name="prefix"/>', <inp2:m_get name="m_cat_id"/>);
+ $Catalog.saveSearch('<inp2:m_Param name="prefix"/>', '<inp2:$prefix_SearchKeyword no_special="1" js_escape="1"/>', '<inp2:m_Param name="grid_name"/>');
+
+ <inp2:m_RenderElement name="grid_js" PrefixSpecial="$prefix" IdField="LinkId" grid="$grid_name" menu_filters="yes"/>
+ <inp2:m_RenderElement name="grid_search_buttons" PrefixSpecial="$prefix" grid="$grid_name" ajax="1"/>
+ <inp2:m_if check="m_ParamEquals" name="tab_dependant" value="yes">
+ Grids['<inp2:m_param name="prefix"/>'].AddAlternativeGrid('<inp2:m_param name="cat_prefix"/>', true);
+ </inp2:m_if>
+ Grids['<inp2:m_param name="prefix"/>'].SetDependantToolbarButtons( new Array('edit','delete','approve','decline','sep3','cut','copy','move_up','move_down','sep6'));
+ $Catalog.reflectPasteButton(<inp2:c_HasClipboard/>);
+ $Catalog.setViewMenu('<inp2:m_param name="prefix"/>');
+ <inp2:m_if check="m_ParamEquals" name="tab_mode" value="single">
+ Grids['<inp2:m_param name="prefix"/>'].DblClick = function() {return false};
+ </inp2:m_if>
+ #separator#
+ <!-- links tab: begin -->
+ <inp2:m_RenderElement name="kernel_form" form_name="links_form"/>
+ <inp2:m_RenderElement name="grid" ajax="1" PrefixSpecial="$prefix" IdField="LinkId" grid="$grid_name" menu_filters="yes"/>
+ <inp2:m_RenderElement name="kernel_form_end"/>
+ <!-- links tab: end -->
+ </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:l_InitCatalogTab render_as="catalog_tab" default_grid="Default" radio_grid="Radio"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/catalog_tab.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.19.2.8
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/duplicate_checker/duplicate_link_view.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/duplicate_checker/duplicate_link_view.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/duplicate_checker/duplicate_link_view.tpl (revision 12118)
@@ -0,0 +1,63 @@
+<inp2:adm_SetPopupSize width="780" height="600"/>
+<inp2:m_include t="incs/header"/>
+
+<inp2:m_RenderElement name="combined_header" prefix="l.duplicates-sub" section="in-link:duplicate_checker" title_preset="duplicate_links_view" pagination="1"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+
+ function edit()
+ {
+ set_hidden_field('remove_specials[l.duplicates-sub]', 1);
+ std_edit_item('l.duplicates-sub', 'in-link/links/links_edit');
+ }
+
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Close" escape="1"/>',
+ function() {
+ submit_event('l.duplicates', 'OnGoBack');
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
+
+ a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
+ function() {
+ std_delete_items('l.duplicates-sub')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ a_toolbar.AddButton( new ToolBarButton('in-link:merge_links', '<inp2:m_phrase label="la_ToolTip_Merge" escape="1"/>', function() {
+ submit_event('l.duplicates-sub', 'OnMerge');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="l.duplicates-sub" grid="Default"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_include t="categories/ci_blocks"/>
+<inp2:m_RenderElement name="grid" PrefixSpecial="l.duplicates-sub" IdField="LinkId" grid="Default"/>
+<script type="text/javascript">
+ Grids['l.duplicates-sub'].SetDependantToolbarButtons( new Array('edit','delete','merge_links') );
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Index: branches/5.0.x/in-link/admin_templates/link_validation/link_validation_list.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/link_validation/link_validation_list.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/link_validation/link_validation_list.tpl (revision 12118)
@@ -0,0 +1,134 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" section="in-link:link_validation" prefix="link-validation" title_preset="link_validation_list" pagination="1"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ //do not rename - this function is used in default grid for double click!
+ function edit()
+ {
+ std_edit_item('l', 'in-link/links/links_edit');
+ }
+
+ var a_toolbar = new ToolBar();
+
+ a_toolbar.AddButton(
+ new ToolBarButton(
+ 'in-link:validate_continue',
+ '<inp2:m_phrase label="la_ToolTip_ContinueValidation" escape="1"/>::<inp2:m_phrase label="la_ShortToolTip_Continue" escape="1"/>',
+ function() {
+ Application.SetVar('progress_template', 'in-link/link_validation/link_validation_progress');
+ submit_event('link-validation', 'OnContinueValidation');
+ }
+ )
+ );
+
+ a_toolbar.AddButton(
+ new ToolBarButton(
+ 'in-link:validate_restart',
+ '<inp2:m_phrase label="la_ToolTip_NewValidation" escape="1"/>::<inp2:m_phrase label="la_ShortToolTip_New" escape="1"/>',
+ function() {
+ Application.SetVar('progress_template', 'in-link/link_validation/link_validation_progress');
+ submit_event('link-validation', 'OnRestartValidation');
+ }
+ )
+ );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton(
+ new ToolBarButton(
+ 'in-link:validate',
+ '<inp2:m_phrase label="la_ToolTip_ValidateSelected" escape="1"/>',
+ function() {
+ Application.SetVar('progress_template', 'in-link/link_validation/link_validation_progress');
+ submit_event('link-validation', 'OnValidateSelected');
+ }
+ )
+ );
+
+ a_toolbar.AddButton(
+ new ToolBarButton(
+ 'in-link:validate_reset',
+ '<inp2:m_phrase label="la_ToolTip_ResetValidationStatus" escape="1"/>::<inp2:m_phrase label="la_ShortToolTip_ResetValidationStatus" escape="1"/>',
+ function() {
+ submit_event('link-validation', 'OnResetValidationStatus');
+ }
+ )
+ );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
+
+ a_toolbar.AddButton(
+ new ToolBarButton(
+ 'delete',
+ '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
+ function() {
+ var phrase = phrases['la_Delete_Confirm'] ? phrases['la_Delete_Confirm'] : 'Are you sure you want to delete selected items?';
+ if (inpConfirm(phrase)) {
+ submit_event('link-validation', 'OnDeleteLinks');
+ }
+ }
+ )
+ );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep3') );
+
+ a_toolbar.AddButton(
+ new ToolBarButton(
+ 'approve',
+ '<inp2:m_phrase label="la_ToolTip_Approve" escape="1"/>',
+ function() {
+ submit_event('link-validation', 'OnApproveLinks');
+ }
+ )
+ );
+
+ a_toolbar.AddButton(
+ new ToolBarButton(
+ 'decline',
+ '<inp2:m_phrase label="la_ToolTip_Decline" escape="1"/>',
+ function() {
+ submit_event('link-validation', 'OnDeclineLinks');
+ }
+ )
+ );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep4') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="link-validation" grid="Default"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_DefineElement name="grid_url_td" format="" no_special="" nl2br="" first_chars="" td_style="" currency="">
+ <a href="<inp2:FormatUrl field='$field'/>"><inp2:Field field='$field' first_chars="30"/></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="grid_link_name_td" format="" no_special="" nl2br="" first_chars="" td_style="" currency="">
+ <inp2:Field field='$field' first_chars="$first_chars"/><br />
+ <span class="small-statistics">
+ <inp2:Field name="CategoryId" db="db" result_to_var="item_category"/>
+ <inp2:m_Phrase name="la_fld_PrimaryCategory"/>: <a href="<inp2:m_Link template="catalog/catalog" m_cat_id="$item_category"/>"><inp2:CategoryName /></a>
+ </span>
+</inp2:m_DefineElement>
+
+
+<inp2:m_RenderElement name="grid" PrefixSpecial="link-validation" IdField="ForeignLinkId" grid="Default" menu_filters="yes" grid_filters="1"/>
+<script type="text/javascript">
+ Grids['link-validation'].SetDependantToolbarButtons( new Array('validate', 'validate_reset', 'edit', 'approve', 'decline', 'delete') );
+</script>
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/link_validation/link_validation_list.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.6
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/link_validation/link_validation_progress.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/link_validation/link_validation_progress.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/link_validation/link_validation_progress.tpl (revision 12118)
@@ -0,0 +1,14 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" section="in-link:link_validation" prefix="link-validation" title_preset="link_validation_progress"/>
+
+<inp2:m_RenderElement name="ajax_progress_bar" cancel_action="cancel_action();"/>
+
+<script type="text/javascript">
+ function cancel_action() {
+ submit_event('link-validation', 'OnCancelValidation', 'in-link/link_validation/link_validation_list');
+ }
+
+ $LinkValidation = new AjaxProgressBar('<inp2:m_Link template="dummy" link-validation_event="OnValidateProgress" pass="m,link-validation" finish_template="in-link/link_validation/link_validation_list" no_amp="1"/>');
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/link_validation/link_validation_progress.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.2
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/import.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/import.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/import.tpl (revision 12118)
@@ -0,0 +1,229 @@
+<inp2:adm_SetPopupSize width="780" height="670"/>
+
+<inp2:m_include t="incs/header"/>
+<inp2:l.import_PresetFormFields/>
+<inp2:m_RenderElement name="combined_header" prefix="adm" section="in-portal:main_import" title_preset="import"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+
+ document.getElementById('export_columns').value = select_to_string('<inp2:l.import_InputName field="ExportColumns"/>');
+ submit_event('l.import','OnExportBegin');
+
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l.import','OnGoBack');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ function check_radio($id)
+ {
+ document.getElementById($id).checked = true;
+ }
+
+ // gets value of checked radio button
+ function get_checked($field_name) {
+ var $ret = false;
+ var $fields = document.getElementsByName($field_name);
+
+ for(var $i = 0; $i < $fields.length; $i++) {
+ if ($fields[$i].checked) {
+ $ret = $fields[$i].value;
+ break;
+ }
+ }
+ return $ret;
+ }
+
+ // enable/disable form fields based on other field values
+ function reflectFormFields()
+ {
+ var $auto_fields = get_checked('<inp2:l.import_InputName field="FieldTitles"/>') == 1 ? true : false;
+
+ if ($auto_fields) {
+ document.getElementById('_cb_<inp2:l.import_InputName field="SkipFirstRow"/>').checked = true;
+ }
+ document.getElementById('_cb_<inp2:l.import_InputName field="SkipFirstRow"/>').onchange();
+ document.getElementById('<inp2:l.import_InputName field="ExportColumns"/>').disabled = $auto_fields;
+ document.getElementById('<inp2:l.import_InputName field="AvailableColumns"/>').disabled = $auto_fields;
+
+ var $btn = null;
+ var $btns = Array('up', 'down', 'left', 'right');
+ var $i = 0;
+ while ($i < $btns.length) {
+ $btn = document.getElementById('btn_move_'+$btns[$i]);
+ $btn.disabled = $auto_fields;
+ $btn.className = $auto_fields ? 'button-disabled' : 'button';
+ $i++;
+ }
+ }
+
+ Application.setHook('l.import:OnBeforeOpenSelector',
+ function() {
+ document.getElementById('export_columns').value = select_to_string('<inp2:l.import_InputName field="ExportColumns"/>');
+ }
+ );
+
+ $(document).ready(
+ function() {
+ $('#step_number').text(3);
+ }
+ );
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:l.import_SaveWarning name="grid_save_warning"/>
+<inp2:l.import_ErrorWarning name="form_error_warning"/>
+
+<div id="scroll_container">
+ <table class="edit-form">
+ <inp2:m_RenderElement name="subsection" title="!la_section_General!"/>
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="l.import" field="ImportSource" title="la_fld_ImportFilename"/>
+ <td class="control-cell">
+ <table border="0">
+ <tr>
+ <td>
+ <input type="radio" name="<inp2:l.import_InputName field="ImportSource"/>" id="<inp2:l.import_InputName field="ImportSource"/>_1"<inp2:m_if check="l.import_FieldEquals" field="ImportSource" value="1"> checked</inp2:m_if> value="1" />
+ </td>
+ <td>
+ <label for="<inp2:l.import_InputName field="ImportSource"/>_1">upload</label>
+ </td>
+ <td>
+ <input type="file" name="<inp2:l.import_InputName field="ImportFilename"/>" id="<inp2:l.import_InputName field="ImportFilename"/>" onclick="check_radio('<inp2:l.import_InputName field="ImportSource"/>_1');">
+ </td>
+ </tr>
+
+ <tr>
+ <td>
+ <input type="radio" name="<inp2:l.import_InputName field="ImportSource"/>" id="<inp2:l.import_InputName field="ImportSource"/>_2"<inp2:m_if check="l.import_FieldEquals" field="ImportSource" value="2"> checked</inp2:m_if> value="2" />
+ </td>
+ <td>
+ <label for="<inp2:l.import_InputName field="ImportSource"/>_2">select</label>
+ </td>
+ <td>
+ <select name="<inp2:l.import_InputName field="ImportLocalFilename"/>" onclick="check_radio('<inp2:l.import_InputName field="ImportSource"/>_2');">
+ <inp2:l.import_PredefinedOptions field="ImportLocalFilename" block="inp_option_item" selected="selected"/>
+ </select>
+ </td>
+ </tr>
+
+ </table>
+ </td>
+ <inp2:m_RenderElement name="inp_edit_error" prefix="l.import" field="ImportSource"/>
+ </tr>
+
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l.import" field="FieldsSeparatedBy" title="la_fld_FieldsSeparatedBy" size="2" maxlength="1"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l.import" field="FieldsEnclosedBy" title="la_fld_FieldsEnclosedBy" size="2" maxlength="1"/>
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l.import" field="LineEndings" title="la_fld_LineEndings" use_phrases="0"/>
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l.import" field="SkipFirstRow" title="la_fld_SkipFirstRow"/>
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l.import" field="FieldTitles" title="la_fld_FieldTitles" onclick="reflectFormFields();"/>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="l.import" field="ExportColumns" title="la_fld_ExportColumns"/>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td>
+ <input type="button" value="<inp2:m_phrase name="la_btn_Up"/>" id="btn_move_up" onclick="move_options_up('<inp2:l.import_InputName field="ExportColumns"/>', 1)" class="button">
+ <input type="button" value="<inp2:m_phrase name="la_btn_Down"/>" id="btn_move_down" onclick="move_options_down('<inp2:l.import_InputName field="ExportColumns"/>', 1)" class="button"><br />
+ <img src="img/spacer.gif" width="1" height="5" alt=""><br />
+ </td>
+ <td><img src="img/spacer.gif" width="45" height="1" alt=""><br></td>
+ <td><inp2:m_phrase name="la_fld_AvailableColumns"/>:</td>
+ </tr>
+ <tr>
+ <td>
+ <select multiple id="<inp2:l.import_InputName field="ExportColumns"/>" size="15" style="width: 225px;">
+ <inp2:l.import_PredefinedOptions field="ExportColumns" block="inp_option_item" selected="selected"/>
+ </select>
+ <input type="hidden" id="export_columns" name="<inp2:l.import_InputName field="ExportColumns"/>" value="<inp2:l.import_Field field="ExportColumns"/>" />
+ </td>
+ <td align="center">
+ <input type="button" value="&nbsp;&laquo;&laquo;&nbsp;" id="btn_move_left" onclick="move_selected('<inp2:l.import_InputName field="AvailableColumns"/>', '<inp2:l.import_InputName field="ExportColumns"/>')" class="button"><br>
+ <img src="img/spacer.gif" width="1" height="4" alt=""><br>
+ <input type="button" value="&nbsp;&raquo;&raquo;&nbsp;" id="btn_move_right" onclick="move_selected('<inp2:l.import_InputName field="ExportColumns"/>', '<inp2:l.import_InputName field="AvailableColumns"/>'); select_sort('<inp2:l.import_InputName field="AvailableColumns"/>');" class="button">
+ </td>
+ <td>
+ <select multiple id="<inp2:l.import_InputName field="AvailableColumns"/>" size="15" style="width: 225px;">
+ <inp2:l.import_PredefinedOptions field="AvailableColumns" block="inp_option_item" selected="selected"/>
+ </select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <inp2:m_RenderElement name="inp_edit_error" prefix="l.import" field="ExportColumns"/>
+ </tr>
+
+ <!-- CATEGORY SELECTOR: BEGIN -->
+ <inp2:m_DefineElement name="root_cat_caption">
+ <inp2:c_RootCategoryName/>
+ </inp2:m_DefineElement>
+
+ <inp2:m_DefineElement name="category_caption">
+ <inp2:m_param name="separator"/><inp2:m_param name="cat_name"/>
+ </inp2:m_DefineElement>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="l.import" field="CategoryId" title="la_fld_ImportCategory"/>
+ <td class="control-cell">
+ <b><inp2:l.import_CategoryPath separator=" &gt; " root_cat_render_as="root_cat_caption" render_as="category_caption" session_var="ImportCategory"/></b>
+ <input type="hidden" name="<inp2:l.import_InputName field='CategoryId'/>" value="<inp2:l.import_Field field='CategoryId' db='db'/>" />
+ <a href="javascript:openSelector('l.import', '<inp2:adm_SelectorLink prefix="l.import" selection_mode="single" tab_prefixes="none"/>', 'ImportCategory', null, 'OnSaveSettings');"><img src="img/icons/icon24_cat.gif" border="0" align="absmiddle" /></a>
+ </td>
+ <inp2:m_RenderElement name="inp_edit_error" prefix="l.import" field="CategoryId"/>
+ </tr>
+ <!-- CATEGORY SELECTOR: END -->
+
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l.import" field="CategorySeparator" title="la_fld_CategorySeparator" size="2" maxlength="1"/>
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l.import" field="ReplaceDuplicates" title="la_fld_ReplaceDuplicates" />
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="l.import" field="CheckDuplicatesMethod" title="la_fld_CheckDuplicatesMethod"/>
+ <td class="control-cell">
+ <table cellspacing="0" cellpadding="0">
+ <tr>
+ <td valign="top">
+ <input type="radio"<inp2:m_if check="l.import_FieldEquals" field="CheckDuplicatesMethod" value="1"> checked</inp2:m_if> name="<inp2:l.import_InputName field="CheckDuplicatesMethod"/>" id="<inp2:l.import_InputName field="CheckDuplicatesMethod"/>_1" value="1" />
+ </td>
+ <td>
+ <label for="<inp2:l.import_InputName field="CheckDuplicatesMethod"/>_1"><inp2:m_phrase name="la_IDField" />: LINKID</label>
+ </td>
+ </tr>
+
+ <tr>
+ <td valign="top">
+ <input type="radio"<inp2:m_if check="l.import_FieldEquals" field="CheckDuplicatesMethod" value="2"> checked</inp2:m_if> name="<inp2:l.import_InputName field="CheckDuplicatesMethod"/>" id="<inp2:l.import_InputName field="CheckDuplicatesMethod"/>_2" value="2" />
+ </td>
+ <td>
+ <label for="<inp2:l.import_InputName field="CheckDuplicatesMethod"/>_2"><inp2:m_phrase name="la_OtherFields" />: </label>
+ <inp2:l.import_PredefinedOptions prefix="l.import" field="DuplicateCheckFields" block="inp_checkbox_item" selected="checked"/>
+
+ <inp2:m_RenderElement prefix="l.import" name="inp_edit_hidden" field="DuplicateCheckFields"/>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <inp2:m_RenderElement name="inp_edit_error" prefix="l.import" field="CheckDuplicatesMethod"/>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_filler"/>
+ </table>
+</div>
+
+<script language="javascript" type="text/javascript">
+ reflectFormFields();
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/import.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.11.2.7
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/export.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/export.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/export.tpl (revision 12118)
@@ -0,0 +1,126 @@
+<inp2:adm_SetPopupSize width="780" height="670"/>
+
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l.export" section="in-portal:browse" perm_section="LINK" permission_type="VIEW" system_permission="0" title_preset="links_export"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ document.getElementById('hidden_export_columns').value = select_to_string('<inp2:l.export_InputName field="ExportColumns"/>');
+ submit_event('l.export','OnExportBegin');
+
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('l.export','OnGoBack');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:l.export_SaveWarning name="grid_save_warning"/>
+<inp2:l.export_ErrorWarning name="form_error_warning"/>
+
+<div id="scroll_container">
+ <table class="edit-form">
+ <inp2:m_RenderElement name="subsection" title="!la_section_General!"/>
+
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l.export" field="ExportFormat" title="la_fld_ExportFormat" use_phrases="0"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l.export" field="FieldsSeparatedBy" title="la_fld_FieldsSeparatedBy" size="2" maxlength="1"/>
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l.export" field="FieldsEnclosedBy" title="la_fld_FieldsEnclosedBy" size="2" maxlength="1"/>
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l.export" field="LineEndings" title="la_fld_LineEndings" use_phrases="0"/>
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="l.export" field="LineEndingsInside" title="la_fld_LineEndingsInside" use_phrases="0"/>
+
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l.export" field="IncludeFieldTitles" title="la_fld_IncludeFieldTitles"/>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="l.export" field="ExportColumns" title="la_fld_ExportColumns"/>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0" border="0">
+ <tr>
+ <td>
+ <input type="button" value="<inp2:m_phrase name="la_btn_Up"/>" onclick="move_options_up('<inp2:l.export_InputName field="ExportColumns"/>', 1)" class="button">
+ <input type="button" value="<inp2:m_phrase name="la_btn_Down"/>" onclick="move_options_down('<inp2:l.export_InputName field="ExportColumns"/>', 1)" class="button"><br />
+ <img src="img/spacer.gif" width="1" height="5" alt=""><br />
+ </td>
+ <td><img src="img/spacer.gif" width="45" height="1" alt=""><br></td>
+ <td><inp2:m_phrase name="la_fld_AvailableColumns"/>:</td>
+ </tr>
+ <tr>
+ <td>
+ <select multiple id="<inp2:l.export_InputName field="ExportColumns"/>" size="15" style="width: 225px;">
+ <inp2:l.export_PredefinedOptions field="ExportColumns" block="inp_option_item" selected="selected"/>
+ </select>
+ <input type="hidden" id="hidden_export_columns" name="<inp2:l.export_InputName field="ExportColumns"/>" value="<inp2:l.export_Field field="ExportColumns"/>" />
+ </td>
+ <td align="center">
+ <input type="button" value="&nbsp;&laquo;&laquo;&nbsp;" onclick="move_selected('<inp2:l.export_InputName field="AvailableColumns"/>', '<inp2:l.export_InputName field="ExportColumns"/>')" class="button"><br>
+ <img src="img/spacer.gif" width="1" height="4" alt=""><br>
+ <input type="button" value="&nbsp;&raquo;&raquo;&nbsp;" onclick="move_selected('<inp2:l.export_InputName field="ExportColumns"/>', '<inp2:l.export_InputName field="AvailableColumns"/>'); select_sort('<inp2:l.export_InputName field="AvailableColumns"/>');" class="button">
+ </td>
+ <td>
+ <select multiple id="<inp2:l.export_InputName field="AvailableColumns"/>" size="15" style="width: 225px;">
+ <inp2:l.export_PredefinedOptions field="AvailableColumns" block="inp_option_item" selected="selected"/>
+ </select>
+ </td>
+ </tr>
+ </table>
+ </td>
+ <inp2:m_RenderElement name="inp_edit_error" prefix="l.export" field="ExportColumns"/>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="l.export" field="CategoryFormat" title="la_fld_CategoryFormat"/>
+ <td class="control-cell">
+ <table cellspacing="0" cellpadding="0">
+ <tr>
+ <td rowspan="2" valign="top">
+ <input type="radio"<inp2:m_if check="l.export_FieldEquals" field="CategoryFormat" value="1"> checked</inp2:m_if> name="<inp2:l.export_InputName field="CategoryFormat"/>" id="<inp2:l.export_InputName field="CategoryFormat"/>_1" value="1" />
+ </td>
+ <td>
+ <label for="<inp2:l.export_InputName field="CategoryFormat"/>_1"><inp2:m_phrase label="la_MixedCategoryPath"/></label>
+ </td>
+ </tr>
+ <tr>
+ <td>
+ <span class="<inp2:m_if check="l.export_HasError" field="CategorySeparator">error</inp2:m_if>"><inp2:m_phrase name="la_fld_CategorySeparator"/></span><inp2:m_if check="l.export_IsRequired" field="CategorySeparator"><span class="error"> *</span></inp2:m_if>:
+ <input type="text" name="<inp2:l.export_InputName field="CategorySeparator"/>" id="<inp2:l.export_InputName field="CategorySeparator"/>" value="<inp2:l.export_Field field="CategorySeparator"/>" size="2" maxlength="1" /><br />
+ (will look like "Category:Sub-category:Sub-sub-category")
+
+ </td>
+ </tr>
+
+ <tr>
+ <td rowspan="2" valign="top">
+ <input type="radio"<inp2:m_if check="l.export_FieldEquals" field="CategoryFormat" value="2"> checked</inp2:m_if> name="<inp2:l.export_InputName field="CategoryFormat"/>" id="<inp2:l.export_InputName field="CategoryFormat"/>_2" value="2" />
+ </td>
+ <td>
+ <label for="<inp2:l.export_InputName field="CategoryFormat"/>_2"><inp2:m_phrase label="la_SeparatedCategoryPath"/></label><br />
+ (the fields will be titled Category1..CategoryN accordingly)
+ </td>
+ </tr>
+ </table>
+ </td>
+ <inp2:m_RenderElement name="inp_edit_error" prefix="l.export" field="CategoryFormat"/>
+ </tr>
+
+ <inp2:m_if check="m_GetEquals" name="m_cat_id" value="0" inverse="inverse">
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="l.export" field="IsBaseCategory" title="la_fld_IsBaseCategory" />
+ </inp2:m_if>
+
+ <inp2:m_RenderElement name="inp_edit_box" prefix="l.export" field="ExportFilename" title="la_fld_ExportFilename" size="20" />
+ <inp2:m_RenderElement name="inp_edit_filler"/>
+ </table>
+</div>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/export.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.7.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/export_finish.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/export_finish.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/export_finish.tpl (revision 12118)
@@ -0,0 +1,43 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l.export" section="in-portal:browse" perm_section="LINK" permission_type="VIEW" system_permission="0" title_preset="links_export"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Close" escape="1"/>', function() {
+ submit_event('l.export', 'OnGoBack');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<div id="scroll_container">
+ <table class="edit-form">
+ <inp2:m_RenderElement name="subsection" title="!la_section_General!"/>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell">
+ <inp2:m_phrase label="la_DownloadExportFile"/>
+ </td>
+ <td class="control-mid">&nbsp;</td>
+ <td class="control-cell">
+ <a href="<inp2:l.export_ExportPath as_url="1"/>"><inp2:l.export_ExportPath /></a>
+ </td>
+ </tr>
+
+ <inp2:m_RenderElement name="inp_edit_filler"/>
+ </table>
+</div>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/export_finish.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.4.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_edit.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_edit.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_edit.tpl (revision 12118)
@@ -0,0 +1,113 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="ls" section="in-link:paid_listings" title_preset="listing_edit"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('ls','<inp2:ls_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('ls','OnCancelEdit');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
+ go_to_id('ls', '<inp2:ls_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('ls', '<inp2:ls_NextId/>');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ a_toolbar.Render();
+
+ <inp2:m_if check="ls_IsSingle" >
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ a_toolbar.HideButton('sep2');
+ <inp2:m_else/>
+ <inp2:m_if check="ls_IsLast" >
+ a_toolbar.DisableButton('next');
+ </inp2:m_if>
+ <inp2:m_if check="ls_IsFirst" >
+ a_toolbar.DisableButton('prev');
+ </inp2:m_if>
+ </inp2:m_if>
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:ls_SaveWarning name="grid_save_warning"/>
+<inp2:ls_ErrorWarning name="form_error_warning"/>
+
+<div id="scroll_container">
+ <table class="edit-form">
+ <inp2:m_RenderElement name="subsection" title="la_Text_PaidListing"/>
+ <inp2:m_RenderElement name="inp_label" prefix="ls" field="ListingId" title="la_fld_ListingId"/>
+
+ <inp2:m_RenderElement name="inp_edit_options" prefix="ls" field="ListingTypeId" title="la_fld_ListingType" onchange="set_exp_date()" />
+
+ <inp2:m_if check="ls_FieldVisible" field="LinkName">
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="ls" field="LinkName" title="la_fld_LinkName"/>
+ <td class="control-cell">
+ <inp2:ls_Field name="LinkName" />
+ <a href="javascript:select_link();"><img src="<inp2:m_TemplatesBase module='In-Link'/>/img/link_arrow.gif" border="0"></a>
+ </td>
+ <inp2:m_RenderElement name="inp_edit_error" prefix="ls" field="LinkNam"/>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_RenderElement name="inp_edit_radio" prefix="ls" field="Status" title="la_fld_Status"/>
+ <inp2:m_RenderElement name="inp_edit_checkbox" prefix="ls" field="PendingRenewal" title="la_fld_PendingRenewal"/>
+ <inp2:m_RenderElement name="inp_edit_date_time" prefix="ls" field="PurchasedOn" title="la_fld_PurchasedOn"/>
+ <inp2:m_RenderElement name="inp_edit_date_time" prefix="ls" field="ExpiresOn" title="la_fld_ExpiresOn"/>
+ <inp2:m_RenderElement name="inp_edit_filler"/>
+ </table>
+</div>
+
+<script type="text/javascript">
+ function select_link()
+ {
+ openSelector('ls', '<inp2:adm_SelectorLink prefix="ls" selection_mode="single" tab_prefixes="l"/>', 'ItemResourceId', null, 'OnPreSaveListing');
+ }
+
+ function set_exp_date()
+ {
+ exp_date = exp_dates[document.getElementById('<inp2:ls_InputName field="ListingTypeId" />').value];
+ exp_time = exp_times[document.getElementById('<inp2:ls_InputName field="ListingTypeId" />').value];
+ if (typeof(exp_date) != 'undefined') {
+ document.getElementById('<inp2:ls_InputName field="ExpiresOn_date" />').value = exp_date;
+ document.getElementById('<inp2:ls_InputName field="ExpiresOn_time" />').value = exp_time;
+ }
+ }
+
+ var exp_dates = new Array();
+ var exp_times = new Array();
+ <inp2:m_DefineElement name="exp_date_elem" >
+ exp_dates[<inp2:Field name="ListingTypeId" />] = "<inp2:ls_ExpirationDate />";
+ exp_times[<inp2:Field name="ListingTypeId" />] = "<inp2:ls_ExpirationTime />";
+ </inp2:m_DefineElement>
+ <inp2:lst_PrintList block="exp_date_elem" />
+
+ <inp2:m_if check="m_getequals" param="ls_event" value="OnPreCreate">
+ set_exp_date();
+ </inp2:m_if>
+</script>
+
+<input type="hidden" name="main_prefix" id="main_prefix" value="ls">
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.15.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_type_edit.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_type_edit.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_type_edit.tpl (revision 12118)
@@ -0,0 +1,307 @@
+<inp2:adm_SetPopupSize width="790" height="440"/>
+<inp2:m_include t="incs/header"/>
+
+<inp2:m_RenderElement name="combined_header" prefix="lst" section="in-link:listing_types" title_preset="listing_type_edit" tab_preset="Default"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+ a_toolbar.AddButton( new ToolBarButton('select', '<inp2:m_phrase label="la_ToolTip_Save" escape="1"/>', function() {
+ submit_event('lst','<inp2:lst_SaveEvent/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
+ submit_event('lst','OnCancelEdit');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('prev', '<inp2:m_phrase label="la_ToolTip_Prev" escape="1"/>', function() {
+ go_to_id('lst', '<inp2:lst_PrevId/>');
+ }
+ ) );
+ a_toolbar.AddButton( new ToolBarButton('next', '<inp2:m_phrase label="la_ToolTip_Next" escape="1"/>', function() {
+ go_to_id('lst', '<inp2:lst_NextId/>');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ <inp2:m_if check="lst_IsSingle" >
+ a_toolbar.HideButton('prev');
+ a_toolbar.HideButton('next');
+ a_toolbar.HideButton('sep1');
+ <inp2:m_else/>
+ <inp2:m_if check="lst_IsLast" >
+ a_toolbar.DisableButton('next');
+ </inp2:m_if>
+ <inp2:m_if check="lst_IsFirst" >
+ a_toolbar.DisableButton('prev');
+ </inp2:m_if>
+ </inp2:m_if>
+ </script>
+ </td>
+ </tr>
+</tbody>
+</table>
+
+<inp2:lst_SaveWarning name="grid_save_warning"/>
+<inp2:lst_ErrorWarning name="form_error_warning"/>
+
+<div id="scroll_container">
+ <table class="edit-form">
+ <inp2:m_RenderElement name="subsection" title="la_Text_PaidListingType"/>
+ <inp2:m_RenderElement name="inp_id_label" prefix="lst" field="ListingTypeId" title="la_fld_ListingTypeId"/>
+
+ <inp2:m_RenderElement name="inp_edit_box" prefix="lst" field="Name" title="la_fld_ListingTypeName" size="20"/>
+
+ <inp2:m_RenderElement name="inp_edit_textarea" prefix="lst" field="Description" title="la_fld_ListingTypeDescription" rows="10" cols="40"/>
+
+ <inp2:m_if check="lst_FieldVisible" field="Duration">
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="lst" field="Duration" title="la_fld_Duration" />
+ <td class="control-cell">
+ <input type="text" name="<inp2:lst_InputName field="Duration" />" id="<inp2:lst_InputName field="Duration" />" value="<inp2:lst_Field name="Duration" />" tabindex="<inp2:m_get param="tab_index"/>" size="5">
+ <select tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:lst_InputName field="DurationType"/>" id="<inp2:lst_InputName field="DurationType"/>">
+ <inp2:lst_PredefinedOptions field="DurationType" block="inp_option_phrase" selected="selected" prefix="lst" />
+ </select>
+ </td>
+ <inp2:m_RenderElement name="inp_edit_error" prefix="lst" field="Duration"/>
+ </tr>
+ </inp2:m_if>
+
+ <inp2:m_if check="lst_FieldVisible" field="RenewalReminder">
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_RenderElement name="inp_edit_field_caption" prefix="lst" field="RenewalReminder" title="la_fld_RenewalReminder" />
+ <td class="control-cell">
+ <input type="text" name="<inp2:lst_InputName field="RenewalReminder"/>" id="<inp2:lst_InputName field="RenewalReminder" />" value="<inp2:lst_Field field="RenewalReminder" />" tabindex="<inp2:m_get param="tab_index"/>" size="5">
+ <inp2:m_Phrase label="la_days" />
+ </td>
+ <inp2:m_RenderElement name="inp_edit_error" prefix="lst" field="RenewalReminder"/>
+ </tr>
+ </inp2:m_if>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell">&nbsp;</td>
+ <td class="control-mid">&nbsp;</td>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td style="width: 300px; text-align: center;">
+ <inp2:m_phrase label="la_ActionsUponPurchase" />
+ </td>
+ <td style="width: 300px; text-align: center;">
+ <inp2:m_phrase label="la_ActionsUponExpire" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell"><inp2:m_phrase label="la_fld_EditorsPick"/></td>
+ <td class="control-mid">&nbsp;</td>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td style="width: 300px;">
+ <inp2:lst_PredefinedOptions field="OnPurchaseEdPick" block="inp_radio_phrase" selected="checked" prefix="lst" />
+ </td>
+ <td style="width: 300px;">
+ <inp2:lst_PredefinedOptions field="OnExpireEdPick" block="inp_radio_phrase" selected="checked" prefix="lst" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell"><inp2:m_phrase label="la_fld_Status"/></td>
+ <td class="control-mid">&nbsp;</td>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td style="width: 300px;">
+ <inp2:lst_PredefinedOptions field="OnPurchaseStatus" block="inp_radio_phrase" selected="checked" prefix="lst" />
+ </td>
+ <td style="width: 300px;">
+ <inp2:lst_PredefinedOptions field="OnExpireStatus" block="inp_radio_phrase" selected="checked" prefix="lst" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell"><inp2:m_phrase label="la_fld_New"/></td>
+ <td class="control-mid">&nbsp;</td>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td style="width: 300px;">
+ <inp2:lst_PredefinedOptions field="OnPurchaseNew" block="inp_radio_phrase" selected="checked" prefix="lst" />
+ </td>
+ <td style="width: 300px;">
+ <inp2:lst_PredefinedOptions field="OnExpireNew" block="inp_radio_phrase" selected="checked" prefix="lst" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell"><inp2:m_phrase label="la_fld_Pop"/></td>
+ <td class="control-mid">&nbsp;</td>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td style="width: 300px;">
+ <inp2:lst_PredefinedOptions field="OnPurchasePop" block="inp_radio_phrase" selected="checked" prefix="lst" />
+ </td>
+ <td style="width: 300px;">
+ <inp2:lst_PredefinedOptions field="OnExpirePop" block="inp_radio_phrase" selected="checked" prefix="lst" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell"><inp2:m_phrase label="la_fld_Hot"/></td>
+ <td class="control-mid">&nbsp;</td>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td style="width: 300px;">
+ <inp2:lst_PredefinedOptions field="OnPurchaseHot" block="inp_radio_phrase" selected="checked" prefix="lst" />
+ </td>
+ <td style="width: 300px;">
+ <inp2:lst_PredefinedOptions field="OnExpireHot" block="inp_radio_phrase" selected="checked" prefix="lst" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell"><inp2:m_phrase label="la_fld_Priority"/></td>
+ <td class="control-mid">&nbsp;</td>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td style="width: 300px;">
+ <select tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:lst_InputName field="OnPurchasePriorityAction"/>" id="<inp2:lst_InputName field="OnPurchasePriorityAction" />" onchange="check_priority('<inp2:lst_InputName field="OnPurchasePriorityAction" />', '<inp2:lst_InputName field="OnPurchasePriorityValue" />')">
+ <inp2:lst_PredefinedOptions field="OnPurchasePriorityAction" block="inp_option_phrase" selected="selected" prefix="lst" />
+ </select>
+ <input type="text" name="<inp2:lst_InputName field="OnPurchasePriorityValue" />" id="<inp2:lst_InputName field="OnPurchasePriorityValue" />" value="<inp2:lst_Field field="OnPurchasePriorityValue" />" tabindex="<inp2:m_get param="tab_index"/>" size="5">
+ </td>
+ <td style="width: 300px;">
+ <select tabindex="<inp2:m_get param="tab_index"/>" name="<inp2:lst_InputName field="OnExpirePriorityAction"/>" id="<inp2:lst_InputName field="OnExpirePriorityAction" />" onchange="check_priority('<inp2:lst_InputName field="OnExpirePriorityAction" />', '<inp2:lst_InputName field="OnExpirePriorityValue" />')">
+ <inp2:lst_PredefinedOptions field="OnExpirePriorityAction" block="inp_option_phrase" selected="selected" prefix="lst" />
+ </select>
+ <input type="text" name="<inp2:lst_InputName field="OnExpirePriorityValue" />" id="<inp2:lst_InputName field="OnExpirePriorityValue" />" value="<inp2:lst_Field field="OnExpirePriorityValue" />" tabindex="<inp2:m_get param="tab_index"/>" size="5">
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell"><inp2:m_phrase label="la_fld_CustomDetailTemplate"/></td>
+ <td class="control-mid">&nbsp;</td>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td style="width: 300px;">
+ <input type="text" name="<inp2:lst_InputName field="OnPurchaseCustomTemplate" />" id="<inp2:lst_InputName field="OnPurchaseCustomTemplate" />" value="<inp2:lst_Field field="OnPurchaseCustomTemplate" />" tabindex="<inp2:m_get param="tab_index"/>" size="40">
+ </td>
+ <td style="width: 300px;">
+ <input type="text" name="<inp2:lst_InputName field="OnExpireCustomTemplate" />" id="<inp2:lst_InputName field="OnExpireCustomTemplate" />" value="<inp2:lst_Field field="OnExpireCustomTemplate" />" tabindex="<inp2:m_get param="tab_index"/>" size="40">
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+
+ <inp2:m_DefineElement name="config_edit_cat" >
+ <input type="hidden" name="<inp2:lst_InputName field="{$field}"/>" value="<inp2:lst_Field field="{$field}" />" />
+ </inp2:m_DefineElement>
+
+ <inp2:m_DefineElement name="category_selector">
+ <a href="javascript:openSelector('lst', '<inp2:adm_SelectorLink prefix="lst" selection_mode="single" tab_prefixes="none"/>', '<inp2:m_param name="field"/>', null, 'OnPreSaveListingType');"><img src="img/icons/icon24_cat.gif" border="0" align="absmiddle" /></a>
+ </inp2:m_DefineElement>
+
+ <inp2:m_DefineElement name="category_caption" >
+ <inp2:m_param name="separator"/><inp2:m_param name="cat_name"/>
+ </inp2:m_DefineElement>
+
+ <inp2:m_DefineElement name="root_cat_caption" >
+ <inp2:m_param name="cat_name"/>
+ </inp2:m_DefineElement>
+
+ <tr class="<inp2:m_odd_even odd='edit-form-odd' even='edit-form-even'/>">
+ <inp2:m_inc param="tab_index" by="1"/>
+ <td class="label-cell"><inp2:m_phrase label="la_fld_Category"/></td>
+ <td class="control-mid">&nbsp;</td>
+ <td class="control-cell">
+ <table cellpadding="0" cellspacing="0">
+ <tr>
+ <td style="width: 300px;">
+ <input type="hidden" id="<inp2:lst_InputName field="OnPurchaseAddToCatEnabled"/>" name="<inp2:lst_InputName field="OnPurchaseAddToCatEnabled"/>" value="<inp2:lst_Field field="OnPurchaseAddToCatEnabled" db="db"/>">
+ <input tabindex="<inp2:m_get param="tab_index"/>" type="checkbox" id="_cb_<inp2:lst_InputName field="OnPurchaseAddToCatEnabled"/>" name="_cb_<inp2:lst_InputName field="OnPurchaseAddToCatEnabled"/>" <inp2:lst_Field field="OnPurchaseAddToCatEnabled" checked="checked" db="db"/> onclick="update_checkbox(this, document.getElementById('<inp2:lst_InputName field="OnPurchaseAddToCatEnabled"/>'))">
+ <inp2:m_phrase label="la_AddTo" />
+ <strong>
+ <inp2:lst_CategoryPath separator=" &gt; " root_cat_render_as="root_cat_caption" render_as="category_caption" module="In-Link" field="OnPurchaseAddToCat" /></strong>
+ <inp2:m_RenderElement name="config_edit_cat" field="OnPurchaseAddToCat" />
+ <inp2:m_RenderElement name="category_selector" field="OnPurchaseAddToCat" />
+ </td>
+ <td style="width: 300px;">
+ <input type="hidden" id="<inp2:lst_InputName field="OnExpireRemoveFromCatEnabled"/>" name="<inp2:lst_InputName field="OnExpireRemoveFromCatEnabled"/>" value="<inp2:lst_Field field="OnExpireRemoveFromCatEnabled" db="db"/>">
+ <input tabindex="<inp2:m_get param="tab_index"/>" type="checkbox" id="_cb_<inp2:lst_InputName field="OnExpireRemoveFromCatEnabled"/>" name="_cb_<inp2:lst_InputName field="OnExpireRemoveFromCatEnabled"/>" <inp2:lst_Field field="OnExpireRemoveFromCatEnabled" checked="checked" db="db"/> onclick="update_checkbox(this, document.getElementById('<inp2:lst_InputName field="OnExpireRemoveFromCatEnabled"/>'))">
+ <inp2:m_phrase label="la_RemoveFrom" />
+ <strong>
+ <inp2:lst_CategoryPath separator=" &gt; " root_cat_render_as="root_cat_caption" render_as="category_caption" module="In-Link" field="OnExpireRemoveFromCat" /></strong>
+ <inp2:m_RenderElement name="config_edit_cat" field="OnExpireRemoveFromCat" />
+ <inp2:m_RenderElement name="category_selector" field="OnExpireRemoveFromCat" />
+ </td>
+ </tr>
+ </table>
+ </td>
+ </tr>
+ <inp2:m_RenderElement name="inp_edit_filler"/>
+ </table>
+</div>
+
+<input type="hidden" name="main_prefix" id="main_prefix" value="lst">
+
+<script type="text/javascript">
+ function check_priority(option_field, value_field)
+ {
+ if(document.getElementById(option_field).value == 0)
+ {
+ document.getElementById(value_field).disabled = true;
+ }
+ else
+ {
+ document.getElementById(value_field).disabled = false;
+ }
+ }
+
+ check_priority('<inp2:lst_InputName field="OnPurchasePriorityAction" />', '<inp2:lst_InputName field="OnPurchasePriorityValue" />');
+ check_priority('<inp2:lst_InputName field="OnExpirePriorityAction" />', '<inp2:lst_InputName field="OnExpirePriorityValue" />')
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_type_edit.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.22.2.4
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/paid_listings/paid_listings_list.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/paid_listings/paid_listings_list.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/paid_listings/paid_listings_list.tpl (revision 12118)
@@ -0,0 +1,75 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="ls" section="in-link:paid_listings" title_preset="listing_list" pagination="1" tabs="in-link/paid_listings/paid_listing_types_tabs"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+
+ a_toolbar.AddButton( new ToolBarButton('in-link:new_listing', '<inp2:m_phrase label="la_ToolTip_NewListing" escape="1"/>',
+ function() {
+ std_precreate_item('ls', 'in-link/paid_listings/paid_listing_edit')
+ } ) );
+
+ function edit()
+ {
+ std_edit_item('ls', 'in-link/paid_listings/paid_listing_edit');
+ }
+
+ a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
+
+ a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
+ function() {
+ std_delete_items('ls')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('approve', '<inp2:m_phrase label="la_ToolTip_Approve" escape="1"/>', function() {
+ submit_event('ls','OnMassApprove');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarButton('decline', '<inp2:m_phrase label="la_ToolTip_Decline" escape="1"/>', function() {
+ submit_event('ls','OnMassDecline');
+ }
+ ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep2') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="ls" grid="Default"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_DefineElement name="duration_td">
+ <inp2:ls_Field name="Duration" />&nbsp;<inp2:ls_Field name="DurationType" />
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="listing_type_td">
+ <a href="<inp2:ListingTypeLink edit_template="in-link/paid_listings/paid_listing_type_edit" />"><inp2:Field name="$field" /></a>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="link_td">
+ <a href="<inp2:LinkEditLink edit_template="in-link/links/links_edit"/>"><inp2:Field name="$field" /></a>
+</inp2:m_DefineElement>
+
+<inp2:m_RenderElement name="grid" PrefixSpecial="ls" IdField="ListingId" grid="Default" menu_filters="yes"/>
+<script type="text/javascript">
+ Grids['ls'].SetDependantToolbarButtons( new Array('edit','delete','approve','decline') );
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/paid_listings/paid_listings_list.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.11.2.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_types_list.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_types_list.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_types_list.tpl (revision 12118)
@@ -0,0 +1,54 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="lst" section="in-link:listing_types" title_preset="listing_type_list" pagination="1" tabs="in-link/paid_listings/paid_listing_types_tabs"/>
+
+<!-- ToolBar -->
+<table class="toolbar" height="30" cellspacing="0" cellpadding="0" width="100%" border="0">
+<tbody>
+ <tr>
+ <td>
+ <script type="text/javascript">
+ a_toolbar = new ToolBar();
+
+ a_toolbar.AddButton( new ToolBarButton('in-link:new_listing_type', '<inp2:m_phrase label="la_ToolTip_NewListType" escape="1"/>',
+ function() {
+ std_precreate_item('lst', 'in-link/paid_listings/paid_listing_type_edit')
+ } ) );
+
+ function edit()
+ {
+ std_edit_item('lst', 'in-link/paid_listings/paid_listing_type_edit');
+ }
+
+ a_toolbar.AddButton( new ToolBarButton('edit', '<inp2:m_phrase label="la_ToolTip_Edit" escape="1"/>', edit) );
+
+ a_toolbar.AddButton( new ToolBarButton('delete', '<inp2:m_phrase label="la_ToolTip_Delete" escape="1"/>',
+ function() {
+ std_delete_items('lst')
+ } ) );
+
+ a_toolbar.AddButton( new ToolBarSeparator('sep1') );
+
+ a_toolbar.AddButton( new ToolBarButton('view', '<inp2:m_phrase label="la_ToolTip_View" escape="1"/>', function() {
+ show_viewmenu(a_toolbar,'view');
+ }
+ ) );
+
+ a_toolbar.Render();
+ </script>
+ </td>
+
+ <inp2:m_RenderElement name="search_main_toolbar" prefix="lst" grid="Default"/>
+ </tr>
+</tbody>
+</table>
+
+<inp2:m_DefineElement name="duration_td">
+ <inp2:lst_Field name="Duration" />&nbsp;<inp2:lst_Field name="DurationType" />
+</inp2:m_DefineElement>
+
+<inp2:m_RenderElement name="grid" PrefixSpecial="lst" IdField="ListingTypeId" grid="Default"/>
+<script type="text/javascript">
+ Grids['lst'].SetDependantToolbarButtons( new Array('edit','delete') );
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_types_list.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.10.2.3
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_types_tabs.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_types_tabs.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_types_tabs.tpl (revision 12118)
@@ -0,0 +1,5 @@
+<inp2:m_DefineElement name="paid_listings_tabs">
+ <inp2:adm_ListTabs render_as="tab_direct" section_name="in-link:paid_listings_folder"/>
+</inp2:m_DefineElement>
+
+<inp2:m_RenderElement name="tabs_container" tabs_render_as="paid_listings_tabs"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/paid_listings/paid_listing_types_tabs.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.6.2.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/import_progress.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/import_progress.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/import_progress.tpl (revision 12118)
@@ -0,0 +1,14 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l.import" section="in-portal:browse" perm_section="LINK" permission_type="VIEW" system_permission="0" title_preset="links_import"/>
+
+<inp2:m_RenderElement name="ajax_progress_bar" cancel_action="cancel_action();"/>
+
+<script type="text/javascript">
+ function cancel_action() {
+ submit_event('l.import', 'OnExportCancel');
+ }
+
+ $LinkImport = new AjaxProgressBar('<inp2:m_t t="dummy" l.import_event="OnExportProgress" pass="m,l.import" js_escape="1"/>');
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/import_progress.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.7.2.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/export_progress.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/export_progress.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/export_progress.tpl (revision 12118)
@@ -0,0 +1,14 @@
+<inp2:m_include t="incs/header"/>
+<inp2:m_RenderElement name="combined_header" prefix="l.export" section="in-portal:browse" perm_section="LINK" permission_type="VIEW" system_permission="0" title_preset="links_export"/>
+
+<inp2:m_RenderElement name="ajax_progress_bar" cancel_action="cancel_action();"/>
+
+<script type="text/javascript">
+ function cancel_action() {
+ submit_event('l.export', 'OnExportCancel');
+ }
+
+ $LinkExport = new AjaxProgressBar('<inp2:m_t t="dummy" l.export_event="OnExportProgress" pass="m,l.export" js_escape="1"/>');
+</script>
+
+<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/export_progress.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.7.2.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon46_validate.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon46_validate.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon46_paid_listings.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon46_paid_listings.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon46_list_duplicate_checker.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon46_list_duplicate_checker.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon24_duplicate_checker.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon24_duplicate_checker.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon46_duplicate_checker.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon46_duplicate_checker.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon46_list_paid_listings.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon46_list_paid_listings.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon46_list_settings_in-link.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon46_list_settings_in-link.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon46_settings_in-link.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon46_settings_in-link.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon46_list_validate.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon46_list_validate.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon24_settings_in-link.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon24_settings_in-link.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon24_validate.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon24_validate.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon46_links.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon46_links.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon46_listing_types.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon46_listing_types.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/icons/icon24_paid_listings.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/icons/icon24_paid_listings.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/link_arrow.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/link_arrow.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_merge_links_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_merge_links_f2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_merge_links_f3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_merge_links_f3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_merge_links.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_merge_links.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_f2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_f3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_f3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_reset_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_reset_f2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_reset_f3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_reset_f3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_restart_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_restart_f2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_continue_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_continue_f2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_restart_f3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_restart_f3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_continue_f3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_continue_f3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_reset.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_reset.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_restart.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_restart.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_continue.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_validate_continue.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_link_f3.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_link_f3.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_listing.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_listing.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_listing_type.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_listing_type.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_link.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_link.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_listing_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_listing_f2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_listing_type_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_listing_type_f2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_link_f2.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/toolbar/tool_new_link_f2.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_invalid_pend.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_invalid_pend.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_valid.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_valid.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_not_validated_disabled.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_not_validated_disabled.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_valid_pend.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_valid_pend.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_invalid_disabled.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_invalid_disabled.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_not_validated.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_not_validated.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_not_validated_pend.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_not_validated_pend.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_invalid.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_invalid.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_valid_disabled.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_valid_disabled.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_listing_pending.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_listing_pending.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_listing_disabled.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_listing_disabled.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_listing.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_listing.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_custom.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_custom.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_listing_type.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_listing_type.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_pending.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_pending.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_pick.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_pick.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_disabled.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_disabled.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_new.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_new.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_hot.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_hot.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_pop.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/itemicons/icon16_link_pop.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/img/logo_bg.gif
===================================================================
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream
Property changes on: branches/5.0.x/in-link/admin_templates/img/logo_bg.gif
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+application/octet-stream
\ No newline at end of property
Index: branches/5.0.x/in-link/admin_templates/category_properties.tpl
===================================================================
--- branches/5.0.x/in-link/admin_templates/category_properties.tpl (nonexistent)
+++ branches/5.0.x/in-link/admin_templates/category_properties.tpl (revision 12118)
@@ -0,0 +1,2 @@
+<inp2:m_RenderElement name="subsection" title="la_In-link"/>
+<inp2:m_RenderElement name="inp_edit_box" prefix="c" field="cust_l_ItemTemplate" type_field="cust_l_ItemTemplate" title="la_fld_cust_l_ItemTemplate" size="50"/>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/admin_templates/category_properties.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.3.2.1
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/5.0.x/in-link/install.php
===================================================================
--- branches/5.0.x/in-link/install.php (nonexistent)
+++ branches/5.0.x/in-link/install.php (revision 12118)
@@ -0,0 +1,49 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+ $module_folder = 'in-link';
+
+ if (!defined('IS_INSTALL')) {
+ // separate module install
+ define('IS_INSTALL', 1);
+ define('ADMIN', 1);
+ define('REL_PATH', $module_folder);
+ define('FULL_PATH', realpath(dirname(__FILE__) . '/..') );
+
+ include_once(FULL_PATH . '/core/kernel/startup.php');
+ require_once FULL_PATH . '/core/install/install_toolkit.php';
+
+ $toolkit = new kInstallToolkit();
+ }
+ else {
+ // install, using installation wizard
+ $toolkit =& $this->toolkit;
+ /* @var $toolkit kInstallToolkit */
+ }
+
+ $application =& kApplication::Instance();
+ $application->Init();
+
+ $category =& $toolkit->createModuleCategory('Directory', 'Link Directory', '/in-link/designs/section', 'in-link/img/menu_links.gif');
+
+ $toolkit->RunSQL('/' . $module_folder . '/install/install_schema.sql');
+ $toolkit->RunSQL('/' . $module_folder . '/install/install_data.sql', '{LinkCatId}', $category->GetID());
+ $toolkit->ImportLanguage('/' . $module_folder . '/install/english');
+
+ $toolkit->SetModuleRootCategory($module_folder, $category->GetID());
+
+ $toolkit->linkCustomFields($module_folder, 'l', 4); // to create Custom Fields for Links
+ $toolkit->linkCustomFields('KERNEL', 'c', 1); // to create ItemTemplate custom field
+ $toolkit->setModuleItemTemplate($category, 'l', 'in-link/designs/detail');
+
+ $toolkit->finalizeModuleInstall($module_folder, true);
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/install.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.2
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property
Index: branches/5.0.x/in-link/constants.php
===================================================================
--- branches/5.0.x/in-link/constants.php (nonexistent)
+++ branches/5.0.x/in-link/constants.php (revision 12118)
@@ -0,0 +1,32 @@
+<?php
+/**
+* @version $Id$
+* @package In-Link
+* @copyright Copyright (C) 1997 - 2009 Intechnic. All rights reserved.
+* @license GNU/GPL
+* In-Portal is Open Source software.
+* This means that this software may have been modified pursuant
+* the GNU General Public License, and as distributed it includes
+* or is derivative of works licensed under the GNU General Public License
+* or other free or open source software licenses.
+* See http://www.in-portal.net/license/ for copyright notices and details.
+*/
+
+ // link reciprocal statuses
+
+ define('LINK_IS_RECIPROCAL', 1);
+ define('LINK_IS_NOT_RECIPROCAL', 2);
+
+ // link validation constants
+ define('LINK_VALIDATION_NOT_VALIDATED', 0);
+ define('LINK_VALIDATION_VALID', 1);
+ define('LINK_VALIDATION_INVALID', 2);
+
+ /**
+ * Validate this much links on each progress bar step
+ *
+ */
+ define('LINK_VALIDATION_PER_PAGE', 5); // in links
+ define('LINK_VALIDATION_TIMEOUT', 10); // in seconds
+
+?>
\ No newline at end of file
Property changes on: branches/5.0.x/in-link/constants.php
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.10.2
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property

Event Timeline