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

Changeset 12289


Ignore:
Timestamp:
Jul 16, 2009, 4:57:55 PM (11 years ago)
Author:
ShogoKawahara
Message:

#4106:fixed sfWidgetFormSchemaFormatterMobile for color

File:
1 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/lib/widget/sfWidgetFormSchemaFormatterMobile.class.php

    r10003 r12289  
    1919{
    2020  protected
    21     $rowFormat       = "<br>%label%:<br>%field%%help%%hidden_fields%%error%<br>",
    22     $errorRowFormat  = "%errors%<br>",
    23     $helpFormat      = '<br>%help%';
     21    $errorRowFormatInARow      = "%error%<br>\n",
     22    $namedErrorRowFormatInARow = "%name%: %error%<br>\n",
     23    $helpFormat                = '<br>%help%';
     24
     25  public function __construct(sfWidgetFormSchema $widgetSchema)
     26  {
     27    $this->rowFormat = '<br><font color="'.opColorConfig::get('core_color_19').'">%label%:</font><br>%field%%help%%hidden_fields%%error%<br>';
     28    $this->errorListFormatInARow = '<font color="'.opColorConfig::get('core_color_22').'">'."\n".'%errors%</font>';
     29
     30    $this->setWidgetSchema($widgetSchema);
     31  }
    2432}
Note: See TracChangeset for help on using the changeset viewer.