mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-08-03 19:57:57 +02:00
Frontend Improvements
This commit is contained in:
@@ -10,11 +10,17 @@ $().ready(function(){$('[name=create_backup]').click(function(){$(this).button('
|
|||||||
<div>
|
<div>
|
||||||
<?php
|
<?php
|
||||||
echo (
|
echo (
|
||||||
Form::open() .
|
Form::open(null, array('class' => 'form-inline')) .
|
||||||
Form::hidden('csrf', Security::token()).
|
Form::hidden('csrf', Security::token()).
|
||||||
|
'<div class="checkbox"><label>'.
|
||||||
Form::checkbox('add_storage_folder', null, true, array('disabled' => 'disabled')) . ' ' . __('storage', 'backup') . ' ' . Html::nbsp(2) .
|
Form::checkbox('add_storage_folder', null, true, array('disabled' => 'disabled')) . ' ' . __('storage', 'backup') . ' ' . Html::nbsp(2) .
|
||||||
|
'</label></div>'.
|
||||||
|
'<div class="checkbox"><label>'.
|
||||||
Form::checkbox('add_public_folder') . ' ' . __('public', 'backup') . ' ' . Html::nbsp(2) .
|
Form::checkbox('add_public_folder') . ' ' . __('public', 'backup') . ' ' . Html::nbsp(2) .
|
||||||
|
'</label></div>'.
|
||||||
|
'<div class="checkbox"><label>'.
|
||||||
Form::checkbox('add_plugins_folder') . ' ' . __('plugins', 'backup') . ' ' . Html::nbsp(2) .
|
Form::checkbox('add_plugins_folder') . ' ' . __('plugins', 'backup') . ' ' . Html::nbsp(2) .
|
||||||
|
'</label></div>'.
|
||||||
Form::submit('create_backup', __('Create Backup', 'backup'), array('class' => 'btn btn-primary', 'data-loading-text' => __('Creating...', 'backup'))).
|
Form::submit('create_backup', __('Create Backup', 'backup'), array('class' => 'btn btn-primary', 'data-loading-text' => __('Creating...', 'backup'))).
|
||||||
Form::close()
|
Form::close()
|
||||||
);
|
);
|
||||||
|
@@ -8,7 +8,11 @@
|
|||||||
<div class="pull-right">
|
<div class="pull-right">
|
||||||
<?php echo Form::open(null, array('name' => 'users_frontend')); ?>
|
<?php echo Form::open(null, array('name' => 'users_frontend')); ?>
|
||||||
<?php echo Form::hidden('csrf', Security::token()); ?>
|
<?php echo Form::hidden('csrf', Security::token()); ?>
|
||||||
|
<div class="checkbox">
|
||||||
|
<label>
|
||||||
<?php echo Form::checkbox('users_frontend_registration', null, $users_frontend_registration); ?> <?php echo __('Allow user registration', 'users') ?>
|
<?php echo Form::checkbox('users_frontend_registration', null, $users_frontend_registration); ?> <?php echo __('Allow user registration', 'users') ?>
|
||||||
|
</label>
|
||||||
|
</div>
|
||||||
<?php echo Form::input('users_frontend_submit', 'users_frontend_submit', array('style' => 'display:none;')); ?>
|
<?php echo Form::input('users_frontend_submit', 'users_frontend_submit', array('style' => 'display:none;')); ?>
|
||||||
<?php echo Form::close();?>
|
<?php echo Form::close();?>
|
||||||
</div>
|
</div>
|
||||||
|
Reference in New Issue
Block a user