[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/styles/prosilver/template/ -> mcp_topic.html (source)

   1  <!-- INCLUDE mcp_header.html -->
   2  
   3  <div class="tabs-container">
   4  <h2><a href="{U_VIEW_TOPIC}">{L_TOPIC}: {TOPIC_TITLE}</a></h2>
   5  
   6  <script type="text/javascript">
   7  // <![CDATA[
   8  var panels = new Array('display-panel', 'split-panel', 'merge-panel');
   9  
  10  <!-- IF S_MERGE_VIEW -->
  11      var show_panel = 'merge-panel';
  12  <!-- ELSEIF S_SPLIT_VIEW -->
  13      var show_panel = 'split-panel';
  14  <!-- ELSE -->
  15      var show_panel = 'display-panel';
  16  <!-- ENDIF -->
  17  
  18  onload_functions.push('subPanels()');
  19  
  20  // ]]>
  21  </script>
  22  
  23  <div id="minitabs">
  24      <ul>
  25          <li id="display-panel-tab"<!-- IF not S_MERGE_VIEW --> class="activetab"<!-- ENDIF -->>
  26              <span class="corners-top"><span></span></span>
  27              <a href="#minitabs" onclick="subPanels('display-panel'); return false;"><span>{L_DISPLAY_OPTIONS}</span></a>
  28          </li>
  29          <li id="split-panel-tab">
  30              <span class="corners-top"><span></span></span>
  31              <a href="#minitabs" onclick="subPanels('split-panel'); return false;"><span>{L_SPLIT_TOPIC}</span></a>
  32          </li>
  33          <li id="merge-panel-tab"<!-- IF S_MERGE_VIEW --> class="activetab"<!-- ENDIF -->>
  34              <span class="corners-top"><span></span></span>
  35              <a href="#minitabs" onclick="subPanels('merge-panel'); return false;"><span>{L_MERGE_POSTS}</span></a>
  36          </li>
  37      </ul>
  38  </div>
  39  </div>
  40  
  41  <form id="mcp" method="post" action="{S_MCP_ACTION}">
  42  
  43  <div class="panel">
  44      <div class="inner"><span class="corners-top"><span></span></span>
  45  
  46      <fieldset id="display-panel" class="fields2">
  47      <dl>
  48          <dt><label for="posts_per_page">{L_POSTS_PER_PAGE}:</label><br /><span>{L_POSTS_PER_PAGE_EXPLAIN}</span></dt>
  49          <dd><input class="inputbox autowidth" type="text" name="posts_per_page" id="posts_per_page" size="6" value="{POSTS_PER_PAGE}" /></dd>
  50      </dl>
  51      <dl>
  52          <dt><label>{L_DISPLAY_POSTS}:</label></dt>
  53          <dd>{S_SELECT_SORT_DAYS}&nbsp;&nbsp;<label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label><label>{S_SELECT_SORT_DIR}</label> <input type="submit" name="sort" value="{L_GO}" class="button2" /></dd>
  54      </dl>
  55      </fieldset>
  56  
  57  <!-- IF S_CAN_SPLIT -->
  58      <fieldset id="split-panel" class="fields2">
  59          <p>{L_SPLIT_TOPIC_EXPLAIN}</p>
  60  
  61      <!-- IF S_SHOW_TOPIC_ICONS -->
  62          <dl>
  63              <dt><label for="icon">{L_TOPIC_ICON}:</label></dt>
  64              <dd><label for="icon"><input type="radio" name="icon" id="icon" value="0" checked="checked" /> {L_NO_TOPIC_ICON}</label>
  65              <!-- BEGIN topic_icon --><label for="icon-{topic_icon.ICON_ID}"><input type="radio" name="icon" id="icon-{topic_icon.ICON_ID}" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" /></label> <!-- END topic_icon --></dd>
  66          </dl>
  67      <!-- ENDIF -->
  68  
  69      <dl>
  70          <dt><label for="subject">{L_SPLIT_SUBJECT}:</label></dt>
  71          <dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SPLIT_SUBJECT}" title="{L_SPLIT_SUBJECT}" class="inputbox" /></dd>
  72      </dl>
  73      <dl>
  74          <dt><label>{L_SPLIT_FORUM}:</label></dt>
  75          <dd><select name="to_forum_id">{S_FORUM_SELECT}</select></dd>
  76      </dl>
  77      </fieldset>
  78  <!-- ENDIF -->
  79  
  80  <!-- IF S_CAN_MERGE -->
  81      <fieldset id="merge-panel" class="fields2">
  82          <p>{L_MERGE_TOPIC_EXPLAIN}</p>
  83      <dl>
  84          <dt><label for="to_topic_id">{L_MERGE_TOPIC_ID}:</label></dt>
  85          <dd>
  86              <input class="inputbox autowidth" type="text" size="6" name="to_topic_id" id="to_topic_id" value="{TO_TOPIC_ID}" />
  87              <a href="{U_SELECT_TOPIC}" >{L_SELECT_TOPIC}</a>
  88          </dd>
  89          <!-- IF TO_TOPIC_INFO --><dd>{TO_TOPIC_INFO}</dd><!-- ENDIF -->
  90      </dl>
  91      </fieldset>
  92  <!-- ENDIF -->
  93  
  94      <span class="corners-bottom"><span></span></span></div>
  95  </div>
  96  
  97  <div class="panel">
  98      <div class="inner"><span class="corners-top"><span></span></span>
  99  
 100      <h3 id="review">
 101          <span class="right-box"><a href="#review" onclick="viewableArea(getElementById('topicreview'), true); var rev_text = getElementById('review').getElementsByTagName('a').item(0).firstChild; if (rev_text.data == '{LA_EXPAND_VIEW}'){rev_text.data = '{LA_COLLAPSE_VIEW}'; } else if (rev_text.data == '{LA_COLLAPSE_VIEW}'){rev_text.data = '{LA_EXPAND_VIEW}'};">{L_EXPAND_VIEW}</a></span>
 102          {L_TOPIC_REVIEW}: {TOPIC_TITLE}
 103      </h3>
 104  
 105      <div id="topicreview">
 106          <!-- BEGIN postrow -->
 107          <div class="post <!-- IF postrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
 108              <div class="inner"><span class="corners-top"><span></span></span>
 109  
 110              <div class="postbody" id="pr{postrow.POST_ID}">
 111                  <ul class="profile-icons"><li class="info-icon"><a href="{postrow.U_POST_DETAILS}" title="{L_POST_DETAILS}"><span>{L_POST_DETAILS}</span></a></li><li><label for="post_id_list_select_{postrow.POST_ID}">{L_SELECT}: <input type="checkbox" id="post_id_list_select_{postrow.POST_ID}" name="post_id_list[]" value="{postrow.POST_ID}"<!-- IF postrow.S_CHECKED --> checked="checked"<!-- ENDIF --> /></label></li></ul>
 112  
 113                  <h3><a href="{postrow.U_POST_DETAILS}">{postrow.POST_SUBJECT}</a></h3>
 114                  <p class="author"><a href="#pr{postrow.POST_ID}">{postrow.MINI_POST_IMG}</a> {L_POSTED} {postrow.POST_DATE} {L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong><!-- IF postrow.U_MCP_DETAILS --> [ <a href="{postrow.U_MCP_DETAILS}">{L_POST_DETAILS}</a> ]<!-- ENDIF --></p>
 115  
 116                  <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
 117                  <p class="rules">
 118                      <!-- IF postrow.S_POST_UNAPPROVED -->{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><br /><!-- ENDIF -->
 119                      <!-- IF postrow.S_POST_REPORTED -->{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF -->
 120                  </p>
 121                  <!-- ENDIF -->
 122  
 123                  <div class="content" id="message_{postrow.POST_ID}">{postrow.MESSAGE}</div>
 124  
 125                  <!-- IF postrow.S_HAS_ATTACHMENTS -->
 126                      <dl class="attachbox">
 127                          <dt>{L_ATTACHMENTS}</dt>
 128                          <!-- BEGIN attachment -->
 129                              <dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
 130                          <!-- END attachment -->
 131                      </dl>
 132                  <!-- ENDIF -->
 133  
 134              </div>
 135  
 136              <span class="corners-bottom"><span></span></span></div>
 137          </div>
 138          <!-- END postrow -->
 139      </div>
 140  
 141      <hr />
 142  
 143      <!-- IF PAGINATION or TOTAL_POSTS -->
 144      <ul class="linklist">
 145          <li class="rightside pagination">
 146              <!-- IF TOTAL_POSTS --> {TOTAL_POSTS}<!-- ENDIF -->
 147              <!-- 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 -->
 148          </li>
 149      </ul>
 150      <!-- ENDIF -->
 151  
 152      <span class="corners-bottom"><span></span></span></div>
 153  </div>
 154  
 155  <fieldset class="display-actions">
 156      <select name="action">
 157          <option value="" selected="selected">{L_SELECT_ACTION}</option>
 158          <!-- IF S_CAN_APPROVE --><option value="approve">{L_APPROVE_POSTS}</option><!-- ENDIF -->
 159          <!-- IF S_CAN_LOCK --><option value="lock_post">{L_LOCK_POST_POSTS} [ {L_LOCK_POST_EXPLAIN} ]</option><option value="unlock_post">{L_UNLOCK_POST_POSTS}</option><!-- ENDIF -->
 160          <!-- IF S_CAN_DELETE --><option value="delete_post">{L_DELETE_POSTS}</option><!-- ENDIF -->
 161          <!-- IF S_CAN_MERGE --><option value="merge_posts"<!-- IF S_MERGE_VIEW --> selected="selected"<!-- ENDIF -->>{L_MERGE_POSTS}</option><!-- ENDIF -->
 162          <!-- IF S_CAN_SPLIT --><option value="split_all"<!-- IF S_SPLIT_VIEW --> selected="selected"<!-- ENDIF -->>{L_SPLIT_POSTS}</option><option value="split_beyond">{L_SPLIT_AFTER}</option><!-- ENDIF -->
 163          <!-- IF S_CAN_SYNC --><option value="resync">{L_RESYNC}</option><!-- ENDIF -->
 164      </select>&nbsp;
 165      <input class="button1" type="submit" name="mcp_topic_submit" value="{L_SUBMIT}" />
 166      <div><a href="#" onclick="marklist('mcp', 'post', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'post', false); return false;">{L_UNMARK_ALL}</a></div>
 167  {S_HIDDEN_FIELDS}
 168  {S_FORM_TOKEN}
 169  </fieldset>
 170  
 171  </form>
 172  
 173  <!-- INCLUDE mcp_footer.html -->


Generated: Wed Oct 2 15:03:47 2013 Cross-referenced by PHPXref 0.7.1