* @package entry * @version $Id$ * @link https://xuanim.com */ ?>
entry->category;?>
order > $maxOrder) $maxOrder = $child->order; echo "
"; echo html::input("children[$child->id]", $child->name, "class='form-control'"); echo "" . html::a(helper::createLink('tree', 'delete', "id={$child->id}"), "", "class='deleteCategory'") . ""; echo html::hidden("mode[$child->id]", 'update'); echo "
"; } for($i = 0; $i < 5 ; $i ++) { echo "
"; echo html::input("children[]", '', "class='form-control' placeholder='{$lang->entry->category}'"); echo html::hidden('mode[]', 'new'); echo "
"; } echo "
" . html::submitButton() . "
"; echo html::hidden('parent', 0); echo html::hidden('maxOrder', $maxOrder); ?>