Update of /cvsroot/phpcvsview/phpcvsview/Themes/Default
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv756/Themes/Default
Modified Files:
theme.css theme.php
Log Message:
Added support for multiple CVS repositories.
Index: theme.php
===================================================================
RCS file: /cvsroot/phpcvsview/phpcvsview/Themes/Default/theme.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** theme.php 2 Feb 2005 11:56:16 -0000 1.11
--- theme.php 3 Feb 2005 23:47:29 -0000 1.12
***************
*** 35,38 ****
--- 35,49 ----
$PageHead .= $lang['message'];
$PageHead .= "<form class=\"themechanger\">";
+
+ $PageHead .= ' '.$lang['change_cvsroot'].' <select name="reposSelect" class="reposchanger" onchange="postBackReposChange(this.form)">';
+ foreach($config['cvs'] as $key => $value){
+ $PageHead .= '<option value="'.$key.'"';
+ if ($key == $env['CVSROOT']) {
+ $PageHead .= ' selected="selected"';
+ }
+ $PageHead .= '>'.$value['description'].'</option>';
+ }
+ $PageHead .= '</select><br />';
+
$PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form)">';
foreach (GetThemeList() as $key=>$value)
Index: theme.css
===================================================================
RCS file: /cvsroot/phpcvsview/phpcvsview/Themes/Default/theme.css,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** theme.css 2 Feb 2005 11:56:16 -0000 1.11
--- theme.css 3 Feb 2005 23:47:29 -0000 1.12
***************
*** 62,65 ****
--- 62,72 ----
margin: 0px;
}
+ .reposchanger
+ {
+ font-size: 8pt;
+ text-align: left;
+ padding: 0px;
+ margin: 0px;
+ }
.title
{
|