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

Changeset 786


Ignore:
Timestamp:
Nov 19, 2006, 11:54:58 PM (14 years ago)
Author:
takanashi
Message:

施設予約に「詳細」を追加(r737

Location:
OpenPNE/trunk/webapp_biz/modules/biz
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/trunk/webapp_biz/modules/biz/do/s_add_shisetsu.php

    r406 r786  
    2929        t_image_clear_tmp(session_id());
    3030
    31         biz_addShisetsu($requests['name'], $filename);
     31        biz_addShisetsu($requests['name'], $filename, $requests['info']);
    3232
    3333        $p = array('msg' => '施設を追加しました');
  • OpenPNE/trunk/webapp_biz/modules/biz/do/s_edit_shisetsu.php

    r503 r786  
    3838        t_image_clear_tmp(session_id());
    3939
    40         biz_editShisetsu($id, $requests['name'], $filename);
     40        biz_editShisetsu($id, $requests['name'], $filename, $requests['info']);
    4141
    4242        $p = array('msg' => '施設を編集しました');
  • OpenPNE/trunk/webapp_biz/modules/biz/lib/mysql_functions.php

    r695 r786  
    917917
    918918//施設追加
    919 function biz_addShisetsu($name, $image_name)
     919function biz_addShisetsu($name, $image_name, $info = '')
    920920{
    921921    if (!$image_name) {
     
    926926        'name' => $name,
    927927        'image_filename' => $image_name,
     928        'info' => $info,
    928929    );
    929930    db_insert('biz_shisetsu', $data);
     
    931932
    932933//施設編集
    933 function biz_editShisetsu($id, $name, $image_name)
     934function biz_editShisetsu($id, $name, $image_name, $info = '')
    934935{
    935936    if (!$image_name) {
     
    937938    }
    938939
    939     $sql = 'UPDATE `biz_shisetsu` SET `name` = ?,`image_filename` = ? WHERE `biz_shisetsu_id` = ?';
     940    $sql = 'UPDATE `biz_shisetsu` SET `name` = ?,`image_filename` = ?, `info` = ? WHERE `biz_shisetsu_id` = ?';
    940941    $params = array(
    941942        $name,
    942943        $image_name,
     944        $info,
    943945        intval($id),
    944946    );
  • OpenPNE/trunk/webapp_biz/modules/biz/templates/inc_biz_schedule_week.tpl

    r754 r786  
    7878<td style="width:666px;padding:2px 0px;" class="bg_06"><span class="b_b c_00">({$list.name})</span></td>
    7979</tr>
     80({if $list.info})
     81<tr>
     82<td class="border_01 bg_02" align="left" style="width:10px;border-right:none;"><img src="./skin/dummy.gif" style="width:9px;height:10px;" class="dummy"></td>
     83<td class="border_01 bg_02 padding_ss" style="border-left:none;" align="left">
     84({$list.info})
     85</td>
     86</tr>
     87({/if})
    8088</table>
    8189</div>
  • OpenPNE/trunk/webapp_biz/modules/biz/templates/s_add_shisetsu.tpl

    r387 r786  
    8080
    8181<input name="name" size="50">
     82
     83</div>
     84
     85</td>
     86<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     87</tr>
     88({*********})
     89({*********})
     90<tr>
     91<td style="width:636px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     92</tr>
     93({*********})
     94<tr>
     95<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     96<td style="width:130px;" class="bg_05" align="center" valign="middle">
     97
     98<div class="padding_s">
     99
     100詳細
     101
     102</div>
     103
     104</td>
     105<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     106<td style="width:503px;" class="bg_02" align="left" valign="middle">
     107
     108<div class="padding_s">
     109
     110<input name="info" size="50">
    82111
    83112</div>
  • OpenPNE/trunk/webapp_biz/modules/biz/templates/s_edit_shisetsu.tpl

    r543 r786  
    8484
    8585<input name="name" size="50" value="({$list.name})">
     86
     87</div>
     88
     89</td>
     90<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     91</tr>
     92({*********})
     93<tr>
     94<td style="width:636px;height:1px;" class="bg_01" colspan="5"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     95</tr>
     96({*********})
     97<tr>
     98<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     99<td style="width:130px;" class="bg_05" align="center" valign="middle">
     100
     101<div class="padding_s">
     102
     103詳細
     104
     105</div>
     106
     107</td>
     108<td style="width:1px;" class="bg_01" align="center"><img src="./skin/dummy.gif" style="width:1px;height:1px;" class="dummy"></td>
     109<td style="width:503px;" class="bg_02" align="left" valign="middle">
     110
     111<div class="padding_s">
     112
     113<input name="info" size="50" value="({$list.info})">
    86114
    87115</div>
  • OpenPNE/trunk/webapp_biz/modules/biz/validate/do/s_add_shisetsu.ini

    r217 r786  
    44[image_filename]
    55type="string"
     6
     7[info]
     8type="string"
     9default=""
  • OpenPNE/trunk/webapp_biz/modules/biz/validate/do/s_edit_shisetsu.ini

    r217 r786  
    77[target_id]
    88type="int"
     9
     10[info]
     11type="string"
     12default=""
Note: See TracChangeset for help on using the changeset viewer.