Changeset 10349 for OpenPNE3/trunk/apps/pc_frontend
- Timestamp:
- Jan 24, 2009, 4:45:11 PM (14 years ago)
- Location:
- OpenPNE3/trunk/apps/pc_frontend/templates
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE3/trunk/apps/pc_frontend/templates/_partsForm.php
r10298 r10349 1 1 <?php 2 $options = array_merge(array( 3 'button' => __('変更'), 4 'url' => sprintf('%s/%s', $this->getModuleName(), $this->getActionName()), 5 ), (array)$sf_data->getRaw('options')); 2 $options->setDefault('button', __('変更')); 3 $options->setDefault('url', sprintf('%s/%s', $this->getModuleName(), $this->getActionName())); 6 4 ?> 7 5 -
OpenPNE3/trunk/apps/pc_frontend/templates/_partsNineTable.php
r10298 r10349 1 1 <?php if (count($options['list'])): ?> 2 2 3 <?php 3 $options = array_merge(array( 4 'row' => 3, 5 'col' => 3, 6 'type' => 'full', 7 ), (array)$sf_data->getRaw('options')); 4 $options->setDefault('row', 3); 5 $options->setDefault('col', 3); 6 $options->setDefault('type', 'full'); 8 7 ?> 8 9 9 <table> 10 10 <?php $row = ceil(count($options['list']) / $options['row']) ?> -
OpenPNE3/trunk/apps/pc_frontend/templates/_partsSearchResultList.php
r10286 r10349 1 <?php $raw_options = $sf_data->getRaw('options'); ?>2 3 1 <div class="pagerRelative"><p class="number"><?php echo pager_navigation($options['pager'], $options['link_to_page']); ?></p></div> 4 2 5 3 <div class="block"> 6 4 <?php foreach ($options['pager']->getResults() as $key => $result): ?> 5 <?php $list = $options->list->getRaw($key); ?> 7 6 <div class="ditem"><div class="item"><table><tbody><tr> 8 7 <td rowspan="<?php echo count($options['list'][$key]) + 1 ?>" class="photo"> … … 12 11 <th> 13 12 <?php 14 $keys = array_keys($raw_options['list'][$key]);15 echo array_shift($keys);13 reset($list); 14 echo key($list); 16 15 ?> 17 16 </th><td> 18 <?php echo array_shift($ raw_options['list'][$key]); ?>17 <?php echo array_shift($list); ?> 19 18 </td> 20 19 </tr> 21 <?php foreach ($ raw_options['list'][$key]as $caption => $item) : ?>20 <?php foreach ($list as $caption => $item) : ?> 22 21 <tr> 23 22 <th><?php echo $caption ?></th><td><?php echo $item ?></td>
Note: See TracChangeset
for help on using the changeset viewer.