<{include file="db:`$xoops_dirname`_inc_menu.html"}> <{if $actionForm->hasError()}>

<{foreach item=message from=$actionForm->getErrorMessages()}>
- <{$message|xoops_escape}>
<{/foreach}>

<{/if}>

# <{"`$constpref`_LANG_APPROVE_ITEM"|constant}>

<{"`$constpref`_LANG_TITLE"|constant}>
  <{$object->mItem->getShow('title')}>
<{"`$constpref`_LANG_DIRNAME"|constant}>
  <{$object->mItem->getShow('dirname')}>
<{"`$constpref`_LANG_DATANAME"|constant}>
  <{$object->mItem->getShow('dataname')}>
<{"`$constpref`_LANG_TARGET_ID"|constant}>
  <{$object->mItem->getShow('target_id')}>
<{"`$constpref`_LANG_UID"|constant}>
  <{$object->mItem->getShow('uid')|xoops_user:"user_name"}>
<{"`$constpref`_LANG_STEP"|constant}>
  <{$object->mItem->getShow('step')}>
<{"`$constpref`_LANG_STATUS"|constant}>
  <{$object->mItem->getShowStatus()}>
<{"`$constpref`_LANG_POSTTIME"|constant}>
  <{$object->mItem->get('posttime')|xoops_formattimestamp:m}>
<{if $object->mItem->get('deletetime')>0}>
<{"`$constpref`_LANG_DELETETIME"|constant}>
  <{$object->mItem->get('deletetime')|xoops_formattimestamp:m}>
<{/if}>

<{"`$constpref`_LANG_RESULT"|constant}>
<{"`$constpref`_LANG_RESULT_APPROVE"|constant}> <{"`$constpref`_LANG_RESULT_REJECT"|constant}>
<{"`$constpref`_LANG_COMMENT"|constant}>
<{xoops_textarea type=text name=comment value=$actionForm->get('comment')}>
<{xoops_token form=$actionForm}> <{xoops_input type=hidden name=item_id value=$actionForm->get('item_id')}> <{xoops_input type=hidden name=progress_id value=$actionForm->get('progress_id')}>
<{if !empty($object->mItem->mHistory)}>

## <{"`$constpref`_LANG_HISTORY"|constant}>

<{"`$constpref`_LANG_APPROVED_BY"|constant}> | <{"`$constpref`_LANG_STEP"|constant}> | <{"`$constpref`_LANG_RESULT"|constant}> | <{"`$constpref`_LANG_COMMENT"|constant}> | <{"`$constpref`_LANG_APPROVEDTIME"|constant}>
--- | --- | --- | --- | ---
<{foreach item=history from=$object->mItem->mHistory}>
<{$history->getShow('uid')|xoops_user:"user_name"}> | <{$history->getShow('step')}> | <{$history->getShowResult()}> | <{$history->getShow('comment')}> | <{$history->getShow('posttime')|xoops_formattimestamp:m}>
<{/foreach}>

<{/if}>