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

Changeset 12354


Ignore:
Timestamp:
Jul 23, 2009, 12:41:01 PM (14 years ago)
Author:
nagasawa
Message:

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

Location:
OpenPNE3/branches/STABLE/3.0.x
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/branches/STABLE/3.0.x/apps/pc_backend/i18n/messages.ja.xml

    r11920 r12354  
    88      </trans-unit>
    99      <trans-unit id="">
    10         <source> settings</source>
    11         <target>設定</target>
     10        <source>%1% settings</source>
     11        <target>%1%設定</target>
    1212      </trans-unit>
    1313      <trans-unit id="">
  • OpenPNE3/branches/STABLE/3.0.x/apps/pc_backend/modules/design/templates/bannerSuccess.php

    r11763 r12354  
    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/branches/STABLE/3.0.x/lib/form/BannerForm.class.php

    r12127 r12354  
    8585  public function isValid()
    8686  {
    87     if (!count($this->bannerImageIdList))
     87    if (!$this->getValue('is_use_html') && !count($this->bannerImageIdList))
    8888    {
    8989      return false;
Note: See TracChangeset for help on using the changeset viewer.