$L->g('Edit content'), 'icon'=>'file-text-o')); HTML::formOpen(array('class'=>'uk-form-stacked')); // Security token HTML::formInputHidden(array( 'name'=>'tokenCSRF', 'value'=>$Security->getTokenCSRF() )); // Key input HTML::formInputHidden(array( 'name'=>'key', 'value'=>$page->key() )); // LEFT SIDE // -------------------------------------------------------------------- echo '
'; echo '
'; // Title input HTML::formInputText(array( 'name'=>'title', 'value'=>$page->title(), 'class'=>'uk-width-1-1 uk-form-large', 'placeholder'=>$L->g('Title') )); // Content input HTML::formTextarea(array( 'name'=>'content', 'value'=>$page->contentRaw(false), 'class'=>'uk-width-1-1 uk-form-large', 'placeholder'=>'' )); // Form buttons echo '
'; echo ' '; if(count($page->children())===0) { echo ' '; echo ' '.$L->g('Cancel').''; } echo '
'; echo '
'; // RIGHT SIDE // -------------------------------------------------------------------- echo '
'; echo ''; echo '
'; echo '
'; HTML::formClose(); ?>