Theme: Side Menu updates.
This commit is contained in:
@@ -4449,4 +4449,50 @@ $text['option-contracted']['sv-se'] = "Contracted";
|
||||
$text['option-contracted']['uk-ua'] = "Contracted";
|
||||
$text['option-contracted']['tr-tr'] = "Contracted";
|
||||
|
||||
$text['option-hover']['en-us'] = "Hover";
|
||||
$text['option-hover']['en-gb'] = "Hover";
|
||||
$text['option-hover']['ar-eg'] = "Hover";
|
||||
$text['option-hover']['de-at'] = "Hover";
|
||||
$text['option-hover']['de-ch'] = "Hover";
|
||||
$text['option-hover']['de-de'] = "Hover";
|
||||
$text['option-hover']['el-gr'] = "Hover";
|
||||
$text['option-hover']['es-cl'] = "Hover";
|
||||
$text['option-hover']['es-mx'] = "Hover";
|
||||
$text['option-hover']['fr-ca'] = "Hover";
|
||||
$text['option-hover']['fr-fr'] = "Hover";
|
||||
$text['option-hover']['he-il'] = "Hover";
|
||||
$text['option-hover']['it-it'] = "Hover";
|
||||
$text['option-hover']['nl-nl'] = "Hover";
|
||||
$text['option-hover']['pl-pl'] = "Hover";
|
||||
$text['option-hover']['pt-br'] = "Hover";
|
||||
$text['option-hover']['pt-pt'] = "Hover";
|
||||
$text['option-hover']['ro-ro'] = "Hover";
|
||||
$text['option-hover']['ru-ru'] = "Hover";
|
||||
$text['option-hover']['sv-se'] = "Hover";
|
||||
$text['option-hover']['uk-ua'] = "Hover";
|
||||
$text['option-hover']['tr-tr'] = "Hover";
|
||||
|
||||
$text['option-click']['en-us'] = "Click";
|
||||
$text['option-click']['en-gb'] = "Click";
|
||||
$text['option-click']['ar-eg'] = "Click";
|
||||
$text['option-click']['de-at'] = "Click";
|
||||
$text['option-click']['de-ch'] = "Click";
|
||||
$text['option-click']['de-de'] = "Click";
|
||||
$text['option-click']['el-gr'] = "Click";
|
||||
$text['option-click']['es-cl'] = "Click";
|
||||
$text['option-click']['es-mx'] = "Click";
|
||||
$text['option-click']['fr-ca'] = "Click";
|
||||
$text['option-click']['fr-fr'] = "Click";
|
||||
$text['option-click']['he-il'] = "Click";
|
||||
$text['option-click']['it-it'] = "Click";
|
||||
$text['option-click']['nl-nl'] = "Click";
|
||||
$text['option-click']['pl-pl'] = "Click";
|
||||
$text['option-click']['pt-br'] = "Click";
|
||||
$text['option-click']['pt-pt'] = "Click";
|
||||
$text['option-click']['ro-ro'] = "Click";
|
||||
$text['option-click']['ru-ru'] = "Click";
|
||||
$text['option-click']['sv-se'] = "Click";
|
||||
$text['option-click']['uk-ua'] = "Click";
|
||||
$text['option-click']['tr-tr'] = "Click";
|
||||
|
||||
?>
|
||||
@@ -1083,13 +1083,13 @@ if (!class_exists('menu')) {
|
||||
if ($_SESSION['theme']['menu_brand_type']['text'] != 'none') {
|
||||
$html .= " <a class='menu_side_item_main menu_side_contract' onclick='menu_side_contract();' style='padding: 8px 15px !important; ".($_SESSION['theme']['menu_side_state']['text'] != 'expanded' ? "display: none;" : null)."'><i class='fas fa-bars fa-fw'></i></a>\n";
|
||||
}
|
||||
if ($_SESSION['theme']['menu_side_state_user']['boolean'] == 'true') {
|
||||
$html .= " <a class='menu_side_item_main' id='menu_side_state_set_expanded' onclick=\"menu_side_state_set('expanded');\" style='padding: 8px 14px 8px 16px !important; ".($_SESSION['theme']['menu_side_state']['text'] == 'expanded' ? 'display: none' : null)."' title=\"".$this->text['theme-label-pin_menu']."\"><i class='fas fa-toggle-off fa-sm fa-fw'></i></a>\n";
|
||||
$html .= " <a class='menu_side_item_main' id='menu_side_state_set_contracted' onclick=\"menu_side_state_set('contracted'); menu_side_contract();\" style='padding: 8px 14px 8px 16px !important; ".($_SESSION['theme']['menu_side_state']['text'] != 'expanded' ? 'display: none' : null)."' title=\"".$this->text['theme-label-unpin_menu']."\"><i class='fas fa-toggle-on fa-sm fa-fw'></i></a>\n";
|
||||
if ($_SESSION['theme']['menu_side_pin']['boolean'] == 'true') {
|
||||
$html .= " <a class='menu_side_item_main' id='menu_side_state_set_expanded' onclick=\"menu_side_state_set('expanded');\" oncontextmenu=\"menu_side_state_set('delete'); return false;\" style='padding: 8px 14px 8px 16px !important; ".($_SESSION['theme']['menu_side_state']['text'] == 'expanded' ? 'display: none' : null)."' title=\"".$this->text['theme-label-pin_menu']."\"><i class='fas fa-toggle-off fa-sm fa-fw'></i></a>\n";
|
||||
$html .= " <a class='menu_side_item_main' id='menu_side_state_set_contracted' onclick=\"menu_side_state_set('contracted'); menu_side_contract();\" oncontextmenu=\"menu_side_state_set('delete'); return false;\" style='padding: 8px 14px 8px 16px !important; ".($_SESSION['theme']['menu_side_state']['text'] != 'expanded' ? 'display: none' : null)."' title=\"".$this->text['theme-label-unpin_menu']."\"><i class='fas fa-toggle-on fa-sm fa-fw'></i></a>\n";
|
||||
}
|
||||
$html .= " </div>\n";
|
||||
if ($_SESSION['theme']['menu_brand_type']['text'] == 'none') {
|
||||
$html .= " <a class='menu_side_item_main menu_side_contract' onclick='menu_side_contract();' style='".($_SESSION['theme']['menu_side_state_user']['boolean'] == 'true' ? "max-width: calc(100% - 50px);" : null)." ".($_SESSION['theme']['menu_side_state']['text'] != 'expanded' ? "display: none;" : null)."' title=\"".$this->text['theme-label-contract_menu']."\"><i class='fas fa-bars fa-fw' style='z-index: 99800; padding-left: 1px;'></i></a>";
|
||||
$html .= " <a class='menu_side_item_main menu_side_contract' onclick='menu_side_contract();' style='".($_SESSION['theme']['menu_side_pin']['boolean'] == 'true' ? "max-width: calc(100% - 50px);" : null)." ".($_SESSION['theme']['menu_side_state']['text'] != 'expanded' ? "display: none;" : null)."' title=\"".$this->text['theme-label-contract_menu']."\"><i class='fas fa-bars fa-fw' style='z-index: 99800; padding-left: 1px;'></i></a>";
|
||||
}
|
||||
if ($_SESSION['theme']['menu_brand_type']['text'] == 'text') {
|
||||
$menu_brand_text = $_SESSION['theme']['menu_brand_text']['text'] != '' ? escape($_SESSION['theme']['menu_brand_text']['text']) : "FusionPBX";
|
||||
|
||||
Reference in New Issue
Block a user