1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-08-06 21:26:58 +02:00

Monstra Library: basic core improvments

This commit is contained in:
Awilum
2013-01-04 21:08:04 +02:00
parent 7437cc6abb
commit ef12b7492e
289 changed files with 16265 additions and 17155 deletions

View File

@@ -1,7 +1,7 @@
<?php if ($action == 'chunk') { ?><h2><?php echo __('New chunk', 'themes'); ?></h2><?php } ?>
<?php if ($action == 'template') { ?><h2><?php echo __('New template', 'themes'); ?></h2><?php } ?>
<?php if ($action == 'styles') { ?><h2><?php echo __('New styles', 'themes'); ?></h2><?php } ?>
<?php if ($action == 'script') { ?><h2><?php echo __('New script', 'themes'); ?></h2><?php } ?>
<?php if ($action == 'styles') { ?><h2><?php echo __('New styles', 'themes'); ?></h2><?php } ?>
<?php if ($action == 'script') { ?><h2><?php echo __('New script', 'themes'); ?></h2><?php } ?>
<br />
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
@@ -18,8 +18,8 @@
<?php echo (Form::input('name', $name, array('class' => (isset($errors['file_empty_name']) || isset($errors['file_exists'])) ? 'input-xxlarge error-field' : 'input-xxlarge'))); ?>
<?php if ($action == 'chunk') { ?><span class="add-on">.chunk.php</span><?php } ?>
<?php if ($action == 'template') { ?><span class="add-on">.template.php</span><?php } ?>
<?php if ($action == 'styles') { ?><span class="add-on">.css</span><?php } ?>
<?php if ($action == 'script') { ?><span class="add-on">.js</span><?php } ?>
<?php if ($action == 'styles') { ?><span class="add-on">.css</span><?php } ?>
<?php if ($action == 'script') { ?><span class="add-on">.js</span><?php } ?>
</div>
<?php
@@ -30,12 +30,12 @@
<br><br>
<?php
if ($action == 'chunk') { echo Form::label('content', __('Chunk content', 'themes')); }
if ($action == 'chunk') { echo Form::label('content', __('Chunk content', 'themes')); }
if ($action == 'template') { echo Form::label('content', __('Template content', 'themes')); }
if ($action == 'styles') { echo Form::label('content', __('Styles content', 'themes')); }
if ($action == 'script') { echo Form::label('content', __('Script content', 'themes')); }
echo Form::textarea('content', $content, array('style' => 'width:100%;height:400px;', 'class' => 'source-editor'));
echo (
@@ -44,4 +44,3 @@
Form::submit('add_file', __('Save', 'themes'), array('class' => 'btn')).
Form::close()
);
?>