[ Index ]
 

Code source de e107 0.7.8

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

title

Body

[fermer]

/e107_themes/templates/ -> usersettings_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/usersettings_template.php,v $
  14  |     $Revision: 1.7 $
  15  |     $Date: 2006/10/18 16:34:48 $
  16  |     $Author: mcfly_e107 $
  17  +----------------------------------------------------------------------------+
  18  */
  19  
  20  if (!defined('e107_INIT')) { exit; }
  21  if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:auto"); }
  22  global $usersettings_shortcodes, $pref;
  23  
  24  
  25  $sc_style['CUSTOMTITLE']['pre'] = "
  26  <tr>
  27  <td style='width:40%' class='forumheader3'>".LAN_CUSTOMTITLE.":</td>
  28  <td style='width:60%' class='forumheader2'>
  29  ";
  30  $sc_style['CUSTOMTITLE']['post'] = "</td></tr>";
  31  
  32  $sc_style['PASSWORD1']['pre'] = "
  33      <tr>
  34      <td style='width:40%' class='forumheader3'>".LAN_152."<br /><span class='smalltext'>".LAN_401."</span></td>
  35      <td style='width:60%' class='forumheader2'>
  36  ";
  37  
  38  $sc_style['PASSWORD2']['pre'] = "
  39      </td>
  40      </tr>
  41  
  42      <tr>
  43      <td style='width:40%' class='forumheader3'>".LAN_153."<br /><span class='smalltext'>".LAN_401."</span></td>
  44      <td style='width:60%' class='forumheader2'>
  45  ";
  46  $sc_style['PASSWORD2']['post'] = "
  47      </td>
  48      </tr>
  49  ";
  50  
  51  $sc_style['PASSWORD_LEN']['pre'] = "<br /><span class='smalltext'>  (".LAN_SIGNUP_1." ";
  52  $sc_style['PASSWORD_LEN']['post'] = " ".LAN_SIGNUP_2.")</span>";
  53  
  54  $sc_style['USERCLASSES']['pre'] = "<tr>
  55  <td style='width:40%;vertical-align:top' class='forumheader3'>".LAN_USET_5.":".req($pref['signup_option_class'])."
  56  <br /><span class='smalltext'>".LAN_USET_6."</span>
  57  </td>
  58  <td style='width:60%' class='forumheader2'>";
  59  $sc_style['USERCLASSES']['post'] = "</td></tr>";
  60  
  61  $sc_style['AVATAR_UPLOAD']['pre'] = "<tr>
  62  <td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_415."<br /></td>
  63  <td style='width:60%' class='forumheader2'>
  64  ";
  65  $sc_style['AVATAR_UPLOAD']['post'] = "</td></tr>";
  66  
  67  $sc_style['PHOTO_UPLOAD']['pre'] = "
  68  <tr>
  69  <td colspan='2' class='forumheader'>".LAN_425."</td>
  70  </tr>
  71  
  72  <tr>
  73  <td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_414."<br /><span class='smalltext'>".LAN_426."</span></td>
  74  <td style='width:60%' class='forumheader2'>
  75  ";
  76  $sc_style['PHOTO_UPLOAD']['post'] = "</td></tr>";
  77  
  78  
  79  $sc_style['XUP']['pre'] = "
  80  <tr>
  81  <td colspan='2' class='forumheader'>".LAN_435."</td>
  82  </tr>
  83  <tr>
  84  <td style='width:20%; vertical-align:top' class='forumheader3'>".LAN_433."<br /><span class='smalltext'><a href='http://e107.org/generate_xup.php' rel='external'>".LAN_434."</a></span></td>
  85  <td style='width:80%' class='forumheader2'>
  86  ";
  87  $sc_style['XUP']['post'] = "</td></tr>";
  88  
  89  $USER_EXTENDED_CAT = "<tr><td colspan='2' class='forumheader'>{CATNAME}</td></tr>";
  90  $USEREXTENDED_FIELD = "
  91  <tr>
  92  <td style='width:40%' class='forumheader3'>
  93  {FIELDNAME}
  94  </td>
  95  <td style='width:60%' class='forumheader3'>
  96  {FIELDVAL} {HIDEFIELD}
  97  </td>
  98  </tr>
  99  ";
 100  $REQUIRED_FIELD = "{FIELDNAME}<span style='text-align:right;font-size:15px; color:red'> *</span>";
 101  
 102  $USERSETTINGS_EDIT = "
 103  <div style='text-align:center'>
 104      <table style='".USER_WIDTH."' class='fborder'>
 105  
 106      <tr>
 107      <td colspan='2' class='forumheader'>".LAN_418."</td>
 108      </tr>
 109  
 110      <tr>
 111      <td style='width:40%' class='forumheader3'>".LAN_7."<br /><span class='smalltext'>".LAN_8."</span></td>
 112      <td style='width:60%' class='forumheader2'>
 113      {USERNAME}
 114      </td>
 115      </tr>
 116  
 117      <tr>
 118      <td style='width:40%' class='forumheader3'>".LAN_9."<br /><span class='smalltext'>".LAN_10."</span></td>
 119      <td style='width:60%' class='forumheader2'>
 120      {LOGINNAME}
 121      </td>
 122      </tr>
 123  
 124      <tr>
 125      <td style='width:40%' class='forumheader3'>".LAN_308.req($pref['signup_option_realname'])."</td>
 126      <td style='width:60%' class='forumheader2'>
 127      {REALNAME}
 128      </td>
 129      </tr>
 130  
 131      {CUSTOMTITLE}
 132  
 133      {PASSWORD1}
 134      {PASSWORD_LEN}
 135      {PASSWORD2}
 136  
 137      <tr>
 138      <td style='width:40%' class='forumheader3'>".LAN_112."</td>
 139      <td style='width:60%' class='forumheader2'>
 140      {EMAIL}
 141      </td>
 142      </tr>
 143  
 144      <tr>
 145      <td style='width:40%' class='forumheader3'>".LAN_113."<br /><span class='smalltext'>".LAN_114."</span></td>
 146      <td style='width:60%' class='forumheader2'><span class='defaulttext'>
 147      {HIDEEMAIL=radio}
 148      </span>
 149      </td>
 150      </tr>
 151  
 152      {USERCLASSES}
 153      {USEREXTENDED_ALL}
 154  
 155      <tr><td colspan='2' class='forumheader'>".LAN_USET_8."</td></tr>
 156      <tr>
 157      <td style='width:40%;vertical-align:top' class='forumheader3'>".LAN_120.req($pref['signup_option_signature'])."</td>
 158      <td style='width:60%' class='forumheader2'>
 159      {SIGNATURE=cols=58&rows=4}
 160      <br />
 161      {SIGNATURE_HELP}
 162      </td>
 163      </tr>
 164  
 165      <tr>
 166      <td style='width:40%' class='forumheader3'>".LAN_122.req($pref['signup_option_timezone'])."</td>
 167      <td style='width:60%' class='forumheader2'>
 168      {TIMEZONE}
 169      </td>
 170      </tr>
 171  
 172      <tr>
 173      <td colspan='2' class='forumheader'>".LAN_420."</td>
 174      </tr>
 175  
 176      <tr>
 177      <td colspan='2' class='forumheader3' style='text-align:center'>".LAN_404.($pref['im_width'] || $pref['im_height'] ? "<br />".($pref['im_width'] ? MAX_AVWIDTH.$pref['im_width']." pixels. " : "").($pref['im_height'] ? MAX_AVHEIGHT.$pref['im_height']." pixels." : "") : "")."</td>
 178      </tr>
 179  
 180      <tr>
 181      <td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_422.req($pref['signup_option_image'])."<br /><span class='smalltext'>".LAN_423."</span></td>
 182      <td style='width:60%' class='forumheader2'>
 183      {AVATAR_REMOTE}
 184      </td>
 185      </tr>
 186  
 187      <tr>
 188      <td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_421."<br /><span class='smalltext'>".LAN_424."</span></td>
 189      <td style='width:60%' class='forumheader2'>
 190      {AVATAR_CHOOSE}
 191      </td>
 192      </tr>
 193  
 194      {AVATAR_UPLOAD}
 195      {PHOTO_UPLOAD}
 196      {XUP}
 197  
 198      <tr style='vertical-align:top'>
 199      <td colspan='2' style='text-align:center' class='forumheader'><input class='button' type='submit' name='updatesettings' value='".LAN_154."' /></td>
 200      </tr>
 201      </table>
 202      </div>
 203      ";
 204  
 205  
 206  ?>


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