1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00
php-e107/e107_themes/templates/usersettings_template.php

202 lines
5.8 KiB
PHP
Raw Normal View History

2006-12-02 04:36:16 +00:00
<?php
/*
+ ----------------------------------------------------------------------------+
| e107 website system
|
| <EFBFBD>Steve Dunstan 2001-2002
| http://e107.org
| jalist@e107.org
|
| Released under the terms and conditions of the
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_themes/templates/usersettings_template.php,v $
2009-10-29 11:32:58 +00:00
| $Revision: 1.8 $
| $Date: 2009-10-29 11:32:58 $
| $Author: marj_nl_fr $
2006-12-02 04:36:16 +00:00
+----------------------------------------------------------------------------+
*/
if (!defined('e107_INIT')) { exit; }
if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:auto"); }
global $usersettings_shortcodes, $pref;
$sc_style['CUSTOMTITLE']['pre'] = "
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_04.":</td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
";
$sc_style['CUSTOMTITLE']['post'] = "</td></tr>";
$sc_style['PASSWORD1']['pre'] = "
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USET_24."<br /><span class='smalltext'>".LAN_USET_23."</span></td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
";
$sc_style['PASSWORD2']['pre'] = "
</td>
</tr>
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USET_25."<br /><span class='smalltext'>".LAN_USET_23."</span></td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
";
$sc_style['PASSWORD2']['post'] = "
</td>
</tr>
";
$sc_style['PASSWORD_LEN']['pre'] = "<br /><span class='smalltext'> (".LAN_USER_78." ";
$sc_style['PASSWORD_LEN']['post'] = " ".LAN_USER_79.")</span>";
2006-12-02 04:36:16 +00:00
$sc_style['USERCLASSES']['pre'] = "<tr>
<td style='width:40%;vertical-align:top' class='forumheader3'>".LAN_USER_76.":".req($pref['signup_option_class'])."
<br /><span class='smalltext'>".LAN_USER_73."</span>
2006-12-02 04:36:16 +00:00
</td>
<td style='width:60%' class='forumheader2'>";
$sc_style['USERCLASSES']['post'] = "</td></tr>";
$sc_style['AVATAR_UPLOAD']['pre'] = "<tr>
<td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_USET_26."<br /></td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
";
$sc_style['AVATAR_UPLOAD']['post'] = "</td></tr>";
$sc_style['PHOTO_UPLOAD']['pre'] = "
<tr>
<td colspan='2' class='forumheader'>".LAN_USER_06."</td>
2006-12-02 04:36:16 +00:00
</tr>
<tr>
<td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_USET_27."<br /><span class='smalltext'>".LAN_USET_28."</span></td>
<td style='width:60%' class='forumheader2'><span class='smalltext'>
2006-12-02 04:36:16 +00:00
";
$sc_style['PHOTO_UPLOAD']['post'] = "</span></td></tr>";
2006-12-02 04:36:16 +00:00
$sc_style['XUP']['pre'] = "
<tr>
<td colspan='2' class='forumheader'>".LAN_USER_11."</td>
2006-12-02 04:36:16 +00:00
</tr>
<tr>
<td style='width:20%; vertical-align:top' class='forumheader3'>".LAN_USET_29."<br /><span class='smalltext'><a href='http://e107.org/generate_xup.php' rel='external'>".LAN_USET_30."</a></span></td>
2006-12-02 04:36:16 +00:00
<td style='width:80%' class='forumheader2'>
";
$sc_style['XUP']['post'] = "</td></tr>";
$USER_EXTENDED_CAT = "<tr><td colspan='2' class='forumheader'>{CATNAME}</td></tr>";
$USEREXTENDED_FIELD = "
<tr>
<td style='width:40%' class='forumheader3'>
{FIELDNAME}
</td>
<td style='width:60%' class='forumheader3'>
{FIELDVAL} {HIDEFIELD}
</td>
</tr>
";
2009-10-29 11:32:58 +00:00
$REQUIRED_FIELD = "{FIELDNAME}<span class='required'> *</span>";
2006-12-02 04:36:16 +00:00
$USERSETTINGS_EDIT = "
<div style='text-align:center'>
<table style='".USER_WIDTH."' class='fborder adminform'>
<colgroup span='2'>
<col class='col-label' />
<col class='col-control' />
</colgroup>
2006-12-02 04:36:16 +00:00
<tr>
<td colspan='2' class='forumheader'>".LAN_USET_31."</td>
2006-12-02 04:36:16 +00:00
</tr>
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_01."<br /><span class='smalltext'>".LAN_USER_80."</span></td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
{USERNAME}
</td>
</tr>
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_81."<br /><span class='smalltext'>".LAN_USER_82."</span></td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
{LOGINNAME}
</td>
</tr>
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_63.req($pref['signup_option_realname'])."</td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
{REALNAME}
</td>
</tr>
{CUSTOMTITLE}
{PASSWORD1}
{PASSWORD_LEN}
{PASSWORD2}
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_60.req(!$pref['disable_emailcheck'])."</td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
{EMAIL}
</td>
</tr>
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_83."<br /><span class='smalltext'>".LAN_USER_84."</span></td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'><span class='defaulttext'>
{HIDEEMAIL=radio}
</span>
</td>
</tr>
{USERCLASSES}
{USEREXTENDED_ALL}
<tr><td colspan='2' class='forumheader'>".LAN_USET_8."</td></tr>
<tr>
<td style='width:40%;vertical-align:top' class='forumheader3'>".LAN_USER_71.req($pref['signup_option_signature'])."</td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
{SIGNATURE=cols=58&rows=4}
<br />
{SIGNATURE_HELP}
</td>
</tr>
<tr>
<td colspan='2' class='forumheader'>".LAN_USER_07."</td>
2006-12-02 04:36:16 +00:00
</tr>
<tr>
<td colspan='2' class='forumheader3' style='text-align:center'>".LAN_USET_32.($pref['im_width'] || $pref['im_height'] ? "<br />".str_replace(array('--WIDTH--','--HEIGHT--'), array($pref['im_width'], $pref['im_height']), LAN_USER_86) : "")."</td>
2006-12-02 04:36:16 +00:00
</tr>
<tr>
<td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_USET_34.req($pref['signup_option_image'])."<br /><span class='smalltext'>".LAN_USET_35."</span></td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
{AVATAR_REMOTE}
</td>
</tr>
<tr>
<td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_USET_33."<br /><span class='smalltext'>".LAN_USET_36."</span></td>
2006-12-02 04:36:16 +00:00
<td style='width:60%' class='forumheader2'>
{AVATAR_CHOOSE}
</td>
</tr>
{AVATAR_UPLOAD}
{PHOTO_UPLOAD}
{XUP}
<tr style='vertical-align:top'>
<td colspan='2' style='text-align:center' class='forumheader'><input class='button' type='submit' name='updatesettings' value='".LAN_USET_37."' /></td>
2006-12-02 04:36:16 +00:00
</tr>
</table>
</div>
";
?>