"m-t-20"]);
echo form_hidden('page_id', '', self::$data['page_id']);
$composerTab['title'][] = self::$locale['page_0204'];
$composerTab['id'][] = 'pg_content';
if (self::$data['page_id']) { // only available when page ID is present - i.e. Saved page
$composerTab['title'][] = self::$locale['page_0203'];
$composerTab['id'][] = 'pg_composer';
$composerTab['title'][] = self::$locale['page_0202'];
$composerTab['id'][] = 'pg_settings';
}
echo opentab($composerTab, self::getComposerMode(), 'composer_tab', TRUE, 'nav-tabs m-t-10', 'composer_tab');
echo "
";
echo form_button('save', self::$locale['page_0320'], self::$locale['page_0320'], ['class' => 'btn-success m-r-10', 'icon' => 'fa fa-hdd-o']);
echo form_button('save_and_close', self::$locale['save_and_close'], self::$locale['save_and_close'], ['class' => 'btn-primary m-r-10', 'icon' => 'fa fa-hdd-o']);
if (self::$is_editing) {
echo form_button('cancel', self::$locale['cancel'], self::$locale['cancel'], ['class' => 'btn-default m-r-10', 'icon' => 'fa fa-times']);
echo "
".self::$locale['view']."";
$val = !isset($_COOKIE['custom_pages_tinymce']) || $_COOKIE['custom_pages_tinymce'] == 0 ? self::$locale['enable']." TINYMCE" : self::$locale['disable']." TINYMCE";
echo form_button('tinymce_switch', $val, $val, ['class' => 'btn-default m-l-10', 'type' => 'button']);
}
echo "
\n";
echo "