Page Menu
Home
In-Portal Phabricator
Search
Configure Global Search
Log In
Files
F785745
in-news
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Feb 13, 12:57 AM
Size
16 KB
Mime Type
text/x-diff
Expires
Sat, Feb 15, 12:57 AM (1 d, 12 h)
Engine
blob
Format
Raw Data
Handle
564684
Attached To
rMINN Modules.In-News
in-news
View Options
Index: branches/RC/themes/default2009/in-news/elements/articles.elm.tpl
===================================================================
--- branches/RC/themes/default2009/in-news/elements/articles.elm.tpl (revision 11866)
+++ branches/RC/themes/default2009/in-news/elements/articles.elm.tpl (revision 11867)
@@ -1,302 +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"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element" 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"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element" 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"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element" 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"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element" 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"/></title>
+ <title><inp2:Field name="Title" html_escape="1"/></title>
<link><inp2:ArticleLink template="__default__"/></link>
- <description><inp2:Field name="Description"/></description>
+ <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"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsNew"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_new.gif" alt="<inp2:m_phrase name="lu_New"/>"/></inp2:m_if>
<inp2:m_if check="Field" name="IsPop"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_popular.gif" alt="<inp2:m_phrase name="lu_Pop"/>"/></inp2:m_if>
<inp2:m_if check="IsEditorsPick"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_pick.gif" alt="<inp2:m_phrase name="lu_Pick"/>"/></inp2:m_if>
<inp2:m_if check="IsFavorite"><img src="<inp2:m_TemplatesBase module="In-Portal"/>img/icon_favorite.gif" alt="<inp2:m_phrase name="lu_Favorite"/>"/></inp2:m_if>
<inp2:VotesIndicator render_as="rating_element" 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
Event Timeline
Log In to Comment