Page MenuHomeIn-Portal Phabricator

in-news
No OneTemporary

File Metadata

Created
Thu, Feb 13, 1:06 AM
Index: branches/RC/in-news/admin_templates/export.tpl
===================================================================
--- branches/RC/in-news/admin_templates/export.tpl (revision 11682)
+++ branches/RC/in-news/admin_templates/export.tpl (revision 11683)
@@ -1,127 +1,127 @@
<inp2:adm_SetPopupSize width="780" height="670"/>
<inp2:m_include t="incs/header"/>
-<inp2:m_RenderElement name="combined_header" prefix="n.export" section="in-portal:browse" perm_section="NEWS" permission_type="VIEW" title_preset="articles_export"/>
+<inp2:m_RenderElement name="combined_header" prefix="n.export" section="in-portal:browse" perm_section="NEWS" permission_type="VIEW" system_permission="0" title_preset="articles_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:n.export_InputName field="ExportColumns"/>');
submit_event('n.export','OnExportBegin');
}
) );
a_toolbar.AddButton( new ToolBarButton('cancel', '<inp2:m_phrase label="la_ToolTip_Cancel" escape="1"/>', function() {
submit_event('n.export','OnGoBack');
}
) );
a_toolbar.Render();
</script>
</td>
</tr>
</tbody>
</table>
<inp2:n.export_SaveWarning name="grid_save_warning"/>
<inp2:n.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="n.export" field="ExportFormat" title="la_fld_ExportFormat" use_phrases="0"/>
<inp2:m_RenderElement name="inp_edit_box" prefix="n.export" field="FieldsSeparatedBy" title="la_fld_FieldsSeparatedBy" size="2" maxlength="1"/>
<inp2:m_RenderElement name="inp_edit_box" prefix="n.export" field="FieldsEnclosedBy" title="la_fld_FieldsEnclosedBy" size="2" maxlength="1"/>
<inp2:m_RenderElement name="inp_edit_radio" prefix="n.export" field="LineEndings" title="la_fld_LineEndings" use_phrases="0"/>
<inp2:m_RenderElement name="inp_edit_radio" prefix="n.export" field="LineEndingsInside" title="la_fld_LineEndingsInside" use_phrases="0"/>
<inp2:m_RenderElement name="inp_edit_checkbox" prefix="n.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="n.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:n.export_InputName field="ExportColumns"/>', 1)" class="button">
<input type="button" value="<inp2:m_phrase name="la_btn_Down"/>" onclick="move_options_down('<inp2:n.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:n.export_InputName field="ExportColumns"/>" size="15" style="width: 225px;">
<inp2:n.export_PredefinedOptions field="ExportColumns" block="inp_option_item" selected="selected"/>
</select>
<input type="hidden" id="hidden_export_columns" name="<inp2:n.export_InputName field="ExportColumns"/>" value="<inp2:n.export_Field field="ExportColumns"/>" />
</td>
<td align="center">
<input type="button" value="&nbsp;&laquo;&laquo;&nbsp;" onclick="move_selected('<inp2:n.export_InputName field="AvailableColumns"/>', '<inp2:n.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:n.export_InputName field="ExportColumns"/>', '<inp2:n.export_InputName field="AvailableColumns"/>'); select_sort('<inp2:n.export_InputName field="AvailableColumns"/>');" class="button">
</td>
<td>
<select multiple id="<inp2:n.export_InputName field="AvailableColumns"/>" size="15" style="width: 225px;">
<inp2:n.export_PredefinedOptions field="AvailableColumns" block="inp_option_item" selected="selected"/>
</select>
</td>
</tr>
</table>
</td>
<inp2:m_RenderElement name="inp_edit_error" prefix="n.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="n.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="n.export_FieldEquals" field="CategoryFormat" value="1"> checked</inp2:m_if> name="<inp2:n.export_InputName field="CategoryFormat"/>" id="<inp2:n.export_InputName field="CategoryFormat"/>_1" value="1" />
</td>
<td>
<label for="<inp2:n.export_InputName field="CategoryFormat"/>_1"><inp2:m_phrase label="la_MixedCategoryPath"/></label>
</td>
</tr>
<tr>
<td>
<span class="<inp2:m_if check="n.export_HasError" field="CategorySeparator">error</inp2:m_if>"><inp2:m_phrase name="la_fld_CategorySeparator"/></span><inp2:m_if check="n.export_IsRequired" field="CategorySeparator"><span class="error"> *</span></inp2:m_if>:
<input type="text" name="<inp2:n.export_InputName field="CategorySeparator"/>" id="<inp2:n.export_InputName field="CategorySeparator"/>" value="<inp2:n.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="n.export_FieldEquals" field="CategoryFormat" value="2"> checked</inp2:m_if> name="<inp2:n.export_InputName field="CategoryFormat"/>" id="<inp2:n.export_InputName field="CategoryFormat"/>_2" value="2" />
</td>
<td>
<label for="<inp2:n.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="n.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="n.export" field="IsBaseCategory" title="la_fld_IsBaseCategory" />
</inp2:m_if>
<inp2:m_RenderElement name="inp_edit_box" prefix="n.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/RC/in-news/admin_templates/export.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1.2.3
\ No newline at end of property
+1.1.2.4
\ No newline at end of property
Index: branches/RC/in-news/admin_templates/export_finish.tpl
===================================================================
--- branches/RC/in-news/admin_templates/export_finish.tpl (revision 11682)
+++ branches/RC/in-news/admin_templates/export_finish.tpl (revision 11683)
@@ -1,43 +1,43 @@
<inp2:m_include t="incs/header"/>
-<inp2:m_RenderElement name="combined_header" prefix="n.export" section="in-portal:browse" perm_section="NEWS" permission_type="VIEW" title_preset="articles_export"/>
+<inp2:m_RenderElement name="combined_header" prefix="n.export" section="in-portal:browse" perm_section="NEWS" permission_type="VIEW" system_permission="0" title_preset="articles_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('n.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:n.export_ExportPath as_url="1"/>"><inp2:n.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/RC/in-news/admin_templates/export_finish.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1.2.4
\ No newline at end of property
+1.1.2.5
\ No newline at end of property
Index: branches/RC/in-news/admin_templates/export_progress.tpl
===================================================================
--- branches/RC/in-news/admin_templates/export_progress.tpl (revision 11682)
+++ branches/RC/in-news/admin_templates/export_progress.tpl (revision 11683)
@@ -1,14 +1,14 @@
<inp2:m_include t="incs/header"/>
-<inp2:m_RenderElement name="combined_header" prefix="n.export" section="in-portal:browse" perm_section="NEWS" permission_type="VIEW" title_preset="articles_export"/>
+<inp2:m_RenderElement name="combined_header" prefix="n.export" section="in-portal:browse" perm_section="NEWS" permission_type="VIEW" system_permission="0" title_preset="articles_export"/>
<inp2:m_RenderElement name="ajax_progress_bar" cancel_action="cancel_action();"/>
<script type="text/javascript">
function cancel_action() {
submit_event('n.export', 'OnExportCancel');
}
$LinkExport = new AjaxProgressBar('<inp2:m_t t="dummy" n.export_event="OnExportProgress" pass="m,n.export" js_escape="1"/>');
</script>
<inp2:m_include t="incs/footer"/>
\ No newline at end of file
Property changes on: branches/RC/in-news/admin_templates/export_progress.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1.2.2
\ No newline at end of property
+1.1.2.3
\ No newline at end of property
Index: branches/RC/themes/default2009/in-news/designs/section.tpl
===================================================================
--- branches/RC/themes/default2009/in-news/designs/section.tpl (revision 11682)
+++ branches/RC/themes/default2009/in-news/designs/section.tpl (revision 11683)
@@ -1,115 +1,115 @@
<!--##
<NAME>Article - Section Design</NAME>
<DESC>Article - Section Design</DESC>
<SECTION>Platform||Articles</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-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-news/elements/side_boxes/action_box.elm" design="blue_box"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-news/elements/side_boxes/pick.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-news/elements/side_boxes/new.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-news/elements/side_boxes/pop.elm" design="blue_box" data_exists="1"/>
</div>
<div class="movable-element">
<inp2:m_RenderElement name="in-news/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/>
</div>
</inp2:m_DefineElement>
<!--## //SIDE-BAR ELEMENT ##-->
<!--## MAIN CONTENT ##-->
<inp2:m_DefineElement name="content">
<div class="movable-element">
<!--## INCLUDE NAVIGATION BAR ##-->
<inp2:m_include template="platform/elements/navigation_bar.elm"/>
<!--## //INCLUDE NAVIGATION BAR ##-->
</div>
<div class="movable-element">
<inp2:m_if check="n_IsModuleHome">
<inp2:m_include template="in-news/elements/content_boxes/site_lead_article.elm"/>
</inp2:m_if>
</div>
<div class="movable-element">
<inp2:m_include template="platform/elements/content_boxes/sub_categories.elm"/>
</div>
<div class="movable-element">
<!-- category lead articles -->
<inp2:m_RenderElement design="content_box" data_exists="1">
<inp2:n_InitList list_name="category_lead" types="cat_lead" per_page="-1"/>
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_CategoryLeadStory"/>
</inp2:m_Capture>
<table class="table-gradient-grey" width="100%">
<inp2:n_ListArticles list_name="category_lead" render_as="category_lead_article_element" no_table="1"/>
</table>
</inp2:m_RenderElement>
<!-- // category lead articles -->
</div>
<div class="movable-element">
<!-- articles in category -->
<inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles">
- <inp2:m_include template="in-news/designs/articles.elm"/>
+ <inp2:m_include template="in-news/elements/articles.elm"/>
<inp2:n_InitList list_name="items_in_current_cat" />
<inp2:m_Capture to_var="header">
<inp2:m_phrase name="lu_title_Articles"/> (<inp2:n_TotalRecords list_name="items_in_current_cat"/>)
</inp2:m_Capture>
<inp2:m_include template="in-news/elements/sorting.elm" list_name="items_in_current_cat"/>
<table class="fullwidth item-listing table-border">
<inp2:n_ListArticles list_name="items_in_current_cat" render_as="article_element" direction="H"/>
</table>
<inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="items_in_current_cat"/>
<div align="left">
<a href="<inp2:c_CategoryLink template="in-news/elements/rss.xml" cat_id="current"/>"><inp2:m_Phrase name="lu_rss_feed"/></a>
</div>
</inp2:m_RenderElement>
<!-- // articles in category -->
</div>
<!--## LIST 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>
##-->
<!--## //LIST 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/RC/themes/default2009/in-news/designs/section.tpl
___________________________________________________________________
Modified: cvs2svn:cvs-rev
## -1 +1 ##
-1.1.2.5
\ No newline at end of property
+1.1.2.6
\ No newline at end of property

Event Timeline