$url, 'name' => $originaltoolname); $url = 'slideshow.php?curdirpath='.$pathurl; $originaltoolname = get_lang('SlideShow'); $interbreadcrumb[] = array('url' => $url, 'name' => $originaltoolname); // Because $nametools uses $_SERVER['PHP_SELF'] for the breadcrumbs instead of $_SERVER['REQUEST_URI'], I had to // bypass the $nametools thing and use tags in the $interbreadcrump array $url = 'slideshowoptions.php?curdirpath='.$pathurl; $originaltoolname = ''.get_lang('_slideshow_options').''; $interbreadcrumb[] = array('url' => $url, 'name' => $originaltoolname ); Display::display_header($originalToolName, 'Doc'); // can't remember why I put this here. This is probably obsolete code // loading the slides from the session //$image_files_only = $_SESSION['image_files_only']; // calculating the current slide, next slide, previous slide and the number of slides /*if ($slide_id) { $slide = $slide_id; } else { $slide = 0; } $previous_slide = $slide - 1; $next_slide = $slide + 1; $total_slides = count($image_files_only); */ ?> '; echo ''.Display::return_icon('back.png').get_lang('BackTo').' '.get_lang('DocumentsOverview').''; echo ''.Display::return_icon('images_gallery.gif').get_lang('BackTo').' '.get_lang('SlideShow').''; echo ''; ?>