1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-02 12:48:26 +02:00

Issue #5465 Make sure LAN constants are converted for inline tooltips.

This commit is contained in:
camer0n
2025-06-06 13:26:58 -07:00
parent 7f7abc33cb
commit 7f65fd8f74
3 changed files with 4 additions and 3 deletions

View File

@@ -1171,7 +1171,7 @@ class media_admin_ui extends e_admin_ui
$this->batchDelete(); $this->batchDelete();
} }
if(varset($_POST['update_options'])) if(!empty($_POST['update_options']))
{ {
$this->updateSettings(); $this->updateSettings();
} }

View File

@@ -5093,7 +5093,7 @@ var_dump($select_options);*/
$options['pk'] = $pid; $options['pk'] = $pid;
} }
$title = varset($options['title'], (LAN_EDIT . ' ' . $fieldName)); $title = varset($options['title'], (LAN_EDIT . ' ' . defset($fieldName,$fieldName)));
$class = varset($options['class']); $class = varset($options['class']);
unset($options['title']); unset($options['title']);

View File

@@ -619,7 +619,8 @@ class e_pref extends e_front_model
e107::includeLan(e_LANGUAGEDIR . e_LANGUAGE . '/admin/lan_admin.php'); e107::includeLan(e_LANGUAGEDIR . e_LANGUAGE . '/admin/lan_admin.php');
$log->addSuccess(LAN_SETSAVED, ($session_messages === null || $session_messages === true)); $log->addSuccess(LAN_SETSAVED, ($session_messages === null || $session_messages === true));
// $debug = debug_backtrace(null,2);
// e107::getMessage()->addDebug(print_a($debug,true));
$uid = USERID; $uid = USERID;
if(empty($uid)) // Log extra details of any pref changes made by a non-user. if(empty($uid)) // Log extra details of any pref changes made by a non-user.