Skip to content

Commit

Permalink
テーマ一覧 テーマのdescriptionが設定されていないとエラー
Browse files Browse the repository at this point in the history
  • Loading branch information
seto1 committed Sep 9, 2024
1 parent 1155b06 commit 39aec68
Showing 1 changed file with 0 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -75,28 +75,4 @@
<?php echo h($theme->author) ?>
<?php endif ?>
</p>
<div style='display:none'>
<div id="<?php echo 'Contents' . Inflector::camelize(h($theme->name)) ?>" class="theme-popup-contents clearfix">
<div class="bca-current-theme__screenshot">
<?php if ($theme->screenshot): ?>
<?php $this->BcBaser->img(['action' => 'screenshot', $theme->name], ['alt' => $theme->title]) ?>
<?php else: ?>
<?php $this->BcBaser->img('admin/no-screenshot.png', ['alt' => $theme->title]) ?>
<?php endif ?>
</div>
<div class="theme-name">
<strong><?php echo h($theme->title) ?></strong>&nbsp;(&nbsp;<?php echo h($theme->name) ?>&nbsp;)
</div>
<div class="theme-version"><?php echo __d('baser_core', 'バージョン') ?><?php echo h($theme->version) ?></div>
<div class="theme-author">
<?php echo __d('baser_core', '制作者') ?>
<?php if (!empty($theme->url) && !empty($theme->author)): ?>
<?php $this->BcBaser->link($theme->author, $theme->url, ['target' => '_blank', 'escape' => true]) ?>
<?php else: ?>
<?php echo h($theme->author) ?>
<?php endif ?>
</div>
<div class="theme-description"><?php echo nl2br($this->BcText->autoLinkUrls($theme->description)) ?></div>
</div>
</div>
</li>

0 comments on commit 39aec68

Please sign in to comment.