styles/cubometry-style/template/ucp_main_bookmarks.html
changeset 10 2829504a06be
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/styles/cubometry-style/template/ucp_main_bookmarks.html	Thu Mar 08 01:28:49 2012 +0400
     1.3 @@ -0,0 +1,75 @@
     1.4 +<!-- INCLUDE ucp_header.html -->
     1.5 +
     1.6 +<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
     1.7 +
     1.8 +<h2>{L_TITLE}</h2>
     1.9 +
    1.10 +<div class="panel">
    1.11 +	<div class="inner"><span class="corners-top"><span></span></span>
    1.12 +
    1.13 +	<p>{L_BOOKMARKS_EXPLAIN}</p>
    1.14 +
    1.15 +<!-- IF S_NO_DISPLAY_BOOKMARKS -->
    1.16 +	<p class="error">{L_BOOKMARKS_DISABLED}</p>
    1.17 +<!-- ELSE -->
    1.18 +
    1.19 +<!-- IF .topicrow -->
    1.20 +	<ul class="topiclist">
    1.21 +		<li class="header">
    1.22 +			<dl class="icon">
    1.23 +				<dt>{L_BOOKMARKS}</dt>
    1.24 +				<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
    1.25 +			</dl>
    1.26 +		</li>
    1.27 +	</ul>
    1.28 +	<ul class="topiclist cplist">
    1.29 +
    1.30 +	<!-- BEGIN topicrow -->
    1.31 +		<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
    1.32 +			<!-- IF topicrow.S_DELETED_TOPIC -->
    1.33 +				<dl><dt><strong>{L_DELETED_TOPIC}</strong></dt>
    1.34 +				<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>
    1.35 +				</dl>
    1.36 +			<!-- ELSE -->
    1.37 +			<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
    1.38 +				<dt<!-- IF topicrow.TOPIC_ICON_IMG --> style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF --> title="{topicrow.TOPIC_FOLDER_IMG_ALT}">
    1.39 +					<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF --><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
    1.40 +					<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
    1.41 +					<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
    1.42 +					<!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
    1.43 +					<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} &raquo; {topicrow.FIRST_POST_TIME}
    1.44 +				</dt>
    1.45 +				<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
    1.46 +					<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span>
    1.47 +				</dd>
    1.48 +				<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>
    1.49 +			</dl>
    1.50 +			<!-- ENDIF -->
    1.51 +		</li>
    1.52 +	<!-- END topicrow -->
    1.53 +	</ul>
    1.54 +	<ul class="linklist">
    1.55 +		<li class="rightside pagination">
    1.56 +			<!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS} <!-- ENDIF -->
    1.57 +			<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> &bull; <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> &bull; <span>{PAGINATION}</span><!-- ELSE --> &bull; {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
    1.58 +		</li>
    1.59 +	</ul>
    1.60 +<!-- ELSE -->
    1.61 +	<p><strong>{L_NO_BOOKMARKS}</strong></p>
    1.62 +<!-- ENDIF -->
    1.63 +
    1.64 +<!-- ENDIF -->
    1.65 +
    1.66 +	<span class="corners-bottom"><span></span></span></div>
    1.67 +</div>
    1.68 +
    1.69 +<!-- IF .topicrow and not S_NO_DISPLAY_BOOKMARKS -->
    1.70 +	<fieldset class="display-actions">
    1.71 +		<input type="submit" name="unbookmark" value="{L_REMOVE_BOOKMARK_MARKED}" class="button2" />
    1.72 +		<div><a href="#" onclick="marklist('ucp', '', true); return false;">{L_MARK_ALL}</a> &bull; <a href="#" onclick="marklist('ucp', '', false); return false;">{L_UNMARK_ALL}</a></div>
    1.73 +		{S_FORM_TOKEN}
    1.74 +	</fieldset>
    1.75 +<!-- ENDIF -->
    1.76 +</form>
    1.77 +
    1.78 +<!-- INCLUDE ucp_footer.html -->
    1.79 \ No newline at end of file