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

Changeset 10537


Ignore:
Timestamp:
Jan 28, 2009, 3:41:16 PM (14 years ago)
Author:
nagasawa
Message:

fixed layout in favorite/add,favorite/list

Location:
OpenPNE3/plugins/opFavoritePlugin/trunk/apps/pc_frontend
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE3/plugins/opFavoritePlugin/trunk/apps/pc_frontend/modules/favorite/templates/addSuccess.php

    r10535 r10537  
    11<?php use_helper('Date'); ?>
    2 <div class="dparts searchResultList"><div class="parts">
     2<div class="dparts form"><div class="parts">
     3
    34<div class="partsHeading"><h3><?php echo __('Do you add member to the favorite?') ?></h3></div>
    45
    5 <div class="block">
     6<table><tbody>
    67
    7 <div class="ditem"><div class="item"><table><tbody><tr>
     8<tr>
     9<th><?php echo __('Photo') ?></th>
     10<td><?php echo link_to(image_tag_sf_image($member->getImageFilename(), array('size' => '76x76')), 'member/profile?id=' . $member->getId()); ?></td>
     11</tr>
    812
    9 <td rowspan="4" class="photo">
    10 <?php echo link_to(image_tag_sf_image($member->getImageFilename(), array('size' => '76x76')), 'member/profile?id=' . $member->getId()); ?><br />
    11 <?php echo link_to(__('Show detail'), 'member/profile?id=' . $member->getId()) ?>
    12 </td>
    13 
     13<tr>
    1414<th><?php echo __('Nickname') ?></th>
    1515<td><?php echo $member->getName() ?></td>
     
    3030</tbody></table>
    3131
    32 <div style="border-top: 1px solid #CCCCCC; padding: 2px">
    33 <form style="float: left; padding-left: 38%" method="post" action="">
    34 <input type="hidden" name="add" value=true>
    35 <input style="width: 60px" type="submit" value="<?php echo __('Yes') ?>" /></form>
    36 <form style="float: right; padding-right: 38%" method="post" action="">
    37 <input style="width: 60px" type="submit" value="<?php echo __('No') ?>" /></form>
    38 <div style="clear: left"></div>
     32<div class="operation">
     33<ul class="moreInfo button">
     34<li>
     35<form method="post" action="">
     36<input type="hidden" name="add" value="1">
     37<input type="submit" value=<?php echo __('Yes') ?> class="input_submit"/>
     38</form>
     39</li>
     40<li>
     41<form method="get" action="">
     42<input type="submit" value=<?php echo __('No') ?> class="input_submit"/>
     43</form>
     44</li>
     45</ul>
    3946</div>
    4047
    4148</div></div>
    42 </div>
    43 
    44 </div></div>
  • OpenPNE3/plugins/opFavoritePlugin/trunk/apps/pc_frontend/modules/favorite/templates/listSuccess.php

    r10536 r10537  
    1 <?php use_helper('Date'); ?>
     1<?php use_helper('Date') ?>
    22<div class="dparts searchResultList"><div class="parts">
    33<div class="partsHeading"><h3><?php echo __('Favorite') ?></h3></div>
    44
    5 <div class="pagerRelative"><p class="number"><?php echo pager_navigation($pager, 'friend/list?page=%d'); ?></p></div>
     5<div class="pagerRelative"><p class="number"><?php echo pager_navigation($pager, 'favorite/list?page=%d'); ?></p></div>
    66
    77<div class="block">
    88
    99<?php foreach ($members as $member): ?>
    10 <div class="ditem"><div class="item"><table><tbody><tr>
     10<div class="ditem"><div class="item">
     11<table><tbody>
    1112
    12 <td rowspan="4" class="photo">
     13<tr>
     14<td rowspan="3" class="photo">
    1315<?php echo link_to(image_tag_sf_image($member->getImageFilename(), array('size' => '76x76')), 'member/profile?id=' . $member->getId()); ?><br />
    1416</td>
    15 
    1617<th><?php echo __('Nickname') ?></th>
    1718<td><?php echo $member->getName() ?></td>
     
    2526<?php endif ?>
    2627
    27 <tr>
     28<tr class="operation">
    2829<th><?php echo __('The last login') ?></th>
    29 <td style="padding: 0">
    30 <span style="display: block; border-right: 1px solid #CCCCCC; float: left; width: 110px; padding: 5px">
    31 <?php echo distance_of_time_in_words($member->getLastLoginTime()) ?>
    32 </span>
    33 <span style="display: block; padding-top: 5px">
     30<td>
     31<span class="text"><?php echo distance_of_time_in_words($member->getLastLoginTime()) ?></span>
     32<span class="moreInfo">
    3433<?php echo link_to(__('Show detail'), 'member/profile?id=' . $member->getId()) ?>
    35 <?php echo link_to(__('Delete'), 'favorite/delete?id=' . $member->getId()) ?>
     34 <?php echo link_to(__('Delete'), 'favorite/delete?id=' . $member->getId()) ?>
    3635</span>
    3736</td>
    3837</tr>
    3938
    40 </tbody></table></div></div>
     39</tbody></table>
     40</div></div>
     41
     42<div class="pagerRelative"><p class="number"><?php echo pager_navigation($pager, 'favorite/list?page=%d'); ?></p></div>
     43
    4144<?php endforeach; ?>
    42 </div>
    43 
    44 <div class="pagerRelative"><p class="number"><?php echo pager_navigation($pager, 'friend/list?page=%d'); ?></p></div>
    45 
    46 </div></div>
     45</div></div></div>
  • OpenPNE3/plugins/opFavoritePlugin/trunk/apps/pc_frontend/templates/_partsDiaryListBox.php

    r10420 r10537  
    88<div class="block">
    99
    10 <table>
    11 <tbody>
    1210<ul class="articleList">
    1311<?php foreach($options['list'] as $res): ?>
     
    3432<?php endif; ?>
    3533
    36 </tbody>
    37 </table>
    38 
    3934</div>
    4035
Note: See TracChangeset for help on using the changeset viewer.