[phpcvsview-cvs-updates] phpcvsview cvsview.php,1.12,1.13
Status: Pre-Alpha
Brought to you by:
bcheesem
From: Brian C. <bch...@us...> - 2004-10-03 11:07:00
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19970 Modified Files: cvsview.php Log Message: Changed code to support themes. Index: cvsview.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/cvsview.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** cvsview.php 2 Oct 2004 04:52:10 -0000 1.12 --- cvsview.php 3 Oct 2004 11:05:55 -0000 1.13 *************** *** 28,36 **** $REPOS = ""; $ScriptName = $_SERVER['PHP_SELF']; require_once 'phpcvs.php'; require_once 'phpcvsmime.php'; - require_once 'header.php'; - require_once 'footer.php'; require_once 'utils.php'; require_once 'func_DirListing.php'; --- 28,42 ---- $REPOS = ""; $ScriptName = $_SERVER['PHP_SELF']; + if (isset($_GET["tm"])) { + $ThemeName = $_GET["tm"]; + } + else + { + $ThemeName = "Default"; + } + require_once "Themes/$ThemeName/theme.php"; require_once 'phpcvs.php'; require_once 'phpcvsmime.php'; require_once 'utils.php'; require_once 'func_DirListing.php'; |