From 9f2a42b67d3ac3120f543d220f411fdc51494467 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sat, 16 Dec 2017 21:50:58 +0100 Subject: [PATCH] NEW Can filter on user on unalterable log --- htdocs/admin/modules.php | 6 ++++-- htdocs/core/modules/modBlockedLog.class.php | 2 +- htdocs/theme/eldy/style.css.php | 6 +++++- htdocs/theme/md/style.css.php | 6 +++++- 4 files changed, 15 insertions(+), 5 deletions(-) diff --git a/htdocs/admin/modules.php b/htdocs/admin/modules.php index 747a3cd41c3..ee17e647863 100644 --- a/htdocs/admin/modules.php +++ b/htdocs/admin/modules.php @@ -740,11 +740,13 @@ if ($mode == 'common') { if (preg_match('/^([^@]+)@([^@]+)$/i',$urlpage,$regs)) { - print ''.img_picto($langs->trans("Setup"),"setup",'style="padding-right: 6px"').''; + $urltouse=dol_buildpath('/'.$regs[2].'/admin/'.$regs[1],1); + print ''.img_picto($langs->trans("Setup"),"setup",'style="padding-right: 6px"').''; } else { - print ''.img_picto($langs->trans("Setup"),"setup",'style="padding-right: 6px"').''; + $urltouse=$urlpage; + print ''.img_picto($langs->trans("Setup"),"setup",'style="padding-right: 6px"').''; } } } diff --git a/htdocs/core/modules/modBlockedLog.class.php b/htdocs/core/modules/modBlockedLog.class.php index 59fa600f894..eece7323c68 100644 --- a/htdocs/core/modules/modBlockedLog.class.php +++ b/htdocs/core/modules/modBlockedLog.class.php @@ -63,7 +63,7 @@ class modBlockedLog extends DolibarrModules // Config pages //------------- - $this->config_page_url = array('blockedlog.php@blockedlog'); + $this->config_page_url = array('blockedlog.php?withtab=1@blockedlog'); // Dependancies //------------- diff --git a/htdocs/theme/eldy/style.css.php b/htdocs/theme/eldy/style.css.php index a39aff863d2..c275927daba 100644 --- a/htdocs/theme/eldy/style.css.php +++ b/htdocs/theme/eldy/style.css.php @@ -4574,12 +4574,16 @@ dl.dropdown { /* ============================================================================== */ -/* Mardown rendering */ +/* Markdown rendering */ /* ============================================================================== */ .imgmd { width: 90%; } +.moduledesclong h1 { + padding-top: 10px; + padding-bottom: 20px; +} /* ============================================================================== */ diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 8d164280591..a1cc5789663 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -4557,12 +4557,16 @@ dl.dropdown { /* ============================================================================== */ -/* Mardown rendering */ +/* Markdown rendering */ /* ============================================================================== */ .imgmd { width: 90%; } +.moduledesclong h1 { + padding-top: 10px; + padding-bottom: 20px; +} /* ============================================================================== */