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:
23
modules/privateshoplite/views/templates/front/errors.tpl
Normal file
23
modules/privateshoplite/views/templates/front/errors.tpl
Normal file
@@ -0,0 +1,23 @@
|
||||
{*
|
||||
* 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
|
||||
*}
|
||||
|
||||
{if isset($errors) && $errors}
|
||||
<div class="alert alert-danger" id="ps17_errors">
|
||||
<ol>
|
||||
{foreach from=$errors key=k item=error}
|
||||
<li>{$error}</li>{*html content*}
|
||||
{/foreach}
|
||||
</ol>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user