delete help in visual setup
This commit is contained in:
parent
c309ec3ed4
commit
aeb8e74bdc
|
@ -222,7 +222,7 @@ $row++;
|
|||
|
||||
//Splash login
|
||||
if(enterprise_installed()) {
|
||||
$table_styles->data[$row][0] = __('Custom Splash (login)') . ui_print_help_icon("custom_logo_login", true);
|
||||
$table_styles->data[$row][0] = __('Custom Splash (login)');
|
||||
|
||||
$table_styles->data[$row][1] = html_print_select(
|
||||
list_files('enterprise/images/custom_splash_login', "png", 1, 0), 'custom_splash_login',
|
||||
|
@ -235,14 +235,14 @@ if(enterprise_installed()) {
|
|||
|
||||
//login title1
|
||||
if(enterprise_installed()) {
|
||||
$table_styles->data[$row][0] = __('Title 1 (login)') . ui_print_help_icon("custom_logo_login", true);
|
||||
$table_styles->data[$row][0] = __('Title 1 (login)');
|
||||
$table_styles->data[$row][1] = html_print_input_text ('custom_title1_login', $config["custom_title1_login"], '', 50, 50, true);
|
||||
$row++;
|
||||
}
|
||||
|
||||
//login text2
|
||||
if(enterprise_installed()) {
|
||||
$table_styles->data[$row][0] = __('Title 2 (login)') . ui_print_help_icon("custom_logo_login", true);
|
||||
$table_styles->data[$row][0] = __('Title 2 (login)');
|
||||
$table_styles->data[$row][1] = html_print_input_text ('custom_title2_login', $config["custom_title2_login"], '', 50, 50, true);
|
||||
$row++;
|
||||
}
|
||||
|
|
|
@ -133,17 +133,15 @@ if (!defined('METACONSOLE')) {
|
|||
$config["error"] = "homeurl_bad_defined";
|
||||
return;
|
||||
}
|
||||
//else{
|
||||
//$url = preg_match('/(\/.+)\/.*\/*/', $_SERVER['REQUEST_URI'], $match);
|
||||
//html_debug_print($config["homeurl"], true);
|
||||
//html_debug_print($match[1], true);
|
||||
//if($config["homeurl"] != $match[1]){
|
||||
// $config["homeurl"] = $match[1];
|
||||
// $config["homeurl_static"] = $match[1];
|
||||
// $config["error"] = "homeurl_bad_defined";
|
||||
// return;
|
||||
//}
|
||||
//}
|
||||
else{
|
||||
$url = explode('/', $_SERVER['REQUEST_URI']);
|
||||
if($config["homeurl"] != '/'.$url[1]){
|
||||
$config["homeurl"] = '/'.$url[1];
|
||||
$config["homeurl_static"] = '/'.$url[1];
|
||||
$config["error"] = "homeurl_bad_defined";
|
||||
return;
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!isset($config["homeurl_static"])) {
|
||||
$config["homeurl_static"] = $config["homeurl"];
|
||||
|
|
Loading…
Reference in New Issue