sedteam / Seditio

Seditio CMS Source

Home Page:https://seditio.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

page_filecount should be in the list

SeditioCMS opened this issue · comments

It is necessary to add page_filecount to list.inc.php.
please wait

` if($pag['page_file'])
{
if (!empty($pag['page_url']))
{
$dotpos = mb_strrpos($pag['page_url'],".")+1;
$pag['page_fileicon'] = "system/img/pfs/".mb_strtolower(mb_substr($pag['page_url'], $dotpos, 5)).".gif";
if (!file_exists($pag['page_fileicon']))
{ $pag['page_fileicon'] = "system/img/admin/page.png"; }
$pag['page_fileicon'] = "<img src="".$pag['page_fileicon']."" alt="">";
}
else
{ $pag['page_fileicon'] = ''; }

$t->assign(array(
	"PAGE_FILE_URL" => sed_url("page", $url_param."&a=dl"),
	"PAGE_FILE_SIZE" => $pag['page_size'],
	"PAGE_FILE_COUNT" => $pag['page_filecount'],
	"PAGE_FILE_ICON" => $pag['page_fileicon'],
	"PAGE_FILE_NAME" => basename($pag['page_url']),
	));

}
.`

varmış. sory