e107 Bootstrap CMS (Content Management System) v2 with PHP, MySQL, HTML5, jQuery and Twitter Bootstrap. Issue Discussion Room: https://gitter.im/e107inc/e107
GNU General Public License v3.0
320
stars
214
forks
source link
update code of login, signup and fpw pages to use the same logic and rules for easier templating #5078
Open
Jimmi08 opened 1 year ago
Motivation
Easier life of theme developer.
Examples:
Check of legacy theme: in signup.php
if($template = e107::getCoreTemplate('signup'))
in login.php in fpw.phpif(deftrue('BOOTSTRAP'))
Why is not THEME_LEGACY used?
Loading legacy templates fpw.php
require_once (e107::coreTemplatePath('fpw')); //correct way to load a core template.
signup.phplogin.php
usersettings: include instead of require. What is correct?
Can be this changed for login file too?
Thanks