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

Changeset 1904


Ignore:
Timestamp:
Feb 21, 2007, 4:25:01 PM (13 years ago)
Author:
takanashi
Message:

日記編集画面のエントリポイント修正

Location:
OpenPNE/branches/develop/2_7_1/webapp
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/develop/2_7_1/webapp/lib/util/page.php

    r1856 r1904  
    198198{
    199199    $target = 'h_reply_message';
     200
     201    $contents = array();
     202    for ($i = 1; $i <= 3; $i++) {
     203        $tpl = sprintf('db:inc_entry_point_%s_%d', $target, $i);
     204        $contents[$i] = fetch_from_db($tpl, $smarty);
     205    }
     206    return $contents;
     207}
     208function fetch_inc_entry_point_h_diary_add(&$smarty)
     209{
     210    $target = 'h_diary_add';
    200211
    201212    $contents = array();
  • OpenPNE/branches/develop/2_7_1/webapp/modules/pc/page/h_diary_add.php

    r1856 r1904  
    5757            $this->set("use_diary_category", true);
    5858        }
     59        // inc_entry_point
     60        $this->set('inc_entry_point', fetch_inc_entry_point_h_diary_add($this->getView()));
    5961
    6062        return 'success';
  • OpenPNE/branches/develop/2_7_1/webapp/modules/pc/templates/h_diary_add.tpl

    r1902 r1904  
    353353({*********})
    354354({if $inc_entry_point[3]})
    355 
    356 <tr>
    357 <td class="container">
     355<tr>
     356<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width
     357:1px;height:1px;" class="dummy"></td>
     358</tr>
     359<tr>
     360<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="wid
     361th:1px;height:1px;" class="dummy"></td>
     362<td style="width:80px;" class="bg_05" align="center" valign="middle">
     363<div style="padding:4px 3px;">
     364</div>
     365</td>
     366<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="wid
     367th:1px;height:1px;" class="dummy"></td>
     368<td style="width:439px;" class="bg_02" align="left" valign="middle">
     369<div style="padding:4px 3px;">
     370
    358371({$inc_entry_point[3]|smarty:nodefaults})
    359 </td>
    360 </tr>
    361 
    362 <tr>
    363 <td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
    364 </tr>
    365 ({/if})
    366 ({*********})
    367 
     372
     373</div>
     374</td>
     375<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="wid
     376th:1px;height:1px;" class="dummy"></td>
     377</tr>
     378
     379
     380({/if})
     381({*********})
    368382<tr>
    369383<td style="height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
Note: See TracChangeset for help on using the changeset viewer.