0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
3.2.0-5
/
standard
/
htdocs
/
modules
/
[
Home
]
File: mod-breadcrumb.php
<?php /** $Id: mod-breadcrumb.php 17790 2009-04-05 20:41:06Z sylvieg $ * \param maxlen = max number of displayed characters for the page name */ //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; } global $smarty; if (!isset($_SESSION["breadCrumb"])) { $_SESSION["breadCrumb"] = array(); } $bbreadCrumb = array_slice(array_reverse($_SESSION["breadCrumb"]), 0, $module_rows); $smarty->assign('breadCrumb', $bbreadCrumb); $smarty->assign('maxlen', isset($module_params["maxlen"]) ? $module_params["maxlen"] : 0);