Atualizando abas documentos
This commit is contained in:
parent
d80755bd3a
commit
6c6f4f9591
1 changed files with 5 additions and 5 deletions
10
vendor/view/documents/documents_datagrid.php
vendored
10
vendor/view/documents/documents_datagrid.php
vendored
|
|
@ -16,10 +16,10 @@ if($Main->verifyToken()){
|
|||
$DocumentsValidate = new DocumentsValidate();
|
||||
|
||||
/** Parametros de entrada */
|
||||
$documentsCategorysId = isset($_POST['documents_categorys_id']) ? $Main->antiInjection( filter_input(INPUT_POST, 'documents_categorys_id', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0;
|
||||
$documentsCategorysTagsId = isset($_POST['documents_categorys_tags_id']) ? $Main->antiInjection( filter_input(INPUT_POST, 'documents_categorys_tags_id', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0;
|
||||
$tag = isset($_POST['tag']) ? $Main->antiInjection( filter_input(INPUT_POST, 'tag', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0;
|
||||
$label = isset($_POST['label']) ? $Main->antiInjection( filter_input(INPUT_POST, 'label', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0;
|
||||
$documentsCategorysId = isset($_POST['documents_categorys_id']) ? (int)$Main->antiInjection( filter_input(INPUT_POST, 'documents_categorys_id', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0;
|
||||
$documentsCategorysTagsId = isset($_POST['documents_categorys_tags_id']) ? (int)$Main->antiInjection( filter_input(INPUT_POST, 'documents_categorys_tags_id', FILTER_SANITIZE_SPECIAL_CHARS) ) : 0;
|
||||
$tag = isset($_POST['tag']) ? (string)$Main->antiInjection( filter_input(INPUT_POST, 'tag', FILTER_SANITIZE_SPECIAL_CHARS) ) : '';
|
||||
$label = isset($_POST['label']) ? (string)$Main->antiInjection( filter_input(INPUT_POST, 'label', FILTER_SANITIZE_SPECIAL_CHARS) ) : '';
|
||||
|
||||
/** Carrega as configurações de paginação */
|
||||
$config = $Main->LoadConfigPublic();
|
||||
|
|
@ -148,7 +148,7 @@ if($Main->verifyToken()){
|
|||
<tr>
|
||||
<td colspan="8">
|
||||
|
||||
<?php echo $Main->pagination($NumberRecords, $start, $max, $page, 'FOLDER=view&ACTION=documents_datagrid&TABLE=documents', 'Aguarde'); ?>
|
||||
<?php echo $Main->pagination($NumberRecords, $start, $max, $page, 'FOLDER=view&ACTION=documents_datagrid&TABLE=documents&$documents_categorys_id='.$documentsCategorysId, 'Aguarde'); ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue