'jsform', 'class'=>'tab-content mt-4' )); // Token CSRF echo Bootstrap::formInputHidden(array( 'name'=>'tokenCSRF', 'value'=>$Security->getTokenCSRF() )); // Parent echo Bootstrap::formInputHidden(array( 'name'=>'parent', 'value'=>'' )); // UUID echo Bootstrap::formInputHidden(array( 'name'=>'uuid', 'value'=>$dbPages->generateUUID() )); // Status = published, draft, sticky, static echo Bootstrap::formInputHidden(array( 'name'=>'status', 'value'=>'published' )); // Cover image echo Bootstrap::formInputHidden(array( 'name'=>'coverImage', 'value'=>'' )); ?>
'title', 'placeholder'=>'Enter title', 'class'=>'form-control-lg', 'value'=>'' )); ?>
g('Cancel') ?>
'Select images or upload images')); ?> 'Cover image')); ?> coverImagePreview 'External cover image')); ?> 'externalCoverImage', 'placeholder'=>'https://', 'value'=>'', 'tip'=>'Set a cover image from external URL, such as a CDN or some server dedicate for images.' )); ?>
'General')); // Category echo Bootstrap::formSelect(array( 'name'=>'category', 'label'=>'Category', 'selected'=>'', 'options'=>$dbCategories->getKeyNameArray() )); // Tags echo Bootstrap::formInputText(array( 'name'=>'tags', 'label'=>'Tags', 'placeholder'=>'Tags separeted by comma' )); // Description echo Bootstrap::formTextarea(array( 'name'=>'description', 'label'=>'Description', 'placeholder'=>'Small description about the content', 'rows'=>'4' )); echo Bootstrap::formTitle(array('title'=>'Advanced')); // Date echo Bootstrap::formInputText(array( 'name'=>'date', 'label'=>'Date', 'placeholder'=>'YYYY-MM-DD hh:mm:ss', 'value'=>Date::current(DB_DATE_FORMAT) )); // Type echo Bootstrap::formSelect(array( 'name'=>'type', 'label'=>'Type', 'selected'=>'', 'options'=>array( ''=>'- Default -', 'sticky'=>'Sticky', 'static'=>'Static' ) )); // Parent echo Bootstrap::formInputText(array( 'name'=>'parentTMP', 'label'=>'Parent', 'placeholder'=>'Start writing the title of the page parent' )); // Position echo Bootstrap::formInputText(array( 'name'=>'position', 'label'=>'Position', 'placeholder'=>'' )); // Friendly URL echo Bootstrap::formInputText(array( 'name'=>'slug', 'label'=>'Friendly URL', 'placeholder'=>'Leave empty for automaticly complete' )); // Template echo Bootstrap::formInputText(array( 'name'=>'template', 'label'=>'Template', 'placeholder'=>'' )); ?>