mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
This reverts commit 65ac272179.
This commit is contained in:
@@ -615,13 +615,7 @@ jQuery(document).on('click', '.close-user-details', function(e) {
|
|||||||
processing: true,
|
processing: true,
|
||||||
serverSide: true,
|
serverSide: true,
|
||||||
serverMethod: "POST",
|
serverMethod: "POST",
|
||||||
ajax: {
|
ajaxSource: "admin/user_list_backend.php",
|
||||||
url : "admin/user_list_backend.php",
|
|
||||||
type : "POST",
|
|
||||||
data : {
|
|
||||||
pwg_token : pwg_token
|
|
||||||
}
|
|
||||||
},
|
|
||||||
pagingType: "simple",
|
pagingType: "simple",
|
||||||
language: {
|
language: {
|
||||||
processing: "{/literal}{'Loading...'|translate|escape:'javascript'}{literal}",
|
processing: "{/literal}{'Loading...'|translate|escape:'javascript'}{literal}",
|
||||||
|
|||||||
@@ -70,8 +70,7 @@ if ( isset( $_REQUEST['iDisplayStart'] ) && $_REQUEST['iDisplayLength'] != '-1'
|
|||||||
$sLimit = "LIMIT ".$_REQUEST['iDisplayStart'].", ".$_REQUEST['iDisplayLength'];
|
$sLimit = "LIMIT ".$_REQUEST['iDisplayStart'].", ".$_REQUEST['iDisplayLength'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$sOrder = "";
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Ordering
|
* Ordering
|
||||||
*/
|
*/
|
||||||
@@ -105,7 +104,7 @@ if ( isset( $_REQUEST['iSortCol_0'] ) )
|
|||||||
* on very large tables, and MySQL's regex functionality is very limited
|
* on very large tables, and MySQL's regex functionality is very limited
|
||||||
*/
|
*/
|
||||||
$sWhere = "";
|
$sWhere = "";
|
||||||
if ( isSet( $_REQUEST['sSearch']) && $_REQUEST['sSearch'] != "" )
|
if ( $_REQUEST['sSearch'] != "" )
|
||||||
{
|
{
|
||||||
$sWhere = "WHERE (";
|
$sWhere = "WHERE (";
|
||||||
for ( $i=0 ; $i<count($aColumns) ; $i++ )
|
for ( $i=0 ; $i<count($aColumns) ; $i++ )
|
||||||
@@ -162,13 +161,12 @@ $rResultTotal = pwg_query($sQuery);
|
|||||||
$aResultTotal = pwg_db_fetch_array($rResultTotal);
|
$aResultTotal = pwg_db_fetch_array($rResultTotal);
|
||||||
$iTotal = $aResultTotal[0];
|
$iTotal = $aResultTotal[0];
|
||||||
|
|
||||||
$sEcho = isSet($_REQUEST['sEcho']) ? intval($_REQUEST['sEcho']) : 0;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Output
|
* Output
|
||||||
*/
|
*/
|
||||||
$output = array(
|
$output = array(
|
||||||
"sEcho" => $sEcho,
|
"sEcho" => intval($_REQUEST['sEcho']),
|
||||||
"iTotalRecords" => $iTotal,
|
"iTotalRecords" => $iTotal,
|
||||||
"iTotalDisplayRecords" => $iFilteredTotal,
|
"iTotalDisplayRecords" => $iFilteredTotal,
|
||||||
"aaData" => array()
|
"aaData" => array()
|
||||||
|
|||||||
Reference in New Issue
Block a user