mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
- include language file
- pass passwordstrength parameter to view
This commit is contained in:
parent
0c5941c4e4
commit
5640c2956b
|
@ -22,6 +22,8 @@ include("../inc/inc.Settings.php");
|
||||||
include("../inc/inc.Language.php");
|
include("../inc/inc.Language.php");
|
||||||
include("../inc/inc.ClassUI.php");
|
include("../inc/inc.ClassUI.php");
|
||||||
|
|
||||||
|
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
|
||||||
|
|
||||||
if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0)
|
if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0)
|
||||||
$referui = $_REQUEST["referuri"];
|
$referui = $_REQUEST["referuri"];
|
||||||
else
|
else
|
||||||
|
@ -35,7 +37,7 @@ if (isset($_REQUEST["hash"]) && strlen($_REQUEST["hash"])>0) {
|
||||||
}
|
}
|
||||||
|
|
||||||
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
|
||||||
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'referui'=>$referui, 'hash'=>$hash));
|
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'referui'=>$referui, 'hash'=>$hash, 'passwordstrength'=>$settings->_passwordStrength));
|
||||||
if($view) {
|
if($view) {
|
||||||
$view->show();
|
$view->show();
|
||||||
exit;
|
exit;
|
||||||
|
|
|
@ -22,6 +22,8 @@ include("../inc/inc.Settings.php");
|
||||||
include("../inc/inc.Language.php");
|
include("../inc/inc.Language.php");
|
||||||
include("../inc/inc.ClassUI.php");
|
include("../inc/inc.ClassUI.php");
|
||||||
|
|
||||||
|
include $settings->_rootDir . "languages/" . $settings->_language . "/lang.inc";
|
||||||
|
|
||||||
if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0) {
|
if (isset($_REQUEST["referuri"]) && strlen($_REQUEST["referuri"])>0) {
|
||||||
$referrer = $_REQUEST["referuri"];
|
$referrer = $_REQUEST["referuri"];
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user