mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 13:42:04 +00:00
hook folderListItem has new parameter
This commit is contained in:
parent
92216112a4
commit
d5ce0f8fe9
|
@ -359,7 +359,7 @@ $('body').on('click', '.order-btn', function(ev) {
|
||||||
|
|
||||||
foreach($subFolders as $subFolder) {
|
foreach($subFolders as $subFolder) {
|
||||||
if(!$maxItemsPerPage || $i < $maxItemsPerPage) {
|
if(!$maxItemsPerPage || $i < $maxItemsPerPage) {
|
||||||
$txt = $this->callHook('folderListItem', $subFolder, 'viewfolder');
|
$txt = $this->callHook('folderListItem', $subFolder, false, 'viewfolder');
|
||||||
if(is_string($txt))
|
if(is_string($txt))
|
||||||
echo $txt;
|
echo $txt;
|
||||||
else {
|
else {
|
||||||
|
@ -467,7 +467,7 @@ $('body').on('click', '.order-btn', function(ev) {
|
||||||
$j = 0; // counts only returned entries
|
$j = 0; // counts only returned entries
|
||||||
foreach($subFolders as $subFolder) {
|
foreach($subFolders as $subFolder) {
|
||||||
if($i >= $offset && $j < $limit) {
|
if($i >= $offset && $j < $limit) {
|
||||||
$txt = $this->callHook('folderListItem', $subFolder, 'viewfolder');
|
$txt = $this->callHook('folderListItem', $subFolder, false, 'viewfolder');
|
||||||
if(is_string($txt))
|
if(is_string($txt))
|
||||||
$content .= $txt;
|
$content .= $txt;
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user