jQuery update
This commit is contained in:
parent
b197b6297b
commit
baeaa0f98b
|
@ -2,7 +2,7 @@
|
||||||
namespace LAM\CONFIG;
|
namespace LAM\CONFIG;
|
||||||
/*
|
/*
|
||||||
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
This code is part of LDAP Account Manager (http://www.ldap-account-manager.org/)
|
||||||
Copyright (C) 2017 Roland Gruber
|
Copyright (C) 2017 - 2018 Roland Gruber
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
|
@ -120,20 +120,20 @@ function printConfigurationPageTabs($active) {
|
||||||
|
|
||||||
// tabs
|
// tabs
|
||||||
?>
|
?>
|
||||||
<div class="ui-tabs ui-widget ui-widget-content ui-corner-all">
|
<div class="ui-tabs ui-corner-all ui-widget ui-widget-content">
|
||||||
|
|
||||||
<ul class="ui-tabs-nav ui-helper-reset ui-helper-clearfix ui-widget-header ui-corner-all">
|
<ul class="ui-tabs-nav ui-corner-all ui-helper-reset ui-helper-clearfix ui-widget-header">
|
||||||
<?php
|
<?php
|
||||||
foreach ($tabs as $tab => $settings) {
|
foreach ($tabs as $tab => $settings) {
|
||||||
$isActive = ($tab === $active);
|
$isActive = ($tab === $active);
|
||||||
$liClasses = 'ui-state-default ui-corner-top';
|
$liClasses = 'ui-tabs-tab ui-corner-top ui-state-default ui-tab';
|
||||||
$hover = ' onmouseover="jQuery(this).addClass(\'tabs-hover\');" onmouseout="jQuery(this).removeClass(\'tabs-hover\');"';
|
$hover = ' onmouseover="jQuery(this).addClass(\'tabs-hover\');" onmouseout="jQuery(this).removeClass(\'tabs-hover\');"';
|
||||||
if ($isActive) {
|
if ($isActive) {
|
||||||
$liClasses .= ' lam-active-tab';
|
$liClasses .= ' lam-active-tab';
|
||||||
$hover = '';
|
$hover = '';
|
||||||
}
|
}
|
||||||
echo '<li id="' . $settings['id'] . '" class="' . $liClasses . '"' . $hover . '>';
|
echo '<li id="' . $settings['id'] . '" class="' . $liClasses . '"' . $hover . '>';
|
||||||
echo '<a href="#" onclick="document.getElementsByName(\'' . $settings['id'] . '\')[0].click();"><img src="../../graphics/' . $settings['icon'] . '" alt=""> ';
|
echo '<a class="ui-tabs-anchor" href="#" onclick="document.getElementsByName(\'' . $settings['id'] . '\')[0].click();"><img src="../../graphics/' . $settings['icon'] . '" alt=""> ';
|
||||||
echo '<span class="hide-on-mobile">' . $settings['label'] . '</span>';
|
echo '<span class="hide-on-mobile">' . $settings['label'] . '</span>';
|
||||||
echo '</a>';
|
echo '</a>';
|
||||||
echo '</li>';
|
echo '</li>';
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.9 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.6 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.8 KiB |
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
Binary file not shown.
After Width: | Height: | Size: 6.2 KiB |
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -860,7 +860,7 @@ window.lam.tools.addSavedSelectListener = function() {
|
||||||
* Activates tabs.
|
* Activates tabs.
|
||||||
*/
|
*/
|
||||||
window.lam.tools.activateTab = function() {
|
window.lam.tools.activateTab = function() {
|
||||||
jQuery('.lam-active-tab').addClass('ui-tabs-active ui-state-active user-bright');
|
jQuery('.lam-active-tab').addClass('ui-tabs-active ui-state-active');
|
||||||
};
|
};
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue