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

157 lines
4.3 KiB
PHP
Raw Normal View History

2006-12-02 04:36:16 +00:00
<?php
/*
2009-11-12 15:01:36 +00:00
* e107 website system
*
2009-11-18 01:06:08 +00:00
* Copyright (C) 2008-2009 e107 Inc (e107.org)
2009-11-12 15:01:36 +00:00
* Released under the terms and conditions of the
* GNU General Public License (http://www.gnu.org/licenses/gpl.txt)
*
*
*
* $Source: /cvs_backup/e107_0.8/e107_themes/templates/usersettings_template.php,v $
2010-02-10 18:18:01 +00:00
* $Revision$
* $Date$
* $Author$
2009-11-12 15:01:36 +00:00
*/
2006-12-02 04:36:16 +00:00
if (!defined('e107_INIT')) { exit; }
2013-12-21 21:54:23 -08:00
// e107 v2. bootstrap3 compatible template.
2013-12-21 21:54:23 -08:00
$USERSETTINGS_WRAPPER['edit']['USERNAME'] = "<div class='form-group'>
<label for='username' class='col-sm-3 control-label'>{LAN=USER_01}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['LOGINNAME'] = "<div class='form-group'>
<label for='loginname' class='col-sm-3 control-label'>{LAN=USER_81}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['PASSWORD1'] = "<div class='form-group'>
<label for='password1' class='col-sm-3 control-label'>{LAN=USET_24}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['PASSWORD2'] = "<div class='form-group'>
<label for='password2' class='col-sm-3 control-label'>{LAN=USET_25}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['REALNAME'] = "<div class='form-group'>
<label for='realname' class='col-sm-3 control-label'>{LAN=USER_63}{REQUIRED=realname}</label>
<div class='col-sm-9'>{---}</div>
</div>
";
2013-12-21 21:54:23 -08:00
$USERSETTINGS_WRAPPER['edit']['CUSTOMTITLE'] = "<div class='form-group'>
<label for='customtitle' class='col-sm-3 control-label'>{LAN=USER_04}:{REQUIRED=customtitle}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['USERCLASSES'] = "<div class='form-group'>
<label class='col-sm-3 control-label'>{LAN=USER_76}:{REQUIRED=class}</label>
2021-01-04 15:27:22 +01:00
<div class='col-sm-9 checkbox'>{---}</div>
2013-12-21 21:54:23 -08:00
</div>
";
$USERSETTINGS_WRAPPER['edit']['AVATAR_UPLOAD'] = "<div class='form-group'>
<label for='avatar' class='col-sm-3 control-label'>{LAN=USET_26}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['PHOTO_UPLOAD'] = "<div class='form-group'>
<label for='photo' class='col-sm-3 control-label'>{LAN=USER_06}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>{---}</div>
</div>
";
$USERSETTINGS_WRAPPER['edit']['SIGNATURE'] = "<div class='form-group'>
<label for='signature' class='col-sm-3 control-label'>{LAN=USER_71}{REQUIRED=signature}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>{---}</div>
</div>
";
// $USERSETTINGS_WRAPPER['edit']['USEREXTENDED_ALL'] = "<div class='form-group'>{---}</div>";
2013-12-21 21:54:23 -08:00
// Bootstrap only.
$USERSETTINGS_TEMPLATE = array();
2013-12-21 21:54:23 -08:00
$USERSETTINGS_TEMPLATE['edit'] = "
<div>
{USERNAME}
{LOGINNAME}
<div class='form-group'>
<label for='email' class='col-sm-3 control-label'>{LAN=USER_60}{REQUIRED=email}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>
{EMAIL}
</div>
</div>
{REALNAME}
2013-12-21 21:54:23 -08:00
{CUSTOMTITLE}
{PASSWORD1}
2013-12-21 21:54:23 -08:00
{PASSWORD2}
<div class='form-group'>
<label for='hideemail' class='col-sm-3 control-label'>{LAN=USER_83}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>
{HIDEEMAIL=radio}
</div>
</div>
2013-12-21 21:54:23 -08:00
<div class='form-group'>
<label class='col-sm-3 control-label'>{LAN=USER_07}{REQUIRED=image}</label>
2013-12-21 21:54:23 -08:00
<div class='col-sm-9'>
{AVATAR_REMOTE}
</div>
</div>
{AVATAR_UPLOAD}
{PHOTO_UPLOAD}
2013-12-21 21:54:23 -08:00
{USERCLASSES}
{USEREXTENDED_ALL=tabs}
2013-12-21 21:54:23 -08:00
{SIGNATURE}
2013-12-21 21:54:23 -08:00
{SIGNATURE_HELP}
<div class='form-group'>
<div class='col-sm-offset-3 col-sm-9'>
{UPDATESETTINGSBUTTON}
2018-06-05 12:55:20 -07:00
{DELETEACCOUNTBUTTON}
2013-12-21 21:54:23 -08:00
</div>
</div>
</div>
2013-12-21 21:54:23 -08:00
";
$USERSETTINGS_TEMPLATE['extended-category'] = "<h3>{CATNAME}</h3>";
$USERSETTINGS_TEMPLATE['extended-field'] = "<div class='form-group'>
<label class='col-sm-3 control-label'>{FIELDNAME} {REQUIRED}</label>
<div class='col-sm-9'>
{FIELDVAL} {HIDEFIELD}
</div>
</div>
";
2013-12-21 21:54:23 -08:00