Permalink
Browse files

Add appropriate preamble. #1696, #1698

  • Loading branch information...
bharat committed Apr 26, 2011
1 parent 27bfa6a commit b0285f770e72a03591939533485c90c63af00f1b
Showing with 47 additions and 46 deletions.
  1. +47 −46 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>

0 comments on commit b0285f7

Please sign in to comment.