[Elimina] buscardor para admin
This commit is contained in:
parent
ec385025f3
commit
5373ab6369
|
@ -76,6 +76,8 @@ class articlesController {
|
|||
}
|
||||
|
||||
static public function all_articles() {
|
||||
$view = NABU_ROUTES['home'];
|
||||
$max = 246;
|
||||
$token = csrf::generate();
|
||||
$articles = array();
|
||||
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
|
||||
<h1>Aprobar artículos</h1>
|
||||
|
||||
<?php require_once 'views/components/admin-search.php' ?>
|
||||
<?php require_once 'views/components/search.php' ?>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
|
|
|
@ -23,6 +23,6 @@
|
|||
|
||||
<h1>Artículos publicados</h1>
|
||||
|
||||
<?php require_once 'views/components/admin-search.php' ?>
|
||||
<?php require_once 'views/components/search.php' ?>
|
||||
|
||||
<?php require_once 'views/components/footer.php' ?>
|
||||
|
|
|
@ -23,6 +23,6 @@
|
|||
|
||||
<h1>Usuarios registrados</h1>
|
||||
|
||||
<?php require_once 'views/components/admin-search.php' ?>
|
||||
<?php require_once 'views/components/search.php' ?>
|
||||
|
||||
<?php require_once 'views/components/footer.php' ?>
|
||||
|
|
|
@ -23,6 +23,6 @@
|
|||
|
||||
<h1>Revisar artículo</h1>
|
||||
|
||||
<?php require_once 'views/components/admin-search.php' ?>
|
||||
<?php require_once 'views/components/search.php' ?>
|
||||
|
||||
<?php require_once 'views/components/footer.php' ?>
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
<!--
|
||||
* Este archivo es parte de Nabu.
|
||||
*
|
||||
* Nabu es software libre: puedes redistribuirlo y/o modificarlo
|
||||
* bajo los términos de la Licencia Pública General de GNU Affero publicada por
|
||||
* la Free Software Foundation, ya sea la versión 3 de la Licencia, o
|
||||
* (a su elección) cualquier versión posterior.
|
||||
*
|
||||
* Nabu se distribuye con la esperanza de que sea de utilidad,
|
||||
* pero SIN NINGUNA GARANTÍA; incluso sin la garantía implícita de
|
||||
* COMERCIABILIDAD o APTITUD PARA UN PROPÓSITO PARTICULAR. Consulte la
|
||||
* Licencia Pública General de GNU Affero para obtener más detalles.
|
||||
*
|
||||
* Debería haber recibido una copia de la Licencia Pública General de GNU Affero
|
||||
* junto con este programa. De lo contrario, consulte <https://www.gnu.org/licenses/>.
|
||||
-->
|
||||
|
||||
<?php defined('NABU') || exit() ?>
|
||||
|
||||
<form class="form" method="POST" action="<?= $view ?>">
|
||||
<input type="hidden" name="csrf" value="<?= $token ?>">
|
||||
<input type="text" name="q" minlength="1" maxlength="<?= $max ?>" required>
|
||||
</form>
|
|
@ -18,10 +18,10 @@
|
|||
<?php defined('NABU') || exit() ?>
|
||||
|
||||
<div class="search__container">
|
||||
<form class="form" method="POST" action="<?= NABU_ROUTES['home'] ?>">
|
||||
<form class="form" method="POST" action="<?= $view ?>">
|
||||
<input type="hidden" name="csrf" value="<?= $token ?>">
|
||||
<div class="search__content">
|
||||
<input class="search__input" type="text" name="q" minlength="1" placeholder="Buscar un blogpost" maxlength="246" required>
|
||||
<input class="search__input" type="text" name="q" minlength="1" placeholder="Buscar un blogpost" maxlength="<?= $max ?>" required>
|
||||
<span class="glass__icon"></span>
|
||||
</div>
|
||||
</form>
|
||||
|
|
Loading…
Reference in New Issue