Page MenuHomeIn-Portal Phabricator

in-portal
No OneTemporary

File Metadata

Created
Sun, Nov 9, 7:03 AM

in-portal

Index: branches/RC/themes/default2007/platform/designs/categories.tpl
===================================================================
--- branches/RC/themes/default2007/platform/designs/categories.tpl (revision 9403)
+++ branches/RC/themes/default2007/platform/designs/categories.tpl (revision 9404)
@@ -1,57 +1,74 @@
<!--## CATEGORY ELEMENT ##-->
<inp2:m_DefineElement name="category_element">
<td style="width: <inp2:ColumnWidth/>">
<table>
<tr>
<td class="directory-icon">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/directory_icon.gif" width="22" height="17" alt="" /><br />
</td>
<td class="directory-text">
<inp2:m_if check="IsCurrent">
<strong><inp2:Field name="Name"/></strong> (<inp2:m_phrase name="lu_SubCats"/>: <inp2:SubCatCount/>)
<inp2:m_else/>
<!--## CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
<inp2:m_if check="IsCategorySymLink">
<a href="<inp2:CategoryLink template="__default__"/>" class="text-title"><i><inp2:Field name="Name"/> @</i></a> <span class="item-statistics">(<inp2:m_phrase name="lu_SubCats"/>: <inp2:SubCatCount/>)</span>
<inp2:m_else/>
<a href="<inp2:CategoryLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a> <span class="item-statistics">(<inp2:m_phrase name="lu_SubCats"/>: <inp2:SubCatCount/>)</span>
</inp2:m_if>
<!--## /CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
</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="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
<br />
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br />
<inp2:Field name="Description" first_chars="200"/>
</td>
</tr>
</table>
</td>
</inp2:m_DefineElement>
<!--## /CATEGORY ELEMENT ##-->
+<!--## NO CATEGORIES ELEMENT ##-->
+<inp2:m_DefineElement name="no_categories">
+ <inp2:m_phrase name="lu_NoCategories"/>
+</inp2:m_DefineElement>
+<!--## /NO CATEGORIES ELEMENT ##-->
+
+<!--## NO CATEGORIES ELEMENT ##-->
+<inp2:m_DefineElement name="related_category_element">
+ <!--## CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
+ <li>
+ <inp2:m_if check="IsCategorySymLink">
+ <a href="<inp2:CategoryLink template="__default__"/>" class="text-title"><i><inp2:Field name="Name"/> @</i></a>
+ <inp2:m_else/>
+ <a href="<inp2:CategoryLink template="__default__"/>" class="text-title"><inp2:Field name="Name"/></a>
+ </inp2:m_if>
+ </li>
+ <!--## /CHECK IF CATEGORY IS SYM. LINK POINTING TO OTHER CATEGORY ##-->
+</inp2:m_DefineElement>
+<!--## /NO CATEGORIES ELEMENT ##-->
+
<inp2:m_DefineElement name="selector_category_element">
<option value="<inp2:m_Param name="category_id"/>">
<inp2:m_Param name="separator"/><inp2:m_Param name="category_name"/>
</option>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="more_category_element">
<tr id="category_<inp2:m_Param name="category_id"/>">
<td>
<inp2:m_Param name="category_name"/>
</td>
<td>
<input type="button" class="delete-button" value="<inp2:m_Phrase name="lu_btn_Delete"/>" onclick="$ItemCategories.DeleteCategory(<inp2:m_Param name="category_id"/>);"/>
</td>
</tr>
</inp2:m_DefineElement>
-<inp2:m_DefineElement name="no_categories">
- <inp2:m_phrase name="lu_NoCategories"/>
-</inp2:m_DefineElement>
\ No newline at end of file
Property changes on: branches/RC/themes/default2007/platform/designs/categories.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.6.2.4
\ No newline at end of property
+1.6.2.5
\ No newline at end of property
Index: branches/RC/themes/default2007/platform/designs/content_boxes.tpl
===================================================================
--- branches/RC/themes/default2007/platform/designs/content_boxes.tpl (revision 9403)
+++ branches/RC/themes/default2007/platform/designs/content_boxes.tpl (revision 9404)
@@ -1,108 +1,127 @@
<!--## MAIN CONTENT BOX ELEMENT DESIGN ##-->
<inp2:m_DefineElement name="content_box">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="20" alt=""/><br />
<table class="fullwidth">
<tr>
<td width="13">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
</td>
<td class="content-box-header table-border">
<span class="content-box-title"><inp2:m_param name="header"/></span>
</td>
<td width="13">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
</td>
</tr>
<tr>
<td width="13">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
</td>
<td class="content-box-content">
<inp2:m_param name="content"/>
</td>
<td width="13">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
</td>
</tr>
</table>
</inp2:m_DefineElement>
<!--## /MAIN CONTENT BOX ELEMENT DESIGN ##-->
+<!--## CONTENT BOX NO-HEADER ELEMENT DESIGN ##-->
+<inp2:m_DefineElement name="content_box_noheader">
+<!-- <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="20" alt=""/><br />-->
+ <table class="fullwidth">
+ <tr>
+ <td width="13">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+ </td>
+ <td class="content-box-content">
+ <inp2:m_param name="content"/>
+ </td>
+ <td width="13">
+ <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="13" height="1" alt=""/><br />
+ </td>
+ </tr>
+ </table>
+</inp2:m_DefineElement>
+<!--## /CONTENT BOX NO-HEADER ELEMENT DESIGN ##-->
+
<inp2:m_DefineElement name="menu_element" current="">
<inp2:m_if check="m_Param" name="current">
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu_active_border.gif" width="1" height="37" alt=""/><br />
</td>
<td class="menu-top-active-icon top-menu-padding">
<a href="<inp2:m_param name="menu_href"/>"><inp2:m_param name="menu_icon"/></a>
</td>
<td class="menu-top-active-text top-menu-padding">
<a href="<inp2:m_param name="menu_href"/>" class="top-menu-link"><inp2:m_param name="menu_title"/></a>
</td>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu_active_border.gif" width="1" height="37" alt=""/><br />
</td>
<inp2:m_else/>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="37" alt=""/><br />
</td>
<td class="menu-top-noactive-icon top-menu-padding">
<a href="<inp2:m_param name="menu_href"/>"><inp2:m_param name="menu_icon"/></a>
</td>
<td class="menu-top-noactive-text top-menu-padding">
<a href="<inp2:m_param name="menu_href"/>" class="top-menu-link"><inp2:m_param name="menu_title"/></a>
</td>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="37" alt=""/><br />
</td>
</inp2:m_if>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="box_element" prefix="">
<tr>
<td>
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/menu-li-2-level.gif" alt="" width="4" height="4" border="0" /><br />
</td>
<td>
<inp2:m_if check="m_Param" name="prefix">
<a href="<inp2:{$prefix}_SuggestItemLink template="$template"/>"><inp2:m_Phrase label="$title"/></a>
<inp2:m_else/>
<a href="<inp2:m_Link template="$template" m_cat_id="0"/>"><inp2:m_Phrase label="$title"/></a>
</inp2:m_if>
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="review_element">
<tr>
<td>
<strong>Review By:</strong> <inp2:Field name="ReviewedBy"/> [<inp2:Field name="CreatedOn" format="_regional_DateFormat"/>]<br />
<strong>Review Text:</strong> <inp2:Field name="ReviewText"/>
<br /><br />
</td>
</tr>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="rating_element">
<img src="<inp2:m_TemplatesBase module="In-Portal"/>img/star<inp2:m_if check="m_Param" name="active">_rate</inp2:m_if>.gif" width="10" height="11" alt=""/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="category_path_element">
<inp2:m_if check="m_ParamEquals" name="cat_id" value="0" inverse="inverse">
<inp2:m_param name="separator"/>
</inp2:m_if>
<inp2:m_param name="cat_name"/>
</inp2:m_DefineElement>
<inp2:m_DefineElement name="image_element">
- <img src="<inp2:m_param name="img_path" />" title="<inp2:m_param name="alt" />" alt="<inp2:m_param name="alt" />" <inp2:m_param name="img_size" /> border="0" />
+ <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" align="left" />
</inp2:m_DefineElement>
<inp2:m_DefineElement name="tab">
<td class="<inp2:m_if check="m_IsActive" template="$template">active-tab<inp2:m_else/>inactive-tab</inp2:m_if>">
<a href="<inp2:m_Link template="$template" m_cat_id="0"/>"><inp2:m_phrase name="$title"/></a>
</td>
<td width="8">
&nbsp;
</td>
</inp2:m_DefineElement>
\ No newline at end of file
Property changes on: branches/RC/themes/default2007/platform/designs/content_boxes.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.16.2.3
\ No newline at end of property
+1.16.2.4
\ No newline at end of property
Index: branches/RC/themes/default2007/platform/elements/content_boxes/related_items.tpl
===================================================================
--- branches/RC/themes/default2007/platform/elements/content_boxes/related_items.tpl (nonexistent)
+++ branches/RC/themes/default2007/platform/elements/content_boxes/related_items.tpl (revision 9404)
@@ -0,0 +1,15 @@
+<!-- related products -->
+<inp2:m_RenderElement design="content_box" data_exists="1">
+
+ <inp2:m_Capture to_var="header">
+ <inp2:m_Phrase label="lu_title_RelatedCategories"/>
+ </inp2:m_Capture>
+
+ <inp2:m_include template="platform/designs/categories"/>
+
+ <ul>
+ <inp2:c_PrintList2 render_as="related_category_element" types="category_related" related_to="Category" direction="V" row_start_render_as="html:" row_end_render_as="html:" empty_cell_render_as="html:"/>
+ </ul>
+
+</inp2:m_RenderElement>
+<!-- // related products -->
\ No newline at end of file
Property changes on: branches/RC/themes/default2007/platform/elements/content_boxes/related_items.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.1.2.1
\ No newline at end of property
Index: branches/RC/themes/default2007/platform/elements/content_boxes/sub_categories.tpl
===================================================================
--- branches/RC/themes/default2007/platform/elements/content_boxes/sub_categories.tpl (revision 9403)
+++ branches/RC/themes/default2007/platform/elements/content_boxes/sub_categories.tpl (revision 9404)
@@ -1,32 +1,51 @@
<!-- categories -->
-<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_categories">
+<inp2:m_RenderElement design="content_box" data_exists="0">
+ <inp2:m_Capture to_var="header">
+ <strong><inp2:c_Field name="Name"/></strong>
+ </inp2:m_Capture>
+
+ <!--## CATEGORY IMAGE & DESCRIPTION ##-->
+ <table class="fullwidth category-header">
+ <tr>
+ <td valign="top">
+ <inp2:m_if check="c_ImageSrc" MaxWidth="thumbnail">
+ <img src="<inp2:c_ImageSrc Primary="1" MaxWidth="thumbnail" />" class="image_border" align="right" hspace="5" vspace="0"/>
+ </inp2:m_if>
+ <inp2:c_Field name="Description"/>
+ </td>
+ </tr>
+ </table>
+ <!--## /CATEGORY IMAGE & DESCRIPTION ##-->
+</inp2:m_RenderElement>
+
+<inp2:m_RenderElement design="content_box_noheader" data_exists="1" <!--##block_no_data="no_categories" ##--> >
<inp2:c_InitList list_name="sub_categories"/>
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_Categories"/> (<inp2:c_TotalRecords list_name="sub_categories"/>)
</inp2:m_Capture>
<table class="fullwidth">
<tr>
<td class="category-statistics">
<inp2:m_phrase name="lu_TotalCategories"/>: <inp2:c_CategoryCount/> &nbsp;|&nbsp; <inp2:m_phrase name="lu_AddedToday"/>: <inp2:c_CategoryCount today="1"/>
</td>
<td class="category-statistics" align="right">
<inp2:m_phrase name="lu_CategoriesUpdated"/>: <inp2:c_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 />
<inp2:m_include template="platform/designs/categories"/>
<table class="fullwidth">
<inp2:c_ListCategories list_name="sub_categories" render_as="category_element" columns="2" direction="H"/>
</table>
<BR/>
<inp2:m_include template="platform/elements/pagination" prefix="c"/>
</inp2:m_RenderElement>
<!-- // categories -->
\ No newline at end of file
Property changes on: branches/RC/themes/default2007/platform/elements/content_boxes/sub_categories.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.3.2.3
\ No newline at end of property
+1.3.2.4
\ No newline at end of property
Index: branches/RC/themes/default2007/index.tpl
===================================================================
--- branches/RC/themes/default2007/index.tpl (revision 9403)
+++ branches/RC/themes/default2007/index.tpl (revision 9404)
@@ -1,48 +1,48 @@
<!--## SIDE-BAR ELEMENT ##-->
<inp2:m_DefineElement name="sidebar">
<inp2:m_RenderElements
elements="
platform/elements/side_boxes/login,
platform/elements/side_boxes/search,
platform/elements/side_boxes/recommend_site,
platform/elements/side_boxes/mailing_list,
"
design="blue_box"/>
</inp2:m_DefineElement>
<!--## /SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<inp2:m_include template="platform/elements/navigation_bar"/>
<inp2:m_RenderElement design="content_box">
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_WelcomeTitle"/>
</inp2:m_Capture>
<!--## if In-edit (CMS) installed! ##-->
- <inp2:m_if check="m_ModuleEnabled" module="In-Edit"/>
+ <inp2:m_if check="m_ModuleEnabled" module="In-Edit">
<inp2:cms_ContentBlock num="1"/>
<inp2:m_else/>
- <!--## Welcome text =>In-edit (CMS) NOT installed! ##-->
+ <!--## Welcome text => In-edit (CMS) NOT installed! ##-->
In-portal is a revolutionary web site management system that allows you to automate and
facilitate management of large portal and community web sites. Regardless of whether you
are running a directory site or a content news portal, a community site or an online mall,
In-portal will enhance your web site management experience with innovative.
- <!--## /Welcome text =>In-edit (CMS) NOT installed! ##-->
+ <!--## /Welcome text => In-edit (CMS) NOT installed! ##-->
</inp2:m_if>
</inp2:m_RenderElement>
<!--## HOME PAGE ELEMENTS ##-->
<inp2:m_ModuleInclude template="elements/content_boxes/home_page_items" data_exists="1"/>
<!--## /HOME PAGE ELEMENTS ##-->
</inp2:m_DefineElement>
<!--## /MAIN CONTENT ##-->
<!--## DESIGN TEMPLATE ##-->
<inp2:m_include template="platform/designs/default_design" pass_params="1"/>
<!--## /DESIGN TEMPLATE ##-->
\ No newline at end of file
Property changes on: branches/RC/themes/default2007/index.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.8.2.3
\ No newline at end of property
+1.8.2.4
\ No newline at end of property

Event Timeline