-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# this commit gets flat list page done
- Loading branch information
brian
committed
Apr 8, 2006
1 parent
1b02227
commit 1427e2f
Showing
20 changed files
with
249 additions
and
72 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,51 +1,73 @@ | ||
{! | ||
comment | ||
} | ||
|
||
<div class="PhorumNavBlock" style="text-align: left;"> | ||
<span class="PhorumNavHeading PhorumHeadingLeft">{LANG->Goto}:</span> {IF URL->INDEX}<a class="PhorumNavLink" href="{URL->INDEX}">{LANG->ForumList}</a>•{/IF}<a class="PhorumNavLink" href="{URL->POST}">{LANG->NewTopic}</a>•<a class="PhorumNavLink" href="{URL->SEARCH}">{LANG->Search}</a>•{INCLUDE loginout_menu} | ||
<div id="list-nav"> | ||
<a style="background-image: url('{URL->BASE_URL}/templates/{TEMPLATE}/images/folder.png');" href="{URL->INDEX}">{LANG->ForumList}</a> | ||
<a style="background-image: url('{URL->BASE_URL}/templates/{TEMPLATE}/images/comment_add.png');" href="{URL->POST}">{LANG->NewTopic}</a> | ||
{IF USER->user_id} | ||
<a style="background-image: url('{URL->BASE_URL}/templates/{TEMPLATE}/images/tag_green.png');" href="{URL->MARK_READ}">{LANG->MarkForumRead}</a> | ||
{/IF} | ||
{IF URL->RSS} | ||
<a style="background-image: url('{URL->BASE_URL}/templates/{TEMPLATE}/images/feed.png');" href="{URL->RSS}">{LANG->RSS}</a> | ||
{/IF} | ||
</div> | ||
{INCLUDE paging} | ||
<table border="0" cellspacing="0" class="PhorumStdTable"> | ||
<tr> | ||
<th class="PhorumTableHeader" align="left">{LANG->Subject}</th> | ||
{IF VIEWCOUNT_COLUMN} | ||
<th class="PhorumTableHeader" align="center" width="40">{LANG->Views}</th> | ||
<table border="0" cellspacing="0" id="messages"> | ||
<tr> | ||
<th class="messages-subject">{LANG->Subject}</th> | ||
{IF VIEWCOUNT_COLUMN} | ||
<th class="messages-views">{LANG->Views}</th> | ||
{/IF} | ||
<th class="messages-posts" nowrap="nowrap">{LANG->Posts}</th> | ||
<th class="messages-started-by" nowrap="nowrap">{LANG->StartedBy}</th> | ||
<th class="messages-last-post" nowrap="nowrap">{LANG->LastPost}</th> | ||
{IF MODERATOR true} | ||
<th class="messages-moderate" nowrap="nowrap">{LANG->Moderate}</th> | ||
{/IF} | ||
</tr> | ||
|
||
{LOOP MESSAGES} | ||
{IF altclass ""} | ||
{var altclass "message-alt"} | ||
{ELSE} | ||
{var altclass ""} | ||
{/IF} | ||
|
||
{IF MESSAGES->sort PHORUM_SORT_ANNOUNCEMENT} | ||
{var icon "information"} | ||
{ELSEIF MESSAGES->sort PHORUM_SORT_STICKY} | ||
{var icon "bell"} | ||
{ELSEIF MESSAGES->moved PHORUM_SORT_STICKY} | ||
{var icon "page_go"} | ||
{ELSEIF MESSAGES->new} | ||
{var icon "flag_red"} | ||
{ELSE} | ||
{var icon "comment"} | ||
{/IF} | ||
<th class="PhorumTableHeader" align="center" nowrap="nowrap" width="80">{LANG->Posts} </th> | ||
<th class="PhorumTableHeader" align="left" nowrap="nowrap" width="150">{LANG->StartedBy} </th> | ||
<th class="PhorumTableHeader" align="left" nowrap="nowrap" width="150">{LANG->LastPost} </th> | ||
</tr> | ||
<?php $rclass="Alt"; ?> | ||
{LOOP ROWS} | ||
<?php if($rclass=="Alt") $rclass=""; else $rclass="Alt"; ?> | ||
|
||
{IF MESSAGES->new} | ||
{var newclass "message-new"} | ||
{ELSE} | ||
{var newclass ""} | ||
{/IF} | ||
|
||
<tr> | ||
<td class="PhorumTableRow<?php echo $rclass;?>"> | ||
{marker} | ||
{IF ROWS->sort PHORUM_SORT_STICKY}<span class="PhorumListSubjPrefix">{LANG->Sticky}:</span>{/IF} | ||
{IF ROWS->sort PHORUM_SORT_ANNOUNCEMENT}<span class="PhorumListSubjPrefix">{LANG->Announcement}:</span>{/IF} | ||
{IF ROWS->moved}<span class="PhorumListSubjPrefix">{LANG->MovedSubject}:</span>{/IF} | ||
<a href="{ROWS->url}">{ROWS->subject}</a> | ||
{IF ROWS->new} <span class="PhorumNewFlag">{ROWS->new}</span>{/IF} | ||
{IF ROWS->pages}<span class="PhorumListPageLink"> {LANG->Pages}: {ROWS->pages}</span>{/IF} | ||
{IF MODERATOR true}<br /><span class="PhorumListModLink"><a href="javascript:if(window.confirm('{LANG->ConfirmDeleteThread}')) window.location='{ROWS->delete_url2}';">{LANG->DeleteThread}</a>{IF ROWS->move_url} • <a href="{ROWS->move_url}">{LANG->MoveThread}</a>{/IF} • <a href="{ROWS->merge_url}">{LANG->MergeThread}</a></span>{/IF} | ||
<td class="message-subject {altclass}" style="background-image: url('{URL->BASE_URL}/templates/{TEMPLATE}/images/{icon}.png');"> | ||
<a href="{MESSAGES->url}" class="{newclass}">{MESSAGES->subject}</a> | ||
{IF MESSAGES->pages} <small> [{LANG->Pages}: {MESSAGES->pages}]</small>{/IF} | ||
</td> | ||
{IF VIEWCOUNT_COLUMN} | ||
<td class="PhorumTableRow<?php echo $rclass;?>" align="center">{ROWS->viewcount} </td> | ||
<td class="message-view-count {altclass}" nowrap="nowrap">{MESSAGES->viewcount}</td> | ||
{/IF} | ||
<td class="PhorumTableRow<?php echo $rclass;?>" align="center" nowrap="nowrap">{ROWS->thread_count} </td> | ||
<td class="PhorumTableRow<?php echo $rclass;?>" nowrap="nowrap">{ROWS->linked_author} </td> | ||
<td class="PhorumTableRow<?php echo $rclass;?> PhorumSmallFont" nowrap="nowrap"> | ||
{ROWS->lastpost} <br /> | ||
<span class="PhorumListSubText"> | ||
<a href="{ROWS->last_post_url}">{LANG->LastPostLink}</a> {LANG->by} {ROWS->last_post_by} | ||
</span> | ||
<td class="message-thread-count {altclass}" nowrap="nowrap">{MESSAGES->thread_count}</td> | ||
<td class="message-author {altclass}" nowrap="nowrap">{MESSAGES->linked_author}</td> | ||
<td class="message-last-post {altclass}" nowrap="nowrap">{MESSAGES->lastpost}<br /><a href="{MESSAGES->last_post_url}">{LANG->LastPostLink}</a> {LANG->by} {MESSAGES->last_post_by}</td> | ||
{IF MODERATOR true} | ||
<td class="message-actions {altclass}" nowrap="nowrap"> | ||
<a title="{LANG->DeleteThread}" href="javascript:if(window.confirm('{LANG->ConfirmDeleteThread}')) window.location='{MESSAGES->delete_url2}';"><img src="{URL->BASE_URL}/templates/{TEMPLATE}/images/delete.png" width="16" height="16" alt="{LANG->DeleteThread}" border="0" /></a> | ||
<a title="{LANG->MoveThread}" href="{MESSAGES->move_url}"><img src="{URL->BASE_URL}/templates/{TEMPLATE}/images/page_go.png" width="16" height="16" alt="{LANG->MoveThread}" border="0" /></a> | ||
<a title="{LANG->MergeThread}" href="{MESSAGES->merge_url}"><img src="{URL->BASE_URL}/templates/{TEMPLATE}/images/arrow_join.png" width="16" height="16" alt="{LANG->MergeThread}" border="0" /></a> | ||
</td> | ||
{/IF} | ||
|
||
</tr> | ||
{/LOOP ROWS} | ||
{/LOOP MESSAGES} | ||
</table> | ||
{INCLUDE paging} | ||
<div class="PhorumNavBlock" style="text-align: left;"> | ||
<span class="PhorumNavHeading PhorumHeadingLeft">{LANG->Options}:</span> | ||
{IF LOGGEDIN true} <a class="PhorumNavLink" href="{URL->MARKREAD}">{LANG->MarkRead}</a>{/IF} | ||
</div> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
<div class="PhorumNavBlock" style="text-align: left;"> | ||
{IF NOT TOTALPAGES 1} | ||
<div style="float: right;"> | ||
<span class="PhorumNavHeading">{LANG->Pages}:</span> {IF URL->PREVPAGE}<a class="PhorumNavLink" href="{URL->PREVPAGE}">{LANG->PrevPage}</a>{/IF}{IF URL->FIRSTPAGE}<a class="PhorumNavLink" href="{URL->FIRSTPAGE}">{LANG->FirstPage}...</a>{/IF}{LOOP PAGES}{IF PAGES->pageno CURRENTPAGE}<span class="PhorumNavLink"><strong>{PAGES->pageno}</strong></span>{ELSE}<a class="PhorumNavLink" href="{PAGES->url}">{PAGES->pageno}</a>{/IF}{/LOOP PAGES}{IF URL->LASTPAGE}<a class="PhorumNavLink" href="{URL->LASTPAGE}">...{LANG->LastPage}</a>{/IF}{IF URL->NEXTPAGE}<a class="PhorumNavLink" href="{URL->NEXTPAGE}">{LANG->NextPage}</a>{/IF} | ||
</div> | ||
{/IF} | ||
<span class="PhorumNavHeading PhorumHeadingLeft">{LANG->CurrentPage}: </span>{CURRENTPAGE} {LANG->of} {TOTALPAGES} | ||
{IF TOTALPAGES} | ||
<div class="paging"> | ||
{LANG->Page} {CURRENTPAGE} {LANG->of} {TOTALPAGES} <strong>{LANG->Pages}:</strong> {IF URL->FIRSTPAGE}<a href="{URL->FIRSTPAGE}" title="{LANG->FirstPage}"><img src="{URL->BASE_URL}/templates/{TEMPLATE}/images/control_first.png" width="16" height="16" border="0" alt="{LANG->FirstPage}" /></a>{/IF}{IF URL->PREVPAGE}<a href="{URL->PREVPAGE}" title="{LANG->PrevPage}"><img src="{URL->BASE_URL}/templates/{TEMPLATE}/images/control_prev.png" width="16" height="16" border="0" alt="{LANG->PrevPage}" /></a>{/IF}{LOOP PAGES}{IF PAGES->pageno CURRENTPAGE}<strong class="current-page">{PAGES->pageno}</strong>{ELSE}<a href="{PAGES->url}">{PAGES->pageno}</a>{/IF}{/LOOP PAGES}{IF URL->NEXTPAGE}<a href="{URL->NEXTPAGE}" title="{LANG->NextPage}"><img src="{URL->BASE_URL}/templates/{TEMPLATE}/images/control_next.png" width="16" height="16" border="0" alt="{LANG->NextPage}" /></a>{/IF}{IF URL->LASTPAGE}<a href="{URL->LASTPAGE}" title="{LANG->LastPage}"><img src="{URL->BASE_URL}/templates/{TEMPLATE}/images/control_last.png" width="16" height="16" border="0" alt="{LANG->LastPage}" /></a>{/IF} | ||
</div> | ||
{/IF} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.