mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-22 05:15:29 +09:00
add reason_update DB column.
This commit is contained in:
parent
de127f27f8
commit
2a824e150c
5 changed files with 13 additions and 3 deletions
|
|
@ -151,12 +151,14 @@ class boardController extends board
|
|||
$obj->last_update = $obj->regdate = date('YmdHis');
|
||||
$obj->update_order = $obj->list_order = (getNextSequence() * -1);
|
||||
}
|
||||
|
||||
$obj->reason_update = escape($obj->reason_update);
|
||||
$output = $oDocumentController->updateDocument($oDocument, $obj);
|
||||
$msg_code = 'success_updated';
|
||||
|
||||
// insert a new document otherwise
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
$output = $oDocumentController->insertDocument($obj, $bAnonymous);
|
||||
$msg_code = 'success_registed';
|
||||
$obj->document_srl = $output->get('document_srl');
|
||||
|
|
|
|||
|
|
@ -43,6 +43,7 @@
|
|||
<input type="checkbox" name="notify_message" class="iCheck" value="Y" checked="checked"|cond="$oDocument->useNotify()" id="notify_message" />
|
||||
<label for="notify_message">{$lang->notify}</label>
|
||||
</block>
|
||||
|
||||
<!--@if(is_array($status_list))-->
|
||||
<!--@foreach($status_list AS $key=>$value)-->
|
||||
<input type="radio" name="status" value="{$key}" id="{$key}" <!--@if($oDocument->get('status') == $key || ($key == 'PUBLIC' && !$document_srl))-->checked="checked"<!--@end--> />
|
||||
|
|
@ -66,7 +67,11 @@
|
|||
<span class="item">
|
||||
<label for="tags" class="iLabel">{$lang->tag}: {$lang->about_tag}</label>
|
||||
<input type="text" name="tags" id="tags" value="{htmlspecialchars($oDocument->get('tags'))}" class="iText" style="width:300px" title="Tag" />
|
||||
</span>
|
||||
</span>
|
||||
<span class="item" cond="$oDocument->get('document_srl')">
|
||||
<label for="reason_update" class="iLabel">reason update</label>
|
||||
<input type="text" name="reason_update" id="reason_update" value="" class="iText" style="width:300px" title="reason update" />
|
||||
</span>
|
||||
</div>
|
||||
<div class="btnArea">
|
||||
<block cond="!$oDocument->isExists() || $oDocument->get('status') == 'TEMP'">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue