Index: in-news/_install/theme.xml =================================================================== --- in-news/_install/theme.xml (nonexistent) +++ in-news/_install/theme.xml (revision 12906) @@ -0,0 +1,4 @@ +<theme> + <section_design>in-news/designs/section</section_design> + <item_design>in-news/articles/article_detail</item_design> +</theme> \ No newline at end of file Index: in-news/_install/english.lang =================================================================== --- in-news/_install/english.lang (nonexistent) +++ in-news/_install/english.lang (revision 12906) @@ -0,0 +1,68 @@ +<LANGUAGES> + <LANGUAGE PackName="English" Encoding="base64"><DATEFORMAT>m/d/Y</DATEFORMAT><TIMEFORMAT>g:i A</TIMEFORMAT><INPUTDATEFORMAT>m/d/Y</INPUTDATEFORMAT><INPUTTIMEFORMAT>g:i:s A</INPUTTIMEFORMAT><DECIMAL>.</DECIMAL><THOUSANDS>,</THOUSANDS><CHARSET>utf-8</CHARSET><DOCS_URL>http://docs.in-portal.org/eng/index.php</DOCS_URL><UNITSYSTEM>2</UNITSYSTEM> + <PHRASES> + <PHRASE Label="lu_ArticlesUpdated" Module="In-News" Type="0">TGFzdCB1cGRhdGVkIG9u</PHRASE> + <PHRASE Label="lu_articletitleaz" Module="In-News" Type="0">VGl0bGUgQSB0byBa</PHRASE> + <PHRASE Label="lu_articletitleza" Module="In-News" Type="0">VGl0bGUgWiB0byBB</PHRASE> + <PHRASE Label="lu_authoraz" Module="In-News" Type="0">QXV0aG9yIEEgdG8gWg==</PHRASE> + <PHRASE Label="lu_authorza" Module="In-News" Type="0">QXV0aG9yIFogdG8gQQ==</PHRASE> + <PHRASE Label="lu_btn_RateThisArticle" Module="In-News" Type="0">UmF0ZSB0aGlzIGFydGljbGU=</PHRASE> + <PHRASE Label="lu_btn_ReviewThisArticle" Module="In-News" Type="0">Q29tbWVudCB0aGlzIEFydGljbGU=</PHRASE> + <PHRASE Label="lu_categoryleadstory" Module="In-News" Type="0">Q2F0ZWdvcnkgTGVhZCBTdG9yeQ==</PHRASE> + <PHRASE Label="lu_DeleteArticleConfirm" Module="In-News" Type="0">QXJlIHlvdSBzdXJlIHlvdSB3YW50IHRvIGRlbGV0ZSB0aGUgYXJ0aWNsZT8NClRoaXMgYWN0aW9uIGNhbm5vdCBiZSB1bmRvbmUu</PHRASE> + <PHRASE Label="lu_description_MyArticles" Module="In-News" Type="0">TWFuYWdlIHlvdXIgQXJ0aWNsZXMgaGVyZQ==</PHRASE> + <PHRASE Label="lu_field_newsid" Module="In-News" Type="0">QXJ0aWNsZSBJRA==</PHRASE> + <PHRASE Label="lu_fld_RssOriginalURL" Module="In-News" Type="0">RmVlZCBPcmlnaW5hbCBVUkw=</PHRASE> + <PHRASE Label="lu_MyArticles" Module="In-News" Type="0">TXkgQXJ0aWNsZXM=</PHRASE> + <PHRASE Label="lu_NoArticles" Module="In-News" Type="0">Tm8gQXJ0aWNsZXM=</PHRASE> + <PHRASE Label="lu_PermName_News.Add.Pending_desc" Module="In-News" Type="0">QWRkIFBlbmRpbmcgTmV3cw==</PHRASE> + <PHRASE Label="lu_PermName_News.Add_desc" Module="In-News" Type="0">QWRkIE5ld3M=</PHRASE> + <PHRASE Label="lu_PermName_News.Delete_desc" Module="In-News" Type="0">RGVsZXRlIE5ld3M=</PHRASE> + <PHRASE Label="lu_PermName_News.Modify.Pending_desc" Module="In-News" Type="0">TW9kaWZ5IEFydGljbGUgUGVuZGluZw==</PHRASE> + <PHRASE Label="lu_PermName_News.Modify_desc" Module="In-News" Type="0">TW9kaWZ5IE5ld3M=</PHRASE> + <PHRASE Label="lu_PermName_News.Owner.Delete_desc" Module="In-News" Type="0">QXJ0aWNsZSBEZWxldGUgYnkgT3duZXI=</PHRASE> + <PHRASE Label="lu_PermName_News.Owner.Modify.Pending_desc" Module="In-News" Type="0">QXJ0aWNsZSBNb2RpZnkgUGVuZGluZyBieSBPd25lcg==</PHRASE> + <PHRASE Label="lu_PermName_News.Owner.Modify_desc" Module="In-News" Type="0">QXJ0aWNsZSBNb2RpZnkgYnkgT3duZXI=</PHRASE> + <PHRASE Label="lu_PermName_News.Rate_desc" Module="In-News" Type="0">UmF0ZSBOZXdz</PHRASE> + <PHRASE Label="lu_PermName_News.View_desc" Module="In-News" Type="0">VmlldyBOZXdz</PHRASE> + <PHRASE Label="lu_rss_feed" Module="In-News" Type="0">UlNTIEZlZWQ=</PHRASE> + <PHRASE Label="lu_section_ArticleDetails" Module="In-News" Type="0">QXJ0aWNsZSBEZXRhaWxz</PHRASE> + <PHRASE Label="lu_SiteLeadStory" Module="In-News" Type="0">c2l0ZSBsZWFkIHN0b3J5</PHRASE> + <PHRASE Label="lu_SortArticlesBy" Module="In-News" Type="0">U29ydCBBcnRpY2xlcyBCeQ==</PHRASE> + <PHRASE Label="lu_SuggestArticle" Module="In-News" Type="0">U3VnZ2VzdCBBcnRpY2xl</PHRASE> + <PHRASE Label="lu_text_addarticlereviewconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciBjb21tZW50aW5nIHRoaXMgYXJ0aWNsZS4=</PHRASE> + <PHRASE Label="lu_text_addarticlereviewpendingconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciBjb21tZW50aW5nIHRoaXMgYXJ0aWNsZSAtIGl0J3Mgd2FpdGluZyBmb3IgYWRtaW5pc3RyYXRpdmUgYXBwcm92YWwu</PHRASE> + <PHRASE Label="lu_text_modifyarticleconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciB1cGRhdGluZyB5b3VyIGFydGljbGUu</PHRASE> + <PHRASE Label="lu_text_modifyarticlependingconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciB1cGRhdGluZyB5b3VyIGFydGljbGUuIFlvdXIgbW9kaWZpY2F0aW9ucyBhcmUgcGVuZGluZyBhZG1pbmlzdHJhdGl2ZSBhcHByb3ZhbC4=</PHRASE> + <PHRASE Label="lu_text_noarticlereviewpermission" Module="In-News" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gY29tbWVudCB0aGlzIGFydGljbGUu</PHRASE> + <PHRASE Label="lu_text_nomodifyarticlepermission" Module="In-News" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gbW9kaWZ5IHRoaXMgYXJ0aWNsZS4=</PHRASE> + <PHRASE Label="lu_text_nosuggestarticlepermission" Module="In-News" Type="0">Tm8gcGVybWlzc2lvbnMgdG8gc3VnZ2VzdCBhcnRpY2xlIGludG8gdGhlIGN1cnJlbnQgY2F0ZWdvcnku</PHRASE> + <PHRASE Label="lu_text_suggestarticleconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgYXJ0aWNsZS4=</PHRASE> + <PHRASE Label="lu_text_suggestarticlependingconfirm" Module="In-News" Type="0">VGhhbmsgeW91IGZvciBzdWJtaXR0aW5nIHlvdXIgYXJ0aWNsZS4gQ3VycmVudGx5IGl0J3Mgd2FpdGluZyBmb3IgYWRtaW5pc3RyYXRpdmUgYXBwcm92YWw=</PHRASE> + <PHRASE Label="lu_title_addarticlereviewconfirm" Module="In-News" Type="0">QXJ0aWNsZSBDb21tZW50IEFkZGVk</PHRASE> + <PHRASE Label="lu_title_addarticlereviewpendingconfirm" Module="In-News" Type="0">QXJ0aWNsZSBDb21tZW50IFBlbmRpbmc=</PHRASE> + <PHRASE Label="lu_title_ArticleDetails" Module="In-News" Type="0">QXJ0aWNsZSBEZXRhaWxz</PHRASE> + <PHRASE Label="lu_title_Articles" Module="In-News" Type="0">QXJ0aWNsZXM=</PHRASE> + <PHRASE Label="lu_title_articlesearchresults" Module="In-News" Type="0">QXJ0aWNsZXMgU2VhcmNoIFJlc3VsdHM=</PHRASE> + <PHRASE Label="lu_title_categoryleadstory" Module="In-News" Type="0">Q2F0ZWdvcnkgTGVhZCBTdG9yeQ==</PHRASE> + <PHRASE Label="lu_title_favoritearticles" Module="In-News" Type="0">RmF2b3JpdGUgQXJ0aWNsZXM=</PHRASE> + <PHRASE Label="lu_title_HotArticles" Module="In-News" Type="0">SG90IEFydGljbGVz</PHRASE> + <PHRASE Label="lu_title_ModifyArticle" Module="In-News" Type="0">TW9kaWZ5IEFydGljbGU=</PHRASE> + <PHRASE Label="lu_title_modifyarticleconfirm" Module="In-News" Type="0">QXJ0aWNsZSBNb2RpZmllZA==</PHRASE> + <PHRASE Label="lu_title_modifyarticlependingconfirm" Module="In-News" Type="0">QXJ0aWNsZSBNb2RpZmljYXRpb25zIFBlbmRpbmc=</PHRASE> + <PHRASE Label="lu_title_ModifyTopic" Module="In-News" Type="0">TW9kaWZ5IFRvcGlj</PHRASE> + <PHRASE Label="lu_title_MyArticles" Module="In-News" Type="0">TXkgQXJ0aWNsZXM=</PHRASE> + <PHRASE Label="lu_title_MyTopics" Module="In-News" Type="0">TXkgVG9waWNz</PHRASE> + <PHRASE Label="lu_title_NewArticles" Module="In-News" Type="0">TmV3IEFydGljbGVz</PHRASE> + <PHRASE Label="lu_title_News" Module="In-News" Type="0">QXJ0aWNsZXM=</PHRASE> + <PHRASE Label="lu_title_PickArticles" Module="In-News" Type="0">RWRpdG9yJ3MgUGljayBBcnRpY2xlcw==</PHRASE> + <PHRASE Label="lu_title_poparticles" Module="In-News" Type="0">UG9wdWxhciBBcnRpY2xlcw==</PHRASE> + <PHRASE Label="lu_title_ReviewThisArticle" Module="In-News" Type="0">Q29tbWVudCBBcnRpY2xl</PHRASE> + <PHRASE Label="lu_title_SiteLeadStory" Module="In-News" Type="0">TGVhZCBTdG9yeQ==</PHRASE> + <PHRASE Label="lu_title_SuggestArticle" Module="In-News" Type="0">U3VnZ2VzdCBBcnRpY2xl</PHRASE> + <PHRASE Label="lu_title_suggestarticleconfirm" Module="In-News" Type="0">QXJ0aWNsZSBBZGRlZA==</PHRASE> + <PHRASE Label="lu_title_suggestarticlependingconfirm" Module="In-News" Type="0">QXJ0aWNsZSBQZW5kaW5n</PHRASE> + <PHRASE Label="lu_TotalArticles" Module="In-News" Type="0">VG90YWwgQXJ0aWNsZXM=</PHRASE> + </PHRASES> + </LANGUAGE> +</LANGUAGES> \ No newline at end of file Index: in-news/_install/install_data.sql =================================================================== --- in-news/_install/install_data.sql (nonexistent) +++ in-news/_install/install_data.sql (revision 12906) @@ -0,0 +1 @@ +UPDATE Category SET l1_Name = 'News (TD)' WHERE l1_Name = 'News'; \ No newline at end of file Index: in-news/articles/article_detail.tpl =================================================================== --- in-news/articles/article_detail.tpl (nonexistent) +++ in-news/articles/article_detail.tpl (revision 12906) @@ -0,0 +1,191 @@ +<!--## +<NAME>Articles - Details Design</NAME> +<DESC>General design template for Article Details section</DESC> +<SECTION>Platform||Articles</SECTION> +##--> +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:n_Field name="Title"/> +</inp2:m_DefineElement> +<!--## //PAGE TITLE ELEMENT ##--> + +<!--## SIDE-BAR ELEMENT ##--> +<inp2:m_DefineElement name="sidebar"> + <div class="movable-area"> + <div class="movable-element"> + <inp2:m_RenderElement name="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" item_actions="1" design="blue_box"/> + </div> + </div> +</inp2:m_DefineElement> +<!--## //SIDE-BAR ELEMENT ##--> + +<!--## ADDITIONAL IMAGE ELEMENT ##--> +<inp2:m_DefineElement name="additional_image_element"> + <td> + <a href="<inp2:ImageSrc MaxWidth="fullsize"/>" class="thickbox" rel="article-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 ##--> + +<!--## 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"> + <!--## article details ##--> + <inp2:m_RenderElement design="content_box"> + + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_ArticleDetails"/> + </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-News"/>img/articles_icon.gif" width="16" height="23" alt="" /> + </td> + <td valign="top"> + + <!--## STANDARD ARTICLE TITLE ##--> + <inp2:m_if check="n_Field" name="cust_RssOriginalURL" inverse="1"> + <span class="text-title"><inp2:n_Field name="Title"/></span> + <inp2:m_else/> + <!--## RSS ARTICLE TITLE WITH LINK ##--> + <span class="text-title"><a href="<inp2:n_Field name="cust_RssOriginalURL"/>" target="_blank"><inp2:n_Field name="Title"/></a></span> + </inp2:m_if> + + <inp2:m_if check="n_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if> + <inp2:m_if check="n_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if> + <inp2:m_if check="n_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if> + <inp2:m_if check="n_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if> + <inp2:m_if check="n_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if> + <inp2:n_VotesIndicator render_as="rating_element"/> + + <br /> + + <span class="item-statistics"> + <inp2:m_phrase name="lu_Added"/>: <inp2:n_Field name="CreatedOn" format="_regional_DateFormat"/>, + <inp2:m_phrase name="lu_Hits"/>: <inp2:n_Field name="Hits"/>, + <inp2:m_phrase name="lu_Rating"/>: <inp2:n_Field name="CachedRating"/>, + <inp2:m_phrase name="lu_Reviews"/>: <inp2:n_Field name="CachedReviewsQty"/>, + <inp2:m_phrase name="lu_Votes"/>: <inp2:n_Field name="CachedVotesQty"/> + </span> + </td> + </tr> + </table> + + <table> + <tr> + <inp2:m_if check="n_Field" name="cust_RssOriginalURL" inverse="1"> + <td class="picture-padding" style="padding-left:25px" valign="top"> + <inp2:m_if check="n_ImageSrc" MaxWidth="fullsize"> + <a href="<inp2:n_ImageSrc MaxWidth="fullsize" DefaultImage="platform/img/no_picture.gif"/>" class="thickbox" rel="article-images"> + <inp2:n_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br /> + </a> + <inp2:m_else/> + <inp2:n_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"/><br /> + </inp2:m_if> + </td> + </inp2:m_if> + <td class="text-padding" valign="top"> + <inp2:n_Field name="Body" nl2br="1"/> + + <br/> + <inp2:m_if check="n_IsFavorite"> + <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_removefromfav.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:n_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:n_FavoriteToggleLink template="platform/my_account/my_favorites"/>"><inp2:m_phrase name="lu_btn_AddToFavorites"/></a> + </inp2:m_if> + </td> + </tr> + </table> + + <br /> + + <inp2:m_if check="n_HasAdditionalImages"> + <inp2:m_RenderElement name="subsection" title="lu_section_AdditionalImages"/> + <table> + <tr> + <inp2:n_ListImages render_as="additional_image_element" types="additional" per_page="-1" no_table="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="120"/> + </tr> + </table> + </inp2:m_if> + + <!--## 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:n-file_PrintList render_as="file_element" columns="1" direction="V" per_page="10" /> + </table> + <br /><br /> + </inp2:m_RenderElement> + <!--## //LIST LINK FILES ##--> + </td> + </tr> + </table> + </inp2:m_RenderElement> + <!--## // article details ##--> + </div> + + <div class="movable-element"> + <!--## article 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:n-rev_TotalRecords/>) + </inp2:m_Capture> + + <table> + <inp2:n-rev_PrintList render_as="review_element"/> + </table> + + <inp2:m_include template="platform/elements/pagination.elm" prefix="n-rev"/> + </inp2:m_RenderElement> + <!--## // article reviews ##--> + </div> + + <div class="movable-element"> + <!--## RELATED TO ARTICLE ITEMS ##--> + <inp2:m_RenderElement design="content_box" related_to="Article" 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" /> + </inp2:m_RenderElement> + <!--## // RELATED TO ARTICLE ITEMS ##--> + </div> + </div> + + <!--## INCREASE HITS COUNTER ##--> + <inp2:n_RegisterHit/> + <!--## // INCREASE HITS COUNTER ##--> +</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: in-news/articles/article_detail.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: in-news/articles/add_review.tpl =================================================================== --- in-news/articles/add_review.tpl (nonexistent) +++ in-news/articles/add_review.tpl (revision 12906) @@ -0,0 +1,140 @@ +<!--## +<NAME>Add Article Review</NAME> +<DESC>Form for submitting Article Review</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<inp2:m_RequireLogin login_template="platform/login/register" permissions="NEWS.REVIEW|NEWS.REVIEW.PENDING"/> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:n_Field name="Title"/> +</inp2:m_DefineElement> +<!--## //PAGE TITLE ELEMENT ##--> + +<!--## SIDE-BAR ELEMENT ##--> +<inp2:m_DefineElement name="sidebar"> + <div class="movable-area"> + <div class="movable-element"> + <inp2:m_RenderElement name="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" 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-news/articles/add_review" 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_ArticleDetails"/> + </inp2:m_Capture> + + <table class="fullwidth table-border"> + <tr><td class="item-padding"> + + <table> + <tr> + <td width="25" valign="top"> + <img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="16" height="23" alt="" /> + </td> + <td valign="top"> + + <span class="text-title"><inp2:n_Field name="Title"/></span> + + <inp2:m_if check="n_Field" name="IsHot"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_hot.gif" alt="<inp2:m_Phrase name="lu_Hot" no_editing="1"/>"/></inp2:m_if> + <inp2:m_if check="n_Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_Phrase name="lu_New" no_editing="1"/>"/></inp2:m_if> + <inp2:m_if check="n_Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_Phrase name="lu_Pop" no_editing="1"/>"/></inp2:m_if> + <inp2:m_if check="n_IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_Phrase name="lu_Pick" no_editing="1"/>"/></inp2:m_if> + <inp2:m_if check="n_IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_Phrase name="lu_Favorite" no_editing="1"/>"/></inp2:m_if> + <inp2:n_VotesIndicator render_as="rating_element"/> + + <br /> + + <span class="item-statistics"> + <inp2:m_phrase name="lu_Added"/>: <inp2:n_Field name="CreatedOn" format="_regional_DateFormat"/>, + <inp2:m_phrase name="lu_Hits"/>: <inp2:n_Field name="Hits"/>, + <inp2:m_phrase name="lu_Rating"/>: <inp2:n_Field name="CachedRating"/>, + <inp2:m_phrase name="lu_Reviews"/>: <inp2:n_Field name="CachedReviewsQty"/>, + <inp2:m_phrase name="lu_Votes"/>: <inp2:n_Field name="CachedVotesQty"/> + </span> + </td> + </tr> + </table> + + <table> + <tr> + <td class="picture-padding" style="padding-left:25px" valign="top"> + <inp2:m_if check="n_ImageSrc" MaxWidth="fullsize"> + <a href="<inp2:n_ImageSrc MaxWidth="fullsize" DefaultImage="platform/img/no_picture.gif"/>" class="thickbox" rel="article-images" title="<inp2:n_Field name='Title' html_escape='1'/>"> + <inp2:n_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultImage="platform/img/no_picture.gif"/><br /> + </a> + <inp2:m_else/> + <inp2:n_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"> + <inp2:n_Field name="Excerpt" nl2br="1"/> + </td> + </tr> + </table> + </td></tr></table> + </inp2:m_RenderElement> + </div> + + <div class="movable-element"> + <inp2:m_RenderElement design="content_box"> + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_ReviewThisArticle"/> + </inp2:m_Capture> + + + <inp2:m_if check="n_HasPermission" permissions="NEWS.REVIEW|NEWS.REVIEW.PENDING"> + <inp2:m_if check="n-rev_AlreadyReviewed"> + <inp2:m_Phrase label="lu_ErrorAlreadyReviewed"/> + <table> + <inp2:n-rev_PrintList render_as="review_element" type="current_user" per_page="-1"/> + </table> + <inp2:m_include template="platform/elements/pagination.elm" prefix="n-rev"/> + <inp2:m_else/> + <inp2:n-rev_PresetFormFields/> + <span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br /> + + <inp2:m_if check="n-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="n-rev" field="Rating" title="lu_fld_Rating"/> + <inp2:m_RenderElement name="inp_edit_textarea" prefix="n-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-news/articles/add_review_confirm"/> + <input type="hidden" name="success_pending_template" value="in-news/articles/add_review_pending_confirm"/> + <input class="button" type="submit" name="events[n-rev][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/> + </inp2:m_RenderElement> + </table> + </form> + </inp2:m_if> + <inp2:m_else/> + <inp2:m_phrase name="lu_text_NoArticleReviewPermission"/> + </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: in-news/articles/add_review.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.8 \ No newline at end of property Index: in-news/articles/suggest_article.tpl =================================================================== --- in-news/articles/suggest_article.tpl (nonexistent) +++ in-news/articles/suggest_article.tpl (revision 12906) @@ -0,0 +1,84 @@ +<!--## +<NAME>Suggest Article</NAME> +<DESC>Article Suggestion Form</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_SuggestArticle"/> +</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-news/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_SuggestArticle" templates="in-news/articles/suggest_article" show_category="1"/> + </div> + <div class="movable-element"> + <!-- suggest article --> + <inp2:m_RenderElement design="content_box"> + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_SuggestArticle"/> + </inp2:m_Capture> + + <inp2:m_if check="n_HasPermission" permissions="NEWS.ADD|NEWS.ADD.PENDING"> + <inp2:n_PresetFormFields/> + <span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br /> + + <inp2:m_if check="n_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_ArticleDetails" break=""/></td></tr> + + <!--## SHOW PRIMARY CATEGORY ##--> + <inp2:m_RenderElement name="inp_pr_category_label" prefix="n" field="PrimaryCat" title="lu_fld_SubmittingTo" /> + <!--## //SHOW PRIMARY CATEGORY ##--> + + <inp2:m_RenderElement name="inp_edit_box" prefix="n" field="Title" title="lu_fld_Title" maxlength="50" style="width:400px"/> + <inp2:m_RenderElement name="inp_edit_textarea" prefix="n" field="Body" title="lu_fld_Body" cols="80" rows="7" style="width:400px"/> + <inp2:m_RenderElement name="inp_edit_categories" prefix="n" field="MoreCategories" title="lu_fld_MoreCategories" 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="n" field="PrimaryImage" title="lu_fld_PrimaryImage"/> + <inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image1" title="lu_fld_Image1"/> + <inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image2" title="lu_fld_Image2" is_last="1"/> + + <inp2:m_RenderElement design="inp_edit_buttons"> + <input type="hidden" name="suggest_confirm_template" value="in-news/articles/suggest_confirm"/> + <input type="hidden" name="suggest_pending_confirm_template" value="in-news/articles/suggest_pending_confirm"/> + <input class="button" type="submit" name="events[n][OnCreate]" value="<inp2:m_Phrase label="lu_btn_Create" no_editing="1"/>"/> + </inp2:m_RenderElement> + </table> + </form> + <inp2:m_else/> + <inp2:m_phrase name="lu_text_NoSuggestArticlePermission"/> + </inp2:m_if> + </inp2:m_RenderElement> + <!-- // suggest article --> + </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: in-news/articles/suggest_article.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.8 \ No newline at end of property Index: in-news/articles/modify_article.tpl =================================================================== --- in-news/articles/modify_article.tpl (nonexistent) +++ in-news/articles/modify_article.tpl (revision 12906) @@ -0,0 +1,85 @@ +<!--## +<NAME>Modify Article</NAME> +<DESC>Form for Article Modification</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_ModifyArticle"/> +</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-news/elements/side_boxes/action_box.elm" design="blue_box"/> + </div> + <div class="movable-element"> + <inp2:m_RenderElement name="in-news/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_MyArticles,__item__,lu_title_ModifyArticle" templates="platform/my_account/my_account,in-news/my_account/my_articles,__default__,in-news/articles/modify_article"/> + </div> + <div class="movable-element"> + <!-- modify article --> + <inp2:m_RenderElement design="content_box"> + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_ModifyArticle"/> + </inp2:m_Capture> + + <inp2:m_if check="n_HasPermission" permissions="NEWS.MODIFY|NEWS.MODIFY.PENDING|NEWS.OWNER.MODIFY|NEWS.OWNER.MODIFY.PENDING"> + + <span class="field-required">*</span> <inp2:m_phrase name="lu_IndicatesRequired"/><br /><br /> + + <inp2:m_if check="n_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_ArticleDetails" break=""/></td></tr> + <inp2:m_RenderElement name="inp_edit_box" prefix="n" field="Title" title="lu_fld_Title" maxlength="50" style="width:400px"/> + <inp2:m_RenderElement name="inp_edit_textarea" prefix="n" field="Body" title="lu_fld_Body" cols="80" rows="7" style="width:400px"/> + <!--## SHOW PRIMARY CATEGORY ##--> + <inp2:m_RenderElement name="inp_pr_category_label" prefix="n" field="PrimaryCat" title="lu_fld_PrimaryCategory" editing="1"/> + <!--## //SHOW PRIMARY CATEGORY ##--> + + <inp2:m_RenderElement name="inp_edit_categories" prefix="n" field="MoreCategories" title="lu_fld_MoreCategories" 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="n" field="PrimaryImage" title="lu_fld_PrimaryImage"/> + <inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image1" title="lu_fld_Image1"/> + <inp2:m_RenderElement name="inp_edit_image_upload" prefix="n" field="Image2" title="lu_fld_Image2" is_last="1"/> + + <inp2:m_RenderElement design="inp_edit_buttons"> + <input type="hidden" name="modify_confirm_template" value="in-news/articles/modify_confirm"/> + <input type="hidden" name="modify_pending_confirm_template" value="in-news/articles/modify_pending_confirm"/> + <input class="button" type="submit" name="events[n][OnUpdate]" value="<inp2:m_Phrase label="lu_btn_Update" no_editing="1"/>"/> + </inp2:m_RenderElement> + </table> + </form> + <inp2:m_else/> + <inp2:m_phrase name="lu_text_NoModifyArticlePermission"/> + </inp2:m_if> + </inp2:m_RenderElement> + <!-- // modify article --> + </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: in-news/articles/modify_article.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.8 \ No newline at end of property Index: in-news/articles/.smsignore =================================================================== --- in-news/articles/.smsignore (nonexistent) +++ in-news/articles/.smsignore (revision 12906) @@ -0,0 +1 @@ +article_detail\.tpl \ No newline at end of file Property changes on: in-news/articles/.smsignore ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Index: in-news/articles/suggest_pending_confirm.tpl =================================================================== --- in-news/articles/suggest_pending_confirm.tpl (nonexistent) +++ in-news/articles/suggest_pending_confirm.tpl (revision 12906) @@ -0,0 +1,49 @@ +<!--## +<NAME>Pending Article - Confirmation</NAME> +<DESC>Pending Article Confirmation page</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_SuggestArticlePendingConfirm"/> +</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-news/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_SuggestArticlePendingConfirm" templates="in-news/articles/suggest_pending_confirm" show_category="1"/> + </div> + <div class="movable-element"> + <!-- suggest article pending confirm --> + <inp2:m_RenderElement design="content_box"> + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_SuggestArticlePendingConfirm"/> + </inp2:m_Capture> + + <inp2:m_phrase name="lu_text_SuggestArticlePendingConfirm"/><br /><br /> + <a href="<inp2:m_Link template="in-news/my_account/my_articles" m_cat_id="0" m_cat_page="1"/>"><inp2:m_Phrase name="lu_title_MyArticles"/></a> + </inp2:m_RenderElement> + <!-- // suggest article 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: in-news/articles/suggest_pending_confirm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.8 \ No newline at end of property Index: in-news/articles/modify_confirm.tpl =================================================================== --- in-news/articles/modify_confirm.tpl (nonexistent) +++ in-news/articles/modify_confirm.tpl (revision 12906) @@ -0,0 +1,49 @@ +<!--## +<NAME>Modify Article Confirmation</NAME> +<DESC>Confirmation page for Article Modification</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_ModifyArticleConfirm"/> +</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-news/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_MyArticles,__item__,lu_title_ModifyArticleConfirm" templates="platform/my_account/my_account,in-news/my_account/my_articles,__default__,in-news/articles/modify_confirm"/> + </div> + <div class="movable-element"> + <!-- article modify confirm --> + <inp2:m_RenderElement design="content_box"> + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_ModifyArticleConfirm"/> + </inp2:m_Capture> + + <inp2:m_phrase name="lu_text_ModifyArticleConfirm"/><br /><br /> + <a href="<inp2:m_Link template="in-news/my_account/my_articles" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_title_MyArticles"/></a> + </inp2:m_RenderElement> + <!-- // article modify 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: in-news/articles/modify_confirm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.9 \ No newline at end of property Index: in-news/articles/pop_articles.tpl =================================================================== --- in-news/articles/pop_articles.tpl (nonexistent) +++ in-news/articles/pop_articles.tpl (revision 12906) @@ -0,0 +1,66 @@ +<!--## +<NAME>Popular Articles</NAME> +<DESC>List of Popular Articles</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_PopArticles"/> +</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-news/elements/side_boxes/action_box.elm" design="blue_box"/> + </div> + <div class="movable-element"> + <inp2:m_RenderElement name="in-news/elements/side_boxes/hot.elm" design="blue_box" data_exists="1"/> + </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> +</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_PopArticles" templates="in-news/articless/pop_articles"/> + </div> + <div class="movable-element"> + <!-- popular articles --> + <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles"> + <inp2:n_InitList list_name="pop_articles" m_cat_id="0" recursive="1" types="pop"/> + + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_PopArticles"/> (<inp2:n_TotalRecords list_name="pop_articles"/>) + </inp2:m_Capture> + + <inp2:m_include template="in-news/elements/sorting.elm" list_name="pop_articles"/> + + <inp2:m_include template="in-news/elements/articles.elm"/> + <table class="fullwidth item-listing table-border"> + <inp2:n_ListArticles list_name="pop_articles" render_as="article_element" direction="H"/> + </table> + + <inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="pop_articles"/> + </inp2:m_RenderElement> + <!-- // popular articles --> + </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: in-news/articles/pop_articles.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.9 \ No newline at end of property Index: in-news/articles/add_review_confirm.tpl =================================================================== --- in-news/articles/add_review_confirm.tpl (nonexistent) +++ in-news/articles/add_review_confirm.tpl (revision 12906) @@ -0,0 +1,49 @@ +<!--## +<NAME>New Article Review Confirmation</NAME> +<DESC>Confirmation page for New Article Review</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_AddArticleReviewConfirm"/> +</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-news/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="__item__,lu_title_AddArticleReviewConfirm" templates="__default__,in-news/articles/add_review_confirm" show_category="1"/> + </div> + <div class="movable-element"> + <!-- add article review confirm --> + <inp2:m_RenderElement design="content_box"> + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_AddArticleReviewConfirm"/> + </inp2:m_Capture> + + <inp2:m_phrase name="lu_text_AddArticleReviewConfirm"/><br /><br /> + <a href="<inp2:n_ArticleLink template="__default__"/>"><inp2:n_Field name="Title"/></a> + </inp2:m_RenderElement> + <!-- // add article 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: in-news/articles/add_review_confirm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.9 \ No newline at end of property Index: in-news/articles/search_results.tpl =================================================================== --- in-news/articles/search_results.tpl (nonexistent) +++ in-news/articles/search_results.tpl (revision 12906) @@ -0,0 +1,67 @@ +<!--## +<NAME>Articles - Search Results</NAME> +<DESC>List of Articles Search Results</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_Phrase label="lu_title_ArticleSearchResults"/> +</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-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/pop.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> +</inp2:m_DefineElement> +<!--## //SIDE-BAR ELEMENT ##--> + +<inp2:m_DefineElement name="content"> + +<div class="movable-element"> + <inp2:m_include template="platform/elements/navigation_bar.elm" titles="lu_title_ArticleSearchResults" templates="in-news/search/search_results"/> +</div> + +<div class="movable-element"> + <inp2:m_RenderElement design="content_box"> + <inp2:n_InitList list_name="article_search_results" types="search" parent_cat_id="any" recursive="1"/> + + <inp2:m_Capture to_var="header"> + <inp2:m_Phrase label="lu_title_ArticleSearchResults"/> (<inp2:n_TotalRecords list_name="article_search_results"/>) + </inp2:m_Capture> + + <inp2:m_include template="in-news/elements/sorting.elm" list_name="article_search_results"/> + + <inp2:m_include template="in-news/elements/articles.elm"/> + <inp2:m_include template="platform/elements/search_results.elm"/> + + <table class="fullwidth item-listing table-border"> + <inp2:n_ListArticles list_name="article_search_results" render_as="article_element" show_relevance="1"/> + </table> + + <inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="article_search_results"/> + </inp2:m_RenderElement> +</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: in-news/articles/search_results.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.11 \ No newline at end of property Index: in-news/articles/modify_pending_confirm.tpl =================================================================== --- in-news/articles/modify_pending_confirm.tpl (nonexistent) +++ in-news/articles/modify_pending_confirm.tpl (revision 12906) @@ -0,0 +1,49 @@ +<!--## +<NAME>Modify Article Pending Confirmation</NAME> +<DESC>Confirmation page for Pending Article Modification</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_ModifyArticlePendingConfirm"/> +</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-news/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_MyArticles,__item__,lu_title_ModifyArticlePendingConfirm" templates="platform/my_account/my_account,in-news/my_account/my_articles,__default__,in-news/articles/modify_pending_confirm"/> + </div> + <div class="movable-element"> + <!-- article modify pending confirm --> + <inp2:m_RenderElement design="content_box"> + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_ModifyArticlePendingConfirm"/> + </inp2:m_Capture> + + <inp2:m_phrase name="lu_text_ModifyArticlePendingConfirm"/><br /><br /> + <a href="<inp2:m_Link template="in-news/my_account/my_articles" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_title_MyArticles"/></a> + </inp2:m_RenderElement> + <!-- // article modify 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: in-news/articles/modify_pending_confirm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.8 \ No newline at end of property Index: in-news/articles/add_review_pending_confirm.tpl =================================================================== --- in-news/articles/add_review_pending_confirm.tpl (nonexistent) +++ in-news/articles/add_review_pending_confirm.tpl (revision 12906) @@ -0,0 +1,49 @@ +<!--## +<NAME>New Article Review (Pending) Confirmation</NAME> +<DESC>Confirmation page for Pending Article submition</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_AddArticleReviewPendingConfirm"/> +</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-news/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="__item__,lu_title_AddArticleReviewPendingConfirm" templates="__default__,in-news/articles/add_review_pending_confirm" show_category="1"/> + </div> + <div class="movable-element"> + <!-- add article review pending confirm --> + <inp2:m_RenderElement design="content_box"> + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_AddArticleReviewPendingConfirm"/> + </inp2:m_Capture> + + <inp2:m_phrase name="lu_text_AddArticleReviewPendingConfirm"/><br /><br /> + <a href="<inp2:n_ArticleLink template="__default__"/>"><inp2:n_Field name="Title"/></a> + </inp2:m_RenderElement> + <!-- // add article 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: in-news/articles/add_review_pending_confirm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.9 \ No newline at end of property Index: in-news/articles/pick_articles.tpl =================================================================== --- in-news/articles/pick_articles.tpl (nonexistent) +++ in-news/articles/pick_articles.tpl (revision 12906) @@ -0,0 +1,66 @@ +<!--## +<NAME>Editor's Pick Articles</NAME> +<DESC>List of Editor's Pick Articles</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_PickArticles"/> +</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-news/elements/side_boxes/action_box.elm" design="blue_box"/> + </div> + <div class="movable-element"> + <inp2:m_RenderElement name="in-news/elements/side_boxes/hot.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/new.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_PickArticles" templates="in-news/articles/pick_articles"/> + </div> + <div class="movable-element"> + <!-- pick articles --> + <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles"> + <inp2:n_InitList list_name="pick_articles" m_cat_id="0" recursive="1" types="pick"/> + + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_PickArticles"/> (<inp2:n_TotalRecords list_name="pick_articles"/>) + </inp2:m_Capture> + + <inp2:m_include template="in-news/elements/sorting.elm" list_name="pick_articles"/> + + <inp2:m_include template="in-news/elements/articles.elm"/> + <table class="fullwidth item-listing table-border"> + <inp2:n_ListArticles list_name="pick_articles" render_as="article_element" direction="H"/> + </table> + + <inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="new_articles"/> + </inp2:m_RenderElement> + <!-- // pick articles --> + </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: in-news/articles/pick_articles.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.9 \ No newline at end of property Index: in-news/articles/suggest_confirm.tpl =================================================================== --- in-news/articles/suggest_confirm.tpl (nonexistent) +++ in-news/articles/suggest_confirm.tpl (revision 12906) @@ -0,0 +1,49 @@ +<!--## +<NAME>Suggest Article - Confirmation</NAME> +<DESC>Suggest Article Confirmation page</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_SuggestArticleConfirm"/> +</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-news/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_SuggestArticleConfirm" templates="in-news/articles/suggest_confirm" show_category="1"/> + </div> + <div class="movable-element"> + <!-- suggest article confirm --> + <inp2:m_RenderElement design="content_box"> + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_SuggestArticleConfirm"/> + </inp2:m_Capture> + + <inp2:m_phrase name="lu_text_SuggestArticleConfirm"/><br /><br /> + <a href="<inp2:m_Link template="in-news/my_account/my_articles" m_cat_id="0" m_cat_page="1"/>"><inp2:m_phrase name="lu_title_MyArticles"/></a> + </inp2:m_RenderElement> + <!-- // suggest article 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: in-news/articles/suggest_confirm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.8 \ No newline at end of property Index: in-news/articles/new_articles.tpl =================================================================== --- in-news/articles/new_articles.tpl (nonexistent) +++ in-news/articles/new_articles.tpl (revision 12906) @@ -0,0 +1,66 @@ +<!--## +<NAME>New Articles</NAME> +<DESC>List of New Articles</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_NewArticles"/> +</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-news/elements/side_boxes/action_box.elm" design="blue_box"/> + </div> + <div class="movable-element"> + <inp2:m_RenderElement name="in-news/elements/side_boxes/hot.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/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_NewArticles" templates="in-news/articles/new_articles"/> + </div> + <div class="movable-element"> + <!-- new articles --> + <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles"> + <inp2:n_InitList list_name="new_articles" m_cat_id="0" recursive="1" types="new"/> + + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_NewArticles"/> (<inp2:n_TotalRecords list_name="new_articles"/>) + </inp2:m_Capture> + + <inp2:m_include template="in-news/elements/sorting.elm" list_name="new_articles"/> + + <inp2:m_include template="in-news/elements/articles.elm"/> + <table class="fullwidth item-listing table-border"> + <inp2:n_ListArticles list_name="new_articles" render_as="article_element" direction="H"/> + </table> + + <inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="new_articles"/> + </inp2:m_RenderElement> + <!-- // new articles --> + </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: in-news/articles/new_articles.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.9 \ No newline at end of property Index: in-news/articles/hot_articles.tpl =================================================================== --- in-news/articles/hot_articles.tpl (nonexistent) +++ in-news/articles/hot_articles.tpl (revision 12906) @@ -0,0 +1,66 @@ +<!--## +<NAME>Hot Articles</NAME> +<DESC>List of Hot Articles</DESC> +<SECTION>Platform||Articles</SECTION> +##--> + +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_HotArticles"/> +</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-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/pop.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> +</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_HotArticles" templates="in-news/articles/hot_articles"/> + </div> + <div class="movable-element"> + <!-- hot articles --> + <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles"> + <inp2:n_InitList list_name="hot_articles" m_cat_id="0" recursive="1" types="hot"/> + + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_HotArticles"/> (<inp2:n_TotalRecords list_name="hot_articles"/>) + </inp2:m_Capture> + + <inp2:m_include template="in-news/elements/sorting.elm" list_name="hot_articles"/> + + <inp2:m_include template="in-news/elements/articles.elm"/> + <table class="fullwidth item-listing"> + <inp2:n_ListArticles list_name="hot_articles" render_as="article_element" direction="H"/> + </table> + + <inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="hot_articles"/> + </inp2:m_RenderElement> + <!-- // hot articles --> + </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: in-news/articles/hot_articles.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.11 \ No newline at end of property Index: in-news/elements/articles.elm.tpl =================================================================== --- in-news/elements/articles.elm.tpl (nonexistent) +++ in-news/elements/articles.elm.tpl (revision 12906) @@ -0,0 +1,302 @@ + + +<inp2:m_DefineElement name="article_element"> + <td> + <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div> + <br /> + <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:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" 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:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></inp2:m_if> + <inp2:VotesIndicator render_as="rating_element" no_editing="1"/> + + <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_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> + + | + + <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink template="in-news/articles/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a> + + <br /><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="4" alt="" /><br /> + + <inp2:m_if check="Field" name="Excerpt"> + <br/><inp2:Field name="Excerpt" nl2br="1"/> + </inp2:m_if> + </td> + </tr> + </table> + + <br /> + </td> +</inp2:m_DefineElement> + +<!--## RELATED ARTICLE ELEMENT ##--> +<inp2:m_DefineElement name="related_article_element"> + <tr> + <td width="25"><img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="16" height="23" alt="" /></td> + <td><a href="<inp2:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></a></td> + </tr> +</inp2:m_DefineElement> +<!--## // RELATED ARTICLE ELEMENT ##--> + +<inp2:m_DefineElement name="my_article_element"> + <td> + <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="article-picture-padding-lead"> + <a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" thumbnail="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail" DefaultWidth="150"/></a><br /> + </td> + <td class="text-padding" valign="top"> + <a href="<inp2:ArticleLink template="__default__"/>"><inp2:Field name="Title"/></a> <inp2:m_if check="IsPending"><span class="pending-item"><strong><inp2:m_phrase name="lu_PendingItem"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></inp2:m_if> + <inp2:VotesIndicator render_as="rating_element" no_editing="1"/> + + <br /> + + <strong><inp2:CategoryPath separator=">" render_as="category_path_element"/></strong><br /> + + <inp2:m_if check="Field" name="Excerpt"> + <br /><inp2:Field name="Excerpt" nl2br="1"/><br /> + </inp2:m_if> + <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> + + <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:ArticleLink template="__default__"/>"><inp2:m_phrase name="lu_btn_Details"/></a> + </td> + + <inp2:m_if check="HasPermission" permissions="NEWS.MODIFY|NEWS.MODIFY.PENDING|NEWS.OWNER.MODIFY|NEWS.OWNER.MODIFY.PENDING"> + <td> + | <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_edit.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink template="in-news/articles/modify_article"/>"><inp2:m_phrase name="lu_btn_Modify"/></a> + </td> + </inp2:m_if> + + <inp2:m_if check="HasPermission" permissions="NEWS.DELETE|NEWS.OWNER.DELETE"> + <td> + | <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/ic_delete.gif" width="11" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink n_event="OnDelete"/>" onclick="return confirm('<inp2:m_phrase name="lu_DeleteArticleConfirm" js_escape="1"/>');"><inp2:m_phrase name="lu_btn_Delete"/></a> + </td> + </inp2:m_if> + </tr> + </table> + + + </td> + </tr> + </table> + </td> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="site_lead_article_element"> + + <td> + <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt=""/><br /></div><br/> + <table class="fullwidth"> + <tr> + <td class="articles-icon-cell" align="left" valign="top"> + <img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="22" height="18" alt="" /><br /> + </td> + <td valign="top"> + <a href="<inp2:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></inp2:m_if> + <inp2:VotesIndicator render_as="rating_element" no_editing="1"/> + + <div 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"/>) + </div> + </td> + </tr> + </table> + <br /> + <table> + <tr> + <td class="lead-article-picture-padding"> + <a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a> + </td> + <td valign="top" > + <inp2:Field name="Excerpt" nl2br="1"/> + </td> + + </tr> + </table> + + <br /> + </td> + +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="category_lead_article_element"> + <!--## + <tr> + <td> + <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt=""/></div> + <div class="category-lead-article"><inp2:m_Phrase label="lu_CategoryLeadStory"/></div> + <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" alt=""/></div> + </td> + </tr> + ##--> + <tr> + <td class="category-lead-article-padding"> + <table style="width:auto"> + <tr> + <td class="articles-icon-cell" align="left" valign="top"> + <img src="<inp2:m_TemplatesBase module="In-News"/>img/articles_icon.gif" width="22" height="18" alt="" /><br /> + </td> + <td valign="top"> + <a href="<inp2:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></inp2:m_if> + <inp2:VotesIndicator render_as="rating_element" no_editing="1"/> + + <div 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"/>) + </div> + </td> + </tr> + </table> + <br /> + <table> + <tr> + <td class="article-picture-padding"> + <a href="<inp2:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" html_escape="1"/>"><inp2:Image render_as="image_element" primary="1" DefaultImage="platform/img/no_picture.gif" MaxWidth="thumbnail"/></a> + </td> + <td valign="top" > + <inp2:Field name="Excerpt" nl2br="1"/> + </td> + </tr> + </table> + + </td> + </tr> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="article_short_element"> + <td> + <a href="<inp2:ArticleLink template="__default__"/>"><inp2:Field name="Title"/></a> + </td> +</inp2:m_DefineElement> + +<inp2:m_DefineElement name="no_articles"> + <inp2:m_phrase name="lu_NoArticles"/> +</inp2:m_DefineElement> + +<!--## ARTICLE RSS ELEMENT ##--> +<inp2:m_DefineElement name="article_rss_element"> +<item> + <title><inp2:Field name="Title" html_escape="1"/></title> + <link><inp2:ArticleLink template="__default__"/></link> + <description><inp2:Field name="Body" html_escape="1"/></description> +</item> +</inp2:m_DefineElement> +<!--## /ARTICLE RSS ELEMENT ##--> + + +<inp2:m_DefineElement name="article_element_search"> + <td> + <div class="horizontal-separator"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/s.gif" width="1" height="1" alt="" /><br /></div> + <br /> + <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:ArticleLink template="__default__"/>" title="<inp2:Field name="Title" 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:ArticleLink template="__default__"/>" class="text-title"><inp2:Field name="Title"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></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" no_editing="1"/>"/></inp2:m_if> + <inp2:VotesIndicator render_as="rating_element" no_editing="1"/> + + <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_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> + + | + + <img src="<inp2:m_TemplatesBase module="In-Portal"/>img/reviews.gif" width="14" height="10" alt="" /> <a class="item-action" href="<inp2:ArticleLink template="in-news/articles/add_review"/>"><inp2:m_phrase name="lu_btn_AddReview"/></a> + + </td> + </tr> + </table> + + <br /> + </td> +</inp2:m_DefineElement> \ No newline at end of file Property changes on: in-news/elements/articles.elm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.2 \ No newline at end of property Index: in-news/elements/sorting.elm.tpl =================================================================== --- in-news/elements/sorting.elm.tpl (nonexistent) +++ in-news/elements/sorting.elm.tpl (revision 12906) @@ -0,0 +1,41 @@ +<table class="fullwidth"> + <tr> + <td class="category-statistics"> + <inp2:m_phrase name="lu_TotalArticles"/>: <inp2:n_ItemCount/> | <inp2:m_phrase name="lu_AddedToday"/>: <inp2:n_ItemCount today="1"/> + </td> + <td class="category-statistics" align="right"> + <inp2:m_phrase name="lu_ArticlesUpdated"/>: <inp2:n_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_SortArticlesBy"/>: + + <select name="<inp2:n_CombinedSortingDropDownName/>" class="input-select"> + <option value="Title|asc" <inp2:n_SortingSelected sorting="Title|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_ArticleTitleAZ"/></option> + <option value="Title|desc" <inp2:n_SortingSelected sorting="Title|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_ArticleTitleZA"/></option> + <option value="CreatedOn|asc" <inp2:n_SortingSelected sorting="CreatedOn|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RecentToOld"/></option> + <option value="CreatedOn|desc" <inp2:n_SortingSelected sorting="CreatedOn|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_OldToRecent"/></option> + <option value="Author|asc" <inp2:n_SortingSelected sorting="Author|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_AuthorAZ"/></option> + <option value="Author|desc" <inp2:n_SortingSelected sorting="Author|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_AuthorZA"/></option> + <option value="CachedRating|asc" <inp2:n_SortingSelected sorting="CachedRating|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RatingLH"/></option> + <option value="CachedRating|desc" <inp2:n_SortingSelected sorting="CachedRating|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_RatingHL"/></option> + <option value="CachedVotesQty|asc" <inp2:n_SortingSelected sorting="CachedVotesQty|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_VotesLH"/></option> + <option value="CachedVotesQty|desc" <inp2:n_SortingSelected sorting="CachedVotesQty|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_VotesHL"/></option> + <option value="Hits|asc" <inp2:n_SortingSelected sorting="Hits|asc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_HitsLH"/></option> + <option value="Hits|desc" <inp2:n_SortingSelected sorting="Hits|desc" selected='selected="selected"'/>> <inp2:m_Phrase label="lu_HitsHL"/></option> + </select> + <input type="submit" class="button" name="<inp2:n_SubmitName event="OnSetSortingDirect"/>" value="<inp2:m_Phrase label="lu_btn_Sort" no_editing="1"/>" /> + </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: in-news/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: in-news/elements/.smsignore =================================================================== --- in-news/elements/.smsignore (nonexistent) +++ in-news/elements/.smsignore (revision 12906) @@ -0,0 +1 @@ +.*\.xml\.tpl \ No newline at end of file Property changes on: in-news/elements/.smsignore ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Index: in-news/elements/rss.xml.tpl =================================================================== --- in-news/elements/rss.xml.tpl (nonexistent) +++ in-news/elements/rss.xml.tpl (revision 12906) @@ -0,0 +1,13 @@ +<inp2:m_XMLTemplate xml_version="1.0"/> +<rss version="2.0"> + <channel> + <title><inp2:m_GetConfig name="Site_Name"/></title> + <link><inp2:c_CategoryLink template="in-news/designs/section"/></link> + <generator><inp2:m_GetConfig name="Site_Name"/></generator> + <managingEditor><inp2:m_GetConfig name="Smtp_AdminMailFrom"/></managingEditor> + <webMaster><inp2:m_GetConfig name="Smtp_AdminMailFrom"/>m</webMaster> + + <inp2:m_include template="in-news/elements/articles.elm"/> + <inp2:n_PrintList render_as="article_rss_element" per_page="-1"/> + </channel> +</rss> Property changes on: in-news/elements/rss.xml.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: in-news/elements/side_boxes/action_box.elm.tpl =================================================================== --- in-news/elements/side_boxes/action_box.elm.tpl (nonexistent) +++ in-news/elements/side_boxes/action_box.elm.tpl (revision 12906) @@ -0,0 +1,42 @@ +<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="n"/> + <inp2:m_RenderElement name="box_element" template="in-news/articles/suggest_article" title="lu_SuggestArticle" prefix="n"/> + + <inp2:m_if check="m_Param" name="item_actions"> + <tr> + <td>-</td> + <td> + <inp2:m_if check="n_IsFavorite"> + <a href="<inp2:n_FavoriteToggleLink/>"> + <inp2:m_phrase name="lu_btn_RemoveFromFavorites"/> + </a> + <inp2:m_else/> + <a href="<inp2:n_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:n_ArticleLink template="in-news/articles/add_review"/>"><inp2:m_phrase name="lu_btn_ReviewThisArticle"/></a> + </td> + </tr> + + <!--## + <tr> + <td>-</td> + <td> + <a href="<inp2:n_ArticleLink template="in-news/articles/rate"/>"><inp2:m_phrase name="lu_btn_RateThisArticle"/></a> + </td> + </tr> + ##--> + + </inp2:m_if> +</table> \ No newline at end of file Property changes on: in-news/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: in-news/elements/side_boxes/pick.elm.tpl =================================================================== --- in-news/elements/side_boxes/pick.elm.tpl (nonexistent) +++ in-news/elements/side_boxes/pick.elm.tpl (revision 12906) @@ -0,0 +1,18 @@ +<!-- popular links --> +<inp2:n_InitList list_name="pick_articles" 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-news/articles/pick_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_PickArticles"/></a> (<inp2:n_TotalRecords list_name="pick_articles"/>) +</inp2:m_Capture> + +<inp2:m_include template="in-news/elements/articles.elm"/> + +<inp2:m_DefineElement name="all_pick_articles"> + <a href="<inp2:m_Link template="in-news/articles/pick_articles" 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:n_ListArticles list_name="pick_articles" render_as="article_short_element" direction="H"/> +</table> +<inp2:n_MoreLink list_name="pick_articles" render_as="all_pick_articles"/> +<!-- // popular links --> \ No newline at end of file Property changes on: in-news/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: in-news/elements/side_boxes/new.elm.tpl =================================================================== --- in-news/elements/side_boxes/new.elm.tpl (nonexistent) +++ in-news/elements/side_boxes/new.elm.tpl (revision 12906) @@ -0,0 +1,18 @@ +<!-- popular links --> +<inp2:n_InitList list_name="new_articles" 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-news/articles/new_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_NewArticles"/></a> (<inp2:n_TotalRecords list_name="new_articles"/>) +</inp2:m_Capture> + +<inp2:m_include template="in-news/elements/articles.elm"/> + +<inp2:m_DefineElement name="all_new_articles"> + <a href="<inp2:m_Link template="in-news/articles/new_articles" 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:n_ListArticles list_name="new_articles" render_as="article_short_element" direction="H"/> +</table> +<inp2:n_MoreLink list_name="new_articles" render_as="all_new_articles"/> +<!-- // popular links --> \ No newline at end of file Property changes on: in-news/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: in-news/elements/side_boxes/hot.elm.tpl =================================================================== --- in-news/elements/side_boxes/hot.elm.tpl (nonexistent) +++ in-news/elements/side_boxes/hot.elm.tpl (revision 12906) @@ -0,0 +1,18 @@ +<!-- popular links --> +<inp2:n_InitList list_name="hot_articles" 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-news/articles/hot_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_HotArticles"/></a> (<inp2:n_TotalRecords list_name="hot_articles"/>) +</inp2:m_Capture> + +<inp2:m_include template="in-news/elements/articles.elm"/> + +<inp2:m_DefineElement name="all_hot_articles"> + <a href="<inp2:m_Link template="in-news/articles/hot_articles" 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:n_ListArticles list_name="hot_articles" render_as="article_short_element" direction="H"/> +</table> +<inp2:n_MoreLink list_name="hot_articles" render_as="all_hot_articles"/> +<!-- // popular links --> \ No newline at end of file Property changes on: in-news/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: in-news/elements/side_boxes/pop.elm.tpl =================================================================== --- in-news/elements/side_boxes/pop.elm.tpl (nonexistent) +++ in-news/elements/side_boxes/pop.elm.tpl (revision 12906) @@ -0,0 +1,18 @@ +<!-- popular links --> +<inp2:n_InitList list_name="pop_articles" 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-news/articles/pop_articles" m_cat_id="0" m_cat_page="1" />"><inp2:m_phrase name="lu_title_PopArticles"/></a> (<inp2:n_TotalRecords list_name="pop_articles"/>) +</inp2:m_Capture> + +<inp2:m_include template="in-news/elements/articles.elm"/> + +<inp2:m_DefineElement name="all_pop_articles"> + <a href="<inp2:m_Link template="in-news/links/pop_articles" 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:n_ListArticles list_name="pop_articles" render_as="article_short_element" direction="H"/> +</table> +<inp2:n_MoreLink list_name="pop_articles" render_as="all_pop_articles"/> +<!-- // popular links --> \ No newline at end of file Property changes on: in-news/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: in-news/elements/content_boxes/home_page_items.elm.tpl =================================================================== --- in-news/elements/content_boxes/home_page_items.elm.tpl (nonexistent) +++ in-news/elements/content_boxes/home_page_items.elm.tpl (revision 12906) @@ -0,0 +1 @@ +<inp2:m_include template="in-news/elements/content_boxes/site_lead_article.elm"/> Property changes on: in-news/elements/content_boxes/home_page_items.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: in-news/elements/content_boxes/search_results.elm.tpl =================================================================== --- in-news/elements/content_boxes/search_results.elm.tpl (nonexistent) +++ in-news/elements/content_boxes/search_results.elm.tpl (revision 12906) @@ -0,0 +1,26 @@ +<inp2:m_RenderElement design="content_box" data_exists="1"> + <inp2:n_InitList list_name="article_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_ArticleSearchResults"/> (<inp2:n_TotalRecords list_name="article_search_results" />) + </inp2:m_Capture> + + <inp2:m_include template="in-news/elements/articles.elm"/> + <inp2:m_include template="platform/elements/search_results.elm"/> + + <table class="fullwidth item-listing"> + <inp2:n_ListArticles list_name="article_search_results" render_as="article_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="n_TotalRecords" list_name="article_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-news/articles/search_results" />"><inp2:m_Phrase label="lu_More"/>...</a> + </inp2:m_DefineElement> + <inp2:n_MoreLink list_name="article_search_results" render_as="more_link"/> +</inp2:m_RenderElement> \ No newline at end of file Property changes on: in-news/elements/content_boxes/search_results.elm.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.5 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: in-news/elements/content_boxes/my_favorites.elm.tpl =================================================================== --- in-news/elements/content_boxes/my_favorites.elm.tpl (nonexistent) +++ in-news/elements/content_boxes/my_favorites.elm.tpl (revision 12906) @@ -0,0 +1,22 @@ +<!-- favorite articles --> +<inp2:m_RenderElement design="content_box" data_exists="1"> + <inp2:n_InitList list_name="favorite_articles" types="favorites" parent_cat_id="0" recursive="1"/> + + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_FavoriteArticles"/> (<inp2:n_TotalRecords list_name="favorite_articles"/>) + </inp2:m_Capture> + + <inp2:m_include template="in-news/elements/articles.elm"/> + + <table class="fullwidth item-listing"> + <inp2:n_ListArticles list_name="favorite_articles" render_as="article_element" direction="H"/> + </table> + + <inp2:m_if check="n_TotalRecords" list_name="favorite_articles"> + <inp2:m_Set favorites_found="1"/> + </inp2:m_if> + + <inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="favorite_articles"/> +</inp2:m_RenderElement> + +<!-- // favorite articles --> \ No newline at end of file Property changes on: in-news/elements/content_boxes/my_favorites.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: in-news/elements/content_boxes/site_lead_article.elm.tpl =================================================================== --- in-news/elements/content_boxes/site_lead_article.elm.tpl (nonexistent) +++ in-news/elements/content_boxes/site_lead_article.elm.tpl (revision 12906) @@ -0,0 +1,15 @@ +<inp2:m_include template="in-news/elements/articles.elm"/> + +<inp2:m_RenderElement design="content_box" data_exists="1"> + <inp2:n_InitList list_name="site_lead" types="site_lead" parent_cat_id="0" per_page="1" recursive="1"/> + + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_SiteLeadStory"/> + </inp2:m_Capture> + + <inp2:m_include template="in-news/elements/articles.elm"/> + + <table class="fullwidth item-listing-lead table-border" > + <inp2:n_ListArticles list_name="site_lead" render_as="site_lead_article_element" no_table="0"/> + </table> +</inp2:m_RenderElement> \ No newline at end of file Property changes on: in-news/elements/content_boxes/site_lead_article.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: in-news/elements/content_boxes/related_items.elm.tpl =================================================================== --- in-news/elements/content_boxes/related_items.elm.tpl (nonexistent) +++ in-news/elements/content_boxes/related_items.elm.tpl (revision 12906) @@ -0,0 +1,6 @@ +<!--## RELATED ARTICLES ##--> + <inp2:m_include template="in-news/elements/articles.elm"/> + <table> + <inp2:n_PrintList2 render_as="related_article_element" types="related" related_to="$related_to" parent_cat_id="any" no_table="1"/> + </table> +<!--## // RELATED ARTICLES ##--> \ No newline at end of file Property changes on: in-news/elements/content_boxes/related_items.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: in-news/elements/html_head.elm.tpl =================================================================== --- in-news/elements/html_head.elm.tpl (nonexistent) +++ in-news/elements/html_head.elm.tpl (revision 12906) @@ -0,0 +1,3 @@ +<link rel="stylesheet" rev="stylesheet" href="<inp2:m_TemplatesBase module="In-News"/>inc/styles.css" type="text/css" /> +<!--<script type="text/javascript" src="<inp2:m_TemplatesBase module="In-News"/>inc/script.js"></script>--> + Property changes on: in-news/elements/html_head.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: in-news/designs/section.tpl =================================================================== --- in-news/designs/section.tpl (nonexistent) +++ in-news/designs/section.tpl (revision 12906) @@ -0,0 +1,117 @@ +<!--## +<NAME>Articles - Section Template</NAME> +<DESC>Articles</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-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-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> + </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/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: in-news/designs/section.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.6 \ No newline at end of property Added: svn:executable ## -0,0 +1 ## +* \ No newline at end of property Index: in-news/designs/.smsignore =================================================================== --- in-news/designs/.smsignore (nonexistent) +++ in-news/designs/.smsignore (revision 12906) @@ -0,0 +1 @@ +.*\.tpl \ No newline at end of file Property changes on: in-news/designs/.smsignore ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Index: in-news/my_account/my_articles.tpl =================================================================== --- in-news/my_account/my_articles.tpl (nonexistent) +++ in-news/my_account/my_articles.tpl (revision 12906) @@ -0,0 +1,58 @@ +<!--## +<NAME>User's Articles</NAME> +<DESC>List of User's Articles</DESC> +<SECTION>My Account</SECTION> +##--> + +<inp2:m_RequireLogin login_template="platform/login/register"/> +<!--## PAGE TITLE ELEMENT ##--> +<inp2:m_DefineElement name="page_title"> + <inp2:m_phrase name="lu_title_MyArticles"/> +</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-news/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_MyArticles" templates="platform/my_account/my_account,in-news/my_account/my_articles"/> + </div> + <div class="movable-element"> + <!-- my articles --> + <inp2:m_RenderElement design="content_box" data_exists="1" block_no_data="no_articles"> + <inp2:n_InitList list_name="my_articles" types="my_items" parent_cat_id="0" recursive="1"/> + + <inp2:m_Capture to_var="header"> + <inp2:m_phrase name="lu_title_MyArticles"/> (<inp2:n_TotalRecords list_name="my_articles"/>) + </inp2:m_Capture> + + <inp2:m_include template="in-news/elements/sorting.elm" list_name="my_articles"/> + + <inp2:m_include template="in-news/elements/articles.elm"/> + <table class="item-listing fullwidth"> + <inp2:n_ListArticles list_name="my_articles" render_as="my_article_element" direction="H"/> + </table> + + <inp2:m_include template="platform/elements/pagination.elm" prefix="n" list_name="my_articles"/> + </inp2:m_RenderElement> + <!-- // my articles --> + </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: in-news/my_account/my_articles.tpl ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.10 \ No newline at end of property Index: in-news/my_account/my_items.elm.tpl =================================================================== --- in-news/my_account/my_items.elm.tpl (nonexistent) +++ in-news/my_account/my_items.elm.tpl (revision 12906) @@ -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-news/my_account/my_articles" title="lu_MyArticles"/> + </inp2:m_if> + + <inp2:m_if check="m_ParamEquals" name="place" value="contentbox"> + <inp2:m_RenderElement name="my_account_element" template="in-news/my_account/my_articles" title="lu_MyArticles" description="lu_description_MyArticles" icon_image="in-news/img/ic_myarticles46.gif"/> + </inp2:m_if> +</inp2:m_if> \ No newline at end of file Property changes on: in-news/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: in-news/module_info.xml =================================================================== --- in-news/module_info.xml (nonexistent) +++ in-news/module_info.xml (revision 12906) @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="utf-8"?> +<module_info> + <section_design_template>in-news/index</section_design_template> + <item_design_template>in-news/detail</item_design_template> +</module_info> \ No newline at end of file Property changes on: in-news/module_info.xml ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.2 \ No newline at end of property Index: in-news/inc/styles.css =================================================================== --- in-news/inc/styles.css (nonexistent) +++ in-news/inc/styles.css (revision 12906) @@ -0,0 +1,39 @@ +.article-picture-padding { + padding: 20px 5px 20px 20px; + width: 120px; + vertical-align: top; +} + +.lead-article-picture-padding { + padding: 0px 20px 0px 30px; + width: 120px; + vertical-align: top; +} + +.articles-icon-cell + { + width:22px; + padding: 5px 5px 5px 5px; + } + +/* --- Category Lead Story & Site Lead Story Styles --- */ +.category-lead-article, .site-lead-article { + text-align: right; + padding: 1px 4px; + margin: 1px 0px; + font-size: 10px; +} + +.category-lead-article { + background-color: #EBEBEB; + color: #666666; +} + +.site-lead-article { + background-color: #FFC2C2; + color: #165A9B; +} + +.category-lead-article-padding, .site-lead-article-padding { + padding: 8px; +} \ No newline at end of file Property changes on: in-news/inc/styles.css ___________________________________________________________________ Added: cvs2svn:cvs-rev ## -0,0 +1 ## +1.1.2.1 \ No newline at end of property Index: in-news/img/articles_icon.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: in-news/img/articles_icon.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: in-news/img/ic_myarticles46.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: in-news/img/ic_myarticles46.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: in-news/img/menu_articles.gif =================================================================== Cannot display: file marked as a binary type. svn:mime-type = application/octet-stream Property changes on: in-news/img/menu_articles.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