[ Index ]

PHP Cross Reference of Unnamed Project

title

Body

[close]

/styles/subsilver2/template/ -> login_body.html (source)

   1  <!-- INCLUDE overall_header.html -->
   2  
   3  <form action="{S_LOGIN_ACTION}" method="post">
   4  
   5  <table class="tablebg" width="100%" cellspacing="1">
   6  <tr>
   7      <!-- IF not S_ADMIN_AUTH -->
   8          <th colspan="2">{L_LOGIN}</th>
   9      <!-- ELSE -->
  10          <th>{LOGIN_EXPLAIN}</th>
  11      <!-- ENDIF -->
  12  </tr>
  13  <!-- IF LOGIN_EXPLAIN && not S_ADMIN_AUTH -->
  14      <tr>
  15          <td class="row3" colspan="2" align="center"><span class="gensmall">{LOGIN_EXPLAIN}</span></td>
  16      </tr>
  17  <!-- ENDIF -->
  18  <tr><!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->
  19      <td class="row1" width="50%">
  20          <p class="genmed">{L_LOGIN_INFO}</p>
  21  
  22          <p class="genmed" align="center">
  23              <a href="{U_TERMS_USE}">{L_TERMS_USE}</a> | <a href="{U_PRIVACY}">{L_PRIVACY}</a>
  24          </p>
  25      </td>
  26      <!-- ENDIF -->
  27      <td <!-- IF not S_ADMIN_AUTH -->class="row2"<!-- ELSE -->class="row1"<!-- ENDIF -->>
  28      
  29          <table align="center" cellspacing="1" cellpadding="4" style="width: 100%;">
  30          <!-- IF LOGIN_ERROR -->
  31              <tr>
  32                  <td class="gensmall" colspan="2" align="center"><span class="error">{LOGIN_ERROR}</span></td>
  33              </tr>
  34          <!-- ENDIF -->
  35  
  36          <tr>
  37              <td valign="top" <!-- IF S_ADMIN_AUTH -->style="width: 50%; text-align: {S_CONTENT_FLOW_END};"<!-- ENDIF -->><b class="gensmall">{L_USERNAME}:</b></td>
  38              <td><input class="post" type="text" name="{USERNAME_CREDENTIAL}" size="25" value="{USERNAME}" tabindex="1" />
  39                  <!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->
  40                      <br /><a class="gensmall" href="{U_REGISTER}">{L_REGISTER}</a>
  41                  <!-- ENDIF -->
  42              </td>
  43          </tr>
  44          <tr>
  45              <td valign="top" <!-- IF S_ADMIN_AUTH -->style="width: 50%; text-align: {S_CONTENT_FLOW_END};"<!-- ENDIF -->><b class="gensmall">{L_PASSWORD}:</b></td>
  46              <td>
  47                  <input class="post" type="password" name="{PASSWORD_CREDENTIAL}" size="25" tabindex="2" />
  48                  <!-- IF U_SEND_PASSWORD --><br /><a class="gensmall" href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a><!-- ENDIF -->
  49                  <!-- IF U_RESEND_ACTIVATION and not S_ADMIN_AUTH --><br /><a class="gensmall" href="{U_RESEND_ACTIVATION}">{L_RESEND_ACTIVATION}</a><!-- ENDIF -->
  50              </td>
  51          </tr>
  52          <!-- IF S_DISPLAY_FULL_LOGIN -->
  53              <!-- IF S_AUTOLOGIN_ENABLED -->
  54              <tr>
  55                  <td>&nbsp;</td>
  56                  <td><input type="checkbox" class="radio" name="autologin" tabindex="3" /> <span class="gensmall">{L_LOG_ME_IN}</span></td>
  57              </tr>
  58              <!-- ENDIF -->
  59              <tr>
  60                  <td>&nbsp;</td>
  61                  <td><input type="checkbox" class="radio" name="viewonline" tabindex="4" /> <span class="gensmall">{L_HIDE_ME}</span></td>
  62              </tr>
  63          <!-- ENDIF -->
  64          </table>
  65      </td>
  66  </tr>
  67  
  68  <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
  69  </table>
  70  <table class="tablebg" width="100%" cellspacing="1">
  71      <!-- DEFINE $CAPTCHA_TAB_INDEX = 4 -->
  72      <!-- INCLUDE {CAPTCHA_TEMPLATE} -->
  73  <!-- ENDIF -->
  74  
  75  {S_LOGIN_REDIRECT}
  76  <tr>
  77      <td class="cat" <!-- IF not S_ADMIN_AUTH or S_CONFIRM_CODE -->colspan="2"<!-- ENDIF --> align="center">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="btnmain" value="{L_LOGIN}" tabindex="5" /></td>
  78  </tr>
  79  </table>
  80  {S_FORM_TOKEN}
  81  </form>
  82  
  83  <br clear="all" />
  84  
  85  <!-- INCLUDE breadcrumbs.html -->
  86  
  87  <br clear="all" />
  88  
  89  <div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div>
  90  
  91  <script type="text/javascript">
  92  // <![CDATA[
  93      (function()
  94      {
  95          var elements = document.getElementsByName("<!-- IF S_ADMIN_AUTH -->{PASSWORD_CREDENTIAL}<!-- ELSE -->{USERNAME_CREDENTIAL}<!-- ENDIF -->");
  96          for (var i = 0; i < elements.length; ++i)
  97          {
  98              if (elements[i].tagName.toLowerCase() == 'input')
  99              {
 100                  elements[i].focus();
 101                  break;
 102              }
 103          }
 104      })();
 105  // ]]>
 106  </script>
 107  
 108  <!-- INCLUDE overall_footer.html -->


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