diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2011-04-25 22:06:36 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2011-04-25 22:07:47 -0700 | 
| commit | b0285f770e72a03591939533485c90c63af00f1b (patch) | |
| tree | 2fa5b778f2b760b11dc78a1df513c83a7b1605e1 /modules | |
| parent | 27bfa6a3383486b3ca5f963f9724f5bb6119b574 (diff) | |
Add appropriate preamble.  #1696, #1698
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/gallery/views/admin_themes_buttonset.html.php | 93 | 
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> | 
