2006-12-02 04:36:16 +00:00
|
|
|
<?php
|
|
|
|
/*
|
2009-11-12 15:01:36 +00:00
|
|
|
* e107 website system
|
|
|
|
*
|
2016-12-19 12:18:58 +00:00
|
|
|
* Copyright (C) 2008-2016 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/signup_template.php,v $
|
2012-11-23 05:27:06 -08:00
|
|
|
* $Revision: 12837 $
|
|
|
|
* $Date: 2012-06-19 11:08:41 +0200 (di, 19 jun 2012) $
|
|
|
|
* $Author: e107coders $
|
2009-11-12 15:01:36 +00:00
|
|
|
*/
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2021-01-03 10:17:01 -08:00
|
|
|
if(!defined('e107_INIT'))
|
|
|
|
{
|
|
|
|
exit;
|
|
|
|
}
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2021-01-03 10:17:01 -08:00
|
|
|
// Shortcode Wrappers
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_DISPLAYNAME'] = "<div class='form-group row m-2'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<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>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9'>{---}</div>
|
|
|
|
</div>";
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_REALNAME'] = "<div class='form-group row m-2'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<label class='col-sm-3 control-label' for='realname'>{LAN=SIGNUP_91}{SIGNUP_IS_MANDATORY=realname}</label>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9'>{---}</div>
|
|
|
|
</div>";
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_GDPR_INFO'] = "<div class='form-group row m-2 text-center'>{---}</div> ";
|
2006-12-02 04:36:16 +00:00
|
|
|
|
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_SIGNATURE'] = "<div class='form-group row m-2'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<label class='col-sm-3 control-label' for='signature'>{LAN=SIGNUP_93}{SIGNUP_IS_MANDATORY=signature}</label>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9'>{---}</div>
|
|
|
|
</div>";
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_IMAGES'] = "<div class='form-group row m-2'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<label class='col-sm-3 control-label'for='avatar'>{LAN=SIGNUP_94}{SIGNUP_IS_MANDATORY=avatar}</label>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9'>{---}</div>
|
|
|
|
</div>";
|
2021-01-03 10:17:01 -08:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_IMAGECODE'] = "<div class='form-group row m-2'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<label class='col-sm-3 control-label' for='code-verify'>" . e107::getSecureImg()->renderLabel()."{SIGNUP_IS_MANDATORY=true}</label>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9'>{---}</div>
|
|
|
|
</div>";
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_LOGINNAME'] = "<div class='form-group row m-2'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<label class='col-sm-3 control-label' for='loginname'>{LAN=SIGNUP_81}{SIGNUP_IS_MANDATORY=true}</label>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9'>{---}</div>
|
|
|
|
</div>";
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_HIDE_EMAIL'] = "<div class='form-group row m-2'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<label class='col-sm-3 control-label'>{LAN=USER_83}</label>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9'>{---}</div>
|
|
|
|
</div>";
|
2012-05-31 06:07:33 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_EMAIL_CONFIRM'] = "<div class='form-group row m-2'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<label class='col-sm-3 control-label' for='email-confirm'>{LAN=SIGNUP_39}{SIGNUP_IS_MANDATORY=true}</label>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9'>{---}</div>
|
|
|
|
</div>";
|
2012-05-31 06:07:33 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_XUP'] = "<div class='text-center'>{---}
|
2021-02-23 12:58:51 -08:00
|
|
|
<h2 class='signup-divider'><span>{LAN=SIGNUP_120}</span></h2></div>";
|
2012-05-31 06:07:33 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_PASSWORD1'] = "<div class='form-group row m-2'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<label class='col-sm-3 control-label' for='password1'>{LAN=SIGNUP_83}{SIGNUP_IS_MANDATORY=true}</label>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9'>{---}</div>
|
|
|
|
</div>";
|
2012-06-19 09:08:41 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_PASSWORD2'] = "<div class='form-group row m-2'>
|
2021-02-23 12:58:51 -08:00
|
|
|
<label class='col-sm-3 control-label' for='password2'>{LAN=SIGNUP_84}{SIGNUP_IS_MANDATORY=true}</label>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9'>{---}</div>
|
|
|
|
</div>";
|
2015-05-12 20:15:05 -07:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_WRAPPER['SIGNUP_USERCLASS_SUBSCRIBE'] = "<div class='form-group row m-2 '>
|
2021-02-23 12:58:51 -08:00
|
|
|
<label class='col-sm-3 control-label'>{LAN=SIGNUP_113}{SIGNUP_IS_MANDATORY=subscribe}</label>
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='col-sm-9 checkbox'>{---}</div>
|
|
|
|
</div>";
|
|
|
|
|
2015-05-12 20:15:05 -07:00
|
|
|
|
2016-06-05 13:33:18 -07:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
// Signup Template
|
2006-12-02 04:36:16 +00:00
|
|
|
|
|
|
|
|
2021-01-03 10:17:01 -08:00
|
|
|
$SIGNUP_TEMPLATE['start'] = "
|
2015-05-16 19:17:24 -07:00
|
|
|
{SIGNUP_FORM_OPEN} {SIGNUP_ADMINOPTIONS} {SIGNUP_SIGNUP_TEXT}";
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2021-01-03 10:17:01 -08:00
|
|
|
|
|
|
|
$SIGNUP_TEMPLATE['body'] = "
|
2012-11-23 05:27:06 -08:00
|
|
|
{SIGNUP_XUP}
|
|
|
|
<div id='default'>
|
|
|
|
{SIGNUP_XUP_ACTION}
|
|
|
|
{SIGNUP_DISPLAYNAME}
|
|
|
|
{SIGNUP_LOGINNAME}
|
|
|
|
{SIGNUP_REALNAME}
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='form-group row m-2'>
|
|
|
|
<label class='col-sm-3 control-label' for='password1'>{LAN=LAN_USER_60}{SIGNUP_IS_MANDATORY=email}</label>
|
|
|
|
<div class='col-sm-9'>{SIGNUP_EMAIL}</div>
|
|
|
|
</div>
|
2012-11-23 05:27:06 -08:00
|
|
|
{SIGNUP_EMAIL_CONFIRM}
|
2015-05-12 20:15:05 -07:00
|
|
|
{SIGNUP_PASSWORD1}
|
|
|
|
{SIGNUP_PASSWORD2}
|
2012-11-23 05:27:06 -08:00
|
|
|
{SIGNUP_HIDE_EMAIL}
|
|
|
|
{SIGNUP_USERCLASS_SUBSCRIBE}
|
|
|
|
{SIGNUP_EXTENDED_USER_FIELDS}
|
|
|
|
{SIGNUP_SIGNATURE}
|
|
|
|
{SIGNUP_IMAGES}
|
|
|
|
{SIGNUP_IMAGECODE}
|
2020-05-02 18:52:17 +02:00
|
|
|
{SIGNUP_GDPR_INFO}
|
2021-01-04 08:33:33 -08:00
|
|
|
<div class='form-group row m-2 text-center'>
|
|
|
|
{SIGNUP_BUTTON}
|
|
|
|
</div>
|
2012-11-23 05:27:06 -08:00
|
|
|
</div>
|
|
|
|
{SIGNUP_FORM_CLOSE}";
|
2006-12-02 04:36:16 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_TEMPLATE['end'] = '';
|
2007-07-30 20:25:36 +00:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_TEMPLATE['coppa'] = "{SIGNUP_COPPA_TEXT}<br /><br />
|
|
|
|
<div style='text-align:center'><b>{LAN=LAN_SIGNUP_17}</b>
|
|
|
|
{SIGNUP_COPPA_FORM}
|
|
|
|
</div>";
|
2020-04-20 12:37:39 -07:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_TEMPLATE['coppa-fail'] = "<div class='alert alert-danger alert-block' style='text-align:center'>{LAN=LAN_SIGNUP_9}</div>";
|
2020-04-20 12:37:39 -07:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_TEMPLATE['extended-category'] = "
|
|
|
|
<div class='form-group row m-2'>
|
|
|
|
<div class='col-sm-9 col-md-offset-3'>{EXTENDED_CAT_TEXT}</div>
|
|
|
|
</div>";
|
2021-01-03 10:17:01 -08:00
|
|
|
|
2021-01-04 08:33:33 -08:00
|
|
|
$SIGNUP_TEMPLATE['extended-user-fields'] = "
|
|
|
|
<div class='form-group row m-2'>
|
|
|
|
<label class='col-sm-3 control-label'>{EXTENDED_USER_FIELD_TEXT}{EXTENDED_USER_FIELD_REQUIRED}</label>
|
|
|
|
<div class='col-sm-9'>{EXTENDED_USER_FIELD_EDIT}</div>
|
|
|
|
</div>";
|