in['path'], '@'); $input->in['rev'] = $input->clean(substr($input->in['path'], $atpos + 1), TYPE_UINT); if ($atpos !== false) { $input->in['path'] = substr($input->in['path'], 0, strpos($input->in['path'], '@')); } // ################################################################### // setup the SVN library require_once('./includes/class_libsvn.php'); BSRegister::Register('lib', $lib = new LibSVN($conf['paths']['svn'])); $fetchtemplates[] = 'header'; $fetchtemplates[] = 'footer'; $fetchtemplates[] = 'doctype'; $fetchtemplates[] = 'headinclude'; $show['reposchooser'] = false; if ($repos->container AND !$hideChooser) { $show['reposchooser'] = true; $fetchtemplates[] = 'select_option'; } $template->cache((array)$fetchtemplates); $options = ''; if ($show['reposchooser']) { $html = ''; $options = $repos->fetchList(); foreach ($options AS $option) { $value = $option; $display = $option; $selected = ($controller->repos == $option ? true : false); eval('$html .= "' . $template->fetch('select_option') . '";'); } $options = $html; } $year = date('Y'); eval('$header = "' . $template->fetch('header') . '";'); eval('$footer = "' . $template->fetch('footer') . '";'); eval('$doctype = "' . $template->fetch('doctype') . '";'); eval('$headinclude = "' . $template->fetch('headinclude') . '";'); /*=====================================================================*\ || ################################################################### || # $HeadURL$ || # $Id$ || ################################################################### \*=====================================================================*/ ?>