mirror of
https://github.com/e107inc/e107.git
synced 2025-08-14 02:24:08 +02:00
Removed some LAN constant usage from core templates.
This commit is contained in:
@@ -13,6 +13,10 @@ function lan_shortcode($parm = '')
|
||||
{
|
||||
return constant($lan);
|
||||
}
|
||||
elseif(defined('LAN_'.$lan))
|
||||
{
|
||||
return constant('LAN_'.$lan);
|
||||
}
|
||||
elseif(ADMIN)
|
||||
{
|
||||
return "<span class='alert alert-danger'><strong>".$parm ."</strong> is undefined</span>"; // debug info
|
||||
|
@@ -43,12 +43,12 @@ if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$USER_TEMPLATE['list']['start'] = "
|
||||
<div class='content user-list'>
|
||||
<div class='center'>".LAN_USER_56." {TOTAL_USERS}
|
||||
<div class='center'>{LAN=USER_56} {TOTAL_USERS}
|
||||
<br />
|
||||
<br />
|
||||
{USER_FORM_START}
|
||||
<div class='form-inline'>
|
||||
".LAN_SHOW.": {USER_FORM_RECORDS} ".LAN_USER_57." {USER_FORM_ORDER}
|
||||
{LAN=SHOW}: {USER_FORM_RECORDS} {LAN=USER_57} {USER_FORM_ORDER}
|
||||
{USER_FORM_SUBMIT}
|
||||
</div>
|
||||
{USER_FORM_END}
|
||||
@@ -59,9 +59,9 @@ if (!defined('e107_INIT')) { exit; }
|
||||
<thead>
|
||||
<tr>
|
||||
<th class='fcaption' style='width:2%'> </th>
|
||||
<th class='fcaption' style='width:20%'>".LAN_USER_58."</th>
|
||||
<th class='fcaption' style='width:20%'>".LAN_USER_60."</th>
|
||||
<th class='fcaption' style='width:20%'>".LAN_USER_59."</th>
|
||||
<th class='fcaption' style='width:20%'>{LAN=USER_58}</th>
|
||||
<th class='fcaption' style='width:20%'>{LAN=USER_60}</th>
|
||||
<th class='fcaption' style='width:20%'>{LAN=USER_59}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -86,7 +86,7 @@ if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
|
||||
// View shortcode wrappers.
|
||||
$USER_WRAPPER['view']['USER_COMMENTPOSTS'] = '<div class="col-xs-12 col-md-4">'.LAN_USER_68.'</div><div class="col-xs-12 col-md-8">{---}';
|
||||
$USER_WRAPPER['view']['USER_COMMENTPOSTS'] = '<div class="col-xs-12 col-md-4">{LAN=USER_68}</div><div class="col-xs-12 col-md-8">{---}';
|
||||
$USER_WRAPPER['view']['USER_COMMENTPER'] = ' ( {---}% )</div>';
|
||||
$USER_WRAPPER['view']['USER_SIGNATURE'] = '<div>{---}</div>';
|
||||
$USER_WRAPPER['view']['USER_RATING'] = '<div>{---}</div>';
|
||||
@@ -100,7 +100,7 @@ if (!defined('e107_INIT')) { exit; }
|
||||
<div class="col-md-12">
|
||||
<div class="panel panel-default panel-profile card card-profile clearfix">
|
||||
<div class="panel-heading card-heading pt-2 pl-2" style="height:180px; background-size: cover;background-image: url( {USER_PHOTO: type=url});">
|
||||
<h5 class="user-id">'.LAN_USER_58.' {USER_ID}</h5>
|
||||
<h5 class="user-id">{LAN=USER_58} {USER_ID}</h5>
|
||||
</div>
|
||||
<div class="panel-body card-body text-center">
|
||||
{SETIMAGE: w=200&h=200&crop=1}
|
||||
@@ -113,13 +113,13 @@ if (!defined('e107_INIT')) { exit; }
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body card-body">
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_63.'</div><div class="col-xs-12 col-md-8">{USER_REALNAME}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_02.'</div><div class="col-xs-12 col-md-8">{USER_LOGINNAME}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_60.'</div><div class="col-xs-12 col-md-8">{USER_EMAIL}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_54.'</div><div class="col-xs-12 col-md-8">{USER_LEVEL}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_65.'</div><div class="col-xs-12 col-md-8">{USER_LASTVISIT}<br /><small class="padding-left">{USER_LASTVISIT_LAPSE}</small></div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_59.'</div><div class="col-xs-12 col-md-8">{USER_JOIN}<br /><small class="padding-left">{USER_DAYSREGGED}</small></div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_66.'</div><div class="col-xs-12 col-md-8">{USER_VISITS}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_63}</div><div class="col-xs-12 col-md-8">{USER_REALNAME}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_02}</div><div class="col-xs-12 col-md-8">{USER_LOGINNAME}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_60}</div><div class="col-xs-12 col-md-8">{USER_EMAIL}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_54}</div><div class="col-xs-12 col-md-8">{USER_LEVEL}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_65}</div><div class="col-xs-12 col-md-8">{USER_LASTVISIT}<br /><small class="padding-left">{USER_LASTVISIT_LAPSE}</small></div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_59}</div><div class="col-xs-12 col-md-8">{USER_JOIN}<br /><small class="padding-left">{USER_DAYSREGGED}</small></div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_66}</div><div class="col-xs-12 col-md-8">{USER_VISITS}</div></div>
|
||||
{USER_ADDONS}
|
||||
<div class="row">{USER_COMMENTPOSTS} {USER_COMMENTPER}</div>
|
||||
{USER_EXTENDED_ALL}
|
||||
|
@@ -21,54 +21,54 @@ if (!defined('e107_INIT')) { exit; }
|
||||
$USERSETTINGS_WRAPPER = array();
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['USERNAME'] = "<div class='form-group row mb-3'>
|
||||
<label for='username' class='col-sm-3 col-form-label form-label'>".LAN_USER_01."</label>
|
||||
<label for='username' class='col-sm-3 col-form-label form-label'>{LAN=USER_01}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['LOGINNAME'] = "<div class='form-group row mb-3'>
|
||||
<label for='loginname' class='col-sm-3 col-form-label form-label'>".LAN_USER_81."</label>
|
||||
<label for='loginname' class='col-sm-3 col-form-label form-label'>{LAN=USER_81}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['PASSWORD1'] = "<div class='form-group row mb-3'>
|
||||
<label for='password1' class='col-sm-3 col-form-label form-label'>".LAN_USET_24."</label>
|
||||
<label for='password1' class='col-sm-3 col-form-label form-label'>{LAN=USET_24}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
$USERSETTINGS_WRAPPER['edit']['PASSWORD2'] = "<div class='form-group row mb-3'>
|
||||
<label for='password2' class='col-sm-3 col-form-label form-label'>".LAN_USET_25."</label>
|
||||
<label for='password2' class='col-sm-3 col-form-label form-label'>{LAN=USET_25}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['REALNAME'] = "<div class='form-group row mb-3'>
|
||||
<label for='realname' class='col-sm-3 col-form-label form-label'>".LAN_USER_63."{REQUIRED=realname}</label>
|
||||
<label for='realname' class='col-sm-3 col-form-label form-label'>{LAN=USER_63}{REQUIRED=realname}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['CUSTOMTITLE'] = "<div class='form-group row mb-3'>
|
||||
<label for='customtitle' class='col-sm-3 col-form-label form-label'>".LAN_USER_04.':'."{REQUIRED=customtitle}</label>
|
||||
<label for='customtitle' class='col-sm-3 col-form-label form-label'>{LAN=USER_04}{REQUIRED=customtitle}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['USERCLASSES'] = "<div class='form-group row mb-3'>
|
||||
<label class='col-sm-3'>".LAN_USER_76.":"."{REQUIRED=class}</label>
|
||||
<label class='col-sm-3'>{LAN=USER_76}:{REQUIRED=class}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['AVATAR_UPLOAD'] = "<div class='form-group row mb-3'>
|
||||
<label for='avatar' class='col-sm-3 col-form-label form-label'>".LAN_USET_26."</label>
|
||||
<label for='avatar' class='col-sm-3 col-form-label form-label'>{LAN=USET_26}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
$USERSETTINGS_WRAPPER['edit']['PHOTO_UPLOAD'] = "<div class='form-group row mb-3'>
|
||||
<label for='photo' class='col-sm-3 col-form-label form-label'>".LAN_USER_06."</label>
|
||||
<label for='photo' class='col-sm-3 col-form-label form-label'>{LAN=USER_06}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
@@ -76,7 +76,7 @@ $USERSETTINGS_WRAPPER['edit']['PHOTO_UPLOAD'] = "<div class='form-group row mb
|
||||
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['SIGNATURE'] = "<div class='form-group row mb-3'>
|
||||
<label for='signature' class='col-sm-3 col-form-label form-label'>".LAN_USER_71."{REQUIRED=signature}</label>
|
||||
<label for='signature' class='col-sm-3 col-form-label form-label'>{LAN=USER_71}{REQUIRED=signature}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
@@ -101,7 +101,7 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
||||
|
||||
|
||||
<div class='form-group row mb-3'>
|
||||
<label for='email' class='col-sm-3 col-form-label form-label'>".LAN_USER_60."{REQUIRED=email}</label>
|
||||
<label for='email' class='col-sm-3 col-form-label form-label'>{LAN=USER_60}{REQUIRED=email}</label>
|
||||
<div class='col-sm-9'>
|
||||
{EMAIL}
|
||||
</div>
|
||||
@@ -117,14 +117,14 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
||||
|
||||
|
||||
<div class='form-group row mb-3'>
|
||||
<label for='hideemail' class='col-sm-3'>".LAN_USER_83."</label>
|
||||
<label for='hideemail' class='col-sm-3'>{LAN=USER_83}</label>
|
||||
<div class='col-sm-9'>
|
||||
{HIDEEMAIL=radio}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='form-group row mb-3'>
|
||||
<label class='col-sm-3 col-form-label form-label'>".LAN_USER_07."{REQUIRED=image}</label>
|
||||
<label class='col-sm-3 col-form-label form-label'>{LAN=USER_07}{REQUIRED=image}</label>
|
||||
<div class='col-sm-9'>
|
||||
{AVATAR_REMOTE}
|
||||
</div>
|
||||
|
@@ -2,83 +2,6 @@
|
||||
// $Id$
|
||||
|
||||
if (!defined('e107_INIT')) { exit; }
|
||||
/*
|
||||
// ##### LOGIN HEADER TABLE -----------------------------------------------------------------------
|
||||
if(!isset($LOGIN_TABLE_HEADER)) //FIXME - use {LOGO} .
|
||||
{
|
||||
$LOGIN_TABLE_HEADER .= "
|
||||
<div style='width:100%;text-align:center; margin-left: auto;margin-right: auto'><br />
|
||||
<div style='text-align:center;width:70%;margin-left: auto;margin-right: auto'>
|
||||
{LOGO=login}";
|
||||
}
|
||||
|
||||
// ##### LOGIN TABLE -----------------------------------------------------------------------------
|
||||
if(!isset($LOGIN_TABLE))
|
||||
{
|
||||
$LOGIN_TABLE = "";
|
||||
if($LOGIN_TABLE_LOGINMESSAGE != "")
|
||||
{
|
||||
$LOGIN_TABLE .= "<div style='text-align:center'>{LOGIN_TABLE_LOGINMESSAGE}</div>";
|
||||
}
|
||||
|
||||
if (($pref['user_tracking'] == "session") && varset($pref['password_CHAP'],0))
|
||||
{
|
||||
if ($pref['password_CHAP'] == 2)
|
||||
{
|
||||
$LOGIN_TABLE .= "
|
||||
<div style='text-align: center' id='nologinmenuchap'>"."Javascript must be enabled in your browser if you wish to log into this site"."
|
||||
</div>
|
||||
<div style='text-align: center; display:none' id='loginmenuchap'>";
|
||||
}
|
||||
else
|
||||
{
|
||||
$LOGIN_TABLE .= "<div style='text-align:center'>";
|
||||
}
|
||||
$LOGIN_TABLE .= $rs -> form_open("post", e_SELF,'','','',' onsubmit="hashLoginPassword(this)"');
|
||||
}
|
||||
else
|
||||
{
|
||||
$LOGIN_TABLE .= "<div style='text-align:center'>".$rs -> form_open("post", e_SELF);
|
||||
}
|
||||
|
||||
$LOGIN_TABLE .=
|
||||
"<table class='fborder' style='width:60%;margin-right:auto;margin-left:auto' >\n
|
||||
<tr>\n
|
||||
<td class='forumheader' style='text-align:center;' colspan='3'>".LAN_LOGIN_4."</td>\n
|
||||
</tr>\n
|
||||
<tr>\n
|
||||
<td class='forumheader3' style='width:40%'>{LOGIN_USERNAME_LABEL}</td>\n
|
||||
<td class='forumheader3' style='width:40%'>{LOGIN_TABLE_USERNAME}</td>\n
|
||||
<td class='forumheader3' rowspan='".($LOGIN_TABLE_SECIMG_SECIMG ? 3 : 2)."' style='width:20%; vertical-align: middle; margin-left: auto; margin-right: auto; text-align: center;'>".(file_exists(THEME."images/password.png") ? "<img src='".THEME_ABS."images/password.png' alt='' />\n" : "<img src='".e_IMAGE."generic/password.png' alt='' />\n" )."</td>\n</tr>\n
|
||||
<tr>\n<td class='forumheader3'>".LAN_LOGIN_2."</td>\n<td class='forumheader3'>{LOGIN_TABLE_PASSWORD}
|
||||
</td>\n</tr>\n";
|
||||
|
||||
|
||||
if(LOGIN_CAPTCHA) //FIXME - add shortcode for this.
|
||||
{
|
||||
$LOGIN_TABLE .= "<tr><td class='forumheader3'>{LOGIN_TABLE_SECIMG_LAN}</td>\n<td class='forumheader3'>{LOGIN_TABLE_SECIMG_HIDDEN} {LOGIN_TABLE_SECIMG_SECIMG} {LOGIN_TABLE_SECIMG_TEXTBOC}</td>\n</tr>\n";
|
||||
}
|
||||
|
||||
$LOGIN_TABLE .= "<tr>\n<td class='forumheader2' style='text-align:center;' colspan='3'>{LOGIN_TABLE_AUTOLOGIN}<span class='smalltext'>{LOGIN_TABLE_AUTOLOGIN_LAN}</span><br />{LOGIN_TABLE_SUBMIT}</td>\n</tr>\n</table>".
|
||||
$rs -> form_close()."\n</div>";
|
||||
}
|
||||
// ##### ------------------------------------------------------------------------------------------
|
||||
|
||||
// ##### LOGIN TABLE FOOTER -----------------------------------------------------------------------
|
||||
if(!isset($LOGIN_TABLE_FOOTER))
|
||||
{
|
||||
$LOGIN_TABLE_FOOTER = "
|
||||
<div style='margin-bottom:100px; width:70%;margin-right:auto;margin-left:auto'>
|
||||
<div style='text-align:center'><br />
|
||||
{LOGIN_TABLE_FOOTER_USERREG}
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>";
|
||||
}
|
||||
// ##### ------------------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
|
||||
// Starter for v2. - Bootstrap
|
||||
@@ -90,7 +13,7 @@ $LOGIN_TEMPLATE['page']['header'] = "
|
||||
|
||||
$LOGIN_TEMPLATE['page']['body'] = '
|
||||
{LOGIN_TABLE_LOGINMESSAGE}
|
||||
<h2 class="form-signin-heading">'.LAN_LOGIN_4.'</h2>';
|
||||
<h2 class="form-signin-heading">{LAN=LOGIN_4}</h2>';
|
||||
if (e107::pref('core', 'password_CHAP') == 2)
|
||||
{
|
||||
$LOGIN_TEMPLATE['page']['body'] .= "
|
||||
|
@@ -137,7 +137,7 @@ if(!isset($POST_CHECKBOXES))
|
||||
$SEARCH_TEMPLATE['form']['start'] = '
|
||||
<form class="form-horizontal" role="form" id="searchform" method="get" action="{SEARCH_FORM_URL}">
|
||||
<div class="form-group">
|
||||
<label for="inputEmail3" class="col-sm-3 control-label">'.LAN_199.'</label>
|
||||
<label for="inputEmail3" class="col-sm-3 control-label">{LAN=199}</label>
|
||||
<div class="col-sm-9">{SEARCH_MAIN}
|
||||
</div>
|
||||
</div>
|
||||
@@ -170,7 +170,7 @@ $SEARCH_TEMPLATE['form']['enhanced'] = '
|
||||
/*
|
||||
$SEARCH_TEMPLATE['form']['type'] = '
|
||||
<div class="form-group">
|
||||
<label for="inputPassword3" class="col-sm-3 control-label">'.LAN_SEARCH_75.'</label>
|
||||
<label for="inputPassword3" class="col-sm-3 control-label">{LAN=SEARCH_75}</label>
|
||||
<div class="col-sm-9">
|
||||
{SEARCH_TYPE_SEL}
|
||||
</div>
|
||||
@@ -179,7 +179,7 @@ $SEARCH_TEMPLATE['form']['type'] = '
|
||||
|
||||
$SEARCH_TEMPLATE['form']['category'] = '
|
||||
<div class="form-group">
|
||||
<label for="inputPassword3" class="col-sm-3 control-label">'.LAN_SEARCH_19.'</label>
|
||||
<label for="inputPassword3" class="col-sm-3 control-label">{LAN=SEARCH_19}</label>
|
||||
<div class="col-sm-9">
|
||||
{SEARCH_MAIN_CHECKBOXES}{SEARCH_DROPDOWN}
|
||||
</div>
|
||||
|
@@ -22,13 +22,12 @@ if(!defined('e107_INIT'))
|
||||
// Shortcode Wrappers
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_DISPLAYNAME'] = "<div class='form-group row m-2'>
|
||||
<label class='col-sm-3 control-label' for='username'>"
|
||||
. LAN_SIGNUP_89 . "{SIGNUP_IS_MANDATORY=true}<br /><span class='smalltext'>" . LAN_SIGNUP_90 . "</span></label>
|
||||
<label class='col-sm-3 control-label' for='username'>{LAN=SIGNUP_89}{SIGNUP_IS_MANDATORY=true}<br /><span class='smalltext'>{LAN=SIGNUP_90}</span></label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>";
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_REALNAME'] = "<div class='form-group row m-2'>
|
||||
<label class='col-sm-3 control-label' for='realname'>" . LAN_SIGNUP_91 . "{SIGNUP_IS_MANDATORY=realname}</label>
|
||||
<label class='col-sm-3 control-label' for='realname'>{LAN=SIGNUP_91}{SIGNUP_IS_MANDATORY=realname}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>";
|
||||
|
||||
@@ -36,50 +35,50 @@ $SIGNUP_WRAPPER['SIGNUP_GDPR_INFO'] = "<div class='form-group row m-
|
||||
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_SIGNATURE'] = "<div class='form-group row m-2'>
|
||||
<label class='col-sm-3 control-label' for='signature'>" . LAN_SIGNUP_93 . " {SIGNUP_IS_MANDATORY=signature}</label>
|
||||
<label class='col-sm-3 control-label' for='signature'>{LAN=SIGNUP_93}{SIGNUP_IS_MANDATORY=signature}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>";
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_IMAGES'] = "<div class='form-group row m-2'>
|
||||
<label class='col-sm-3 control-label'for='avatar'>" . LAN_SIGNUP_94 . "{SIGNUP_IS_MANDATORY=avatar}</label>
|
||||
<label class='col-sm-3 control-label'for='avatar'>{LAN=SIGNUP_94}{SIGNUP_IS_MANDATORY=avatar}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>";
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_IMAGECODE'] = "<div class='form-group row m-2'>
|
||||
<label class='col-sm-3 control-label' for='code-verify'>" . e107::getSecureImg()->renderLabel() . "{SIGNUP_IS_MANDATORY=true}</label>
|
||||
<label class='col-sm-3 control-label' for='code-verify'>" . e107::getSecureImg()->renderLabel()."{SIGNUP_IS_MANDATORY=true}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>";
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_LOGINNAME'] = "<div class='form-group row m-2'>
|
||||
<label class='col-sm-3 control-label' for='loginname'>" . LAN_SIGNUP_81 . "{SIGNUP_IS_MANDATORY=true}</label>
|
||||
<label class='col-sm-3 control-label' for='loginname'>{LAN=SIGNUP_81}{SIGNUP_IS_MANDATORY=true}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>";
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_HIDE_EMAIL'] = "<div class='form-group row m-2'>
|
||||
<label class='col-sm-3 control-label'>" . LAN_USER_83 . "</label>
|
||||
<label class='col-sm-3 control-label'>{LAN=USER_83}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>";
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_EMAIL_CONFIRM'] = "<div class='form-group row m-2'>
|
||||
<label class='col-sm-3 control-label' for='email-confirm'>" . LAN_SIGNUP_39 . "{SIGNUP_IS_MANDATORY=true}</label>
|
||||
<label class='col-sm-3 control-label' for='email-confirm'>{LAN=SIGNUP_39}{SIGNUP_IS_MANDATORY=true}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>";
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_XUP'] = "<div class='text-center'>{---}
|
||||
<h2 class='signup-divider'><span>" . LAN_SIGNUP_120 . "</span></h2></div>";
|
||||
<h2 class='signup-divider'><span>{LAN=SIGNUP_120}</span></h2></div>";
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_PASSWORD1'] = "<div class='form-group row m-2'>
|
||||
<label class='col-sm-3 control-label' for='password1'>" . LAN_SIGNUP_83 . "{SIGNUP_IS_MANDATORY=true}</label>
|
||||
<label class='col-sm-3 control-label' for='password1'>{LAN=SIGNUP_83}{SIGNUP_IS_MANDATORY=true}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>";
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_PASSWORD2'] = "<div class='form-group row m-2'>
|
||||
<label class='col-sm-3 control-label' for='password2'>" . LAN_SIGNUP_84 . "{SIGNUP_IS_MANDATORY=true}</label>
|
||||
<label class='col-sm-3 control-label' for='password2'>{LAN=SIGNUP_84}{SIGNUP_IS_MANDATORY=true}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>";
|
||||
|
||||
$SIGNUP_WRAPPER['SIGNUP_USERCLASS_SUBSCRIBE'] = "<div class='form-group row m-2 '>
|
||||
<label class='col-sm-3 control-label'>" . LAN_SIGNUP_113 . "{SIGNUP_IS_MANDATORY=subscribe}</label>
|
||||
<label class='col-sm-3 control-label'>{LAN=SIGNUP_113}{SIGNUP_IS_MANDATORY=subscribe}</label>
|
||||
<div class='col-sm-9 checkbox'>{---}</div>
|
||||
</div>";
|
||||
|
||||
|
@@ -43,12 +43,12 @@ if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
$USER_TEMPLATE['list']['start'] = "
|
||||
<div class='content user-list'>
|
||||
<div class='center'>".LAN_USER_56." {TOTAL_USERS}
|
||||
<div class='center'>{LAN=USER_56} {TOTAL_USERS}
|
||||
<br />
|
||||
<br />
|
||||
{USER_FORM_START}
|
||||
<div class='form-inline'>
|
||||
".LAN_SHOW.": {USER_FORM_RECORDS} ".LAN_USER_57." {USER_FORM_ORDER}
|
||||
{LAN=SHOW}: {USER_FORM_RECORDS} {LAN=USER_57} {USER_FORM_ORDER}
|
||||
{USER_FORM_SUBMIT}
|
||||
</div>
|
||||
{USER_FORM_END}
|
||||
@@ -59,9 +59,9 @@ if (!defined('e107_INIT')) { exit; }
|
||||
<thead>
|
||||
<tr>
|
||||
<th class='fcaption' style='width:2%'> </th>
|
||||
<th class='fcaption' style='width:20%'>".LAN_USER_58."</th>
|
||||
<th class='fcaption' style='width:20%'>".LAN_USER_60."</th>
|
||||
<th class='fcaption' style='width:20%'>".LAN_USER_59."</th>
|
||||
<th class='fcaption' style='width:20%'>{LAN=USER_58}</th>
|
||||
<th class='fcaption' style='width:20%'>{LAN=USER_60}</th>
|
||||
<th class='fcaption' style='width:20%'>{LAN=USER_59}</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@@ -86,7 +86,7 @@ if (!defined('e107_INIT')) { exit; }
|
||||
|
||||
|
||||
// View shortcode wrappers.
|
||||
$USER_WRAPPER['view']['USER_COMMENTPOSTS'] = '<div class="col-xs-12 col-md-4">'.LAN_USER_68.'</div><div class="col-xs-12 col-md-8">{---}';
|
||||
$USER_WRAPPER['view']['USER_COMMENTPOSTS'] = '<div class="col-xs-12 col-md-4">{LAN=USER_68}</div><div class="col-xs-12 col-md-8">{---}';
|
||||
$USER_WRAPPER['view']['USER_COMMENTPER'] = ' ( {---}% )</div>';
|
||||
$USER_WRAPPER['view']['USER_SIGNATURE'] = '<div>{---}</div>';
|
||||
$USER_WRAPPER['view']['USER_RATING'] = '<div>{---}</div>';
|
||||
@@ -100,7 +100,7 @@ if (!defined('e107_INIT')) { exit; }
|
||||
<div class="col-md-12">
|
||||
<div class="panel panel-default panel-profile clearfix">
|
||||
<div class="panel-heading" style="height:180px; background-size: cover;background-image: url( {USER_PHOTO: type=url});">
|
||||
<h5 class="user-id">'.LAN_USER_58.' {USER_ID}</h5>
|
||||
<h5 class="user-id">{LAN=USER_58} {USER_ID}</h5>
|
||||
</div>
|
||||
<div class="panel-body text-center">
|
||||
{SETIMAGE: w=200&h=200&crop=1}
|
||||
@@ -113,13 +113,13 @@ if (!defined('e107_INIT')) { exit; }
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-body">
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_63.'</div><div class="col-xs-12 col-md-8">{USER_REALNAME}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_02.'</div><div class="col-xs-12 col-md-8">{USER_LOGINNAME}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_60.'</div><div class="col-xs-12 col-md-8">{USER_EMAIL}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_54.'</div><div class="col-xs-12 col-md-8">{USER_LEVEL}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_65.'</div><div class="col-xs-12 col-md-8">{USER_LASTVISIT}<br /><small class="padding-left">{USER_LASTVISIT_LAPSE}</small></div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_59.'</div><div class="col-xs-12 col-md-8">{USER_JOIN}<br /><small class="padding-left">{USER_DAYSREGGED}</small></div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">'.LAN_USER_66.'</div><div class="col-xs-12 col-md-8">{USER_VISITS}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_63}</div><div class="col-xs-12 col-md-8">{USER_REALNAME}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_02}</div><div class="col-xs-12 col-md-8">{USER_LOGINNAME}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_60}</div><div class="col-xs-12 col-md-8">{USER_EMAIL}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_54}</div><div class="col-xs-12 col-md-8">{USER_LEVEL}</div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_65}</div><div class="col-xs-12 col-md-8">{USER_LASTVISIT}<br /><small class="padding-left">{USER_LASTVISIT_LAPSE}</small></div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_59}</div><div class="col-xs-12 col-md-8">{USER_JOIN}<br /><small class="padding-left">{USER_DAYSREGGED}</small></div></div>
|
||||
<div class="row"><div class="col-xs-12 col-md-4">{LAN=USER_66}</div><div class="col-xs-12 col-md-8">{USER_VISITS}</div></div>
|
||||
{USER_ADDONS}
|
||||
<div class="row">{USER_COMMENTPOSTS} {USER_COMMENTPER}</div>
|
||||
{USER_EXTENDED_ALL}
|
||||
|
@@ -22,54 +22,54 @@ if (!defined('e107_INIT')) { exit; }
|
||||
// e107 v2. bootstrap3 compatible template.
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['USERNAME'] = "<div class='form-group'>
|
||||
<label for='username' class='col-sm-3 control-label'>".LAN_USER_01."</label>
|
||||
<label for='username' class='col-sm-3 control-label'>{LAN=USER_01}</label>
|
||||
<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>
|
||||
<label for='loginname' class='col-sm-3 control-label'>{LAN=USER_81}</label>
|
||||
<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>
|
||||
<label for='password1' class='col-sm-3 control-label'>{LAN=USET_24}</label>
|
||||
<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>
|
||||
<label for='password2' class='col-sm-3 control-label'>{LAN=USET_25}</label>
|
||||
<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>
|
||||
<label for='realname' class='col-sm-3 control-label'>{LAN=USER_63}{REQUIRED=realname}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['CUSTOMTITLE'] = "<div class='form-group'>
|
||||
<label for='customtitle' class='col-sm-3 control-label'>".LAN_USER_04.":{REQUIRED=customtitle}</label>
|
||||
<label for='customtitle' class='col-sm-3 control-label'>{LAN=USER_04}:{REQUIRED=customtitle}</label>
|
||||
<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>
|
||||
<label class='col-sm-3 control-label'>{LAN=USER_76}:{REQUIRED=class}</label>
|
||||
<div class='col-sm-9 checkbox'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['AVATAR_UPLOAD'] = "<div class='form-group'>
|
||||
<label for='avatar' class='col-sm-3 control-label'>".LAN_USET_26."</label>
|
||||
<label for='avatar' class='col-sm-3 control-label'>{LAN=USET_26}</label>
|
||||
<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>
|
||||
<label for='photo' class='col-sm-3 control-label'>{LAN=USER_06}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
@@ -77,7 +77,7 @@ $USERSETTINGS_WRAPPER['edit']['PHOTO_UPLOAD'] = "<div class='form-group'>
|
||||
|
||||
|
||||
$USERSETTINGS_WRAPPER['edit']['SIGNATURE'] = "<div class='form-group'>
|
||||
<label for='signature' class='col-sm-3 control-label'>".LAN_USER_71."{REQUIRED=signature}</label>
|
||||
<label for='signature' class='col-sm-3 control-label'>{LAN=USER_71}{REQUIRED=signature}</label>
|
||||
<div class='col-sm-9'>{---}</div>
|
||||
</div>
|
||||
";
|
||||
@@ -96,7 +96,7 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
||||
{USERNAME}
|
||||
{LOGINNAME}
|
||||
<div class='form-group'>
|
||||
<label for='email' class='col-sm-3 control-label'>".LAN_USER_60."{REQUIRED=email}</label>
|
||||
<label for='email' class='col-sm-3 control-label'>{LAN=USER_60}{REQUIRED=email}</label>
|
||||
<div class='col-sm-9'>
|
||||
{EMAIL}
|
||||
</div>
|
||||
@@ -111,14 +111,14 @@ $USERSETTINGS_TEMPLATE['edit'] = "
|
||||
{PASSWORD2}
|
||||
|
||||
<div class='form-group'>
|
||||
<label for='hideemail' class='col-sm-3 control-label'>".LAN_USER_83."</label>
|
||||
<label for='hideemail' class='col-sm-3 control-label'>{LAN=USER_83}</label>
|
||||
<div class='col-sm-9'>
|
||||
{HIDEEMAIL=radio}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='form-group'>
|
||||
<label class='col-sm-3 control-label'>".LAN_USER_07."{REQUIRED=image}</label>
|
||||
<label class='col-sm-3 control-label'>{LAN=USER_07}{REQUIRED=image}</label>
|
||||
<div class='col-sm-9'>
|
||||
{AVATAR_REMOTE}
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user