Skip to content

Commit

Permalink
NEW Can filter on user on unalterable log
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Dec 16, 2017
1 parent 4abcbae commit 9f2a42b
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 5 deletions.
6 changes: 4 additions & 2 deletions htdocs/admin/modules.php
Expand Up @@ -740,11 +740,13 @@
{
if (preg_match('/^([^@]+)@([^@]+)$/i',$urlpage,$regs))
{
print '<a href="'.dol_buildpath('/'.$regs[2].'/admin/'.$regs[1],1).'?backtopage='.urlencode($backtourl).'" title="'.$langs->trans("Setup").'">'.img_picto($langs->trans("Setup"),"setup",'style="padding-right: 6px"').'</a>';
$urltouse=dol_buildpath('/'.$regs[2].'/admin/'.$regs[1],1);
print '<a href="'.$urltouse.(preg_match('/\?/',$urltouse)?'&':'?').'backtopage='.urlencode($backtourl).'" title="'.$langs->trans("Setup").'">'.img_picto($langs->trans("Setup"),"setup",'style="padding-right: 6px"').'</a>';
}
else
{
print '<a href="'.$urlpage.'?backtopage='.urlencode($backtourl).'" title="'.$langs->trans("Setup").'">'.img_picto($langs->trans("Setup"),"setup",'style="padding-right: 6px"').'</a>';
$urltouse=$urlpage;
print '<a href="'.$urltouse.(preg_match('/\?/',$urltouse)?'&':'?').'backtopage='.urlencode($backtourl).'" title="'.$langs->trans("Setup").'">'.img_picto($langs->trans("Setup"),"setup",'style="padding-right: 6px"').'</a>';
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion htdocs/core/modules/modBlockedLog.class.php
Expand Up @@ -63,7 +63,7 @@ function __construct($db)

// Config pages
//-------------
$this->config_page_url = array('blockedlog.php@blockedlog');
$this->config_page_url = array('blockedlog.php?withtab=1@blockedlog');

// Dependancies
//-------------
Expand Down
6 changes: 5 additions & 1 deletion htdocs/theme/eldy/style.css.php
Expand Up @@ -4574,12 +4574,16 @@


/* ============================================================================== */
/* Mardown rendering */
/* Markdown rendering */
/* ============================================================================== */

.imgmd {
width: 90%;
}
.moduledesclong h1 {
padding-top: 10px;
padding-bottom: 20px;
}


/* ============================================================================== */
Expand Down
6 changes: 5 additions & 1 deletion htdocs/theme/md/style.css.php
Expand Up @@ -4557,12 +4557,16 @@


/* ============================================================================== */
/* Mardown rendering */
/* Markdown rendering */
/* ============================================================================== */

.imgmd {
width: 90%;
}
.moduledesclong h1 {
padding-top: 10px;
padding-bottom: 20px;
}


/* ============================================================================== */
Expand Down

0 comments on commit 9f2a42b

Please sign in to comment.