summaryrefslogtreecommitdiff
path: root/modules/gallery/views/admin_themes_buttonset.html.php
diff options
context:
space:
mode:
authorChad Parry <github@chad.parry.org>2011-04-27 20:35:58 -0600
committerChad Parry <github@chad.parry.org>2011-04-27 20:35:58 -0600
commit6d564f185e5279d6cca9a7385066514ff18a2455 (patch)
tree40d7ebab63894412b57aeb4a7ce660b0c255ac00 /modules/gallery/views/admin_themes_buttonset.html.php
parent7ff485fa48c392bbbb0370f67cb1bd6fcc00c2a4 (diff)
parent406064087662184ec7f85297b9cdf83a77976616 (diff)
Merge branch 'master' of https://github.com/gallery/gallery3 into rawphoto
Diffstat (limited to 'modules/gallery/views/admin_themes_buttonset.html.php')
-rw-r--r--modules/gallery/views/admin_themes_buttonset.html.php93
1 files changed, 47 insertions, 46 deletions
diff --git a/modules/gallery/views/admin_themes_buttonset.html.php b/modules/gallery/views/admin_themes_buttonset.html.php
index 5166f36c..bf474a26 100644
--- a/modules/gallery/views/admin_themes_buttonset.html.php
+++ b/modules/gallery/views/admin_themes_buttonset.html.php
@@ -1,47 +1,48 @@
- <ul class="g-buttonset">
- <li>
- <a target="_blank"
- <? if (isset($info['author_url'])): ?>
- class="ui-state-default ui-icon ui-icon-person ui-corner-left"
- href="<?= $info['author_url'] ?>"
- <? else: ?>
- class="ui-state-disabled ui-icon ui-icon-person ui-corner-left"
- href="#"
- <? endif ?>
+<?php defined("SYSPATH") or die("No direct script access.") ?>
+<ul class="g-buttonset">
+ <li>
+ <a target="_blank"
+ <? if (isset($info['author_url'])): ?>
+ class="ui-state-default ui-icon ui-icon-person ui-corner-left"
+ href="<?= $info['author_url'] ?>"
+ <? else: ?>
+ class="ui-state-disabled ui-icon ui-icon-person ui-corner-left"
+ href="#"
+ <? endif ?>
- <? if (isset($info['author_name'])): ?>
- title="<?= $info['author_name'] ?>"
- <? endif ?>
- >
- <? if (isset($info['author_name'])): ?>
- <?= $info['author_name'] ?>
- <? endif ?>
- </a>
- </li>
- <li>
- <a target="_blank"
- <? if (isset($info['info_url'])): ?>
- class="ui-state-default ui-icon ui-icon-info"
- href="<?= $info['info_url'] ?>"
- <? else: ?>
- class="ui-state-disabled ui-icon ui-icon-info"
- href="#"
- <? endif ?>
- >
- <?= t("info") ?>
- </a>
- </li>
- <li>
- <a target="_blank"
- <? if (isset($info['discuss_url'])): ?>
- class="ui-state-default ui-icon ui-icon-comment ui-corner-right"
- href="<?= $info['discuss_url'] ?>"
- <? else: ?>
- class="ui-state-disabled ui-icon ui-icon-comment ui-corner-right"
- href="#"
- <? endif ?>
- >
- <?= t("discuss") ?>
- </a>
- </li>
- </ul>
+ <? if (isset($info['author_name'])): ?>
+ title="<?= $info['author_name'] ?>"
+ <? endif ?>
+ >
+ <? if (isset($info['author_name'])): ?>
+ <?= $info['author_name'] ?>
+ <? endif ?>
+ </a>
+ </li>
+ <li>
+ <a target="_blank"
+ <? if (isset($info['info_url'])): ?>
+ class="ui-state-default ui-icon ui-icon-info"
+ href="<?= $info['info_url'] ?>"
+ <? else: ?>
+ class="ui-state-disabled ui-icon ui-icon-info"
+ href="#"
+ <? endif ?>
+ >
+ <?= t("info") ?>
+ </a>
+ </li>
+ <li>
+ <a target="_blank"
+ <? if (isset($info['discuss_url'])): ?>
+ class="ui-state-default ui-icon ui-icon-comment ui-corner-right"
+ href="<?= $info['discuss_url'] ?>"
+ <? else: ?>
+ class="ui-state-disabled ui-icon ui-icon-comment ui-corner-right"
+ href="#"
+ <? endif ?>
+ >
+ <?= t("discuss") ?>
+ </a>
+ </li>
+</ul>