$L->g('Edit post'), 'icon'=>'pencil')); HTML::formOpen(array('class'=>'uk-form-stacked')); // Security token HTML::formInputHidden(array( 'name'=>'token', 'value'=>$Security->getToken() )); // Key input HTML::formInputHidden(array( 'name'=>'key', 'value'=>$_Post->key() )); // ---- LEFT SIDE ---- echo '
'; echo '
'; // Title input HTML::formInputText(array( 'name'=>'title', 'value'=>$_Post->title(), 'class'=>'uk-width-1-1 uk-form-large', 'placeholder'=>$L->g('Title') )); // Content input HTML::formTextarea(array( 'name'=>'content', 'value'=>$_Post->contentRaw(false), 'class'=>'uk-width-1-1 uk-form-large', 'placeholder'=>$L->g('Content') )); // Form buttons echo '
'.$L->g('Cancel').'
'; echo '
'; // ---- RIGHT SIDE ---- echo '
'; // Tabs, general and advanced mode echo ''; echo ''; echo '
'; echo '
'; HTML::formClose(); ?>