mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-07 13:46:47 +02:00
Monstra Library: basic core improvments
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
|
||||
?>
|
||||
|
||||
|
||||
<?php echo (Form::label('name', __('Name', 'blocks'))); ?>
|
||||
|
||||
<?php echo (Form::input('name', $name, array('class' => (isset($errors['blocks_empty_name']) || isset($errors['blocks_exists'])) ? 'input-xxlarge error-field' : 'input-xxlarge'))); ?>
|
||||
@@ -28,7 +27,7 @@
|
||||
|
||||
<br /><br />
|
||||
<?php
|
||||
|
||||
|
||||
Action::run('admin_editor', array(Html::toText($content)));
|
||||
|
||||
echo (
|
||||
@@ -37,8 +36,8 @@
|
||||
Form::submit('edit_blocks', __('Save', 'blocks'), array('class' => 'btn default')). Html::nbsp().
|
||||
Form::close()
|
||||
);
|
||||
|
||||
|
||||
} else {
|
||||
echo '<div class="message-error">'.__('This block does not exist', 'blocks').'</div>';
|
||||
}
|
||||
?>
|
||||
?>
|
||||
|
Reference in New Issue
Block a user