mirror of
https://github.com/Piwigo/Piwigo.git
synced 2025-04-30 13:20:03 +03:00
related to #1465 removed useless translations + added icon on ip and username hover + labels
This commit is contained in:
parent
2db6c52f3d
commit
98c8269cdf
5 changed files with 65 additions and 34 deletions
|
@ -942,11 +942,10 @@ SELECT
|
|||
$cat_name = isset($line['category_id'])
|
||||
? ( isset($name_of_category[$line['category_id']])
|
||||
? $name_of_category[$line['category_id']]
|
||||
: 'deleted '.$line['category_id'] )
|
||||
: '';
|
||||
: 'deleted'.$line['category_id'] )
|
||||
: 'root';
|
||||
}
|
||||
/** */
|
||||
|
||||
|
||||
array_push( $result,
|
||||
array(
|
||||
'DATE' => format_date($line['date']),
|
||||
|
@ -966,18 +965,19 @@ SELECT
|
|||
'TAGIDS' => explode(",",$tag_ids),
|
||||
)
|
||||
);
|
||||
|
||||
/** */
|
||||
}
|
||||
|
||||
/**
|
||||
* Pagination Time
|
||||
*/
|
||||
|
||||
$max_page = ceil(count($result)/100);
|
||||
$result = array_reverse($result, true);
|
||||
$result = array_slice($result, $param['pageNumber']*100, 100);
|
||||
|
||||
return [$result, $param, $max_page];
|
||||
/* Tableau associatif here cf ws_images_search*/
|
||||
return array(
|
||||
'lines' => $result,
|
||||
'params' => $param,
|
||||
'maxPage' => $max_page
|
||||
);
|
||||
|
||||
// [$result, $param, $max_page];
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue