mirror of
https://github.com/monstra-cms/monstra.git
synced 2025-07-31 02:10:37 +02:00
Alert #208
This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
<h2><?php echo __('Backups', 'backup'); ?></h2>
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<script>
|
||||
$().ready(function(){$('[name=create_backup]').click(function(){$(this).button('loading');});});
|
||||
</script>
|
||||
|
@@ -1,8 +1,6 @@
|
||||
<h2><?php echo __('New Block', 'blocks'); ?></h2>
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<?php if (isset($errors['blocks_empty_name']) or isset($errors['blocks_exists'])) $error_class = 'error'; else $error_class = ''; ?>
|
||||
|
||||
<?php echo (Form::open()); ?>
|
||||
|
@@ -1,8 +1,6 @@
|
||||
<h2><?php echo __('Edit Block', 'blocks'); ?></h2>
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<?php
|
||||
if ($content !== null) {
|
||||
|
||||
|
@@ -13,8 +13,6 @@
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
<?php if(Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<br>
|
||||
|
||||
<!-- Blocks_list -->
|
||||
|
@@ -1,8 +1,6 @@
|
||||
<h2><?php echo __('New Page', 'pages'); ?></h2>
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<?php
|
||||
echo (
|
||||
Form::open().
|
||||
|
@@ -1,8 +1,6 @@
|
||||
<h2><?php if (Request::get('name') == 'error404') { echo __('Edit 404 Page', 'pages'); } else { echo __('Edit Page', 'pages'); } ?></h2>
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<?php
|
||||
echo (
|
||||
Form::open().
|
||||
|
@@ -15,8 +15,6 @@
|
||||
<div class="clearfix"></div>
|
||||
</div>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<br>
|
||||
|
||||
<table class="table table-bordered">
|
||||
|
@@ -1,7 +1,6 @@
|
||||
<h2><?php echo __('New Snippet', 'snippets'); ?></h2>
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<?php if (isset($errors['snippets_empty_name']) or isset($errors['snippets_exists'])) $error_class = 'error'; else $error_class = ''; ?>
|
||||
|
||||
|
@@ -1,8 +1,6 @@
|
||||
<h2><?php echo __('Edit Snippet', 'snippets'); ?></h2>
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<?php
|
||||
if ($content !== null) {
|
||||
|
||||
|
@@ -15,8 +15,6 @@
|
||||
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<!-- Snippets_list -->
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
|
@@ -1,4 +1,3 @@
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
<?php echo Html::anchor(__('Create Sitemap', 'system'), 'index.php?id=system&sitemap=create&token='.Security::token(), array('class' => 'btn btn-default')).Html::nbsp(2); ?>
|
||||
<?php echo Html::anchor(__('Delete Temporary Files', 'system'), 'index.php?id=system&temporary_files=delete&token='.Security::token(), array('class' => 'btn btn-default')).Html::nbsp(2); ?>
|
||||
<?php if ('off' == Option::get('maintenance_status', 'system')) { ?>
|
||||
|
@@ -4,8 +4,6 @@
|
||||
<?php if ($action == 'script') { ?><h2><?php echo __('New Script', 'themes'); ?></h2><?php } ?>
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<?php if (isset($errors['file_empty_name']) || isset($errors['file_exists'])) $error_class = 'error'; else $error_class = ''; ?>
|
||||
|
||||
<?php echo (Form::open(null, array('class' => 'form-horizontal'))); ?>
|
||||
|
@@ -4,8 +4,6 @@
|
||||
<?php if ($action == 'script') { ?><h2><?php echo __('Edit Script', 'themes'); ?></h2><?php } ?>
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<?php
|
||||
if ($content !== null) {
|
||||
|
||||
|
@@ -9,9 +9,6 @@
|
||||
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
<?php if (Notification::get('error')) Alert::error(Notification::get('error')); ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<?php
|
||||
|
@@ -1,8 +1,6 @@
|
||||
<h2><?php echo __('Users', 'users'); ?></h2>
|
||||
<br>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
|
||||
<?php echo Html::anchor(__('Register New User', 'users'), 'index.php?id=users&action=add', array('title' => __('Register New User', 'users'), 'class' => 'btn btn-primary')); ?>
|
||||
|
||||
<div class="pull-right">
|
||||
|
@@ -1,9 +1,6 @@
|
||||
<h3><?php echo __('Edit profile', 'users') ?></h3>
|
||||
<hr>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
<?php if (Notification::get('error')) Alert::success(Notification::get('error')); ?>
|
||||
|
||||
<form method="post">
|
||||
<?php
|
||||
echo (
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<h3><?php echo __('Log In', 'users'); ?></h3>
|
||||
<hr>
|
||||
<?php if (Notification::get('error')) Alert::error(Notification::get('error')); ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<form method="post">
|
||||
|
@@ -1,9 +1,6 @@
|
||||
<h3><?php echo __('Reset Password', 'users') ?></h3>
|
||||
<hr>
|
||||
|
||||
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
|
||||
<?php if (Notification::get('error')) Alert::success(Notification::get('error')); ?>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<form method="post">
|
||||
|
Reference in New Issue
Block a user