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

Changeset 11546


Ignore:
Timestamp:
Apr 30, 2009, 4:26:59 PM (13 years ago)
Author:
ShogoKawahara
Message:

added "firstRow" option parameter to partsForm template and partsListBox template (trunk)

Location:
OpenPNE3/trunk/apps/pc_frontend/templates
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsForm.php

    r11011 r11546  
    33$options->setDefault('url', url_for(sfContext::getInstance()->getRouting()->getCurrentInternalUri()));
    44$options->setDefault('method','post');
     5$options->setDefault('firstRow', '');
     6$options->setDefault('lastRow', '');
    57?>
    68
     
    1517
    1618<table>
     19<?php include_customizes($id, 'firstRow') ?>
     20<?php echo $options->getRaw('firstRow') ?>
    1721<?php
    1822$forms = ($options['form'] instanceof sfForm) ? array($options['form']) : $options['form'];
     
    7377}
    7478?>
     79<?php echo $options->getRaw('lastRow') ?>
    7580<?php include_customizes($id, 'lastRow') ?>
    7681</table>
  • OpenPNE3/trunk/apps/pc_frontend/templates/_partsListBox.php

    r10298 r11546  
    11<table>
     2<?php include_customizes($id, 'firstRow') ?>
    23<?php foreach ($options['list'] as $key => $value): ?>
    34<tr>
Note: See TracChangeset for help on using the changeset viewer.