|
|
@@ -229,7 +229,7 @@ class ProcesMenu {
|
|
|
</div>
|
|
|
<div class="panel-body">
|
|
|
<li>
|
|
|
- <?php if ($userAcl->getPermsProcesId() == $proces_id) : ?>
|
|
|
+ <?php if ($userAcl->getPermsFiltrProcesId() == $proces_id) : ?>
|
|
|
<b><a href="index.php?FUNCTION_INIT=MENU_SELECT_PROCES&_action=setPermsAll"> Wyłącz filtr uprawnien dla </a></b>
|
|
|
<?php else : ?>
|
|
|
<a href="index.php?FUNCTION_INIT=MENU_SELECT_PROCES&_action=setPermsByProces&id_proces=<?php echo $proces_id; ?>"> Uruchom filtr uprawnien dla </a>
|
|
|
@@ -328,13 +328,13 @@ jQuery(document).ready(function() {
|
|
|
if (!empty($tbls)) {
|
|
|
foreach ($tbls as $kZasobID => $vTblAcl) {
|
|
|
$outMenus[$kZasobID] = $vTblAcl->getLongLabel();
|
|
|
- if ($userAcl->getPermsProcesId()) {
|
|
|
+ if ($userAcl->getPermsFiltrProcesId()) {
|
|
|
$outBtnsMenus[$kZasobID] = $vTblAcl->getRawLabel();
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
asort($outMenus);
|
|
|
- if ($userAcl->getPermsProcesId()) {
|
|
|
+ if ($userAcl->getPermsFiltrProcesId()) {
|
|
|
asort($outBtnsMenus);
|
|
|
}
|
|
|
|
|
|
@@ -828,9 +828,9 @@ jQuery(document).ready(function() {
|
|
|
-->
|
|
|
</div><!-- /.navbar-collapse -->
|
|
|
</nav>
|
|
|
- <?php if ($userAcl->getPermsProcesId()) : ?>
|
|
|
+ <?php if ($userAcl->getPermsFiltrProcesId()) : ?>
|
|
|
<div id="SE-menu-sub" style="clear:both;">
|
|
|
- <a class="btn btn-xs btn-danger" href="index.php?FUNCTION_INIT=MENU_SELECT_PROCES&_action=setPermsAll" title="Wyłącz filtr uprawnień dla procesu <?php echo $userAcl->getPermsProcesId(); ?>">Wyłącz filtr uprawnień: <?php echo $userAcl->getPermsProcesId(); ?></a>
|
|
|
+ <a class="btn btn-xs btn-danger" href="index.php?FUNCTION_INIT=MENU_SELECT_PROCES&_action=setPermsAll" title="Wyłącz filtr uprawnień dla procesu <?php echo $userAcl->getPermsFiltrProcesId(); ?>">Wyłącz filtr uprawnień: <?php echo $userAcl->getPermsFiltrProcesId(); ?></a>
|
|
|
<?php foreach ($outBtnsMenus as $kZasobID => $vName) : ?>
|
|
|
<a class="btn btn-xs btn-default" href="index.php?MENU_INIT=VIEWTABLE_AJAX&ZASOB_ID=<?php echo $kZasobID; ?>" title="<?php echo $vName; ?>"><?php echo V::strShortUtf8($vName, 20); ?></a>
|
|
|
<?php endforeach; ?>
|
|
|
@@ -1362,7 +1362,7 @@ jQuery(document).ready(function() {
|
|
|
}
|
|
|
|
|
|
$userAcl = User::getAcl();
|
|
|
- if ($userAcl->getPermsProcesId() == $procesID) {
|
|
|
+ if ($userAcl->getPermsFiltrProcesId() == $procesID) {
|
|
|
$this->menuAction();
|
|
|
echo '<div class="alert alert-info">' . "Uprawnienia dla ID Procesu {$procesID} już zostały ustawione" . '</div>';
|
|
|
return;
|