* Add tooltip of copy url.

This commit is contained in:
zhaoke
2023-07-25 20:10:44 +08:00
parent ace43ac419
commit fac90c0543
6 changed files with 26 additions and 8 deletions
+4 -2
View File
@@ -78,11 +78,13 @@ $formRows[] = formRow
)
);
$actions = array('submit');
$hasSideBar = !empty($lang->{$module}->osNameList) && array_key_exists($field, $lang->{$module}->osNameList);
$actions = array('submit');
if(common::hasPriv('custom', 'restore')) $actions[] = array('class' => 'ajax-submit', 'text' => $lang->custom->restore, 'data-confirm' => $lang->custom->confirmRestore, 'url' => $this->createLink('custom', 'restore', "module=$module&field=$fieldList"));
formPanel
(
setID('opsForm'),
$hasSideBar ? setClass('ops-ml-0') : null,
set::title($lang->$module->common . ' > ' . $lang->$module->$field),
set::actions($actions),
formRow
@@ -102,7 +104,7 @@ formPanel
$formRows,
);
if(!empty($lang->{$module}->osNameList) && array_key_exists($field, $lang->{$module}->osNameList))
if($hasSideBar)
{
$osListWg = array();
foreach($lang->{$module}->osNameList as $key => $value)