[ Index ]
 

Code source de e107 0.7.8

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/e107_themes/templates/ -> signup_template.php (source)

   1  <?php
   2  /*
   3  + ----------------------------------------------------------------------------+
   4  |     e107 website system
   5  |
   6  |     ©Steve Dunstan 2001-2002
   7  |     http://e107.org
   8  |     jalist@e107.org
   9  |
  10  |     Released under the terms and conditions of the
  11  |     GNU General Public License (http://gnu.org).
  12  |
  13  |     $Source: /cvsroot/e107/e107_0.7/e107_themes/templates/signup_template.php,v $
  14  |     $Revision: 1.10 $
  15  |     $Date: 2006/12/27 22:28:03 $
  16  |     $Author: e107steved $
  17  +----------------------------------------------------------------------------+
  18  */
  19  
  20  if (!defined('e107_INIT')) { exit; }
  21  if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:100%"); }
  22  
  23  
  24  define("REQUIRED_FIELD_MARKER", "<span style='text-align:right;font-size:15px; color:red'> *</span>");
  25  
  26  $sc_style['SIGNUP_DISPLAYNAME']['pre'] = "
  27  <tr>
  28  <td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_7."<span style='font-size:15px; color:red'> *</span><br /><span class='smalltext'>".LAN_8."</span></td>
  29  <td class='forumheader3' style='width:70%'>
  30  ";
  31  $sc_style['SIGNUP_DISPLAYNAME']['post'] = "
  32  </td>
  33  </tr>
  34  ";
  35  
  36  $sc_style['SIGNUP_REALNAME']['pre'] = "
  37  <tr>
  38  <td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_308."".req($pref['signup_option_realname'])."</td>
  39  <td class='forumheader3' style='width:70%' >
  40  ";
  41  $sc_style['SIGNUP_REALNAME']['post'] = "
  42  </td>
  43  </tr>
  44  ";
  45  
  46  
  47  if(!defined($USERCLASS_SUBSCRIBE_START))
  48  {
  49  $USERCLASS_SUBSCRIBE_START = "
  50  <tr>
  51  <td class='forumheader3' style='width:30%;vertical-align:top'>".LAN_USET_5." ".req($pref['signup_option_class'])."
  52  <br /><span class='smalltext'>".LAN_USET_6."</span></td>
  53  <td class='forumheader3' style='width:70%'>
  54  <table style='".USER_WIDTH."'>
  55  ";
  56  }
  57  
  58  if(!defined($USERCLASS_SUBSCRIBE_ROW))
  59  {
  60  $USERCLASS_SUBSCRIBE_ROW = "
  61  <tr>
  62      <td class='defaulttext' style='width:10%;vertical-align:top'>
  63          <input type='checkbox' name='class[]' value='{USERCLASS_ID}'  />
  64      </td>
  65      <td class='defaulttext' style='text-align:left;margin-left:0px;width:90%padding-top:3px;vertical-align:top'>{USERCLASS_NAME}<br />
  66          <span class='smalltext'>{USERCLASS_DESCRIPTION}</span>
  67      </td>
  68  </tr>
  69  ";
  70  }
  71  
  72  if(!defined($USERCLASS_SUBSCRIBE_END))
  73  {
  74  $USERCLASS_SUBSCRIBE_END = "
  75  </table>
  76  </td>
  77  </tr>
  78  ";
  79  }
  80  
  81  
  82  
  83  if(!defined($SIGNUP_PASSWORD_LEN))
  84  {
  85  $SIGNUP_PASSWORD_LEN = "<span class='smalltext'> (".LAN_SIGNUP_1." {$pref['signup_pass_len']} ".LAN_SIGNUP_2.")</span>";
  86  }
  87  
  88  
  89  if(!defined($SIGNUP_EXTENDED_USER_FIELDS))
  90  {
  91      $SIGNUP_EXTENDED_USER_FIELDS    = "
  92  <tr>
  93      <td style='width:40%' class='forumheader3'>
  94          {EXTENDED_USER_FIELD_TEXT}
  95          {EXTENDED_USER_FIELD_REQUIRED}
  96      </td>
  97      <td style='width:60%' class='forumheader3'>
  98          {EXTENDED_USER_FIELD_EDIT}
  99      </td>
 100  </tr>
 101  ";
 102  }
 103  
 104  if(!defined($EXTENDED_USER_FIELD_REQUIRED))
 105  {
 106      $EXTENDED_USER_FIELD_REQUIRED    = "<span style='text-align:right;font-size:15px; color:red'> *</span>";
 107  }
 108  
 109  $SIGNUP_SIGNATURE_START = "
 110  <tr>
 111      <td class='forumheader3' style='width:30%;white-space:nowrap;vertical-align:top' >".LAN_120." ".req($pref['signup_option_signature'])."</td>
 112      <td class='forumheader3' style='width:70%' >
 113      <textarea class='tbox' style='width:99%' name='signature' cols='10' rows='4' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'>";
 114  
 115  $SIGNUP_SIGNATURE_END = "
 116  </textarea><br />
 117      <div style='".USER_WIDTH."'>{REN_HELP}</div>
 118      </td></tr>
 119  ";
 120  
 121  
 122  $sc_style['SIGNUP_IMAGES']['pre'] = "
 123  <tr>
 124  <td class='forumheader3' style='width:30%; vertical-align:top;white-space:nowrap' >".LAN_121.req($pref['signup_option_image'])."<br /><span class='smalltext'>(".LAN_SIGNUP_33.")</span></td>
 125  <td class='forumheader3' style='width:70%;vertical-align:top' >
 126  ";
 127  $sc_style['SIGNUP_IMAGES']['post'] = "
 128  </td>
 129  </tr>
 130  ";
 131  
 132  $sc_style['SIGNUP_TIMEZONE']['pre'] = "
 133  <tr>
 134  <td class='forumheader3' style='width:30%' >".LAN_122.req($pref['signup_option_timezone'])."</td>
 135  <td class='forumheader3' style='width:70%;white-space:nowrap'>
 136  ";
 137  $sc_style['SIGNUP_TIMEZONE']['post'] = "
 138  </td>
 139  </tr>
 140  ";
 141  
 142  
 143  $sc_style['SIGNUP_IMAGECODE']['pre'] = "
 144  <tr>
 145      <td class='forumheader3' style='width:30%'>".LAN_410.req(2)."</td>
 146      <td class='forumheader3' style='width:70%'>
 147  ";
 148  $sc_style['SIGNUP_IMAGECODE']['post'] = "
 149  </td>
 150  </tr>
 151  ";
 152  
 153  
 154  if(!defined($COPPA_TEMPLATE))
 155  {
 156  $COPPA_TEMPLATE = LAN_109." <a href='http://www.cdt.org/legislation/105th/privacy/coppa.html'>".LAN_SIGNUP_14."</a>. ".LAN_SIGNUP_15." <a href='mailto:".SITEADMINEMAIL."'>".LAN_SIGNUP_14."</a> ".LAN_SIGNUP_16."
 157  <br />
 158  <br />
 159  <div style='text-align:center'><b>".LAN_SIGNUP_17."</b>
 160  {SIGNUP_COPPA_FORM}
 161  </div>
 162  ";
 163  }
 164  
 165  if(!defined($COPPA_FAIL))
 166  {
 167  $COPPA_FAIL = "<div style='text-align:center'>".LAN_SIGNUP_9."</div>";
 168  }
 169  
 170  if(!defined($SIGNUP_TEXT))
 171  {
 172  $SIGNUP_TEXT =
 173  LAN_309." <b>".LAN_SIGNUP_29."</b><br /><br />".LAN_SIGNUP_30."<br />
 174  ";
 175  }
 176  
 177  if(!defined($SIGNUP_XUP_FORM))
 178  {
 179  $SIGNUP_XUP_FORM = "
 180      <div id='xup' style='display:none' >
 181  
 182      <div style='padding:10px;text-align:center'>
 183      <input class='button' type ='button' style='cursor:pointer' size='30' value=\"".LAN_SIGNUP_54."\" onclick=\"expandit('default');expandit('xup')\" />
 184      </div>
 185  
 186      <table style='".USER_WIDTH."'>
 187      <tr>
 188      <td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_31."
 189      </td>
 190      <td class='forumheader3' style='width:70%'>
 191      <input class='tbox' type='text' name='xupexist' size='50' value='' maxlength='100' />
 192      </td>
 193      </tr>
 194  
 195      <tr>
 196      <td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_9."<span style='font-size:15px; color:red'> *</span><br /><span class='smalltext'>".LAN_10."</span></td>
 197      <td class='forumheader3' style='width:70%'>
 198      {SIGNUP_XUP_LOGINNAME}
 199      </td>
 200      </tr>
 201  
 202      <tr>
 203      <td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_17."<span style='font-size:15px; color:red'> *</span></td>
 204      <td class='forumheader3' style='width:70%'>
 205      {SIGNUP_XUP_PASSWORD1}
 206      </td>
 207      </tr>
 208  
 209      <tr>
 210      <td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_111."<span style='font-size:15px; color:red'> *</span></td>
 211      <td class='forumheader3' style='width:70%'>
 212      {SIGNUP_XUP_PASSWORD2}
 213      </td>
 214      </tr>
 215  
 216      <tr>
 217      <td class='forumheader3' colspan='2'  style='text-align:center'>
 218      <span class='smalltext'><a href='http://e107.org/generate_xup.php' rel='external'>".LAN_SIGNUP_32."</a></span>
 219      </td>
 220      </tr>
 221  
 222      <tr>
 223      <td class='forumheader' colspan='2'  style='text-align:center'>
 224      <input class='button' type='submit' name='register' value=\"".LAN_123."\" />
 225      </td>
 226      </tr>
 227  
 228      </table>
 229      </div>
 230  ";
 231  }
 232  
 233  if (!defined($SIGNUP_XUP_BUTTON))
 234  {
 235  $SIGNUP_XUP_BUTTON = "    <div style='padding:10px;text-align:center'>
 236      <input class='button' type ='button' style='cursor:pointer' size='30' value=\"".LAN_SIGNUP_35."\" onclick=\"expandit('default');expandit('xup')\" />
 237      </div>
 238  ";
 239  }
 240  
 241  
 242  if(!defined($SIGNUP_BEGIN))
 243  {
 244  $SIGNUP_BEGIN = "
 245  {SIGNUP_FORM_OPEN}
 246  <div style='text-align:center;".USER_WIDTH."'>
 247  {SIGNUP_SIGNUP_TEXT}
 248  <br />
 249  ".LAN_400."<br /><br /></div>";
 250  }
 251  
 252  if(!defined($SIGNUP_BODY))
 253  {
 254  $SIGNUP_BODY = "
 255  {SIGNUP_XUP}
 256  <div id='default'>
 257  {SIGNUP_XUP_ACTION}
 258  <table class='fborder' style='".USER_WIDTH."'>
 259  {SIGNUP_DISPLAYNAME}
 260  <tr>
 261  <td class='forumheader3' style='width:30%;white-space:nowrap' >".LAN_9."<span style='font-size:15px; color:red'> *</span><br /><span class='smalltext'>".LAN_10."</span></td>
 262  <td class='forumheader3' style='width:70%'>
 263  {SIGNUP_LOGINNAME}
 264  </td>
 265  </tr>
 266  {SIGNUP_REALNAME}
 267  <tr>
 268  <td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_17."<span style='font-size:15px; color:red'> *</span></td>
 269  <td class='forumheader3' style='width:70%'>
 270  {SIGNUP_PASSWORD1}
 271  {SIGNUP_PASSWORD_LEN}
 272  </td>
 273  </tr>
 274  <tr>
 275  <td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_111."<span style='font-size:15px; color:red'> *</span></td>
 276  <td class='forumheader3' style='width:70%'>
 277  {SIGNUP_PASSWORD2}
 278  </td>
 279  </tr>
 280  
 281  <tr>
 282  <td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_112."<span style='font-size:15px; color:red'> *</span></td>
 283  <td class='forumheader3' style='width:70%'>
 284  {SIGNUP_EMAIL}
 285  </td>
 286  </tr>
 287  
 288  <tr>
 289  <td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_39."<span style='font-size:15px; color:red'> *</span></td>
 290  <td class='forumheader3' style='width:70%'>
 291  {SIGNUP_EMAIL_CONFIRM}
 292  </td>
 293  </tr>
 294  
 295  <tr>
 296  <td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_113."</td>
 297  <td class='forumheader3' style='width:70%'>
 298  {SIGNUP_HIDE_EMAIL}
 299  </td>
 300  </tr>
 301  {SIGNUP_USERCLASS_SUBSCRIBE}
 302  {SIGNUP_EXTENDED_USER_FIELDS}
 303  {SIGNUP_SIGNATURE}
 304  {SIGNUP_IMAGES}
 305  {SIGNUP_TIMEZONE}
 306  {SIGNUP_IMAGECODE}
 307  <tr style='vertical-align:top'>
 308  <td class='forumheader' colspan='2'  style='text-align:center'>
 309  <input class='button' type='submit' name='register' value=\"".LAN_123."\" />
 310  <br />
 311  </td>
 312  </tr>
 313  </table>
 314  </div>
 315  {SIGNUP_FORM_CLOSE}
 316  ";
 317  }
 318  
 319  if(!defined($SIGNUP_END))
 320  {
 321  $SIGNUP_END = "
 322  ";
 323  }
 324  ?>


Généré le : Sun Apr 1 01:23:32 2007 par Balluche grâce à PHPXref 0.7