0byt3m1n1
Path:
/
data
/
applications
/
aps.bak
/
tikiwiki
/
1.9.7-31
/
htdocs
/
modules
/
[
Home
]
File: mod-last_category_objects.php
<?php // $Header: /cvsroot/tikiwiki/tiki/modules/mod-last_category_objects.php,v 1.5.2.1 2004/08/26 17:39:15 mose Exp $ //this script may only be included - so its better to die if called directly. if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) { header("location: index.php"); exit; } if (!isset($module_params["type"])) { $module_params["type"] = "wiki page"; } if ($module_params["type"] == '*') { $module_params["type"] = ''; } if (!isset($module_params["id"])) { $last["data"][]['name'] = tra("Please provide an Id"); } else { global $categlib; if (!is_object($categlib)) { require_once ("lib/categories/categlib.php"); } $last = $categlib->last_category_objects($module_params["id"],$module_rows,$module_params["type"]); } if (!is_array($last) or !is_array($last['data'])) { $last['data'][]['name'] = tra("no object here yet"); } $smarty->assign('last',$last['data']); $smarty->assign('type',$module_params["type"]); ?>
© 2017 -
ZeroByte.ID
.