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

Changeset 2946


Ignore:
Timestamp:
May 17, 2007, 5:57:28 PM (13 years ago)
Author:
ebihara
Message:

#782:携帯版で、Todoの目標期日が正しく表示されていなかったのを修正

Location:
OpenPNE/branches/2.6.x/webapp_biz/modules/ktai_biz
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • OpenPNE/branches/2.6.x/webapp_biz/modules/ktai_biz/page/fh_biz_todo_edit.php

    r2891 r2946  
    2121        $this->set("target_biz_todo_id", $requests['target_biz_todo_id']);
    2222        $todo = biz_getTodo($requests['target_biz_todo_id']);
     23        if (!strncmp($todo['due_datetime'], '0000', 4)) {
     24            $todo['due_datetime'] = null;
     25        }
    2326        $this->set("todo", $todo);
    2427
  • OpenPNE/branches/2.6.x/webapp_biz/modules/ktai_biz/templates/fh_biz_todo_edit.tpl

    r2401 r2946  
    1111
    1212目標期日:<br>
    13 <input type="text" name='due_datetime_y' size="2" value="({$todo.due_datetime|date_format:'%Y'})" istyle="4" mode="numeric">年
    14 <input type="text" name='due_datetime_m' size="2" value="({$todo.month|date_format:'%m'})" istyle="4" mode="numeric">月
    15 <input type="text" name='due_datetime_d' size="2" value="({$todo.day|date_format:'%d'})" istyle="4" mode="numeric">日<br>
     13<input type="text" name='due_datetime_y' size="2" value="({if $todo.due_datetime})({$todo.due_datetime|date_format:'%Y'})({/if})" istyle="4" mode="numeric">年
     14<input type="text" name='due_datetime_m' size="2" value="({if $todo.due_datetime})({$todo.due_datetime|date_format:'%m'})({/if})" istyle="4" mode="numeric">月
     15<input type="text" name='due_datetime_d' size="2" value="({if $todo.due_datetime})({$todo.due_datetime|date_format:'%d'})({/if})" istyle="4" mode="numeric">日<br>
    1616
    1717<center>
Note: See TracChangeset for help on using the changeset viewer.