ここの情報は古いです。ご理解頂いた上でお取り扱いください。

Changeset 12356


Ignore:
Timestamp:
Jul 23, 2009, 12:43:11 PM (11 years ago)
Author:
nagasawa
Message:

#3272:fixed the banner could not use html when having not registered the image(3.1.x)

Location:
OpenPNE3/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_backend/i18n/messages.ja.xml

    r12056 r12356  
    123123      </trans-unit>
    124124      <trans-unit id="">
    125         <source> settings</source>
    126         <target>設定</target>
     125        <source>%1% settings</source>
     126        <target>%1%設定</target>
    127127      </trans-unit>
    128128      <trans-unit id="">
  • OpenPNE3/trunk/apps/pc_backend/modules/design/templates/bannerSuccess.php

    r12056 r12356  
    77<?php echo $form->renderGlobalErrors() ?>
    88
    9 <h2><?php echo $form->getObject()->getCaption().__(' settings') ?></h2>
     9<h2><?php echo __('%1% settings', array('%1%' => $form->getObject()->getCaption())) ?></h2>
    1010
    1111<?php if ($bannerList): ?>
     
    1313<ul>
    1414<?php foreach ($bannerList as $b) : ?>
    15 <li><?php echo link_to($b->getCaption().__(' settings'), 'design/banner?id='.$b->getId()) ?></li>
     15<li><?php echo link_to(__('%1% settings', array('%1%' => $b->getCaption())), 'design/banner?id='.$b->getId()) ?></li>
    1616<?php endforeach ?>
    1717</ul>
  • OpenPNE3/trunk/lib/form/doctrine/BannerForm.class.php

    r12056 r12356  
    8484  public function isValid()
    8585  {
    86     if (!count($this->bannerImageIdList))
     86    if (!$this->getValue('is_use_html') && !count($this->bannerImageIdList))
    8787    {
    8888      return false;
Note: See TracChangeset for help on using the changeset viewer.