'form-horizontal')));
echo (Form::hidden('csrf', Security::token()));
?>
(isset($errors['file_empty_name']) || isset($errors['file_exists'])) ? 'form-control error-field' : 'form-control'))); ?>
.chunk.php
.template.php
.css
.js
'.$errors['file_empty_name'].'';
if (isset($errors['file_exists'])) echo ''.$errors['file_exists'].'';
?>
'width:100%;height:400px;', 'class' => 'source-editor'))
);
?>
'btn btn-primary')).Html::nbsp(2).
Form::submit('edit_file', __('Save', 'themes'), array('class' => 'btn btn-default')).Html::nbsp(2).
Html::anchor(__('Cancel', 'themes'), 'index.php?id=themes', array('title' => __('Cancel', 'themes'), 'class' => 'btn btn-default')).
Form::close()
);
} else {
if ($action == 'chunk') { echo ''.__('This chunk does not exist', 'themes').'
'; }
if ($action == 'template') { echo ''.__('This template does not exist', 'themes').'
'; }
if ($action == 'styles') { echo ''.__('This styles does not exist', 'themes').'
'; }
if ($action == 'script') { echo ''.__('This script does not exist', 'themes').'
'; }
}
?>