Fixed the links of extension 'agents modules' when it is setted the ACL enterprise. TICKET: #1780
(cherry picked from commit 544fe1c36c
)
This commit is contained in:
parent
76a1e25726
commit
06f0e895d8
|
@ -184,8 +184,22 @@ function mainAgentsModules() {
|
|||
|
||||
if ($hor_offset > 0) {
|
||||
$new_hor_offset = $hor_offset-$block;
|
||||
echo "<th width='20px' style='vertical-align:top; padding-top: 35px;' rowspan='" . ($nagents + 1) . "'>" .
|
||||
"<a href='index.php?sec=extensions&sec2=extensions/agents_modules&refr=0&hor_offset=" . $new_hor_offset . "&offset=".$offset."&group_id=".$group_id."&modulegroup=".$modulegroup."'>".html_print_image("images/darrowleft.png",true, array('title' => __('Previous modules')))."</a> </th>";
|
||||
echo "<th width='20px' " .
|
||||
"style='vertical-align:top; padding-top: 35px;' " .
|
||||
"rowspan='" . ($nagents + 1) . "'>" .
|
||||
"<a href='index.php?" .
|
||||
"extension_in_menu=estado&" .
|
||||
"sec=extensions&" .
|
||||
"sec2=extensions/agents_modules&" .
|
||||
"refr=0&" .
|
||||
"hor_offset=" . $new_hor_offset . "&" .
|
||||
"offset=" . $offset . "&" .
|
||||
"group_id=" . $group_id . "&" .
|
||||
"modulegroup=" . $modulegroup . "'>" .
|
||||
html_print_image("images/darrowleft.png", true,
|
||||
array('title' => __('Previous modules'))) .
|
||||
"</a>" .
|
||||
"</th>";
|
||||
}
|
||||
$nmodules = 0;
|
||||
foreach ($modules_by_name as $module) {
|
||||
|
@ -208,7 +222,22 @@ function mainAgentsModules() {
|
|||
|
||||
if (($hor_offset + $block) < $nmodules) {
|
||||
$new_hor_offset = $hor_offset+$block;
|
||||
echo "<th width='20px' style='vertical-align:top; padding-top: 35px;' rowspan='".($nagents+1)."'><a href='index.php?sec=extensions&sec2=extensions/agents_modules&hor_offset=".$new_hor_offset."&offset=".$offset."&group_id=".$group_id."&modulegroup=".$modulegroup."'>".html_print_image("images/darrowright.png",true, array('title' => __('More modules')))."</a> </th>";
|
||||
echo "<th width='20px' " .
|
||||
"style='vertical-align:top; padding-top: 35px;' " .
|
||||
"rowspan='".($nagents+1)."'>" .
|
||||
"<a href='index.php?" .
|
||||
"extension_in_menu=estado&" .
|
||||
"sec=extensions&".
|
||||
"sec2=extensions/agents_modules&".
|
||||
"hor_offset=" . $new_hor_offset . "&".
|
||||
"offset=" . $offset . "&" .
|
||||
"group_id=" . $group_id . "&" .
|
||||
"modulegroup=" . $modulegroup . "'>" .
|
||||
html_print_image(
|
||||
"images/darrowright.png", true,
|
||||
array('title' => __('More modules'))) .
|
||||
"</a>" .
|
||||
"</th>";
|
||||
}
|
||||
|
||||
echo "</tr>";
|
||||
|
|
Loading…
Reference in New Issue