[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

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

   1  <!-- INCLUDE ucp_header.html -->
   2  
   3  {% EVENT ucp_notifications_form_before %}
   4  
   5  <form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
   6  
   7  <h2>{TITLE}</h2>
   8  
   9  {% EVENT ucp_notifications_content_before %}
  10  
  11  <div class="panel">
  12      <div class="inner">
  13  
  14          <p>{TITLE_EXPLAIN}</p>
  15  
  16          <!-- IF MODE == 'notification_options' -->
  17              <table class="table1">
  18                  <thead>
  19                      <tr>
  20                          <th>{L_NOTIFICATION_TYPE}</th>
  21                          <!-- BEGIN notification_methods -->
  22                              <th class="mark">{notification_methods.NAME}</th>
  23                          <!-- END notification_methods -->
  24                      </tr>
  25                  </thead>
  26                  <tbody>
  27                  <!-- BEGIN notification_types -->
  28                      <!-- IF notification_types.GROUP_NAME -->
  29                          <tr class="bg3">
  30                              <td colspan="{NOTIFICATION_TYPES_COLS}">{notification_types.GROUP_NAME}</td>
  31                          </tr>
  32                      <!-- ELSE -->
  33                          <tr class="<!-- IF notification_types.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
  34                              <td>
  35                                  {notification_types.NAME}
  36                                  <!-- IF notification_types.EXPLAIN --><br />&nbsp; &nbsp;{notification_types.EXPLAIN}<!-- ENDIF -->
  37                              </td>
  38                              <!-- BEGIN notification_methods -->
  39                                  <td class="mark"><input type="checkbox" name="{notification_types.TYPE}_{notification_types.notification_methods.METHOD}"<!-- IF notification_types.notification_methods.SUBSCRIBED --> checked="checked"<!-- ENDIF --><!-- IF not notification_types.notification_methods.AVAILABLE --> disabled="disabled"<!-- ENDIF --> /></td>
  40                              <!-- END notification_methods -->
  41                          </tr>
  42                      <!-- ENDIF -->
  43                  <!-- END notification_types -->
  44                  </tbody>
  45              </table>
  46          <!-- ELSE -->
  47              <!-- IF .notification_list -->
  48                  <div class="action-bar bar-top">
  49                      <div class="pagination">
  50                          <!-- IF U_MARK_ALL --><a href="{U_MARK_ALL}" class="mark">{L_NOTIFICATIONS_MARK_ALL_READ}</a> &bull; <!-- ENDIF -->
  51                          {L_NOTIFICATIONS} [<strong>{TOTAL_COUNT}</strong>]
  52                          <!-- IF .pagination -->
  53                              <!-- INCLUDE pagination.html -->
  54                          <!-- ELSE -->
  55                               &bull; {PAGE_NUMBER}
  56                          <!-- ENDIF -->
  57                      </div>
  58                  </div>
  59  
  60              <div class="notification_list">
  61                  <ul class="topiclist two-columns">
  62                      <li class="header">
  63                          <dl>
  64                              <dt><div class="list-inner">{L_NOTIFICATIONS}</div></dt>
  65                              <dd class="mark">{L_MARK_READ}</dd>
  66                          </dl>
  67                      </li>
  68                  </ul>
  69                  <ul class="topiclist cplist two-columns">
  70                      <!-- BEGIN notification_list -->
  71                          <li class="row<!-- IF notification_list.UNREAD --> bg3<!-- ELSE --><!-- IF notification_list.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- ENDIF --><!-- IF notification_list.STYLING --> {notification_list.STYLING}<!-- ENDIF -->">
  72                              <dl>
  73                                  <dt>
  74                                      <div class="list-inner">
  75                                          <!-- IF notification_list.AVATAR -->{notification_list.AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF -->
  76                                          <div class="notifications">
  77                                              <!-- IF notification_list.URL --><a href="<!-- IF notification_list.UNREAD -->{notification_list.U_MARK_READ}<!-- ELSE -->{notification_list.URL}<!-- ENDIF -->"><!-- ENDIF -->
  78                                              <p class="notifications_title">{notification_list.FORMATTED_TITLE}<!-- IF notification_list.REFERENCE --> {notification_list.REFERENCE}<!-- ENDIF --></p>
  79                                              <!-- IF notification_list.URL --></a><!-- ENDIF -->
  80                                              <!-- IF notification_list.FORUM --><p class="notifications_forum">{notification_list.FORUM}</p><!-- ENDIF -->
  81                                              <!-- IF notification_list.REASON --><p class="notifications_reason">{notification_list.REASON}</p><!-- ENDIF -->
  82                                              <p class="notifications_time">{notification_list.TIME}</p>
  83                                          </div>
  84                                      </div>
  85                                  </dt>
  86  
  87                                  <dd class="mark">&nbsp;<input type="checkbox" name="mark[]" value="{notification_list.NOTIFICATION_ID}"<!-- IF not notification_list.UNREAD --> disabled="disabled"<!-- ENDIF --> /> <dfn>{L_MARK_READ}</dfn>&nbsp;</dd>
  88                              </dl>
  89                          </li>
  90                      <!-- END notification_list -->
  91                  </ul>
  92              </div>
  93  
  94              <div class="action-bar bar-bottom">
  95                  <div class="pagination">
  96                      {L_NOTIFICATIONS} [<strong>{TOTAL_COUNT}</strong>]
  97                      <!-- IF .pagination -->
  98                          <!-- INCLUDE pagination.html -->
  99                      <!-- ELSE -->
 100                            &bull; {PAGE_NUMBER}
 101                      <!-- ENDIF -->
 102                  </div>
 103              </div>
 104  
 105              <!-- ELSE -->
 106                  <p><strong>{L_NO_NOTIFICATIONS}</strong></p>
 107              <!-- ENDIF -->
 108  
 109          <!-- ENDIF -->
 110      </div>
 111  </div>
 112  
 113  {% EVENT ucp_notifications_content_after %}
 114  
 115  <!-- IF .notification_types or .notification_list -->
 116  <fieldset class="display-actions">
 117      <input type="hidden" name="form_time" value="{FORM_TIME}" />
 118      {S_HIDDEN_FIELDS}
 119      <input type="submit" name="submit" value="<!-- IF MODE == 'notification_options' -->{L_SUBMIT}<!-- ELSE -->{L_MARK_READ}<!-- ENDIF -->" class="button1" />
 120      <div><a href="#" onclick="$('#ucp input:checkbox').prop('checked', true); return false;">{L_MARK_ALL}</a> &bull; <a href="#" onclick="$('#ucp input:checkbox').prop('checked', false); return false;">{L_UNMARK_ALL}</a></div>
 121      {S_FORM_TOKEN}
 122  </fieldset>
 123  <!-- ENDIF -->
 124  
 125  </form>
 126  
 127  {% EVENT ucp_notifications_form_after %}
 128  
 129  <!-- INCLUDE ucp_footer.html -->


Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1