Рей Донован
Проверенные
- Сообщения
- 239
- Реакции
- 17
- Баллы
- 19,520
Исходный код файла, как поменять, что бы список складчин в которых участвую начинались не от старых к новым.
А от последних в которых участвуешь к старым шел список.
А от последних в которых участвуешь к старым шел список.
Код:
<xen:if is="{$content_type} == 'requests'">
<xen:title>{xen:phrase estcs_organization_requests}</xen:title>
<xen:h1>{xen:phrase estcs_organization_requests}</xen:h1>
<xen:description>{xen:phrase estcs_organization_requests_description}</xen:description>
<xen:elseif is="{$content_type} == 'organized'" />
<xen:title>{xen:phrase estcs_organized_shoppings}</xen:title>
<xen:h1>{xen:phrase estcs_organized_shoppings}</xen:h1>
<xen:description>{xen:phrase estcs_organized_shoppings_description}</xen:description>
<xen:else />
<xen:title>{xen:phrase estcs_joined_shoppings}</xen:title>
<xen:h1>{xen:phrase estcs_joined_shoppings}</xen:h1>
<xen:description>{xen:phrase estcs_joined_shoppings_description}</xen:description>
</xen:if>
<xen:require css="discussion_list.css" />
<div class="discussionList sectionMain">
<dl class="sectionHeaders">
<dt class="posterAvatar"></dt>
<dd class="main">
<a class="title"><span>{xen:phrase title}</span></a>
<a class="postDate"><span></span></a>
</dd>
<dd class="stats">
<a class="major"><span>{xen:phrase replies}</span></a>
<a class="minor"><span>{xen:phrase views}</span></a>
</dd>
<dd class="lastPost"><a><span>{xen:phrase last_message}</span></a></dd>
</dl>
<xen:if is="{$threads}">
<ol class="discussionListItems">
<xen:foreach loop="$threads" value="$thread">
<xen:include template="thread_list_item">
<xen:set var="$showSubscribeOptions">1</xen:set>
<xen:set var="$showForumLink">1</xen:set>
<xen:set var="$showLastPageNumbers">1</xen:set>
</xen:include>
</xen:foreach>
</ol>
<xen:else />
<div class="primaryContent">
<xen:if is="{$page} > 1">
{xen:phrase there_no_threads_to_display}
<xen:else />
{xen:phrase estcs_you_do_not_have_any_joined_shoppings}
</xen:if>
</div>
</xen:if>
</div>
<div class="pageNavLinkGroup">
<div class="linkGroup"></div>
<xen:if is="{$content_type} == 'organized'">
<xen:pagenav link="shopping/list-organized" page="{$page}" perpage="{$threads_per_page}" total="{$total_threads}" />
<xen:else />
<xen:pagenav link="shopping/list-joined" page="{$page}" perpage="{$threads_per_page}" total="{$total_threads}" />
</xen:if>
</div>
<xen:include template="preview_tooltip" />