Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F1045739
in-portal
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Jun 26, 4:51 PM
Size
7 KB
Mime Type
text/x-diff
Expires
Sat, Jun 28, 4:51 PM (4 h, 6 m)
Engine
blob
Format
Raw Data
Handle
675997
Attached To
rINP In-Portal
in-portal
View Options
Index: branches/unlabeled/unlabeled-1.5.26/core/admin_templates/categories/ci_blocks.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.5.26/core/admin_templates/categories/ci_blocks.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.5.26/core/admin_templates/categories/ci_blocks.tpl (revision 6790)
@@ -0,0 +1,47 @@
+<inp2:m_DefineElement name="status_mark">
+ <inp2:m_if check="FieldEquals" name="$field" value="1">
+ <img src="<inp2:ModulePath module="in-portal"/>img/ic_<inp2:m_param name="type"/>.gif" title="<inp2:m_phrase label="la_{$type}"/>" width="11" height="11" align="absmiddle" />
+ </inp2:m_if>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="grid_catitem_td" format="" no_special="">
+ <td valign="top" class="text">
+ <inp2:Field field="$field" grid="$grid" no_special="$no_special" format="$format" cut_first="100"/>
+ <inp2:m_if check="FieldEquals" field="Priority" value="0" inverse="inverse">
+ <span class="priority"><sup><inp2:Field field="Priority"/></sup></span>
+ </inp2:m_if>
+ <inp2:m_RenderElement name="status_mark" field="EditorsPick" type="pick" PrefixSpecial="$PrefixSpecial"/>
+ <inp2:m_RenderElement name="status_mark" field="IsPop" type="pop" PrefixSpecial="$PrefixSpecial"/>
+ <inp2:m_RenderElement name="status_mark" field="IsNew" type="new" PrefixSpecial="$PrefixSpecial"/>
+ <inp2:m_RenderElement name="status_mark" field="IsHot" type="hot" PrefixSpecial="$PrefixSpecial"/>
+ </td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="grid_category_td" format="" no_special="">
+ <td valign="top" class="text">
+ <inp2:CategoryName />
+ </td>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="no_perm_grid" prefix="" perm_label="">
+ <table width="100%" border="0" cellspacing="0" cellpadding="4" class="tableborder_full" height="200">
+ <tr class="table_color1">
+ <td align="center" valign="middle" class="text">
+ <inp2:m_phrase name="$perm_label"/>
+ </td>
+ </tr>
+ </table>
+</inp2:m_DefineElement>
+
+<inp2:m_DefineElement name="inp_edit_relation">
+ <tr class="<inp2:m_odd_even odd="table_color1" even="table_color2"/>">
+ <inp2:m_ParseBlock name="inp_edit_field_caption" prefix="$prefix" field="$field" title="$title"/>
+ <td valign="top" class="text">
+ <inp2:m_if check="{$prefix}_Field" field="$field">
+ <img src="<inp2:$prefix_ModulePath />img/itemicons/<inp2:$prefix_ItemIcon grid="Default"/>" align="absmiddle"/>
+ <inp2:$prefix_Field field="ItemName" no_special="1"/> (<inp2:$prefix_Field field="ItemType"/>)
+ </inp2:m_if>
+ </td>
+ <td class="error"><inp2:$prefix_Error field="$field"/> </td>
+ </tr>
+</inp2:m_DefineElement>
\ No newline at end of file
Property changes on: branches/unlabeled/unlabeled-1.5.26/core/admin_templates/categories/ci_blocks.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.5
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: branches/unlabeled/unlabeled-1.5.26/core/admin_templates/catalog_tab.tpl
===================================================================
--- branches/unlabeled/unlabeled-1.5.26/core/admin_templates/catalog_tab.tpl (nonexistent)
+++ branches/unlabeled/unlabeled-1.5.26/core/admin_templates/catalog_tab.tpl (revision 6790)
@@ -0,0 +1,73 @@
+<inp2:m_if check="m_ParamEquals" name="tab_init" value="2">
+ <div id="categories_div" prefix="c.showall" view_template="in-portal/catalog_tab" edit_template="in-portal/categories/categories_edit" category_id="-1" dep_buttons="" class="catalog-tab"></div>
+ <script type="text/javascript">$Catalog.registerTab('categories');</script>
+<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/grid_blocks"/>
+ <inp2:m_include t="in-portal/categories/ci_blocks"/>
+ <inp2:c.showall_InitList parent_cat_id="any" no_special="1"/>
+ $Catalog.setItemCount('c.showall', '<inp2:c.showall_CatalogItemCount no_special="1"/>');
+ $Catalog.setCurrentCategory('c.showall', <inp2:m_get name="m_cat_id"/>);
+ <inp2:m_if check="m_CheckPermission" permissions="CATEGORY.VIEW" pass_params="true">
+ <inp2:m_RenderElement name="grid_js" selected_class="table_white_selected" tag_name="td" PrefixSpecial="c.showall" IdField="CategoryId" grid="Default" menu_filters="yes"/>
+ <inp2:m_RenderElement name="grid_search_buttons" PrefixSpecial="c.showall" grid="Default" ajax="1"/>
+ Grids['c.showall'].SetDependantToolbarButtons( new Array('edit','delete','approve','decline'));
+ <inp2:m_if check="m_GetEquals" name="tm" value="single">
+ Grids['c.showall'].RadioMode = true;
+ Grids['c.showall'].DblClick = function() {return false};
+ </inp2:m_if>
+ </inp2:m_if>
+ #separator#
+ <inp2:m_if check="m_CheckPermission" permissions="CATEGORY.VIEW" pass_params="true">
+ <!-- categories tab: begin -->
+ <inp2:m_ParseBlock name="kernel_form" form_name="categories_form"/>
+
+ <inp2:m_DefineElement name="category_td">
+ <td valign="top" class="table_white text" id="<inp2:m_param name="PrefixSpecial"/>_<inp2:Field field="CategoryId"/>" width="50%">
+ <input type="<inp2:m_if check="m_GetEquals" name="tm" value="single">radio<inp2:m_else/>checkbox</inp2:m_if>" name="<inp2:InputName field="$IdField"/>" id="<inp2:InputName field="$IdField"/>">
+ <img src="<inp2:ModulePath module="in-portal"/>img/itemicons/<inp2:ItemIcon grid="Default"/>"> <span class="priority"><inp2:m_if check="FieldEquals" field="Priority" value="0" inverse="inverse"><sup><inp2:Field field="Priority"/></sup></inp2:m_if></span>
+ <span class="link"><b><inp2:Field name="Name" no_special="1"/></b></span><span class="cat_desc">:</span>
+ <inp2:m_RenderElement name="status_mark" field="EditorsPick" type="pick" PrefixSpecial="$PrefixSpecial"/>
+ <inp2:m_RenderElement name="status_mark" field="IsNew" type="new" PrefixSpecial="$PrefixSpecial"/>
+ <span class="cats_stats">(<inp2:SubCatCount/> / <inp2:ItemCount/>)</span><br>
+ <div style="padding-left: 3px;">
+ <span class="cat_desc"><inp2:Field field="Description" no_special="1"/></span><br>
+ <inp2:m_if check="m_IsDebugMode">
+ <span class="cat_desc">ParentPath: <b><inp2:Field name="ParentPath"/></b></span><br />
+ </inp2:m_if>
+ <span class="cats_stats">(<inp2:Field field="CreatedOn" format="_regional_DateFormat"/>)</span>
+ </div>
+ </td>
+ </inp2:m_DefineElement>
+
+ <inp2:c.showall_SaveWarning name="grid_save_warning" no_toolbar="no_toolbar"/>
+ <inp2:m_if check="m_RecallEquals" var="c.showall_search_keyword" value="" inverse="inverse">
+ <table width="100%" border="0" cellspacing="0" cellpadding="4" class="table_border_nobottom">
+ <tr>
+ <td valign="top" class="hint_red">
+ <inp2:m_phrase name="la_Warning_Filter"/>
+ </td>
+ </tr>
+ </table>
+ </inp2:m_if>
+
+ <inp2:m_ParseBlock name="grid_pagination" grid="Default" PrefixSpecial="c.showall" no_special="1" search="on" no_toolbar="no_toolbar" ajax="1"/>
+ <br />
+
+ <inp2:m_DefineElement name="wg_empty_cell">
+ <td width="<inp2:m_param name="column_width"/>%"> </td>
+ </inp2:m_DefineElement>
+
+ <table width="100%" border="0" cellspacing="2" cellpadding="4">
+ <inp2:m_set c.showall_sequence="1" odd_even="table_color1"/>
+ <inp2:c.showall_PrintList2 block="category_td" no_special="1" IdField="CategoryId" empty_cell_render_as="wg_empty_cell" direction="V" columns="2"/>
+ </table>
+
+ <inp2:m_ParseBlock name="kernel_form_end"/>
+ <!-- categories tab: end -->
+ <inp2:m_else/>
+ <inp2:m_RenderElement name="no_perm_grid" perm_label="la_text_NoCategories"/>
+ </inp2:m_if>
+</inp2:m_if>
Property changes on: branches/unlabeled/unlabeled-1.5.26/core/admin_templates/catalog_tab.tpl
___________________________________________________________________
Added: cvs2svn:cvs-rev
## -0,0 +1 ##
+1.5
\ No newline at end of property
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Event Timeline
Log In to Comment