1
0
mirror of https://github.com/monstra-cms/monstra.git synced 2025-07-31 02:10:37 +02:00
This commit is contained in:
Awilum
2014-01-08 21:22:18 +02:00
parent 0fcae326cb
commit aef599de95
18 changed files with 1 additions and 36 deletions

View File

@@ -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>

View File

@@ -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()); ?>

View File

@@ -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) {

View File

@@ -13,8 +13,6 @@
<div class="clearfix"></div>
</div>
<?php if(Notification::get('success')) Alert::success(Notification::get('success')); ?>
<br>
<!-- Blocks_list -->

View File

@@ -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().

View File

@@ -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().

View File

@@ -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">

View File

@@ -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 = ''; ?>

View File

@@ -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) {

View File

@@ -15,8 +15,6 @@
<br>
<?php if (Notification::get('success')) Alert::success(Notification::get('success')); ?>
<!-- Snippets_list -->
<table class="table table-bordered">
<thead>

View File

@@ -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')) { ?>

View File

@@ -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'))); ?>

View File

@@ -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) {

View File

@@ -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

View File

@@ -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">

View File

@@ -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 (

View File

@@ -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">

View File

@@ -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">