$L->g('Settings'), 'icon'=>'cog')); ?> 'dynamicTabContent', 'class'=>'tab-content mt-4' )); // Token CSRF echo Bootstrap::formInputHidden(array( 'name'=>'tokenCSRF', 'value'=>$security->getTokenCSRF() )); ?>
'title', 'label'=>$L->g('Site title'), 'value'=>$site->title(), 'class'=>'', 'placeholder'=>'', 'tip'=>$L->g('use-this-field-to-name-your-site') )); echo Bootstrap::formInputText(array( 'name'=>'slogan', 'label'=>$L->g('Site slogan'), 'value'=>$site->slogan(), 'class'=>'', 'placeholder'=>'', 'tip'=>$L->g('use-this-field-to-add-a-catchy-phrase') )); echo Bootstrap::formInputText(array( 'name'=>'description', 'label'=>$L->g('Site description'), 'value'=>$site->description(), 'class'=>'', 'placeholder'=>'', 'tip'=>$L->g('you-can-add-a-site-description-to-provide') )); echo Bootstrap::formInputText(array( 'name'=>'footer', 'label'=>$L->g('Footer text'), 'value'=>$site->footer(), 'class'=>'', 'placeholder'=>'', 'tip'=>$L->g('you-can-add-a-small-text-on-the-bottom') )); echo '
'.$L->g('Cancel').'
'; ?>
$L->g('Content'))); echo Bootstrap::formSelect(array( 'name'=>'itemsPerPage', 'label'=>$L->g('Items per page'), 'options'=>array('1'=>'1','2'=>'2','3'=>'3','4'=>'4','5'=>'5','6'=>'6','7'=>'7','8'=>'8', '-1'=>$L->g('All content')), 'selected'=>$site->itemsPerPage(), 'class'=>'', 'tip'=>$L->g('Number of items to show per page') )); echo Bootstrap::formSelect(array( 'name'=>'orderBy', 'label'=>$L->g('Order content by'), 'options'=>array('date'=>$L->g('Date'),'position'=>$L->g('Position')), 'selected'=>$site->orderBy(), 'class'=>'', 'tip'=>$L->g('order-the-content-by-date-to-build-a-blog') )); echo Bootstrap::formTitle(array('title'=>$L->g('Predefined pages'))); echo Bootstrap::formInputText(array( 'name'=>'homepage', 'label'=>$L->g('Homepage'), 'value'=>(Text::isEmpty($site->homepage())?'':$site->homepage()), 'class'=>'', 'placeholder'=>'Start writing the title of the page', 'tip'=>$L->g('Returning page for the main page') )); $homepageOptions[' '] = '- '.$L->g('Default message').' -'; echo Bootstrap::formSelect(array( 'name'=>'pageNotFound', 'label'=>$L->g('Page not found'), 'options'=>$homepageOptions, 'selected'=>$site->pageNotFound(), 'class'=>'', 'tip'=>$L->g('Returning page when the page doesnt exist') )); echo Bootstrap::formTitle(array('title'=>$L->g('Email account settings'))); echo Bootstrap::formInputText(array( 'name'=>'emailFrom', 'label'=>$L->g('Sender email'), 'value'=>$site->emailFrom(), 'class'=>'', 'placeholder'=>'', 'tip'=>$L->g('Emails will be sent from this address') )); echo Bootstrap::formTitle(array('title'=>$L->g('Autosave'))); echo Bootstrap::formInputText(array( 'name'=>'autosaveInterval', 'label'=>$L->g('Interval'), 'value'=>$site->autosaveInterval(), 'class'=>'', 'placeholder'=>'', 'tip'=>$L->g('Number in minutes for every execution of autosave') )); echo Bootstrap::formTitle(array('title'=>$L->g('Site URL'))); echo Bootstrap::formInputText(array( 'name'=>'url', 'label'=>'URL', 'value'=>$site->url(), 'class'=>'', 'placeholder'=>'', 'tip'=>$L->g('full-url-of-your-site'), 'placeholder'=>'https://' )); echo Bootstrap::formTitle(array('title'=>$L->g('URL Filters'))); echo Bootstrap::formInputText(array( 'name'=>'uriPage', 'label'=>$L->g('Pages'), 'value'=>$site->uriFilters('page'), 'class'=>'', 'placeholder'=>'', 'tip'=>DOMAIN_PAGES )); echo Bootstrap::formInputText(array( 'name'=>'uriTag', 'label'=>$L->g('Tags'), 'value'=>$site->uriFilters('tag'), 'class'=>'', 'placeholder'=>'', 'tip'=>DOMAIN_TAGS )); echo Bootstrap::formInputText(array( 'name'=>'uriCategory', 'label'=>$L->g('Category'), 'value'=>$site->uriFilters('category'), 'class'=>'', 'placeholder'=>'', 'tip'=>DOMAIN_CATEGORIES )); echo Bootstrap::formInputText(array( 'name'=>'uriBlog', 'label'=>$L->g('Blog'), 'value'=>$site->uriFilters('blog'), 'class'=>'', 'placeholder'=>'', 'tip'=>DOMAIN.$site->uriFilters('blog'), 'disabled'=>!$site->uriFilters('blog') )); echo '
'.$L->g('Cancel').'
'; ?>
$L->g('Extreme friendly URL'))); echo Bootstrap::formSelect(array( 'name'=>'extremeFriendly', 'label'=>'Allow Unicode', 'options'=>array('true'=>'Enabled', 'false'=>'Disable'), 'selected'=>($site->extremeFriendly()?'true':'false'), 'class'=>'', 'tip'=>'Allow unicode characters in the URL and some part of the system.' )); echo Bootstrap::formTitle(array('title'=>$L->g('Title formats'))); echo Bootstrap::formInputText(array( 'name'=>'titleFormatHomepage', 'label'=>'Homepage', 'value'=>$site->titleFormatHomepage(), 'class'=>'', 'placeholder'=>'', 'tip'=>'Variables allowed: {{site-title}} {{site-slogan}} {{site-description}}', 'placeholder'=>'' )); echo Bootstrap::formInputText(array( 'name'=>'titleFormatPages', 'label'=>'Pages', 'value'=>$site->titleFormatPages(), 'class'=>'', 'placeholder'=>'', 'tip'=>'Variables allowed: {{page-title}} {{page-description}} {{site-title}} {{site-slogan}} {{site-description}}', 'placeholder'=>'' )); echo Bootstrap::formInputText(array( 'name'=>'titleFormatCategory', 'label'=>'Category', 'value'=>$site->titleFormatCategory(), 'class'=>'', 'placeholder'=>'', 'tip'=>'Variables allowed: {{category-name}} {{site-title}} {{site-slogan}} {{site-description}}', 'placeholder'=>'' )); echo Bootstrap::formInputText(array( 'name'=>'titleFormatTag', 'label'=>'Tag', 'value'=>$site->titleFormatTag(), 'class'=>'', 'placeholder'=>'', 'tip'=>'Variables allowed: {{tag-name}} {{site-title}} {{site-slogan}} {{site-description}}', 'placeholder'=>'' )); echo '
'.$L->g('Cancel').'
'; ?>
'twitter', 'label'=>'Twitter', 'value'=>$site->twitter(), 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo Bootstrap::formInputText(array( 'name'=>'facebook', 'label'=>'Facebook', 'value'=>$site->facebook(), 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo Bootstrap::formInputText(array( 'name'=>'codepen', 'label'=>'Codepen', 'value'=>$site->codepen(), 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo Bootstrap::formInputText(array( 'name'=>'googlePlus', 'label'=>'Google+', 'value'=>$site->googlePlus(), 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo Bootstrap::formInputText(array( 'name'=>'instagram', 'label'=>'Instagram', 'value'=>$site->instagram(), 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo Bootstrap::formInputText(array( 'name'=>'gitlab', 'label'=>'Gitlab', 'value'=>$site->gitlab(), 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo Bootstrap::formInputText(array( 'name'=>'github', 'label'=>'Github', 'value'=>$site->github(), 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo Bootstrap::formInputText(array( 'name'=>'linkedin', 'label'=>'Linkedin', 'value'=>$site->linkedin(), 'class'=>'', 'placeholder'=>'', 'tip'=>'' )); echo '
'.$L->g('Cancel').'
'; ?>
'language', 'label'=>$L->g('Language'), 'options'=>$language->getLanguageList(), 'selected'=>$site->language(), 'class'=>'', 'tip'=>$L->g('select-your-sites-language') )); echo Bootstrap::formSelect(array( 'name'=>'timezone', 'label'=>$L->g('Timezone'), 'options'=>Date::timezoneList(), 'selected'=>$site->timezone(), 'class'=>'', 'tip'=>$L->g('select-a-timezone-for-a-correct') )); echo Bootstrap::formInputText(array( 'name'=>'locale', 'label'=>$L->g('Locale'), 'value'=>$site->locale(), 'class'=>'', 'placeholder'=>'', 'tip'=>$L->g('with-the-locales-you-can-set-the-regional-user-interface') )); echo Bootstrap::formTitle(array('title'=>$L->g('Date and time formats'))); echo Bootstrap::formInputText(array( 'name'=>'dateFormat', 'label'=>$L->g('Date format'), 'value'=>$site->dateFormat(), 'class'=>'', 'placeholder'=>'', 'tip'=>$L->g('Current format').': '.Date::current($site->dateFormat()) )); echo '
'.$L->g('Cancel').'
'; ?>