1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-11 00:54:49 +02:00

Path changes on code templates.

This commit is contained in:
Cameron
2013-03-20 22:59:37 -07:00
parent 7f5599b7b6
commit 0ba11945ab
11 changed files with 22 additions and 34 deletions

View File

@@ -0,0 +1,81 @@
<?php
// $Id$
if (!defined('e107_INIT')) { exit; }
if (!defined("USER_WIDTH")){ define("USER_WIDTH","width:70%"); }
// ##### FPW TABLE -----------------------------------------------------------------------------
if(!isset($FPW_TABLE))
{
$FPW_TABLE = "
<div style='text-align:center'>
<form method='post' action='".SITEURL."fpw.php' autocomplete='off'>
<table style='".USER_WIDTH."' class='table fborder'>
<tr>
<td class='fcaption' colspan='2'>".LAN_05."</td>
</tr>";
if($pref['allowEmailLogin']==0)
{
$FPW_TABLE .= "
<tr>
<td class='forumheader3' style='width:70%'>".LAN_FPW1.":</td>
<td class='forumheader3' style='width:30%;text-align:center'>
<input class='tbox' type='text' name='username' size='40' value='' maxlength='100' />
</td>
</tr>";
}
$FPW_TABLE .="
<tr>
<td class='forumheader3' style='width:70%'>".LAN_112.":</td>
<td class='forumheader3' style='width:30%; text-align:center'>
<input class='tbox' type='text' name='email' size='40' value='' maxlength='100' />
</td>
</tr>";
if(deftrue('USE_IMAGECODE'))
{
$FPW_TABLE .= "
<tr>
<td class='forumheader3' style='width:25%'>{FPW_TABLE_SECIMG_LAN}</td>
<td class='forumheader3' style='width:75%;text-align:left'>{FPW_TABLE_SECIMG_HIDDEN} {FPW_TABLE_SECIMG_SECIMG}<br />
{FPW_TABLE_SECIMG_TEXTBOC}<br />
</td>
</tr>";
}
$FPW_TABLE .="
<tr style='vertical-align:top'>
<td class='forumheader' colspan='2' style='text-align:center'>
<input class='button btn btn-primary' type='submit' name='pwsubmit' value='".LAN_156."' />
</td>
</tr>
</table>
</form>
</div>";
}
// ##### ------------------------------------------------------------------------------------------
// ##### FPW HEADER TABLE -------------------------------------------------------------------------
if(!isset($FPW_TABLE_HEADER))
{
$FPW_TABLE_HEADER = "
<div style='width:100%;text-align:center;margin-left:auto;margin-right:auto'>
<div style='width:70%;margin-left:auto;margin-right:auto;text-align:center;'><br />
{FPW_LOGIN_LOGO}
<br />";
}
// ##### ------------------------------------------------------------------------------------------
// ##### FPW FOOTER TABLE -------------------------------------------------------------------------
if(!isset($FPW_TABLE_FOOTER))
{
$FPW_TABLE_FOOTER = "</div></div>";
}
// ##### ------------------------------------------------------------------------------------------
?>

View File

@@ -0,0 +1,40 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* 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/membersonly_template.php,v $
* $Revision$
* $Date$
* $Author$
*/
if (!defined('e107_INIT')) { exit; }
$MEMBERSONLY_BEGIN = "<div style='width:75%;margin-right:auto;margin-left:auto'><br /><br />";
$MEMBERSONLY_CAPTION = "<div style='text-align:center'>".LAN_MEMBERS_0."</div>";
$MEMBERSONLY_TABLE = "
<div style='text-align:center'>
<table class='table fborder' style='width:75%;margin-right:auto;margin-left:auto'>
<tr>
<td class='forumheader3' style='text-align:center'><br />".LAN_MEMBERS_1." ".LAN_MEMBERS_2;
if ($pref['user_reg'])
{
$MEMBERSONLY_TABLE .= " ".LAN_MEMBERS_3." ";
}
$MEMBERSONLY_TABLE .= "<br /><br /><a href='".e_BASE."index.php'>".LAN_MEMBERS_4."</a>
</td>
</tr>
</table>
</div>
";
$MEMBERSONLY_END = "<div>";
?>

View File

@@ -0,0 +1,262 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* 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/signup_template.php,v $
* $Revision: 12837 $
* $Date: 2012-06-19 11:08:41 +0200 (di, 19 jun 2012) $
* $Author: e107coders $
*/
if (!defined('e107_INIT')) { exit; }
if (!defined("USER_WIDTH")){ define("USER_WIDTH", "width:100%"); }
define("REQUIRED_FIELD_MARKER", "<span class='required'> *</span>");
$sc_style['SIGNUP_DISPLAYNAME']['pre'] = "
<tr>
<td class='forumheader3' style='width:30%;white-space:nowrap' >"
.LAN_SIGNUP_89."<span class='required'> *</span><br /><span class='smalltext'>".LAN_SIGNUP_90."</span>
</td>
<td class='forumheader3' style='width:70%'>";
$sc_style['SIGNUP_DISPLAYNAME']['post'] = "
</td>
</tr>";
$sc_style['SIGNUP_REALNAME']['pre'] = "
<tr>
<td class='forumheader3' style='width:30%;white-space:nowrap'>"
.LAN_SIGNUP_91."".req($pref['signup_option_realname'])."
</td>
<td class='forumheader3' style='width:70%' >";
$sc_style['SIGNUP_REALNAME']['post'] = "
</td>
</tr>";
$sc_style['SIGNUP_IS_MANDATORY']['pre'] = "<span class='required'>";
$sc_style['SIGNUP_IS_MANDATORY']['post'] = "</span>";
if(!defined($USERCLASS_SUBSCRIBE_START))
{
$USERCLASS_SUBSCRIBE_START = "
<tr>
<td class='forumheader3' style='width:30%;vertical-align:top'>"
.LAN_USER_76." ".req($pref['signup_option_class'])."<br />
<span class='smalltext'>".LAN_USER_73."</span>
</td>
<td class='forumheader3' style='width:70%;margin-left:0px'>
<table style='".USER_WIDTH."'>";
}
if(!defined($USERCLASS_SUBSCRIBE_ROW))
{
$USERCLASS_SUBSCRIBE_ROW = "
<tr>
<td class='defaulttext' style='width:10%;vertical-align:top'>
<div {USERCLASS_INDENT}>
<input type='checkbox' name='class[]' value='{USERCLASS_ID}' {USERCLASS_CHECKED} />
</div>
</td>
<td class='defaulttext' style='text-align:left;margin-left:0px;width:90%;padding-top:3px;vertical-align:top'>
{USERCLASS_NAME}<br />
<span class='smalltext'>{USERCLASS_DESCRIPTION}</span>
</td>
</tr>";
}
if(!defined($USERCLASS_SUBSCRIBE_END))
{
$USERCLASS_SUBSCRIBE_END = "
</table>
</td>
</tr>";
}
if(!defined($SIGNUP_PASSWORD_LEN))
{
$SIGNUP_PASSWORD_LEN = "
<span class='smalltext'> (".LAN_SIGNUP_1." {$pref['signup_pass_len']} ".LAN_SIGNUP_2.")</span>";
}
if(!defined($SIGNUP_EXTENDED_USER_FIELDS))
{
$SIGNUP_EXTENDED_USER_FIELDS = "
<tr>
<td style='width:40%' class='forumheader3'>
{EXTENDED_USER_FIELD_TEXT}
{EXTENDED_USER_FIELD_REQUIRED}
</td>
<td style='width:60%' class='forumheader3'>
{EXTENDED_USER_FIELD_EDIT}
</td>
</tr>";
}
if(!defined($EXTENDED_USER_FIELD_REQUIRED))
{
$EXTENDED_USER_FIELD_REQUIRED = "<span class='required'> *</span>";
}
/* // DEPRECATED
$SIGNUP_SIGNATURE_START = "
<tr>
<td class='forumheader3' style='width:30%;white-space:nowrap;vertical-align:top' >".LAN_SIGNUP_93." ".req($pref['signup_option_signature'])."</td>
<td class='forumheader3' style='width:70%' >
<textarea class='tbox' style='width:99%' name='signature' cols='10' rows='4' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'>";
$SIGNUP_SIGNATURE_END = "
</textarea><br />
<div style='".USER_WIDTH."'>{REN_HELP}</div>
</td></tr>
";
*/
$sc_style['SIGNUP_SIGNATURE']['pre'] = "
<tr>
<td class='forumheader3' style='width:30%;white-space:nowrap;vertical-align:top' >".LAN_SIGNUP_93." ".req($pref['signup_option_signature'])."</td>
<td class='forumheader3' style='width:70%'>";
$sc_style['SIGNUP_SIGNATURE']['post'] = "
</td>
</tr>";
$sc_style['SIGNUP_IMAGES']['pre'] = "
<tr>
<td class='forumheader3' style='width:30%; vertical-align:top;white-space:nowrap' >".LAN_SIGNUP_94.req($pref['signup_option_image'])."</td>
<td class='forumheader3' style='width:70%;vertical-align:top'>";
$sc_style['SIGNUP_IMAGES']['post'] = "
</td>
</tr>";
$sc_style['SIGNUP_IMAGECODE']['pre'] = "
<tr>
<td class='forumheader3' style='width:30%'>".e107::getSecureImg()->renderLabel().req(2)."</td>
<td class='forumheader3' style='width:70%'>";
$sc_style['SIGNUP_IMAGECODE']['post'] = "
</td>
</tr>";
$sc_style['SIGNUP_LOGINNAME']['pre'] = "
<tr>
<td class='forumheader3' style='width:30%'>".LAN_SIGNUP_81.req(2)."</td>
<td class='forumheader3' style='width:70%'>";
$sc_style['SIGNUP_LOGINNAME']['post'] = "
</td>
</tr>";
$sc_style['SIGNUP_HIDE_EMAIL']['pre'] = "
<tr>
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_USER_83."</td>
<td class='forumheader3' style='width:70%'>";
$sc_style['SIGNUP_HIDE_EMAIL']['post'] = "
</td>
</tr>";
$sc_style['SIGNUP_EMAIL_CONFIRM']['pre'] = "
<tr>
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_39."</td>
<td class='forumheader3' style='width:70%'>";
$sc_style['SIGNUP_EMAIL_CONFIRM']['post'] = "
</td>
</tr>";
$sc_style['SIGNUP_XUP']['pre'] = "<div class='center' style='display:block;padding:10px'>";
$sc_style['SIGNUP_XUP']['post'] = "<h2 class='divider'><span>OR</span></h2></div>";
if(!defined($COPPA_TEMPLATE))
{
$COPPA_TEMPLATE =
LAN_SIGNUP_77." <a href='http://www.ftc.gov/privacy/coppafaqs.shtm'>".LAN_SIGNUP_14."</a>. "
.LAN_SIGNUP_15." ".$tp->emailObfuscate(SITEADMINEMAIL,LAN_SIGNUP_14)." ".LAN_SIGNUP_16."<br />
<br />
<div style='text-align:center'><b>".LAN_SIGNUP_17."</b>
{SIGNUP_COPPA_FORM}
</div>";
}
if(!defined($COPPA_FAIL))
{
$COPPA_FAIL = "<div style='text-align:center'>".LAN_SIGNUP_9."</div>";
}
//if(!defined($SIGNUP_TEXT))
{
//$SIGNUP_TEXT = $tp->parseTemplate("{SIGNUP_SIGNUP_TEXT}"); // .
//LAN_SIGNUP_80." <b>".LAN_SIGNUP_29."</b><br /><br />".
//LAN_SIGNUP_30."<br />".
//LAN_SIGNUP_85;
}
if(!defined($SIGNUP_BEGIN))
{
$SIGNUP_BEGIN = "
{SIGNUP_FORM_OPEN} {SIGNUP_SIGNUP_TEXT}";
}
if(!defined($SIGNUP_BODY))
{
$SIGNUP_BODY = "
{SIGNUP_XUP}
<div id='default'>
{SIGNUP_XUP_ACTION}
<table class='table fborder' style='".USER_WIDTH."'>
{SIGNUP_DISPLAYNAME}
{SIGNUP_LOGINNAME}
{SIGNUP_REALNAME}
<tr>
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_USER_60."{SIGNUP_IS_MANDATORY=email}</td>
<td class='forumheader3' style='width:70%'>
{SIGNUP_EMAIL}
</td>
</tr>
{SIGNUP_EMAIL_CONFIRM}
<tr>
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_83."<span class='required'> *</span></td>
<td class='forumheader3' style='width:70%'>
{SIGNUP_PASSWORD1}
</td>
</tr>
<tr>
<td class='forumheader3' style='width:30%;white-space:nowrap'>".LAN_SIGNUP_84."<span class='required'> *</span></td>
<td class='forumheader3' style='width:70%'>
{SIGNUP_PASSWORD2}
</td>
</tr>
{SIGNUP_HIDE_EMAIL}
{SIGNUP_USERCLASS_SUBSCRIBE}
{SIGNUP_EXTENDED_USER_FIELDS}
{SIGNUP_SIGNATURE}
{SIGNUP_IMAGES}
{SIGNUP_IMAGECODE}
<tr style='vertical-align:top'>
<td class='forumheader' colspan='2' style='text-align:center'>
<input class='button btn btn-success' type='submit' name='register' value=\"".LAN_SIGNUP_79."\" />
<br />
</td>
</tr>
</table>
</div>
{SIGNUP_FORM_CLOSE}";
}
if(!defined($SIGNUP_EXTENDED_CAT))
{
$SIGNUP_EXTENDED_CAT = "
<tr>
<td colspan='2' class='forumheader'>
{EXTENDED_CAT_TEXT}
</td>
</tr>";
}
if(!defined($SIGNUP_END))
{
$SIGNUP_END = '';
}
?>

View File

@@ -0,0 +1,44 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* 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/sitedown_template.php,v $
* $Revision$
* $Date$
* $Author$
*/
if (!defined('e107_INIT')) { exit; }
// ##### SITEDOWN TABLE -----------------------------------------------------------------
if(!isset($SITEDOWN_TABLE))
{
$SITEDOWN_TABLE = (defined("STANDARDS_MODE") ? "" : "<?xml version='1.0' encoding='utf-8' "."?".">")."<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.1//EN\" \"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd\">
";
$SITEDOWN_TABLE .= "
<html xmlns='http://www.w3.org/1999/xhtml'".(defined("TEXTDIRECTION") ? " dir='".TEXTDIRECTION."'" : "").(defined("CORE_LC") ? " xml:lang=\"".CORE_LC."\"" : "").">
<head>
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
<meta http-equiv='content-style-type' content='text/css' />\n
<link rel='stylesheet' href='".THEME_ABS."style.css' type='text/css' media='all' />
<title>{SITEDOWN_TABLE_PAGENAME}</title>
</head>
<body>
<div style='text-align:center;font-size: 14px; color: black; font-family: Tahoma, Verdana, Arial, Helvetica; text-decoration: none'>
<div style='text-align:center'>{LOGO}</div>
<hr />
<br />
{SITEDOWN_TABLE_MAINTAINANCETEXT}
</div>
</body>
</html>";
}
// ##### ------------------------------------------------------------------------------------------
?>

View File

@@ -0,0 +1,210 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* 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/user_template.php,v $
* $Revision$
* $Date$
* $Author$
*/
if (!defined('e107_INIT')) { exit; }
if (!defined("USER_WIDTH")){ define("USER_WIDTH", "width:95%"); }
global $user_shortcodes, $pref, $user;
//Set this to TRUE if you would like any extended user field that is empty to NOT be shown on the profile page
define("HIDE_EMPTY_FIELDS", FALSE);
$EXTENDED_CATEGORY_START = "<tr><td colspan='2' class='forumheader center'>{EXTENDED_NAME}</td></tr>";
$EXTENDED_CATEGORY_TABLE = "
<tr>
<td style='width:40%' class='forumheader3'>
{EXTENDED_ICON}&nbsp;
{EXTENDED_NAME}
</td>
<td style='width:60%' class='forumheader3'>{EXTENDED_VALUE}</td>
</tr>
";
$EXTENDED_CATEGORY_END = "";
/**
* Preparing for huge markup/css changes
*/
$USER_SHORT_TEMPLATE_START = "
<div class='content user-list'>
<div class='center'>".LAN_USER_56." {TOTAL_USERS}
<br />
<br />
{USER_FORM_START}
<div class='form-inline'>
".LAN_USER_70.": {USER_FORM_RECORDS} ".LAN_USER_57." {USER_FORM_ORDER}
{USER_FORM_SUBMIT}
</div>
{USER_FORM_END}
</div>
<br />
<br />
<table style='".USER_WIDTH."' class='table fborder e-list'>
<thead>
<tr>
<th class='fcaption' style='width:2%'>&nbsp;</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>
";
$USER_SHORT_TEMPLATE_END = "
</tbody>
</table>
</div>
";
$USER_SHORT_TEMPLATE = "
<tr>
<td class='forumheader3' style='width:2%'>{USER_ICON_LINK}</td>
<td class='forumheader3' style='width:20%'>{USER_ID}: {USER_NAME_LINK}</td>
<td class='forumheader3' style='width:20%'>{USER_EMAIL}</td>
<td class='forumheader3' style='width:20%'>{USER_JOIN}</td>
</tr>
";
$sc_style['USER_SIGNATURE']['pre'] = "<tr><td colspan='2' class='forumheader3 left'>";
$sc_style['USER_SIGNATURE']['post'] = "</td></tr>";
$sc_style['USER_COMMENTS_LINK']['pre'] = "<tr><td colspan='2' class='forumheader3 left'>";
$sc_style['USER_COMMENTS_LINK']['post'] = "</td></tr>";
$sc_style['USER_FORUM_LINK']['pre'] = "<tr><td colspan='2' class='forumheader3 left'>";
$sc_style['USER_FORUM_LINK']['post'] = "</td></tr>";
$sc_style['USER_UPDATE_LINK']['pre'] = "<tr><td colspan='2' class='forumheader3 center'>";
$sc_style['USER_UPDATE_LINK']['post'] = "</td></tr>";
$sc_style['USER_RATING']['pre'] = "<tr><td colspan='2' class='forumheader3'><div class='f-left'>".LAN_USER_61."</div><div class='f-right'>";
$sc_style['USER_RATING']['post'] = "</div></td></tr>";
$sc_style['USER_LOGINNAME']['pre'] = " : ";
if(isset($pref['photo_upload']) && $pref['photo_upload'])
{
$user_picture = "{USER_PICTURE}";
$colspan = " colspan='2'";
$main_colspan = "";
}
else
{
$user_picture = "";
$colspan = "";
$main_colspan = " colspan = '2' ";
}
$sc_style['USER_SENDPM']['pre'] = "<tr><td colspan='2' class='forumheader3'><div class='f-left'>";
$sc_style['USER_SENDPM']['post'] = "</div><div class='f-right'>".LAN_USER_62."</div></td></tr>";
// Determine which other bits are installed; let photo span those rows (can't do signature - will vary with user)
$span = 4;
if ($tp->parseTemplate("{USER_SENDPM}", FALSE, $user_shortcodes)) $span++;
$span = " rowspan='".$span."' ";
$sc_style['USER_PICTURE']['pre']="<td {$span} class='forumheader3 center middle' style='width:20%'>";
$sc_style['USER_PICTURE']['post']="</td>";
$USER_FULL_TEMPLATE = "
<div class='content user'>
<table style='".USER_WIDTH."' class='table fborder'>
<tr>
<td colspan='2' class='fcaption center'>".LAN_USER_58." {USER_ID} : {USER_NAME}{USER_LOGINNAME}</td>
</tr>
<tr>
{$user_picture}
<td {$main_colspan} class='forumheader3'>
<div class='f-left'>{USER_REALNAME_ICON} ".LAN_USER_63."</div>
<div class='f-right right'>{USER_REALNAME}</div>
</td>
</tr>
<tr>
<td {$main_colspan} class='forumheader3'>
<div class='f-left'>{USER_EMAIL_ICON} ".LAN_USER_60."</div>
<div class='f-right right'>{USER_EMAIL_LINK}</div>
</td>
</tr>
<tr>
<td {$main_colspan} class='forumheader3'>
<div class='f-left'>".LAN_USER_54.":</div>
<div class='f-right right'>{USER_LEVEL}</div>
</td>
</tr>
<tr>
<td {$main_colspan} class='forumheader3'>
<div class='f-left'>".LAN_USER_65.":&nbsp;&nbsp;</div>
<div class='f-right right'>{USER_LASTVISIT}<br />{USER_LASTVISIT_LAPSE}</div>
</td>
</tr>
{USER_SENDPM}
{USER_RATING}
{USER_SIGNATURE}
{USER_EXTENDED_ALL}
<tr>
<td colspan='2' class='forumheader'>".LAN_USER_64."</td>
</tr>
<tr>
<td style='width:30%' class='forumheader3'>".LAN_USER_59."</td>
<td style='width:70%' class='forumheader3'>{USER_JOIN}<br />{USER_DAYSREGGED}</td>
</tr>
<tr>
<td style='width:30%' class='forumheader3'>".LAN_USER_67."</td>
<td style='width:70%' class='forumheader3'>{USER_CHATPOSTS} ( {USER_CHATPER}% )</td>
</tr>
<tr>
<td style='width:30%' class='forumheader3'>".LAN_USER_68."</td>
<td style='width:70%' class='forumheader3'>{USER_COMMENTPOSTS} ( {USER_COMMENTPER}% )</td>
</tr>
{USER_COMMENTS_LINK}
<tr>
<td style='width:30%' class='forumheader3'>".LAN_USER_69."</td>
<td style='width:70%' class='forumheader3'>{USER_FORUMPOSTS} ( {USER_FORUMPER}% )</td>
</tr>
{USER_FORUM_LINK}
<tr>
<td style='width:30%' class='forumheader3'>".LAN_USER_66."</td>
<td style='width:70%' class='forumheader3'>{USER_VISITS}</td>
</tr>
{USER_EMBED_USERPROFILE}
{USER_UPDATE_LINK}
<tr>
<td colspan='2' class='forumheader3 center'>
<table style='width:95%'>
<tr>
<td style='width:50%'>{USER_JUMP_LINK=prev}</td>
<td class='right' style='width:50%;'>{USER_JUMP_LINK=next}</td>
</tr>
</table>
</td>
</tr>
</table></div>
{PROFILE_COMMENTS}
{PROFILE_COMMENT_FORM}
";
$USER_EMBED_USERPROFILE_TEMPLATE = "
<tr><td colspan='2' class='fcaption'>{USER_EMBED_USERPROFILE_CAPTION}</td></tr>
<tr><td colspan='2' class='forumheader3'>{USER_EMBED_USERPROFILE_TEXT}</td></tr>";
?>

View File

@@ -0,0 +1,176 @@
<?php
/*
* e107 website system
*
* Copyright (C) 2008-2009 e107 Inc (e107.org)
* 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 $
* $Revision$
* $Date$
* $Author$
*/
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>
<td style='width:60%' class='forumheader2'>\n";
$sc_style['CUSTOMTITLE']['post'] = "</td></tr>\n";
$sc_style['PASSWORD1']['pre'] = "<tr>
<td style='width:40%' class='forumheader3'>".LAN_USET_24."</td>
<td style='width:60%' class='forumheader2'>\n";
$sc_style['PASSWORD1']['post'] = "</td></tr>\n";
$sc_style['PASSWORD2']['pre'] = "<tr>
<td style='width:40%' class='forumheader3'>".LAN_USET_25."</td>
<td style='width:60%' class='forumheader2'>\n";
$sc_style['PASSWORD2']['post'] = "</td></tr>\n";
$sc_style['PASSWORD_LEN']['pre'] = "<br /><span class='smalltext'> (".LAN_USER_78." ";
$sc_style['PASSWORD_LEN']['post'] = " ".LAN_USER_79.")</span>";
$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>
</td>
<td style='width:60%' class='forumheader2'>";
$sc_style['USERCLASSES']['post'] = "</td></tr>\n";
$sc_style['AVATAR_UPLOAD']['pre'] = "<tr>
<td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_USET_26."<br /></td>
<td style='width:60%' class='forumheader2'>\n";
$sc_style['AVATAR_UPLOAD']['post'] = "</td></tr>\n";
$sc_style['PHOTO_UPLOAD']['pre'] = "<tr>
<td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_USER_06."</td>
<td style='width:60%' class='forumheader2'><span class='smalltext'>\n";
$sc_style['PHOTO_UPLOAD']['post'] = "</span></td></tr>";
$sc_style['USERNAME']['pre'] = "<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_01."</td>
<td style='width:60%' class='forumheader2'>\n";
$sc_style['USERNAME']['post'] = "</td</tr>";
$sc_style['LOGINNAME']['pre'] = "<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_81."</td>
<td style='width:60%' class='forumheader2'>\n";
$sc_style['LOGINNAME']['post'] = "</td></tr>\n";
$sc_style['SIGNATURE']['pre'] = "<tr><td style='width:40%;vertical-align:top' class='forumheader3'>".LAN_USER_71.req($pref['signup_option_signature'])."</td>
<td style='width:60%' class='forumheader2'>";
//$sc_style['SIGNATURE']['pre'] = "<tr><td style='width:40%;vertical-align:top' class='forumheader3'></td>
// <td style='width:60%' class='forumheader2'>";
// $sc_style['SIGNATURE_HELP']['pre'] = "</td></tr>"; \
$sc_style['SIGNATURE_HELP']['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>
";
$REQUIRED_FIELD = "{FIELDNAME}<span class='required'> *</span>";
// After Saving has occurred.
$USERSETTINGS_MESSAGE = "<div style='text-align:center'>{MESSAGE}</div>";
$USERSETTINGS_MESSAGE_CAPTION = LAN_OK;
$USERSETTINGS_EDIT_CAPTION = LAN_USET_39; // 'Update User Settings'
$USERSETTINGS_EDIT = "
<div style='text-align:center'>
<table style='".USER_WIDTH."' class='table fborder adminform'>
<colgroup span='2'>
<col class='col-label' />
<col class='col-control' />
</colgroup>
<tr>
<td colspan='2' class='forumheader'>".LAN_USET_31."</td>
</tr>
{USERNAME}
{LOGINNAME}
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_60.req(!$pref['disable_emailcheck'])."</td>
<td style='width:60%' class='forumheader2'>
{EMAIL}
</td>
</tr>
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_63.req($pref['signup_option_realname'])."</td>
<td style='width:60%' class='forumheader2'>
{REALNAME}
</td>
</tr>
{CUSTOMTITLE}
{PASSWORD1}
{PASSWORD_LEN}
{PASSWORD2}
<tr>
<td style='width:40%' class='forumheader3'>".LAN_USER_83."</td>
<td style='width:60%' class='forumheader2'><span class='defaulttext'>
{HIDEEMAIL=radio}
</span>
</td>
</tr>
<tr>
<td style='width:40%; vertical-align:top' class='forumheader3'>".LAN_USER_07.req($pref['signup_option_image'])."</td>
<td style='width:60%' class='forumheader2'>
{AVATAR_REMOTE}
</td>
</tr>
{AVATAR_UPLOAD}
{PHOTO_UPLOAD}
{USERCLASSES}
{USEREXTENDED_ALL}
{SIGNATURE=cols=58&rows=4}
{SIGNATURE_HELP}
<tr style='vertical-align:top'>
<td colspan='2' style='text-align:center' class='forumheader'><input class='button btn' type='submit' name='updatesettings' value='".LAN_USET_37."' /></td>
</tr>
</table>
</div>
";
?>