diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/akismet/views/admin_akismet_stats.html.php | 2 | ||||
-rw-r--r-- | modules/comment/views/admin_block_recent_comments.html.php | 4 | ||||
-rw-r--r-- | modules/comment/views/admin_comments.html.php | 4 | ||||
-rw-r--r-- | modules/tag/views/admin_tags.html.php | 4 | ||||
-rw-r--r-- | modules/user/views/admin_groups.html.php | 2 | ||||
-rw-r--r-- | modules/user/views/admin_users.html.php | 65 |
6 files changed, 8 insertions, 73 deletions
diff --git a/modules/akismet/views/admin_akismet_stats.html.php b/modules/akismet/views/admin_akismet_stats.html.php index d82704cd..41bad15b 100644 --- a/modules/akismet/views/admin_akismet_stats.html.php +++ b/modules/akismet/views/admin_akismet_stats.html.php @@ -5,7 +5,7 @@ }); </script> <div id="gAkismetStats"> - <iframe id="gAkismetExternalStats" width="100%" height="100%" frameborder="0" + <iframe id="gAkismetExternalStats" width="100%" height="500" frameborder="0" src="http://<?= $api_key ?>.web.akismet.com/1.0/user-stats.php?blog=<?= urlencode($blog_url) ?>"> </iframe> </div> diff --git a/modules/comment/views/admin_block_recent_comments.html.php b/modules/comment/views/admin_block_recent_comments.html.php index 39d39929..d641d9ae 100644 --- a/modules/comment/views/admin_block_recent_comments.html.php +++ b/modules/comment/views/admin_block_recent_comments.html.php @@ -1,7 +1,7 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> <ul> - <? foreach ($comments as $comment): ?> - <li> + <? foreach ($comments as $i => $comment): ?> + <li class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>"> <img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" class="gAvatar" alt="<?= $comment->author_name() ?>" diff --git a/modules/comment/views/admin_comments.html.php b/modules/comment/views/admin_comments.html.php index c5bbc2b6..14b18e91 100644 --- a/modules/comment/views/admin_comments.html.php +++ b/modules/comment/views/admin_comments.html.php @@ -93,8 +93,8 @@ <?= t("Actions") ?> </th> </tr> - <? foreach ($comments as $comment): ?> - <tr id="gComment-<?= $comment->id ?>"> + <? foreach ($comments as $i => $comment): ?> + <tr id="gComment-<?= $comment->id ?>" class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>"> <td> <a href="#"> <img src="<?= $comment->author()->avatar_url(40, $theme->url("images/avatar.jpg", true)) ?>" diff --git a/modules/tag/views/admin_tags.html.php b/modules/tag/views/admin_tags.html.php index 5e9613b1..8700fc09 100644 --- a/modules/tag/views/admin_tags.html.php +++ b/modules/tag/views/admin_tags.html.php @@ -17,8 +17,8 @@ <th> <?= t("Photos") ?> </th> <th> <?= t("Actions") ?> </th> </tr> - <? foreach ($tags as $tag): ?> - <tr> + <? foreach ($tags as $i => $tag): ?> + <tr class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>"> <td> <?= $tag->name ?> </td> <td> <?= $tag->count ?> </td> <td> diff --git a/modules/user/views/admin_groups.html.php b/modules/user/views/admin_groups.html.php index a2ad652f..c1b7dbde 100644 --- a/modules/user/views/admin_groups.html.php +++ b/modules/user/views/admin_groups.html.php @@ -6,7 +6,7 @@ </div> <ul> <? foreach ($groups as $i => $group): ?> - <li> + <li class="<?= ($i % 2 == 0) ? "gEvenRow" : "gOddRow" ?>"> <?= $group->name ?> <a href="groups/edit_form/<?= $group->id ?>" class="gDialogLink" title="<?= t("Edit group") ?>"><?= t("edit") ?></a> diff --git a/modules/user/views/admin_users.html.php b/modules/user/views/admin_users.html.php index b4673aec..8b585a36 100644 --- a/modules/user/views/admin_users.html.php +++ b/modules/user/views/admin_users.html.php @@ -1,69 +1,4 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<style> - .gButtonLink { - border-width: 1px; - border-style: solid; - border-color: #ececec #c8c8c8 #c8c8c8 #ececec; - background-image: url('/gallery3/themes/admin_default/images/backg-buttonlink.png'); - padding: .2em .3em; - font-weight: bold; - } - .gButtonLink:hover { - border-color: #c8c8c8 #ececec #ececec #c8c8c8; - } - .gBlock h2 a { - font-size: .7em; - float: right; - position: relative; - top: -1.69em; - } - - .gUserAdminList li { - padding: .4em .4em .3em .4em; - position: relative; - } - .gUserAdminList li img { - width: 20px; - height: 20px; - cursor: move; - } - .gFirstRow { - border-bottom: 1px solid grey; - padding-bottom: .5em; - padding-left: 30px !important; - } - .gOddRow { - background-color: #f1f1f1; - } - .gActions { - position: absolute; - left: 400px; - } - .gActions a, .gActions span { - margin-right: 40px; - } - .gPanel { - display: none; - padding: 1em; - } - .gPanel legend { - display: none; - } - .gPanel fieldset { - border: none; - } - - li.gGroup { - float: left; - display: block; - width: 200px; - height: 200px; - border: 1px solid gray; - padding: .5em; - margin-right: 1em; - } -</style> - <div class="gBlock"> <h2> <?= t("User Admin") ?> |