Add PrivateShop module templates and initial setup files
- Created restricted.tpl for displaying restricted access messages with customizable background options. - Added index.php files in hook and main template directories to prevent direct access and ensure proper redirection. - Implemented info.tpl to provide module information and support links, enhancing user experience with promotional content. - Included necessary CSS styles for the new templates to ensure proper layout and responsiveness.
This commit is contained in:
45
modules/privateshoplite/views/templates/front/password.tpl
Normal file
45
modules/privateshoplite/views/templates/front/password.tpl
Normal file
@@ -0,0 +1,45 @@
|
||||
{*
|
||||
* PrivateShop
|
||||
*
|
||||
* Do not edit or add to this file.
|
||||
* You are not authorized to modify, copy or redistribute this file.
|
||||
* Permissions are reserved by FME Modules.
|
||||
*
|
||||
* @author FME Modules
|
||||
* @copyright 2021 FME Modules All right reserved
|
||||
* @license FME Modules
|
||||
* @category FMM Modules
|
||||
* @package PrivateShop
|
||||
*}
|
||||
<div class="box">
|
||||
<h1 class="page-subheading">{l s='Forgot your password?' mod='privateshoplite'}</h1>
|
||||
|
||||
{*include file="$tpl_dir./errors.tpl"*}
|
||||
|
||||
{if isset($confirmation) && $confirmation == 1}
|
||||
<p class="alert alert-success">{l s='Your password has been successfully reset and a confirmation has been sent to your email address:' mod='privateshoplite'} {if isset($customer_email)}{$customer_email|escape:'htmlall':'UTF-8'|stripslashes}{/if}</p>
|
||||
{elseif isset($confirmation) && $confirmation == 2}
|
||||
<p class="alert alert-success">{l s='A confirmation email has been sent to your address:' mod='privateshoplite'} {if isset($customer_email)}{$customer_email|escape:'htmlall':'UTF-8'|stripslashes}{/if}</p>
|
||||
{else}
|
||||
<p>{l s='Please enter the email address you used to register. We will then send you a new password. ' mod='privateshoplite'}</p>
|
||||
<form action="{$request_uri|escape:'htmlall':'UTF-8'}" method="post" class="std" id="form_forgotpassword">
|
||||
<input type="hidden" name="private_pass_recovery" value="1">
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="email">{l s='Email address' mod='privateshoplite'}</label>
|
||||
<input class="form-control" type="text" placeholder="{l s='Email address' mod='privateshoplite'}" id="email" name="email" value="{if isset($smarty.post.email)}{$smarty.post.email|escape:'htmlall':'UTF-8'|stripslashes}{/if}" />
|
||||
</div>
|
||||
<p class="submit">
|
||||
{if $version < 1.6}
|
||||
<input type="submit" class="button" name="forgotpassword" value="{l s='Retrieve Password' mod='privateshoplite'}" />
|
||||
{else}
|
||||
<button type="submit" class="btn btn-default button button-medium" name="forgotpassword"><span>{l s='Retrieve Password' mod='privateshoplite'}<i class="icon-chevron-right right"></i></span></button>
|
||||
{/if}
|
||||
</p>
|
||||
</fieldset>
|
||||
</form>
|
||||
{/if}
|
||||
</div>
|
||||
<ul class="clearfix footer_links">
|
||||
<li><a class="btn btn-default button button-small" href="javascript:void(0);" title="{l s='Back to Login' mod='privateshoplite'}" rel="nofollow" onclick="BackToLogin();"><span><i class="icon-chevron-left"></i>{l s='Back to Login' mod='privateshoplite'}</span></a></li>
|
||||
</ul>
|
||||
Reference in New Issue
Block a user