styles/cubometry-style/template/ucp_main_subscribed.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_subscribed.html	Thu Mar 08 01:28:49 2012 +0400
     1.3 @@ -0,0 +1,92 @@
     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 +<div class="panel">
    1.10 +	<div class="inner"><span class="corners-top"><span></span></span>
    1.11 +
    1.12 +	<p>{L_WATCHED_EXPLAIN}</p>
    1.13 +
    1.14 +<!-- IF .forumrow -->
    1.15 +	<ul class="topiclist">
    1.16 +		<li class="header">
    1.17 +			<dl class="icon">
    1.18 +				<dt>{L_WATCHED_FORUMS}</dt>
    1.19 +				<dd class="lastpost">{L_LAST_POST}</dd>
    1.20 +				<dd class="mark">{L_MARK}</dd>
    1.21 +			</dl>
    1.22 +		</li>
    1.23 +	</ul>
    1.24 +	<ul class="topiclist cplist">
    1.25 +
    1.26 +	<!-- BEGIN forumrow -->
    1.27 +		<li class="row<!-- IF forumrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
    1.28 +			<dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
    1.29 +				<dt><a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />{forumrow.FORUM_DESC}</dt>
    1.30 +				<dd class="lastpost"><!-- IF forumrow.LAST_POST_TIME --><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {forumrow.LAST_POST_AUTHOR_FULL}
    1.31 +					<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{forumrow.LAST_POST_TIME}</span>
    1.32 +					<!-- ELSE -->{L_NO_POSTS}<br />&nbsp;<!-- ENDIF -->
    1.33 +				</dd>
    1.34 +				<dd class="mark"><input type="checkbox" name="f[{forumrow.FORUM_ID}]" id="f{forumrow.FORUM_ID}" /></dd>
    1.35 +			</dl>
    1.36 +		</li>
    1.37 +	<!-- END forumrow -->
    1.38 +	</ul>
    1.39 +<!-- ELSEIF S_FORUM_NOTIFY -->
    1.40 +	<p><strong>{L_NO_WATCHED_FORUMS}</strong></p>
    1.41 +<!-- ENDIF -->
    1.42 +
    1.43 +<!-- IF .topicrow -->
    1.44 +	<ul class="topiclist">
    1.45 +		<li class="header">
    1.46 +			<dl class="icon">
    1.47 +				<dt>{L_WATCHED_TOPICS}</dt>
    1.48 +				<dd class="lastpost">{L_LAST_POST}</dd>
    1.49 +				<dd class="mark">{L_MARK}</dd>
    1.50 +			</dl>
    1.51 +		</li>
    1.52 +	</ul>
    1.53 +	<ul class="topiclist cplist">
    1.54 +
    1.55 +	<!-- BEGIN topicrow -->
    1.56 +		<li class="row<!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ELSEIF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
    1.57 +			<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
    1.58 +				<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.59 +					<!-- 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.60 +					<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
    1.61 +					<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF --><br />
    1.62 +					<!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
    1.63 +					<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} &raquo; {topicrow.FIRST_POST_TIME}
    1.64 +				</dt>
    1.65 +				<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}
    1.66 +					<a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> <br />{topicrow.LAST_POST_TIME}</span>
    1.67 +				</dd>
    1.68 +				<dd class="mark"><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /></dd>
    1.69 +			</dl>
    1.70 +		</li>
    1.71 +	<!-- END topicrow -->
    1.72 +	</ul>
    1.73 +	<ul class="linklist">
    1.74 +		<li class="rightside pagination">
    1.75 +			<!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS} <!-- ENDIF -->
    1.76 +			<!-- 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.77 +		</li>
    1.78 +	</ul>
    1.79 +<!-- ELSEIF S_TOPIC_NOTIFY -->
    1.80 +	<p><strong>{L_NO_WATCHED_TOPICS}</strong></p>
    1.81 +<!-- ENDIF -->
    1.82 +
    1.83 +	<span class="corners-bottom"><span></span></span></div>
    1.84 +</div>
    1.85 +
    1.86 +<!-- IF .topicrow or .forumrow -->
    1.87 +	<fieldset class="display-actions">
    1.88 +		<input type="submit" name="unwatch" value="{L_UNWATCH_MARKED}" class="button2" />
    1.89 +		<div><a href="#" onclick="marklist('ucp', 't', true); marklist('ucp', 'f', true); return false;">{L_MARK_ALL}</a> &bull; <a href="#" onclick="marklist('ucp', 't', false); marklist('ucp', 'f', false); return false;">{L_UNMARK_ALL}</a></div>
    1.90 +		{S_FORM_TOKEN}
    1.91 +	</fieldset>
    1.92 +<!-- ENDIF -->
    1.93 +</form>
    1.94 +
    1.95 +<!-- INCLUDE ucp_footer.html -->
    1.96 \ No newline at end of file