$L->g('Edit page'), 'icon'=>'file-text-o')); 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'=>$_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'=>$L->g('Content') )); // Form buttons echo '
'; echo ' '; if(count($_Page->children())===0) { echo ' '; echo ' '.$L->g('Cancel').''; } echo '
'; echo '
'; // ---- RIGHT SIDE ---- echo '
'; // Tabs, general and advanced mode echo ''; echo ''; echo '
'; echo '
'; HTML::formClose(); ?>