From 55cdd5646580fa5dfb68ae9545bf789ab8666a5b Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Thu, 1 Nov 2018 19:46:19 +0100 Subject: [PATCH] jQuery update --- lam/style/500_layout.css | 4 ---- lam/templates/pdfedit/pdfmain.php | 3 +++ lam/templates/profedit/profilemain.php | 3 +++ 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lam/style/500_layout.css b/lam/style/500_layout.css index 2e9f6e12..790a67df 100644 --- a/lam/style/500_layout.css +++ b/lam/style/500_layout.css @@ -575,10 +575,6 @@ tr.account { /* --- end of workaround for vertical tabs --- */ -.tabs-hover { - background: #dadada url(images/ui-bg_glass_75_dadada_1x400.png) 50% 50% repeat-x !important; -} - /* title bar */ .titleBar { background: #AAAAAA url(images/ui-bg_highlight-soft_75_cccccc_1x100.png) repeat-x scroll 50% 50%; diff --git a/lam/templates/pdfedit/pdfmain.php b/lam/templates/pdfedit/pdfmain.php index 421eaf35..304a0d21 100644 --- a/lam/templates/pdfedit/pdfmain.php +++ b/lam/templates/pdfedit/pdfmain.php @@ -248,6 +248,7 @@ include '../../lib/adminHeader.inc'; $deleteLink->setOnClick("profileShowDeleteDialog('" . _('Delete') . "', '" . _('Ok') . "', '" . _('Cancel') . "', '" . $templateClass['typeId'] . "', '" . 'template_' . $templateClass['typeId'] . "'); return false;"); + $deleteLink->setCSSClasses(array('margin3')); $buttonGroup->addElement($deleteLink); if (count($configProfiles) > 1) { @@ -256,6 +257,7 @@ include '../../lib/adminHeader.inc'; $importLink->setOnClick("showDistributionDialog('" . _("Import PDF structures") . "', '" . _('Ok') . "', '" . _('Cancel') . "', '" . $templateClass['typeId'] . "', 'import'); return false;"); + $importLink->setCSSClasses(array('margin3')); $buttonGroup->addElement($importLink); } $exportLink = new htmlLink(null, '#', '../../graphics/export.png'); @@ -264,6 +266,7 @@ include '../../lib/adminHeader.inc'; _('Ok') . "', '" . _('Cancel') . "', '" . $templateClass['typeId'] . "', 'export', '" . 'template_' . $templateClass['typeId'] . "', '" . $_SESSION['config']->getName() . "'); return false;"); + $exportLink->setCSSClasses(array('margin3')); $buttonGroup->addElement($exportLink); $container->add($buttonGroup, 12, 4); $container->addVerticalSpacer('1rem'); diff --git a/lam/templates/profedit/profilemain.php b/lam/templates/profedit/profilemain.php index 0b661806..b653b237 100644 --- a/lam/templates/profedit/profilemain.php +++ b/lam/templates/profedit/profilemain.php @@ -226,18 +226,21 @@ foreach ($profileClasses as $profileClass) { $deleteLink = new htmlLink(null, '#', '../../graphics/delete.png'); $deleteLink->setTitle(_('Delete')); $deleteLink->setOnClick("profileShowDeleteDialog('" . _('Delete') . "', '" . _('Ok') . "', '" . _('Cancel') . "', '" . $profileClass['typeId'] . "', '" . 'profile_' . $profileClass['typeId'] . "'); return false;"); + $deleteLink->setCSSClasses(array('margin3')); $buttonGroup->addElement($deleteLink); if (count($configProfiles) > 1) { $importLink = new htmlLink(null, '#', '../../graphics/import.png'); $importLink->setTitle(_('Import profiles')); $importLink->setOnClick("showDistributionDialog('" . _("Import profiles") . "', '" . _('Ok') . "', '" . _('Cancel') . "', '" . $profileClass['typeId'] . "', 'import'); return false;"); + $importLink->setCSSClasses(array('margin3')); $buttonGroup->addElement($importLink); } $exportLink = new htmlLink(null, '#', '../../graphics/export.png'); $exportLink->setTitle(_('Export profile')); $exportLink->setOnClick("showDistributionDialog('" . _("Export profile") . "', '" . _('Ok') . "', '" . _('Cancel') . "', '" . $profileClass['typeId'] . "', 'export', '" . 'profile_' . $profileClass['typeId'] . "'); return false;"); + $exportLink->setCSSClasses(array('margin3')); $buttonGroup->addElement($exportLink); $container->add($buttonGroup, 12, 4); $container->addVerticalSpacer('1rem');