diff --git a/modules/themeroller/data/views/permissions_form.html.php b/modules/themeroller/data/views/permissions_form.html.php
index 91377536..5da1b5e6 100644
--- a/modules/themeroller/data/views/permissions_form.html.php
+++ b/modules/themeroller/data/views/permissions_form.html.php
@@ -11,8 +11,7 @@
foreach ($permissions as $permission): ?>
- = t($permission->display_name) ?>
- |
+ = t($permission->display_name) ?> |
foreach ($groups as $group): ?>
$intent = access::group_intent($group, $permission->name, $item) ?>
$allowed = access::group_can($group, $permission->name, $item) ?>
@@ -20,33 +19,64 @@
if ($lock): ?>
-
+
+
|
else: ?>
if ($intent === access::INHERIT): ?>
if ($allowed): ?>
-
+
+
|
else: ?>
+
- |
+ title="= t('denied through parent album, click to deny explicitly')->for_html_attr() ?>"
+ class="ui-disabled ui-icon ui-icon-cancel" />
+
endif ?>
elseif ($intent === access::DENY): ?>
+ title="= t('click to allow')->for_html_attr() ?>"
+ class="ui-icon ui-icon-check" />
+ if ($item->id == 1): ?>
+
+ else: ?>
+
+ endif ?>
|
elseif ($intent === access::ALLOW): ?>
-
+ if ($item->id == 1): ?>
+
+ else: ?>
+
+ endif ?>
+
|
endif ?>
endif ?>
diff --git a/modules/themeroller/views/site_screen.css.php b/modules/themeroller/views/site_screen.css.php
index 6cc543e2..0b5b90bb 100644
--- a/modules/themeroller/views/site_screen.css.php
+++ b/modules/themeroller/views/site_screen.css.php
@@ -433,14 +433,27 @@ td {
.g-allowed a {
background-image: url("themeroller/images/ui-icons_= $iconColorHighlight ?>_256x240.png") !important;
+ display:inline-block;
margin: auto;
}
.g-denied a {
background-image: url("themeroller/images/ui-icons_= $iconColorError ?>_256x240.png") !important;
+ display:inline-block;
margin: auto;
}
+.g-denied a.g-passive,
+.g-allowed a.g-passive {
+ filter:Alpha(Opacity=35);
+ opacity: .55;
+}
+
+#g-permissions .g-active a {
+ border: 1px solid #= $borderColorActive ?>;
+ background: #= $bgColorActive ?>;
+}
+
/** *******************************************************************
* 5) Navigation and menus
*********************************************************************/