phpcvsview-cvs-updates Mailing List for PHP CVS Repository Viewer (Page 3)
Status: Pre-Alpha
Brought to you by:
bcheesem
You can subscribe to this list here.
2003 |
Jan
|
Feb
|
Mar
(1) |
Apr
(5) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(7) |
Oct
(43) |
Nov
|
Dec
(19) |
2005 |
Jan
(28) |
Feb
(85) |
Mar
|
Apr
(16) |
May
(2) |
Jun
|
Jul
|
Aug
(3) |
Sep
(14) |
Oct
|
Nov
(16) |
Dec
|
2006 |
Jan
(9) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Brian C. <bch...@us...> - 2005-04-16 02:41:06
|
Update of /cvsroot/phpcvsview/phpcvsview/languages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17843 Modified Files: en.php Log Message: - Added alternate text for the forgotten Module icon. Index: en.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/languages/en.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** en.php 16 Apr 2005 01:55:40 -0000 1.5 --- en.php 16 Apr 2005 02:40:58 -0000 1.6 *************** *** 91,94 **** --- 91,95 ---- $lang['icon_file'] = 'File'; $lang['icon_parent'] = 'Up'; + $lang['icon_mod'] = 'Mod'; ?> |
From: Brian C. <bch...@us...> - 2005-04-16 02:39:19
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16618 Modified Files: cvsview.php Log Message: - Fixed problem changing CVS repositories when you are not at the root of the current repository. Index: cvsview.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/cvsview.php,v retrieving revision 1.25 retrieving revision 1.26 diff -C2 -d -r1.25 -r1.26 *** cvsview.php 24 Feb 2005 06:37:17 -0000 1.25 --- cvsview.php 16 Apr 2005 02:39:09 -0000 1.26 *************** *** 49,52 **** --- 49,59 ---- $env['CVSROOT'] = (empty($_COOKIE['config']['CVSROOT'])) ? $config['default_cvs'] : $_COOKIE['config']['CVSROOT']; if (isset($_GET["cr"])) { + $env['mod_path'] = "/"; + unset($_GET["fh"]); + unset($_GET["fa"]); + unset($_GET["fv"]); + unset($_GET["fd"]); + unset($_GET["df"]); + unset($_GET["dp"]); $env['CVSROOT'] = $_GET["cr"]; // Set cookie with theme info. This cookie is set to expire 1 year from today. |
From: Brian C. <bch...@us...> - 2005-04-16 02:23:09
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8302 Modified Files: func_FileHistory.php Log Message: - Fixed undefined index errors for 'PrevRevision' and 'lines'. Index: func_FileHistory.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileHistory.php,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -d -r1.13 -r1.14 *** func_FileHistory.php 15 Apr 2005 05:34:33 -0000 1.13 --- func_FileHistory.php 16 Apr 2005 02:23:01 -0000 1.14 *************** *** 50,56 **** echo ' (<a href="'.$HREF.'&fv&dt='.$DateTime.'">'.$lang['view'].'</a>)'; echo ' (<a href="'.$HREF.'&fd&dt='.$DateTime.'">'.$lang['download'].'</a>)'; ! if ($Revision["PrevRevision"] != '') { ! echo ' (<a href="'.$HREF.'&df&r1='.$Revision["PrevRevision"].'&r2='; ! echo $Revision["Revision"].'">'.$lang['diff'].'</a>)'; } echo ' (<a href="'.$HREF.'&fa='.$Revision["Revision"].'">'.$lang['annotate'].'</a>)</p>'."\n"; --- 50,59 ---- echo ' (<a href="'.$HREF.'&fv&dt='.$DateTime.'">'.$lang['view'].'</a>)'; echo ' (<a href="'.$HREF.'&fd&dt='.$DateTime.'">'.$lang['download'].'</a>)'; ! if (isset($Revision["PrevRevision"])) ! { ! if ($Revision["PrevRevision"] != '') { ! echo ' (<a href="'.$HREF.'&df&r1='.$Revision["PrevRevision"].'&r2='; ! echo $Revision["Revision"].'">'.$lang['diff'].'</a>)'; ! } } echo ' (<a href="'.$HREF.'&fa='.$Revision["Revision"].'">'.$lang['annotate'].'</a>)</p>'."\n"; *************** *** 61,66 **** echo ' <p><b>'.$lang['author'].'</b> '.$Revision["author"].'</p>'."\n"; echo ' <p><b>'.$lang['state'].'</b> '.$Revision["state"].'</p>'."\n"; ! if ($Revision["PrevRevision"] != '') { ! echo ' <p><b>'.$lang['changes'].$Revision["PrevRevision"].':</b> '.$Revision["lines"].'</p>'."\n"; } echo ' <p><b>'.$lang['log_message'].'</b></p>'."\n"; --- 64,74 ---- echo ' <p><b>'.$lang['author'].'</b> '.$Revision["author"].'</p>'."\n"; echo ' <p><b>'.$lang['state'].'</b> '.$Revision["state"].'</p>'."\n"; ! if (isset($Revision["PrevRevision"])) ! { ! if ($Revision["PrevRevision"] != '') { ! echo ' <p><b>'.$lang['changes'].$Revision["PrevRevision"].':</b> '; ! if (isset($Revision["lines"])) echo $Revision["lines"]; ! echo '</p>'."\n"; ! } } echo ' <p><b>'.$lang['log_message'].'</b></p>'."\n"; |
From: Brian C. <bch...@us...> - 2005-04-16 01:55:49
|
Update of /cvsroot/phpcvsview/phpcvsview/languages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27695 Modified Files: en.php Log Message: - Added missing image alternate texts for the various icons. Index: en.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/languages/en.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** en.php 18 Feb 2005 11:40:24 -0000 1.4 --- en.php 16 Apr 2005 01:55:40 -0000 1.5 *************** *** 84,86 **** --- 84,94 ---- $lang['err_get_rev'] = '<h3>ERROR: Getting Revision for file:</h3>'; + // Image description texts. + $lang['icon_xhtml'] = 'This page is XHTML 1.0 compliant.'; + $lang['icon_css'] = 'This page uses CSS 2.1 compliant external style sheets.'; + $lang['icon_dir'] = 'Dir'; + $lang['icon_dl'] = 'D/L'; + $lang['icon_file'] = 'File'; + $lang['icon_parent'] = 'Up'; + ?> |
From: Sijis A. <si...@us...> - 2005-04-15 05:56:25
|
Update of /cvsroot/phpcvsview/phpcvsview/Themes/phpCSSview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20688/Themes/phpCSSview Added Files: theme.css theme.php Log Message: - added theme which is an example of using css for style and layout --- NEW FILE: theme.php --- <?php /** * This source code is distributed under the terms as layed out in the * GNU General Public License. * * Purpose: To provide the HTML page header code * * @author Brian A Cheeseman <bch...@us...> * @version $Id: theme.php,v 1.1 2005/04/15 05:56:11 sijis Exp $ * @copyright 2003-2005 Brian A Cheeseman **/ $icon['folder'] = 'Themes/'.$config['theme'].'/images/folder.png'; $icon['file'] = 'Themes/'.$config['theme'].'/images/file.png'; $icon['parent'] = 'Themes/'.$config['theme'].'/images/parent.png'; $icon['module'] = 'Themes/'.$config['theme'].'/images/module.png'; $icon['download'] = 'Themes/'.$config['theme'].'/images/download.png'; function GetPageHeader($Title="phpCVSView Source Code Library", $Heading="phpCVSView Source Code Library") { global $StartTime, $config, $env, $lang; $StartTime = microtime(); $PageHead = '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">'."\n"; $PageHead .= '<html xmlns="http://www.w3.org/1999/xhtml">'."\n"; $PageHead .= '<head>'."\n"; $PageHead .= ' <meta http-equiv="content-type" content="text/html; charset='.$lang['encoding'].'" />'."\n"; $PageHead .= ' <title>'.$Title.'</title>'."\n"; $PageHead .= ' <link href="'.$env['theme_path'].$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'."\n"; $PageHead .= ' <script src="./phpcvsview.js" type="text/javascript"></script>'."\n"; $PageHead .= '</head>'."\n"; $PageHead .= '<body>'."\n"; $PageHead .= '<div id="header">'."\n"; $PageHead .= ' <h1 class="title"><span>'.$Heading.'</span></h1>'."\n"; $PageHead .= ' <div id="headmsg">'.$lang['message'].'</div>'."\n"; $PageHead .= '</div>'."\n"; $PageHead .= '<div id="userOptions">'."\n"; $PageHead .= '<form class="themechanger" action="'.$_SERVER['PHP_SELF'].'">'."\n"; $PageHead .= ' <p id="reposForm"><label for="reposSelect">'.$lang['change_cvsroot'].'</label>'."\n"; $PageHead .= ' <select name="reposSelect" class="reposchanger" id="reposSelect" onchange="postBackReposChange(this.form);">'."\n"; foreach($config['cvs'] as $key => $value){ $PageHead .= ' <option value="'.$key.'"'; if ($key == $env['CVSROOT']) { $PageHead .= ' selected="selected"'; } $PageHead .= '>'.$value['description'].'</option>'."\n"; } $PageHead .= ' </select></p>'."\n"; $PageHead .= ' <p id="themeForm"><label for="ThemeSelect">'.$lang['change_theme'].'</label>'."\n"; $PageHead .= ' <select name="ThemeSelect" class="themechanger" id="ThemeSelect" onchange="postBackThemeChange(this.form);">'."\n"; foreach (GetThemeList() as $key=>$value) { $PageHead .= ' <option value="'.$value.'"'; if ($value == $config['theme']) { $PageHead .= ' selected="selected"'; } $PageHead .= '>'.$value.'</option>'."\n"; } $PageHead .= ' </select></p>'."\n"; $PageHead .= ' <p id="langForm"><label for="langSelect">'.$lang['change_lang'].'</label>'."\n"; $PageHead .= ' <select name="langSelect" class="langchanger" id="langSelect" onchange="postBackLangChange(this.form);">'."\n"; foreach(getLanguagesList() as $key => $value){ $PageHead .= ' <option value="'.$value.'"'; if ($value == $config['language']) { $PageHead .= ' selected="selected"'; } $PageHead .= '>'.$value.'</option>'."\n"; } $PageHead .= ' </select></p>'."\n"; $PageHead .= ' <p><input type="hidden" name="URLRequest" value="'.$env['script_name']; $first = true; foreach ($_GET as $key=>$value) { if ($key != "tm") { if ($first != true) { $PageHead .= "&"; } else { $PageHead .= "?"; } $first = false; $PageHead .= $key."=".$value; } } $PageHead .= '" /></p>'."\n"; $PageHead .= '</form>'."\n"; $PageHead .= '</div>'."\n"; return $PageHead; } function GetPageFooter() { global $StartTime, $lang; $EndTime = microtime(); $PageFoot = '<div id="footer">'."\n"; $PageFoot .= ' <p>'.$lang['generated'].' '.number_format(microtime_diff($StartTime, $EndTime), 3).' '.$lang['seconds'].'</p>'."\n"; $PageFoot .= ' <p>'.$lang['created_by'].'</p>'."\n"; $PageFoot .= ' <p><a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-xhtml11" alt="'.$lang['icon_xhtml'].'" height="31" width="88" /></a>'."\n"; $PageFoot .= ' <a href="http://jigsaw.w3.org/css-validator/check/referer"><img style="border:0;width:88px;height:31px" src="http://www.w3c.org/Icons/valid-css" alt="'.$lang['icon_css'].'" /></a></p>'."\n"; $PageFoot .= '</div>'."\n"; $PageFoot .= '</body>'."\n"; $PageFoot .= '</html>'."\n"; return $PageFoot; } function GetQuickLinkBar($Prefix = "", $LinkLast = false, $LastIsFile = false, $Revision = "") { global $env, $lang; if(empty($Prefix)){ $Prefix = $lang['navigate_to'];} // Add the quick link navigation bar. $Dirs = explode("/", $env['mod_path']); $QLOut = '<p id="quicknav">'.$Prefix.'<a href="'.$env['script_name'].'">'.$lang['root'].'</a> '; $intCount = 1; $OffSet = 2; if ($LastIsFile) { $OffSet = 1; } while($intCount < count($Dirs)-$OffSet) { if (($intCount != count($Dirs)-$OffSet)) { $QLOut .= '/ <a href="'.$env['script_name'].'?mp='.ImplodeToPath($Dirs, "/", $intCount).'/">'.$Dirs[$intCount].'</a> '; } else { $QLOut .= '/ '.$Dirs[$intCount].' '; } $intCount++; } $QLOut .= '/ '; if ($LinkLast) { $QLOut .= '<a href="'.$env['script_name'].'?mp='.ImplodeToPath($Dirs, "/", $intCount); if ($LastIsFile) { $QLOut .= '&fh#rd'.$Revision.'">'; } else { $QLOut .= '/'; } } $QLOut .= $Dirs[$intCount]; if ($LinkLast) { $QLOut .= '</a>'; } $QLOut .= '</p>'."\n"; return $QLOut; } function startDirList() { global $RowClass, $lang; echo '<hr />'."\n"; echo '<div id="cvscontent">'."\n"; echo ' <table>'."\n"; echo ' <tr class="head">'."\n"; echo ' <th> </th>'."\n"; echo ' <th> </th>'."\n"; echo ' <th>'.$lang['file'].'</th>'."\n"; echo ' <th>'.$lang['rev'].'</th>'."\n"; echo ' <th>'.$lang['age'].'</th>'."\n"; echo ' <th>'.$lang['author'].'</th>'."\n"; echo ' <th>'.$lang['last_log'].'</th>'."\n"; echo ' </tr>'."\n"; $RowClass = "row1"; } function endDirList() { echo ' </table>'."\n"; echo '</div>'."\n"; echo '<hr />'."\n"; } function addParentDirectory() { global $RowClass, $icon, $env, $lang; $HREF = str_replace("//", "/", $env['script_name']."?mp=".substr($env['mod_path'], 0, strrpos(substr($env['mod_path'], 0, -1), "/"))."/"); echo ' <tr class="'.$RowClass.'">'."\n"; echo ' <td> </td>'."\n"; echo ' <td><a href="'.$HREF.'"><img alt="'.$lang['icon_parent'].'" src="'.$env['script_path'].'/'.$icon['parent'].'" /></a></td>'."\n"; echo ' <td><a href="'.$HREF.'">'.$lang['up_folder'].'</a></td>'."\n"; echo ' <td> </td>'."\n"; echo ' <td> </td>'."\n"; echo ' <td> </td>'."\n"; echo ' <td> </td>'."\n"; echo ' </tr>'."\n"; $RowClass = "row2"; } function addFolders($Folders) { global $RowClass, $lang, $icon, $env; foreach ($Folders as $Folder) { $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']."/".$Folder["Name"]."/"); echo ' <tr class="'.$RowClass.'">'."\n"; if ($Folder["Name"] != "CVSROOT" && $Folder["Name"] != "Attic") { echo ' <td><a href="'.$HREF.'&dp"><img alt="'.$lang['icon_dl'].'" src="'.$env['script_path'].'/'.$icon['download'].'" /></a></td>'."\n"; } else { echo ' <td> </td>'."\n"; } echo ' <td><a href="'.$HREF.'"><img alt="'.$lang['icon_dir'].'" src="'.$env['script_path'].'/'.$icon['folder'].'" /></a></td>'."\n"; echo ' <td><a href="'.$HREF.'">'.$Folder["Name"].'</a></td>'."\n"; echo ' <td> </td>'."\n"; echo ' <td> </td>'."\n"; echo ' <td> </td>'."\n"; echo ' <td> </td>'."\n"; echo ' </tr>'."\n"; $RowClass = ($RowClass == "row1")? "row2" : "row1"; } } function addModules($Modules) { global $RowClass, $lang, $icon, $env; foreach ($Modules as $Key => $Val) { // Add the row data here. $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path'].$Val."/"); echo ' <tr class="'.$RowClass.'">'."\n"; if ($Val != "CVSROOT" && $Val != "Attic") { echo ' <td><a href="'.$HREF.'&dp"><img alt="'.$lang['icon_dl'].'" src="'.$env['script_path'].'/'.$icon['download'].'" /></a></td>'."\n"; } else { echo ' <td> </td>'."\n"; } echo ' <td><a href="'.$HREF.'"><img alt="'.$lang['icon_mod'].'" src="'.$env['script_path'].'/'.$icon['module'].'" /></a></td>'."\n"; echo ' <td><a href="'.$HREF.'">'.$Key.'</a></td>'."\n"; echo ' <td> </td>'."\n"; echo ' <td> </td>'."\n"; echo ' <td> </td>'."\n"; echo ' <td> </td>'."\n"; echo ' </tr>'."\n"; $RowClass = ($RowClass == "row1")? "row2" : "row1"; } } function addFiles($Files) { global $RowClass, $icon, $env, $lang; foreach ($Files as $File) { $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path'].$File["Name"]); $DateTime = strtotime($File["Revisions"][$File["Head"]]["date"]); $AGE = CalculateDateDiff($DateTime, strtotime(gmdate("M d Y H:i:s"))); echo ' <tr class="'.$RowClass.'">'."\n"; echo ' <td> </td>'."\n"; echo ' <td align="center"><a href="'.$HREF.'&fh"><img alt="'.$lang['icon_file'].'" src="'.$env['script_path'].'/'.$icon['file'].'" /></a></td>'."\n"; echo ' <td><a href="'.$HREF.'&fh">'.$File["Name"].'</a></td>'."\n"; echo ' <td align="center"><a href="'.$HREF.'&fv&dt='.$DateTime.'">'.$File["Head"].'</a></td>'."\n"; echo ' <td align="center">'.str_replace(" ", " ", $AGE).' '.$lang['ago'].'</td>'."\n"; echo ' <td align="center">'.$File["Revisions"][$File["Head"]]["author"].'</td>'."\n"; echo ' <td>'.str_replace("\n", "<br />", $File["Revisions"][$File["Head"]]["LogMessage"]).'</td>'."\n"; echo ' </tr>'."\n"; $RowClass = ($RowClass == "row1")? "row2" : "row1"; } } function GetDiffForm() { global $CVSServer, $env; $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); $DiffForm = '<p id="diffOptions">'."\n"; $DiffForm .= '<form class="diffform" action="'.$_SERVER['PHP_SELF'].'">'."\n"; $DiffForm .= ' <p><label for="DiffRev1">Diff between:</label>'."\n"; $DiffForm .= ' <select name="DiffRev1" id="DiffRev1" class="diffform">'."\n"; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) { $DiffForm .= ' <option value="'.$Revision["Revision"].'">'.$Revision["Revision"].'</option>'."\n"; } $DiffForm .= ' </select> and '."\n"; $DiffForm .= ' <select name="DiffRev2" id="DiffRev2" class="diffform">'."\n"; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) { $DiffForm .= ' <option value="'.$Revision["Revision"].'">'.$Revision["Revision"].'</option>'."\n"; } $DiffForm .= ' </select>'."\n"; $DiffForm .= ' <input type="hidden" name="URLDiffReq" value="'.$HREF.'" />'."\n"; $DiffForm .= ' <input type="button" value="Get Diff" onclick="postBackDiffRequest(this.form);" /></p>'."\n"; $DiffForm .= '</form>'."\n"; $DiffForm .= '</p>'."\n"; return $DiffForm; } ?> --- NEW FILE: theme.css --- /* $Id: theme.css,v 1.1 2005/04/15 05:56:11 sijis Exp $ */ /* *********************************** base html tag defaults *********************************** */ html { background-color: #eee; } body { margin: 0; padding: 0; font-family: Arial, Verdana, sans-serif; font-size: .86em; color: #000; background: url("images/wires.gif") #eee no-repeat fixed top right; } img { border: none; } hr { display: none; } table { border: 0 none; width: 100%; border-spacing: 0 0; border-collapse: collapse; } td { padding: 1px 4px; } h1 { margin: 0; } abbr, acronym { border-bottom: 1px #000 dotted; cursor: help; font-weight: bold; } /* *********************************** base link defaults *********************************** */ a:link, a:active, a:visited { color: #009; text-decoration: none; } a:hover { color: #009; text-decoration: underline; } /* *********************************** combined elements *********************************** */ #cvscontent ,#filehistory, #fileview, #fileannotation, #filediff { background-color: #fff; } p#reposForm, p#themeForm, p#quicknav { margin-left: 7px; } /* *********************************** page header *********************************** #header .title #headmsg */ #header { } .title { background-image: url("images/phpcvsview.gif"); width: 300px; height: 100px; } .title span { display: none; } #headmsg { background-image: url("images/slogan.gif"); width: 400px; height: 75px; } #headmsg p { display: none; } /* *********************************** user forms for settings *********************************** #userOptions #reposForm #reposSelect .reposchanger #themeForm #ThemeSelect .themechanger #langForm #langSelect .langchanger */ #userOptions { } #reposForm { padding: 0; margin: 0; } .reposchanger { text-align: left; padding: 0; margin: 0; } #themeForm { float: left; } .themechanger { text-align: left; padding: 0; margin: 0; } #langForm { margin-left: 5px; float: left; } .langchanger { text-align: left; padding: 0; margin: 0; } /* *********************************** navigation path *********************************** #quicknav */ #quicknav { text-align: left; font-weight: bold; clear: both; } /* *********************************** page contents *********************************** #cvscontent .head #filehistory .filerevision .logmsg #fileview .source #fileannotation #filediff */ #cvscontent { border: 0 none; } /* directory listing table header */ .head { background-color: #ddf; } #filehistory { border-bottom: 1px solid; } /* handles ul of file attributes */ .filerevision { border-top: 1px solid; padding-top: 2px; padding-bottom: 2px; } .filerevision p { margin: 0 0 0 7px; padding: 0; } p.logmsg { padding: 0; margin: 0 0 0 10px; } .logmsg { white-space: pre; } #fileview { border-top: 1px solid; border-bottom: 1px solid; } #filediff { border-top: 1px solid; border-bottom: 1px solid; } #filediff p { margin: 0; padding: 1px; } table.source { width: 100%; } .normal { background-color: #fff; } .added { width: 100%; background-color: #dfd; } .removed { width: 100%; background-color: #fdd; } #fileannotation { border-top: 1px solid; border-bottom: 1px solid; } /* *********************************** bottom options *********************************** #diffOptions .diffform */ #diffOptions p { margin: 0; padding: 0; } .diffform { text-align: left; padding: 0; margin: 0; } /* *********************************** footer *********************************** #footer */ #footer { text-align: center; } #footer p { padding: 0; margin: 0; } /* *********************************** miscleanous/common classes *********************************** .row1 .row2 */ /* alternate row color in directory listing */ .row1 { background-color: #fff; } .row2 { background-color: #eef; } /* table, td, tr { border: 1px solid; } */ /* *********************************** print version of page(s) *********************************** */ @media print { html, body{ } } |
Update of /cvsroot/phpcvsview/phpcvsview/Themes/phpCSSview/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv20688/Themes/phpCSSview/images Added Files: download.png file.png folder.png module.png parent.png phpcvsview.gif slogan.gif wires.gif Log Message: - added theme which is an example of using css for style and layout --- NEW FILE: slogan.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: folder.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: file.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: module.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: phpcvsview.gif --- (This appears to be a binary file; contents omitted.) --- NEW FILE: parent.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: download.png --- (This appears to be a binary file; contents omitted.) --- NEW FILE: wires.gif --- (This appears to be a binary file; contents omitted.) |
From: Sijis A. <si...@us...> - 2005-04-15 05:53:20
|
Update of /cvsroot/phpcvsview/phpcvsview/Themes/phpCSSview/images In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19636/images Log Message: Directory /cvsroot/phpcvsview/phpcvsview/Themes/phpCSSview/images added to the repository |
From: Sijis A. <si...@us...> - 2005-04-15 05:38:28
|
Update of /cvsroot/phpcvsview/phpcvsview/Themes/phpCSSview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12595/phpCSSview Log Message: Directory /cvsroot/phpcvsview/phpcvsview/Themes/phpCSSview added to the repository |
From: Sijis A. <si...@us...> - 2005-04-15 05:36:13
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10956 Modified Files: func_FileView.php Log Message: - added/edited html output for xhtml compatibility - fixed undefined variable notice Index: func_FileView.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileView.php,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -d -r1.18 -r1.19 *** func_FileView.php 18 Feb 2005 23:30:29 -0000 1.18 --- func_FileView.php 15 Apr 2005 05:36:04 -0000 1.19 *************** *** 30,38 **** // Add the quick link navigation bar. ! echo GetQuickLinkBar($lang['code_view'], true, true, $Revision)."<hr />\n"; ! // Check and see if this file and version has already been viewed and exists in the cache. if ($config['Cache']['Enable']) { - $CachedFileName = $config['Cache']['Location']; if (!file_exists($CachedFileName)) { mkdir($CachedFileName, 0750); --- 30,41 ---- // Add the quick link navigation bar. ! echo GetQuickLinkBar($lang['code_view'], true, true, $Revision)."\n"; ! echo '<hr />'."\n"; ! ! echo '<div id="fileview">'."\n"; ! // Check and see if this file and version has already been viewed and exists in the cache. + $CachedFileName = $config['Cache']['Location']; if ($config['Cache']['Enable']) { if (!file_exists($CachedFileName)) { mkdir($CachedFileName, 0750); *************** *** 40,47 **** $CachedFileName .= "/".str_replace("/", "_", $File).",$Revision"; } if (file_exists($CachedFileName) && $config['Cache']['Enable']) { $fd = fopen($CachedFileName, "r"); if ($fd !== false) { ! fpassthru($fd); fclose($fd); } --- 43,51 ---- $CachedFileName .= "/".str_replace("/", "_", $File).",$Revision"; } + if (file_exists($CachedFileName) && $config['Cache']['Enable']) { $fd = fopen($CachedFileName, "r"); if ($fd !== false) { ! fpassthru($fd); fclose($fd); } *************** *** 86,90 **** $fd = fopen($CachedFileName, "w"); if ($fd !== false) { ! fwrite($fd, '<table class="source"><tr><td>'.$hlcontent.'</td></tr></table>'); fclose($fd); } --- 90,94 ---- $fd = fopen($CachedFileName, "w"); if ($fd !== false) { ! fwrite($fd, '<p class="source">'.$hlcontent.'</p>'); fclose($fd); } *************** *** 92,98 **** // Display the file contents. ! echo '<table class="source"><tr><td>'; echo $hlcontent; ! echo '</td></tr></table>'; } else --- 96,102 ---- // Display the file contents. ! echo '<p class="source">'; echo $hlcontent; ! echo '</p>'; } else *************** *** 114,117 **** --- 118,122 ---- $fd = false; } + echo "<pre>\n"; for($i = 1; $i <= $soure_size; $i++) { *************** *** 122,125 **** --- 127,131 ---- echo $line; } + if ($fd !== false) { fwrite($fd, "</pre>\n"); *************** *** 133,137 **** } } ! echo "<hr />"; echo GetPageFooter(); } --- 139,144 ---- } } ! echo '</div>'; ! echo '<hr />'."\n"; echo GetPageFooter(); } |
From: Sijis A. <si...@us...> - 2005-04-15 05:34:42
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10179 Modified Files: func_DiffFile.php func_FileAnnotation.php func_FileHistory.php Log Message: - added/edited html output for xhtml compatibility Index: func_DiffFile.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_DiffFile.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** func_DiffFile.php 5 Feb 2005 22:58:31 -0000 1.5 --- func_DiffFile.php 15 Apr 2005 05:34:32 -0000 1.6 *************** *** 33,37 **** // Add the quick link navigation bar. echo GetQuickLinkBar($lang['rev_diff'], true, true, ""); ! echo "<hr />"; // Get the DIFF from the server. --- 33,38 ---- // Add the quick link navigation bar. echo GetQuickLinkBar($lang['rev_diff'], true, true, ""); ! echo '<hr />'."\n"; ! echo '<div id="filediff">'."\n"; // Get the DIFF from the server. *************** *** 135,144 **** } // while - echo "<table><tr><td>"; $search = array("<", ">", "\n", "\t", " "); $replace = array("<", ">", "", " ", " "); foreach ($FilePatching as $Line) { ! echo "<div class=\""; switch($Line['mode']){ case '+': --- 136,144 ---- } // while $search = array("<", ">", "\n", "\t", " "); $replace = array("<", ">", "", " ", " "); foreach ($FilePatching as $Line) { ! echo ' <p class="'; switch($Line['mode']){ case '+': *************** *** 151,157 **** echo "normal"; } // switch ! echo "\">".str_replace($search, $replace, $Line['text'])." </div>\n"; } ! echo "</td></tr></table><hr />"; $CVSServer->Disconnect(); --- 151,158 ---- echo "normal"; } // switch ! echo '">'.str_replace($search, $replace, $Line['text']).'</p>'."\n"; } ! echo '</div>'."\n"; ! echo '<hr />'."\n"; $CVSServer->Disconnect(); Index: func_FileAnnotation.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileAnnotation.php,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** func_FileAnnotation.php 4 Feb 2005 09:42:22 -0000 1.10 --- func_FileAnnotation.php 15 Apr 2005 05:34:33 -0000 1.11 *************** *** 41,45 **** // Start the output for the table. echo '<hr />'."\n"; ! echo '<table border="0" cellpadding="2" cellspacing="0" width="100%">' ."\n"; $RowClass = 'row1'; --- 41,46 ---- // Start the output for the table. echo '<hr />'."\n"; ! echo '<div id="fileannotation">'."\n"; ! echo ' <table>' ."\n"; $RowClass = 'row1'; *************** *** 51,65 **** if (strcmp($PrevRev, $Annotation["Revision"]) != 0) { if (!$FirstLine) { ! echo "</pre></td></tr>\n"; } else { $FirstLine = false; } ! echo '<tr class="'.$RowClass.'"><td>'.$Annotation["Revision"].'</td><td>'.$Annotation["Author"]; ! echo '</td><td>'.$Annotation["Date"].'</td><td><pre>'.str_replace($search, $replace, $Annotation["Line"]); ! if ($RowClass == 'row1') { ! $RowClass = 'row2'; ! } else { ! $RowClass = 'row1'; ! } } else{ echo "\n".str_replace($search, $replace, $Annotation["Line"]); --- 52,68 ---- if (strcmp($PrevRev, $Annotation["Revision"]) != 0) { if (!$FirstLine) { ! echo '</pre></td>'."\n"; ! echo ' </tr>'."\n"; } else { $FirstLine = false; } ! echo ' <tr class="'.$RowClass.'">'."\n"; ! echo ' <td>'.$Annotation["Revision"].'</td>'."\n"; ! echo ' <td>'.$Annotation["Author"].'</td>'."\n"; ! echo ' <td>'.$Annotation["Date"].'</td>'."\n"; ! echo ' <td><pre>'.str_replace($search, $replace, $Annotation["Line"]); ! ! $RowClass = ($RowClass == "row1")? "row2" : "row1"; ! } else{ echo "\n".str_replace($search, $replace, $Annotation["Line"]); *************** *** 67,71 **** $PrevRev = $Annotation["Revision"]; } ! echo '</table><hr />'."\n"; // Close the connection. --- 70,78 ---- $PrevRev = $Annotation["Revision"]; } ! echo '</pre></td>'."\n"; ! echo ' </tr>'."\n"; ! echo ' </table>'."\n"; ! echo '</div>'."\n"; ! echo '<hr />'."\n"; // Close the connection. Index: func_FileHistory.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileHistory.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** func_FileHistory.php 4 Feb 2005 09:44:36 -0000 1.12 --- func_FileHistory.php 15 Apr 2005 05:34:33 -0000 1.13 *************** *** 38,47 **** // Add the quick link navigation bar. echo GetQuickLinkBar($lang['rev_history'], false, true, ""); foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) { $HREF = str_replace('//', '/', $env['script_name'].'?mp='.$env['mod_path']); $DateTime = strtotime($Revision["date"]); ! echo '<hr /><p><a id="rd'.$DateTime.'" />'."\n"; ! echo '<b>'.$lang['revision'].'</b> '.$Revision["Revision"].' -'; echo ' (<a href="'.$HREF.'&fv&dt='.$DateTime.'">'.$lang['view'].'</a>)'; echo ' (<a href="'.$HREF.'&fd&dt='.$DateTime.'">'.$lang['download'].'</a>)'; --- 38,51 ---- // Add the quick link navigation bar. echo GetQuickLinkBar($lang['rev_history'], false, true, ""); + + echo '<div id="filehistory">'."\n"; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) { $HREF = str_replace('//', '/', $env['script_name'].'?mp='.$env['mod_path']); $DateTime = strtotime($Revision["date"]); ! echo '<hr />'."\n"; ! //echo '<a name="rd'.$DateTime.'" /> </a>'."\n"; ! echo '<div class="filerevision">'."\n"; ! echo ' <p><b>'.$lang['revision'].'</b> '.$Revision["Revision"].' -'; echo ' (<a href="'.$HREF.'&fv&dt='.$DateTime.'">'.$lang['view'].'</a>)'; echo ' (<a href="'.$HREF.'&fd&dt='.$DateTime.'">'.$lang['download'].'</a>)'; *************** *** 50,68 **** echo $Revision["Revision"].'">'.$lang['diff'].'</a>)'; } ! echo ' (<a href="'.$HREF.'&fa='.$Revision["Revision"].'">'.$lang['annotate'].'</a>)<br />'."\n"; ! echo '<b>'.$lang['last_checkin'].'</b> '.strftime("%A %d %b %Y %T -0000", $DateTime).' ('.CalculateDateDiff($DateTime, strtotime(gmdate("M d Y H:i:s"))).' '.$lang['ago'].')<br />'."\n"; ! echo '<b>'.$lang['branch'].'</b> '.$Revision["Branches"].'<br />'."\n"; ! echo '<b>'.$lang['date'].'</b> '.strftime("%B %d, %Y", $DateTime).'<br />'."\n"; ! echo '<b>'.$lang['time'].'</b> '.strftime("%H:%M:%S", $DateTime).'<br />'."\n"; ! echo '<b>'.$lang['author'].'</b> '.$Revision["author"].'<br />'."\n"; ! echo '<b>'.$lang['state'].'</b> '.$Revision["state"].'<br />'."\n"; if ($Revision["PrevRevision"] != '') { ! echo '<b>'.$lang['changes'].$Revision["PrevRevision"].':</b> '.$Revision["lines"].'<br />'."\n"; } ! echo '<b>'.$lang['log_message'].'</b></p><pre>'.$Revision["LogMessage"].'</pre>'."\n"; } echo '<hr />'."\n"; ! echo GetDiffForm(); $CVSServer->Disconnect(); --- 54,75 ---- echo $Revision["Revision"].'">'.$lang['diff'].'</a>)'; } ! echo ' (<a href="'.$HREF.'&fa='.$Revision["Revision"].'">'.$lang['annotate'].'</a>)</p>'."\n"; ! echo ' <p><b>'.$lang['last_checkin'].'</b> '.strftime("%A %d %b %Y %T -0000", $DateTime).' ('.CalculateDateDiff($DateTime, strtotime(gmdate("M d Y H:i:s"))).' '.$lang['ago'].')</p>'."\n"; ! echo ' <p><b>'.$lang['branch'].'</b> '.$Revision["Branches"].'</p>'."\n"; ! echo ' <p><b>'.$lang['date'].'</b> '.strftime("%B %d, %Y", $DateTime).'</p>'."\n"; ! echo ' <p><b>'.$lang['time'].'</b> '.strftime("%H:%M:%S", $DateTime).'</p>'."\n"; ! echo ' <p><b>'.$lang['author'].'</b> '.$Revision["author"].'</p>'."\n"; ! echo ' <p><b>'.$lang['state'].'</b> '.$Revision["state"].'</p>'."\n"; if ($Revision["PrevRevision"] != '') { ! echo ' <p><b>'.$lang['changes'].$Revision["PrevRevision"].':</b> '.$Revision["lines"].'</p>'."\n"; } ! echo ' <p><b>'.$lang['log_message'].'</b></p>'."\n"; ! echo ' <p class="logmsg">'.$Revision["LogMessage"].'</p>'."\n"; ! echo '</div>'."\n"; } + echo '</div>'."\n"; echo '<hr />'."\n"; ! echo GetDiffForm(); $CVSServer->Disconnect(); |
From: Sijis A. <si...@us...> - 2005-02-24 06:48:41
|
Update of /cvsroot/phpcvsview/phpcvsview/Themes/Blue In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18279/Themes/Blue Modified Files: theme.php Log Message: - minor code cleanup for valid html Index: theme.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/Themes/Blue/theme.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** theme.php 4 Feb 2005 10:56:37 -0000 1.4 --- theme.php 24 Feb 2005 06:47:54 -0000 1.5 *************** *** 28,32 **** $PageHead .= '<link href="Themes/'.$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'; // Add JavaScript to postback the change in theme selection. ! $PageHead .= '<script src="./phpcvsview.js"></script>'; $PageHead .= '</head>'; $PageHead .= '<body>'; --- 28,32 ---- $PageHead .= '<link href="Themes/'.$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'; // Add JavaScript to postback the change in theme selection. ! $PageHead .= '<script src="./phpcvsview.js" type="text/javascript"></script>'; $PageHead .= '</head>'; $PageHead .= '<body>'; *************** *** 35,40 **** } $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.'"'; --- 35,40 ---- } $PageHead .= $lang['message']; ! $PageHead .= '<form class="themechanger" action="'.$_SERVER['PHP_SELF'].'">'; ! $PageHead .= ' '.$lang['change_cvsroot'].' <select name="reposSelect" class="reposchanger" onchange="postBackReposChange(this.form);">'; foreach($config['cvs'] as $key => $value){ $PageHead .= '<option value="'.$key.'"'; *************** *** 46,50 **** $PageHead .= '</select><br />'; ! $PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form)">'; foreach (GetThemeList() as $key=>$value) { --- 46,50 ---- $PageHead .= '</select><br />'; ! $PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form);">'; foreach (GetThemeList() as $key=>$value) { *************** *** 56,60 **** } $PageHead .= '</select>'; ! $PageHead .= ' '.$lang['change_lang'].' <select name="langSelect" class="langchanger" onchange="postBackLangChange(this.form)">'; foreach(getLanguagesList() as $key => $value){ $PageHead .= '<option value="'.$value.'"'; --- 56,60 ---- } $PageHead .= '</select>'; ! $PageHead .= ' '.$lang['change_lang'].' <select name="langSelect" class="langchanger" onchange="postBackLangChange(this.form);">'; foreach(getLanguagesList() as $key => $value){ $PageHead .= '<option value="'.$value.'"'; *************** *** 66,70 **** $PageHead .= '</select>'; ! $PageHead .= '<input type="hidden" name="URLRequest" value="'.$env['script_name'].'"'; $first = true; foreach ($_GET as $key=>$value) --- 66,70 ---- $PageHead .= '</select>'; ! $PageHead .= '<input type="hidden" name="URLRequest" value="'.$env['script_name']; $first = true; foreach ($_GET as $key=>$value) *************** *** 256,260 **** $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); ! $DiffForm = '<form class="diffform">'; $DiffForm .= 'Diff between: <select name="DiffRev1" class="diffform">'; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) --- 256,260 ---- $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); ! $DiffForm = '<form class="diffform" action="'.$_SERVER['PHP_SELF'].'">'; $DiffForm .= 'Diff between: <select name="DiffRev1" class="diffform">'; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) |
From: Sijis A. <si...@us...> - 2005-02-24 06:48:05
|
Update of /cvsroot/phpcvsview/phpcvsview/Themes/Yellow In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18279/Themes/Yellow Modified Files: theme.php Log Message: - minor code cleanup for valid html Index: theme.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/Themes/Yellow/theme.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** theme.php 4 Feb 2005 10:56:40 -0000 1.4 --- theme.php 24 Feb 2005 06:47:56 -0000 1.5 *************** *** 28,32 **** $PageHead .= '<link href="Themes/'.$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'; // Add JavaScript to postback the change in theme selection. ! $PageHead .= '<script src="./phpcvsview.js"></script>'; $PageHead .= '</head>'; $PageHead .= '<body>'; --- 28,32 ---- $PageHead .= '<link href="Themes/'.$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'; // Add JavaScript to postback the change in theme selection. ! $PageHead .= '<script src="./phpcvsview.js" type="text/javascript"></script>'; $PageHead .= '</head>'; $PageHead .= '<body>'; *************** *** 35,40 **** } $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.'"'; --- 35,40 ---- } $PageHead .= $lang['message']; ! $PageHead .= '<form class="themechanger" action="'.$_SERVER['PHP_SELF'].'">'; ! $PageHead .= ' '.$lang['change_cvsroot'].' <select name="reposSelect" class="reposchanger" onchange="postBackReposChange(this.form);">'; foreach($config['cvs'] as $key => $value){ $PageHead .= '<option value="'.$key.'"'; *************** *** 46,50 **** $PageHead .= '</select><br />'; ! $PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form)">'; foreach (GetThemeList() as $key=>$value) { --- 46,50 ---- $PageHead .= '</select><br />'; ! $PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form);">'; foreach (GetThemeList() as $key=>$value) { *************** *** 56,60 **** } $PageHead .= '</select>'; ! $PageHead .= ' '.$lang['change_lang'].' <select name="langSelect" class="langchanger" onchange="postBackLangChange(this.form)">'; foreach(getLanguagesList() as $key => $value){ $PageHead .= '<option value="'.$value.'"'; --- 56,60 ---- } $PageHead .= '</select>'; ! $PageHead .= ' '.$lang['change_lang'].' <select name="langSelect" class="langchanger" onchange="postBackLangChange(this.form);">'; foreach(getLanguagesList() as $key => $value){ $PageHead .= '<option value="'.$value.'"'; *************** *** 66,70 **** $PageHead .= '</select>'; ! $PageHead .= '<input type="hidden" name="URLRequest" value="'.$env['script_name'].'"'; $first = true; foreach ($_GET as $key=>$value) --- 66,70 ---- $PageHead .= '</select>'; ! $PageHead .= '<input type="hidden" name="URLRequest" value="'.$env['script_name']; $first = true; foreach ($_GET as $key=>$value) *************** *** 256,260 **** $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); ! $DiffForm = '<form class="diffform">'; $DiffForm .= 'Diff between: <select name="DiffRev1" class="diffform">'; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) --- 256,260 ---- $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); ! $DiffForm = '<form class="diffform" action="'.$_SERVER['PHP_SELF'].'">'; $DiffForm .= 'Diff between: <select name="DiffRev1" class="diffform">'; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) |
From: Sijis A. <si...@us...> - 2005-02-24 06:48:04
|
Update of /cvsroot/phpcvsview/phpcvsview/Themes/Red In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18279/Themes/Red Modified Files: theme.php Log Message: - minor code cleanup for valid html Index: theme.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/Themes/Red/theme.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** theme.php 4 Feb 2005 10:56:39 -0000 1.4 --- theme.php 24 Feb 2005 06:47:56 -0000 1.5 *************** *** 28,32 **** $PageHead .= '<link href="Themes/'.$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'; // Add JavaScript to postback the change in theme selection. ! $PageHead .= '<script src="./phpcvsview.js"></script>'; $PageHead .= '</head>'; $PageHead .= '<body>'; --- 28,32 ---- $PageHead .= '<link href="Themes/'.$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'; // Add JavaScript to postback the change in theme selection. ! $PageHead .= '<script src="./phpcvsview.js" type="text/javascript"></script>'; $PageHead .= '</head>'; $PageHead .= '<body>'; *************** *** 35,40 **** } $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.'"'; --- 35,40 ---- } $PageHead .= $lang['message']; ! $PageHead .= '<form class="themechanger" action="'.$_SERVER['PHP_SELF'].'">'; ! $PageHead .= ' '.$lang['change_cvsroot'].' <select name="reposSelect" class="reposchanger" onchange="postBackReposChange(this.form);">'; foreach($config['cvs'] as $key => $value){ $PageHead .= '<option value="'.$key.'"'; *************** *** 46,50 **** $PageHead .= '</select><br />'; ! $PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form)">'; foreach (GetThemeList() as $key=>$value) { --- 46,50 ---- $PageHead .= '</select><br />'; ! $PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form);">'; foreach (GetThemeList() as $key=>$value) { *************** *** 56,60 **** } $PageHead .= '</select>'; ! $PageHead .= ' '.$lang['change_lang'].' <select name="langSelect" class="langchanger" onchange="postBackLangChange(this.form)">'; foreach(getLanguagesList() as $key => $value){ $PageHead .= '<option value="'.$value.'"'; --- 56,60 ---- } $PageHead .= '</select>'; ! $PageHead .= ' '.$lang['change_lang'].' <select name="langSelect" class="langchanger" onchange="postBackLangChange(this.form);">'; foreach(getLanguagesList() as $key => $value){ $PageHead .= '<option value="'.$value.'"'; *************** *** 66,70 **** $PageHead .= '</select>'; ! $PageHead .= '<input type="hidden" name="URLRequest" value="'.$env['script_name'].'"'; $first = true; foreach ($_GET as $key=>$value) --- 66,70 ---- $PageHead .= '</select>'; ! $PageHead .= '<input type="hidden" name="URLRequest" value="'.$env['script_name']; $first = true; foreach ($_GET as $key=>$value) *************** *** 256,260 **** $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); ! $DiffForm = '<form class="diffform">'; $DiffForm .= 'Diff between: <select name="DiffRev1" class="diffform">'; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) --- 256,260 ---- $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); ! $DiffForm = '<form class="diffform" action="'.$_SERVER['PHP_SELF'].'">'; $DiffForm .= 'Diff between: <select name="DiffRev1" class="diffform">'; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) |
From: Sijis A. <si...@us...> - 2005-02-24 06:48:04
|
Update of /cvsroot/phpcvsview/phpcvsview/Themes/Green In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18279/Themes/Green Modified Files: theme.php Log Message: - minor code cleanup for valid html Index: theme.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/Themes/Green/theme.php,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** theme.php 4 Feb 2005 10:56:39 -0000 1.4 --- theme.php 24 Feb 2005 06:47:55 -0000 1.5 *************** *** 28,32 **** $PageHead .= '<link href="Themes/'.$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'; // Add JavaScript to postback the change in theme selection. ! $PageHead .= '<script src="./phpcvsview.js"></script>'; $PageHead .= '</head>'; $PageHead .= '<body>'; --- 28,32 ---- $PageHead .= '<link href="Themes/'.$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'; // Add JavaScript to postback the change in theme selection. ! $PageHead .= '<script src="./phpcvsview.js" type="text/javascript"></script>'; $PageHead .= '</head>'; $PageHead .= '<body>'; *************** *** 35,40 **** } $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.'"'; --- 35,40 ---- } $PageHead .= $lang['message']; ! $PageHead .= '<form class="themechanger" action="'.$_SERVER['PHP_SELF'].'">'; ! $PageHead .= ' '.$lang['change_cvsroot'].' <select name="reposSelect" class="reposchanger" onchange="postBackReposChange(this.form);">'; foreach($config['cvs'] as $key => $value){ $PageHead .= '<option value="'.$key.'"'; *************** *** 46,50 **** $PageHead .= '</select><br />'; ! $PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form)">'; foreach (GetThemeList() as $key=>$value) { --- 46,50 ---- $PageHead .= '</select><br />'; ! $PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form);">'; foreach (GetThemeList() as $key=>$value) { *************** *** 56,60 **** } $PageHead .= '</select>'; ! $PageHead .= ' '.$lang['change_lang'].' <select name="langSelect" class="langchanger" onchange="postBackLangChange(this.form)">'; foreach(getLanguagesList() as $key => $value){ $PageHead .= '<option value="'.$value.'"'; --- 56,60 ---- } $PageHead .= '</select>'; ! $PageHead .= ' '.$lang['change_lang'].' <select name="langSelect" class="langchanger" onchange="postBackLangChange(this.form);">'; foreach(getLanguagesList() as $key => $value){ $PageHead .= '<option value="'.$value.'"'; *************** *** 66,70 **** $PageHead .= '</select>'; ! $PageHead .= '<input type="hidden" name="URLRequest" value="'.$env['script_name'].'"'; $first = true; foreach ($_GET as $key=>$value) --- 66,70 ---- $PageHead .= '</select>'; ! $PageHead .= '<input type="hidden" name="URLRequest" value="'.$env['script_name']; $first = true; foreach ($_GET as $key=>$value) *************** *** 256,260 **** $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); ! $DiffForm = '<form class="diffform">'; $DiffForm .= 'Diff between: <select name="DiffRev1" class="diffform">'; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) --- 256,260 ---- $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); ! $DiffForm = '<form class="diffform" action="'.$_SERVER['PHP_SELF'].'">'; $DiffForm .= 'Diff between: <select name="DiffRev1" class="diffform">'; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) |
From: Sijis A. <si...@us...> - 2005-02-24 06:48:03
|
Update of /cvsroot/phpcvsview/phpcvsview/Themes/Default In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18279/Themes/Default Modified Files: theme.php Log Message: - minor code cleanup for valid html Index: theme.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/Themes/Default/theme.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** theme.php 4 Feb 2005 09:57:12 -0000 1.15 --- theme.php 24 Feb 2005 06:47:54 -0000 1.16 *************** *** 28,32 **** $PageHead .= '<link href="Themes/'.$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'; // Add JavaScript to postback the change in theme selection. ! $PageHead .= '<script src="./phpcvsview.js"></script>'; $PageHead .= '</head>'; $PageHead .= '<body>'; --- 28,32 ---- $PageHead .= '<link href="Themes/'.$config['theme'].'/theme.css" rel="stylesheet" type="text/css" />'; // Add JavaScript to postback the change in theme selection. ! $PageHead .= '<script src="./phpcvsview.js" type="text/javascript"></script>'; $PageHead .= '</head>'; $PageHead .= '<body>'; *************** *** 35,40 **** } $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.'"'; --- 35,40 ---- } $PageHead .= $lang['message']; ! $PageHead .= '<form class="themechanger" action="'.$_SERVER['PHP_SELF'].'">'; ! $PageHead .= ' '.$lang['change_cvsroot'].' <select name="reposSelect" class="reposchanger" onchange="postBackReposChange(this.form);">'; foreach($config['cvs'] as $key => $value){ $PageHead .= '<option value="'.$key.'"'; *************** *** 46,50 **** $PageHead .= '</select><br />'; ! $PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form)">'; foreach (GetThemeList() as $key=>$value) { --- 46,50 ---- $PageHead .= '</select><br />'; ! $PageHead .= $lang['change_theme'].' <select name="ThemeSelect" class="themechanger" onchange="postBackThemeChange(this.form);">'; foreach (GetThemeList() as $key=>$value) { *************** *** 56,60 **** } $PageHead .= '</select>'; ! $PageHead .= ' '.$lang['change_lang'].' <select name="langSelect" class="langchanger" onchange="postBackLangChange(this.form)">'; foreach(getLanguagesList() as $key => $value){ $PageHead .= '<option value="'.$value.'"'; --- 56,60 ---- } $PageHead .= '</select>'; ! $PageHead .= ' '.$lang['change_lang'].' <select name="langSelect" class="langchanger" onchange="postBackLangChange(this.form);">'; foreach(getLanguagesList() as $key => $value){ $PageHead .= '<option value="'.$value.'"'; *************** *** 66,70 **** $PageHead .= '</select>'; ! $PageHead .= '<input type="hidden" name="URLRequest" value="'.$env['script_name'].'"'; $first = true; foreach ($_GET as $key=>$value) --- 66,70 ---- $PageHead .= '</select>'; ! $PageHead .= '<input type="hidden" name="URLRequest" value="'.$env['script_name']; $first = true; foreach ($_GET as $key=>$value) *************** *** 256,260 **** $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); ! $DiffForm = '<form class="diffform">'; $DiffForm .= 'Diff between: <select name="DiffRev1" class="diffform">'; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) --- 256,260 ---- $HREF = str_replace("//", "/", $env['script_name']."?mp=".$env['mod_path']); ! $DiffForm = '<form class="diffform" action="'.$_SERVER['PHP_SELF'].'">'; $DiffForm .= 'Diff between: <select name="DiffRev1" class="diffform">'; foreach ($CVSServer->FILES[0]["Revisions"] as $Revision) |
From: Sijis A. <si...@us...> - 2005-02-24 06:37:28
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15986 Modified Files: cvsview.php Log Message: - added comments and organized variables Index: cvsview.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/cvsview.php,v retrieving revision 1.24 retrieving revision 1.25 diff -C2 -d -r1.24 -r1.25 *** cvsview.php 4 Feb 2005 04:21:52 -0000 1.24 --- cvsview.php 24 Feb 2005 06:37:17 -0000 1.25 *************** *** 26,33 **** } ! $REPOS = ""; $env['script_name'] = $_SERVER['PHP_SELF']; $env['script_path'] = substr($env['script_name'], 0, strrpos($env['script_name'], "/")); $env['script_path'] = (empty($env['script_path']))? '/' : $env['script_path']; $env['language_path'] = 'languages/'; $env['theme_path'] = 'Themes/'; --- 26,38 ---- } ! // set enviroment paths and defaults $env['script_name'] = $_SERVER['PHP_SELF']; + $env['script_path'] = substr($env['script_name'], 0, strrpos($env['script_name'], "/")); $env['script_path'] = (empty($env['script_path']))? '/' : $env['script_path']; + + $env['mod_path'] = (isset($_GET["mp"])) ? $_GET["mp"] : "/"; + $env['mod_path'] = str_replace("//", "/", $env['mod_path']); + $env['language_path'] = 'languages/'; $env['theme_path'] = 'Themes/'; *************** *** 62,65 **** --- 67,71 ---- } + // include required files and functions require_once $env['theme_path'] . $config['theme']."/theme.php"; require_once $env['language_path'] . $config['language'] .'.php'; *************** *** 74,82 **** require_once 'func_ArchiveDownload.php'; ! ! // Check for a module path ! $env['mod_path'] = (isset($_GET["mp"])) ? $_GET["mp"] : "/"; ! $env['mod_path'] = str_replace("//", "/", $env['mod_path']); ! if (isset($_GET["fh"])) { DisplayFileHistory(); --- 80,84 ---- require_once 'func_ArchiveDownload.php'; ! // begin display logic if (isset($_GET["fh"])) { DisplayFileHistory(); |
From: Sijis A. <si...@us...> - 2005-02-24 06:33:27
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15103 Modified Files: phpcvs.php Log Message: - added debug variable and made changes accordingly to handle new variable - added default value to array index branches to remove undefined errors given - fixed logic/error for 'diff to previous' link on initial revision of file - minor cosmetic fixes Index: phpcvs.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/phpcvs.php,v retrieving revision 1.23 retrieving revision 1.24 diff -C2 -d -r1.23 -r1.24 *** phpcvs.php 4 Feb 2005 04:21:52 -0000 1.23 --- phpcvs.php 24 Feb 2005 06:33:15 -0000 1.24 *************** *** 1,3 **** --- 1,4 ---- <?php + error_reporting(E_ALL); /** *************** *** 9,13 **** * @author Brian A Cheeseman <bch...@us...> * @version $Id$ ! * @copyright 2003-2004 Brian A Cheeseman **/ --- 10,14 ---- * @author Brian A Cheeseman <bch...@us...> * @version $Id$ ! * @copyright 2003-2005 Brian A Cheeseman **/ *************** *** 59,63 **** "E" => "processE", "F" => "processF", ! "MT" => "processMT"); var $ALLOWED_REQUESTS = array(); // A hashed array of requests we are allowed to send. --- 60,65 ---- "E" => "processE", "F" => "processF", ! "MT" => "processMT" ! ); var $ALLOWED_REQUESTS = array(); // A hashed array of requests we are allowed to send. *************** *** 73,76 **** --- 75,79 ---- var $FILECONTENTS = ""; // A string to store the lines of the file contents in. var $INITIALISED = false; // A boolean to indicate whether we have already sent the Root/ValidRequests/ValidResponses. + var $DEBUG = false; // A boolean to enable/disable debug output /** *************** *** 284,288 **** // Define our constant array to provide a lookup table for the conversion // of the clear password to cipher text. ! $NewChars = array( '!' => 'x', '8' => '_', 'N' => '[', 'g' => 'I', '"' => '5', '9' => 'A', 'O' => '#', 'h' => 'c', --- 287,291 ---- // Define our constant array to provide a lookup table for the conversion // of the clear password to cipher text. ! $NewChars = array( '!' => 'x', '8' => '_', 'N' => '[', 'g' => 'I', '"' => '5', '9' => 'A', 'O' => '#', 'h' => 'c', *************** *** 363,387 **** // Send the start of authentication request. if ($this->SOCKET->write("BEGIN AUTH REQUEST\n") != true) { ! return false; } // Send the path to the repository we are attempting to connect to. if ($this->SOCKET->write($this->CVS_REPOSITORY."\n") != true) { ! return false; } // Send the user name to authenticate with. if ($this->SOCKET->write($this->CVS_USERNAME."\n") != true) { ! return false; } // Transform and send the password matching the username above. if ($this->SOCKET->write("A".$this->TransformPW($this->CVS_PASSWORD)."\n") != true) { ! return false; } // Send the terminator for the authentication request. if ($this->SOCKET->write("END AUTH REQUEST\n") != true) { ! return false; } --- 366,390 ---- // Send the start of authentication request. if ($this->SOCKET->write("BEGIN AUTH REQUEST\n") != true) { ! return false; } // Send the path to the repository we are attempting to connect to. if ($this->SOCKET->write($this->CVS_REPOSITORY."\n") != true) { ! return false; } // Send the user name to authenticate with. if ($this->SOCKET->write($this->CVS_USERNAME."\n") != true) { ! return false; } // Transform and send the password matching the username above. if ($this->SOCKET->write("A".$this->TransformPW($this->CVS_PASSWORD)."\n") != true) { ! return false; } // Send the terminator for the authentication request. if ($this->SOCKET->write("END AUTH REQUEST\n") != true) { ! return false; } *************** *** 389,393 **** $response = $this->SOCKET->readLine(); if ($response == true && strncmp($response, "I LOVE YOU", 10) == 0) { ! return true; } else { // Retrieve the error message from the PServer. --- 392,396 ---- $response = $this->SOCKET->readLine(); if ($response == true && strncmp($response, "I LOVE YOU", 10) == 0) { ! return true; } else { // Retrieve the error message from the PServer. *************** *** 396,408 **** $line = $this->SOCKET->readLine(); if (strncmp($line, "E ", 2) == 0) { ! $errorMsg .= substr($line, 2); } if (strncmp($line, "error", 5) == 0) { ! $this->SOCKET->disconnect(); } } if ($errorMsg == "") { ! return false; } else { return $errorMsg; --- 399,411 ---- $line = $this->SOCKET->readLine(); if (strncmp($line, "E ", 2) == 0) { ! $errorMsg .= substr($line, 2); } if (strncmp($line, "error", 5) == 0) { ! $this->SOCKET->disconnect(); } } if ($errorMsg == "") { ! return false; } else { return $errorMsg; *************** *** 417,443 **** // Return Value: boolean - Successfully sent. // *************************************************************************** ! function processResponse($Debug = false) { $this->MESSAGE_CONTENT = ""; $this->STDERR = ""; $KeepGoing = true; ! if ($Debug) { ! echo "<pre>"; ! } while($KeepGoing){ $ResponseLine = $this->SOCKET->readLine(); $Response = explode(" ", $ResponseLine); ! if ($Debug) { ! echo $ResponseLine."\n"; } if ($Response[0] != "") { $Func = $this->ALLOWED_RESPONSES[$Response[0]]; ! if (method_exists($this, $Func)) { ! $KeepGoing = $this->$Func($ResponseLine); } } } ! if ($Debug) { ! echo "</pre>"; } } --- 420,445 ---- // Return Value: boolean - Successfully sent. // *************************************************************************** ! function processResponse() { $this->MESSAGE_CONTENT = ""; $this->STDERR = ""; $KeepGoing = true; ! $debugMsg = ""; ! while($KeepGoing){ $ResponseLine = $this->SOCKET->readLine(); $Response = explode(" ", $ResponseLine); ! if ($this->DEBUG) { ! $debugMsg .= $ResponseLine."\n"; } if ($Response[0] != "") { $Func = $this->ALLOWED_RESPONSES[$Response[0]]; ! if (method_exists($this, $Func)) { ! $KeepGoing = $this->$Func($ResponseLine); } } } ! if ($this->DEBUG) { ! CVS_PServer::debug($debug); } } *************** *** 452,456 **** { if ($this->SOCKET->write("Root ".$this->CVS_REPOSITORY."\n") != true) { ! return false; } return true; --- 454,458 ---- { if ($this->SOCKET->write("Root ".$this->CVS_REPOSITORY."\n") != true) { ! return false; } return true; *************** *** 488,492 **** // Send the command to the pserver. if ($this->SOCKET->write("Valid-responses".$ValidResponses."\n") != true) { ! return false; } return true; --- 490,494 ---- // Send the command to the pserver. if ($this->SOCKET->write("Valid-responses".$ValidResponses."\n") != true) { ! return false; } return true; *************** *** 502,506 **** { if ($this->SOCKET->write("valid-requests\n") != true) { ! return false; } $this->processResponse(); --- 504,508 ---- { if ($this->SOCKET->write("valid-requests\n") != true) { ! return false; } $this->processResponse(); *************** *** 517,523 **** { if ($this->ALLOWED_REQUESTS["UseUnchanged"] == true) { ! if ($this->SOCKET->write("UseUnchanged\n") != true) { ! return false; ! } } return true; --- 519,525 ---- { if ($this->ALLOWED_REQUESTS["UseUnchanged"] == true) { ! if ($this->SOCKET->write("UseUnchanged\n") != true) { ! return false; ! } } return true; *************** *** 533,539 **** { if ($this->ALLOWED_REQUESTS["Argument"] == true) { ! if ($this->SOCKET->write("Argument $ArgToSend\n") != true) { ! return false; ! } } return true; --- 535,541 ---- { if ($this->ALLOWED_REQUESTS["Argument"] == true) { ! if ($this->SOCKET->write("Argument $ArgToSend\n") != true) { ! return false; ! } } return true; *************** *** 549,555 **** { if ($this->ALLOWED_REQUESTS["rlog"] == true) { ! if ($this->SOCKET->write("rlog\n") != true) { ! return false; ! } } return true; --- 551,557 ---- { if ($this->ALLOWED_REQUESTS["rlog"] == true) { ! if ($this->SOCKET->write("rlog\n") != true) { ! return false; ! } } return true; *************** *** 566,572 **** if ($this->ALLOWED_REQUESTS["Directory"] == true) { if (strncmp($Directory, "/", 1) == 0) { ! $Directory = substr($Directory, 1); } ! if ($this->SOCKET->write("Directory $Directory\n") == true) { $Line = $this->CVS_REPOSITORY; if ($Directory != ".") { --- 568,574 ---- if ($this->ALLOWED_REQUESTS["Directory"] == true) { if (strncmp($Directory, "/", 1) == 0) { ! $Directory = substr($Directory, 1); } ! if ($this->SOCKET->write("Directory $Directory\n") == true) { $Line = $this->CVS_REPOSITORY; if ($Directory != ".") { *************** *** 578,582 **** } else { return false; ! } } return true; --- 580,584 ---- } else { return false; ! } } return true; *************** *** 592,598 **** { if ($this->ALLOWED_REQUESTS["Static-directory"] == true) { ! if ($this->SOCKET->write("Static-directory\n") != true) { ! return false; ! } } return true; --- 594,600 ---- { if ($this->ALLOWED_REQUESTS["Static-directory"] == true) { ! if ($this->SOCKET->write("Static-directory\n") != true) { ! return false; ! } } return true; *************** *** 618,624 **** } ! if ($this->SOCKET->write("Entry /$FName/$Version/$Conflict/$Options/$TagOrDate\n") != true) { ! return false; ! } } return true; --- 620,626 ---- } ! if ($this->SOCKET->write("Entry /$FName/$Version/$Conflict/$Options/$TagOrDate\n") != true) { ! return false; ! } } return true; *************** *** 636,647 **** $SlashPos = strrpos($Name, "/"); if ($SlashPos !== false) { ! $BaseFileName = substr($Name, $SlashPos+1); } else { $BaseFileName = $Name; } ! if ($this->SOCKET->write("Unchanged $BaseFileName\n") != true) { ! return false; ! } } return true; --- 638,649 ---- $SlashPos = strrpos($Name, "/"); if ($SlashPos !== false) { ! $BaseFileName = substr($Name, $SlashPos+1); } else { $BaseFileName = $Name; } ! if ($this->SOCKET->write("Unchanged $BaseFileName\n") != true) { ! return false; ! } } return true; *************** *** 657,663 **** { if ($this->ALLOWED_REQUESTS["annotate"] == true) { ! if ($this->SOCKET->write("annotate\n") != true) { ! return false; ! } } return true; --- 659,665 ---- { if ($this->ALLOWED_REQUESTS["annotate"] == true) { ! if ($this->SOCKET->write("annotate\n") != true) { ! return false; ! } } return true; *************** *** 673,679 **** { if ($this->ALLOWED_REQUESTS["expand-modules"] == true) { ! if ($this->SOCKET->write("expand-modules\n") != true) { ! return false; ! } } $this->processResponse(); --- 675,681 ---- { if ($this->ALLOWED_REQUESTS["expand-modules"] == true) { ! if ($this->SOCKET->write("expand-modules\n") != true) { ! return false; ! } } $this->processResponse(); *************** *** 690,696 **** { if ($this->ALLOWED_REQUESTS["export"] == true) { ! if ($this->SOCKET->write("export\n") != true) { ! return false; ! } } $this->processResponse(); --- 692,698 ---- { if ($this->ALLOWED_REQUESTS["export"] == true) { ! if ($this->SOCKET->write("export\n") != true) { ! return false; ! } } $this->processResponse(); *************** *** 769,773 **** if (strncmp($Folder, "/", 1) == 0) { ! $Directory = substr($Folder, 1); } else { $Directory = $Folder; --- 771,775 ---- if (strncmp($Folder, "/", 1) == 0) { ! $Directory = substr($Folder, 1); } else { $Directory = $Folder; *************** *** 775,783 **** if (!$this->sendArgument($Directory)) { ! return false; } if (!$this->sendRLog()) { ! return false; } --- 777,785 ---- if (!$this->sendArgument($Directory)) { ! return false; } if (!$this->sendRLog()) { ! return false; } *************** *** 785,793 **** if (!($this->FINAL_RESPONSE)) { ! return $this->RLog(substr($Folder, 1)); } if ($Folder == "") { ! $Folder = "/"; } --- 787,795 ---- if (!($this->FINAL_RESPONSE)) { ! return $this->RLog(substr($Folder, 1)); } if ($Folder == "") { ! $Folder = "/"; } *************** *** 810,814 **** $TempLine = substr($Line, 10+strlen($this->CVS_REPOSITORY.$Folder)); if (strncmp($TempLine, "/", 1) == 0) { ! $TempLine = substr($TempLine, 1); } if (($SlashPos = strpos($TempLine, "/")) > 0) { --- 812,816 ---- $TempLine = substr($Line, 10+strlen($this->CVS_REPOSITORY.$Folder)); if (strncmp($TempLine, "/", 1) == 0) { ! $TempLine = substr($TempLine, 1); } if (($SlashPos = strpos($TempLine, "/")) > 0) { *************** *** 844,848 **** // Lets continue, but only if we have a CurrentDecode type of 2 (ie a file). if ($CurrentDecode == 2) { ! // Process for the remaining file attributes. // Head version of file. --- 846,850 ---- // Lets continue, but only if we have a CurrentDecode type of 2 (ie a file). if ($CurrentDecode == 2) { ! // Process for the remaining file attributes. // Head version of file. *************** *** 855,858 **** --- 857,861 ---- if (strncmp($Line, "branch:", 7) == 0) { $this->FILES[$FileCount]["Branch"] = trim(substr($Line, 8)); + //$this->FILES[$FileCount]["Branch"] = (strlen($Line) > 7) ? trim(substr($Line, 8)) : "Main"; $LineProcessed = true; } *************** *** 872,876 **** // Process the symbolic names. if (strncmp($Line, "symbolic names:", 15) == 0) { ! $LineProcessed = true; } --- 875,879 ---- // Process the symbolic names. if (strncmp($Line, "symbolic names:", 15) == 0) { ! $LineProcessed = true; } *************** *** 886,890 **** // Process the Keyword Substitution. if (strncmp($Line, "keyword substitution:", 21) == 0) { ! $this->FILES[$FileCount]["KeywordSubst"] = trim(substr($Line, 22)); $LineProcessed = true; } --- 889,893 ---- // Process the Keyword Substitution. if (strncmp($Line, "keyword substitution:", 21) == 0) { ! $this->FILES[$FileCount]["KeywordSubst"] = trim(substr($Line, 22)); $LineProcessed = true; } *************** *** 892,896 **** // Process the Total Revisions. if (strncmp($Line, "total revisions:", 16) == 0) { ! $TempLine = substr($Line, 17); $this->FILES[$FileCount]["TotalRevs"] = trim(substr($TempLine, 0, strpos($TempLine, ";"))); $this->FILES[$FileCount]["SelectedRevs"] = trim(substr($TempLine, strpos($TempLine, ";")+22)); --- 895,899 ---- // Process the Total Revisions. if (strncmp($Line, "total revisions:", 16) == 0) { ! $TempLine = substr($Line, 17); $this->FILES[$FileCount]["TotalRevs"] = trim(substr($TempLine, 0, strpos($TempLine, ";"))); $this->FILES[$FileCount]["SelectedRevs"] = trim(substr($TempLine, strpos($TempLine, ";")+22)); *************** *** 900,904 **** // Process the description. if (strncmp($Line, "description:", 12) == 0) { ! $this->FILES[$FileCount]["Description"] = trim(substr($Line, 13)); $LineProcessed = true; } --- 903,907 ---- // Process the description. if (strncmp($Line, "description:", 12) == 0) { ! $this->FILES[$FileCount]["Description"] = trim(substr($Line, 13)); $LineProcessed = true; } *************** *** 906,920 **** // Process the individual revision information. if (strncmp($Line, "-------------", 13) == 0) { ! $LineProcessed = true; } // Get this revision number. if (strncmp($Line, "revision", 8) == 0) { ! $CurrentRevision = substr($Line, 9); $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["Revision"] = $CurrentRevision; $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["LogMessage"] = ""; if ($PreviousRevision != "") { $this->FILES[$FileCount]["Revisions"]["$PreviousRevision"]["PrevRevision"] = $CurrentRevision; } $PreviousRevision = $CurrentRevision; $LineProcessed = true; --- 909,933 ---- // Process the individual revision information. if (strncmp($Line, "-------------", 13) == 0) { ! $LineProcessed = true; } // Get this revision number. if (strncmp($Line, "revision", 8) == 0) { ! $CurrentRevision = substr($Line, 9); $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["Revision"] = $CurrentRevision; $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["LogMessage"] = ""; + + // hack: set branches default for current version + $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["Branches"] = "Main"; + if ($PreviousRevision != "") { $this->FILES[$FileCount]["Revisions"]["$PreviousRevision"]["PrevRevision"] = $CurrentRevision; } + + // temporary solution for initial file revision not having a previous version to create a diff + if ($CurrentRevision == "1.1") { + $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["PrevRevision"] = ""; + } + $PreviousRevision = $CurrentRevision; $LineProcessed = true; *************** *** 923,927 **** // Get the Date, Author, State and Lines of this revision. if (strncmp($Line, "date:", 5) == 0) { ! $Segment = explode(";", $Line); foreach($Segment as $Part){ $SepPos = trim(strpos($Part, ":")); --- 936,940 ---- // Get the Date, Author, State and Lines of this revision. if (strncmp($Line, "date:", 5) == 0) { ! $Segment = explode(";", $Line); foreach($Segment as $Part){ $SepPos = trim(strpos($Part, ":")); *************** *** 936,940 **** if (strncmp($Line, "branches:", 9) == 0) { $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["Branches"] = trim(substr($Line, 10)); ! $LineProcessed = true; } --- 949,954 ---- if (strncmp($Line, "branches:", 9) == 0) { $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["Branches"] = trim(substr($Line, 10)); ! //$this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["Branches"] = (strlen($Line) > 9) ? trim(substr($Line, 10)) : "Main"; ! $LineProcessed = true; } *************** *** 948,956 **** if (!$LineProcessed) { if (strlen($this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["LogMessage"]) > 0) { ! $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["LogMessage"] .= "\n"; } $Line = trim($Line); if ($Line != "") { ! $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["LogMessage"] .= trim($Line); } } --- 962,970 ---- if (!$LineProcessed) { if (strlen($this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["LogMessage"]) > 0) { ! $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["LogMessage"] .= "\n"; } $Line = trim($Line); if ($Line != "") { ! $this->FILES[$FileCount]["Revisions"]["$CurrentRevision"]["LogMessage"] .= trim($Line); } } *************** *** 976,989 **** if (!$this->sendUseUnchanged()) { ! return false; } if (!$this->sendArgument("--")) { ! return false; } $SlashPos = strrpos($Name, "/"); if ($SlashPos > -1) { ! $Directory = substr($Name, 0, $SlashPos); } else { $Directory = "/"; --- 990,1003 ---- if (!$this->sendUseUnchanged()) { ! return false; } if (!$this->sendArgument("--")) { ! return false; } $SlashPos = strrpos($Name, "/"); if ($SlashPos > -1) { ! $Directory = substr($Name, 0, $SlashPos); } else { $Directory = "/"; *************** *** 991,1015 **** if (!$this->sendDirectory($Directory)) { ! return false; } if (!$this->sendStaticDirectory()) { ! return false; } if (!$this->sendEntry($Name, $Revision)) { ! return false; } if (!$this->sendUnchanged($Name)) { ! return false; } if (!$this->sendDirectory(".")) { ! return false; } if (strncmp($Name, "/", 1) == 0) { ! $Arg = substr($Name, 1); } else { $Arg = $Name; --- 1005,1029 ---- if (!$this->sendDirectory($Directory)) { ! return false; } if (!$this->sendStaticDirectory()) { ! return false; } if (!$this->sendEntry($Name, $Revision)) { ! return false; } if (!$this->sendUnchanged($Name)) { ! return false; } if (!$this->sendDirectory(".")) { ! return false; } if (strncmp($Name, "/", 1) == 0) { ! $Arg = substr($Name, 1); } else { $Arg = $Name; *************** *** 1017,1025 **** if (!$this->sendArgument($Arg)) { ! return false; } if (!$this->sendAnnotate()) { ! return false; } --- 1031,1039 ---- if (!$this->sendArgument($Arg)) { ! return false; } if (!$this->sendAnnotate()) { ! return false; } *************** *** 1060,1064 **** if (strncmp($FileName, "/", 1) == 0) { ! $FName = substr($FileName, 1); } else { $FName = $FileName; --- 1074,1078 ---- if (strncmp($FileName, "/", 1) == 0) { ! $FName = substr($FileName, 1); } else { $FName = $FileName; *************** *** 1066,1110 **** if (!$this->sendUseUnchanged()) { ! return false; } if (!$this->sendArgument($FName)) { ! return false; } if (!$this->sendDirectory(".")) { ! return false; } if (!$this->sendExpandModules()) { ! return false; } if (!$this->sendArgument("-N")) { ! return false; } if (!$this->sendArgument("-D")) { ! return false; } if (!$this->sendArgument(strftime("%d %b %Y %H:%M:%S -0000", $DateTime))) { ! return false; } if (!$this->sendArgument("--")) { ! return false; } if (!$this->sendArgument($FName)) { ! return false; } if (!$this->sendDirectory(".")) { ! return false; } if (!$this->sendExportFile()) { ! return false; } --- 1080,1124 ---- if (!$this->sendUseUnchanged()) { ! return false; } if (!$this->sendArgument($FName)) { ! return false; } if (!$this->sendDirectory(".")) { ! return false; } if (!$this->sendExpandModules()) { ! return false; } if (!$this->sendArgument("-N")) { ! return false; } if (!$this->sendArgument("-D")) { ! return false; } if (!$this->sendArgument(strftime("%d %b %Y %H:%M:%S -0000", $DateTime))) { ! return false; } if (!$this->sendArgument("--")) { ! return false; } if (!$this->sendArgument($FName)) { ! return false; } if (!$this->sendDirectory(".")) { ! return false; } if (!$this->sendExportFile()) { ! return false; } *************** *** 1133,1140 **** foreach ($Lines as $Line) { if (strncmp($Line, '#', 1) != 0) { ! // Process the line. $Elements = explode(" ", $Line); if (count($Elements) > 1) { ! $Results[$Elements[0]] = $Elements[1]; } } --- 1147,1154 ---- foreach ($Lines as $Line) { if (strncmp($Line, '#', 1) != 0) { ! // Process the line. $Elements = explode(" ", $Line); if (count($Elements) > 1) { ! $Results[$Elements[0]] = $Elements[1]; } } *************** *** 1226,1230 **** // Return Value: void - none. // *************************************************************************** ! function debug($foo, $bar = ""){ echo "<pre>"; switch($bar){ --- 1240,1245 ---- // Return Value: void - none. // *************************************************************************** ! function debug($foo, $bar = "") ! { echo "<pre>"; switch($bar){ *************** *** 1237,1242 **** break; case "print_r": - default: echo print_r($foo); } echo '</pre>'; --- 1252,1258 ---- break; case "print_r": echo print_r($foo); + default: + echo $foo; } echo '</pre>'; |
From: Sail L. <sa...@us...> - 2005-02-21 03:55:25
|
Update of /cvsroot/phpcvsview/phpcvsview/languages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6469 Modified Files: cn.php Log Message: Added top message translation by Sail Lee Index: cn.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/languages/cn.php,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** cn.php 7 Feb 2005 10:03:16 -0000 1.1 --- cn.php 21 Feb 2005 03:55:15 -0000 1.2 *************** *** 14,20 **** /** * ·Òë˵Ã÷£º°ÑÕâ¸öÎļþ·ÒëÁËÒԺ󣬲ÅÖªµÀ×Ô¼ºË®Æ½»¹ÊǺÜÓÐÏÞ¡£Ìرð¶ÔijЩ´ÊÓïµÄ°ÑÎÕÉÏ£¬Ã»Óеס£ ! * Ï£Íû¸÷λ¶à¸øÒâ¼ûºÍÅúÆÀ¡£Ò³Ã濪ʼµÄÄǶÎBrainµÄ˵Ã÷£¬ÊµÔÚÊÇ·ÒëµÄ²»ºÃ£¬ËùÒԾͱ£Áô ! * ÔÎÄÁË¡£ ! * Sail Lee <sai...@21...> **/ --- 14,19 ---- /** * ·Òë˵Ã÷£º°ÑÕâ¸öÎļþ·ÒëÁËÒԺ󣬲ÅÖªµÀ×Ô¼ºË®Æ½»¹ÊǺÜÓÐÏÞ¡£Ìرð¶ÔijЩ´ÊÓïµÄ°ÑÎÕÉÏ£¬Ã»Óеס£ ! * Ï£Íû¸÷λ¶à¸øÒâ¼ûºÍÅúÆÀ¡£Ò³Ã濪ʼµÄÄǶÎBrainµÄ˵Ã÷£¬ÊµÔÚÊÇ·ÒëµÄ²»ºÃ£¬ËùÒԾ͡°Ó² ! * ·¡±ÁË¡£Sail Lee <sai...@21...> **/ *************** *** 22,94 **** // listing options ! $lang['file'] = 'Îļþ'; ! $lang['rev'] = '°æ´Î'; ! $lang['age'] = 'ʱÏÞ'; ! $lang['author'] = '×÷Õß'; ! $lang['last_log'] = '×î½ü¸üÐÂÈÕÖ¾'; // customization options ! $lang['language'] = '¼òÌåÖÐÎÄ'; ! $lang['theme'] = '¸ü¸Ä°æÃæ·ç¸ñ: '; // quick link bar listing ! $lang['change_theme'] = '¸ü¸Ä°æÃæ·ç¸ñ: '; ! $lang['change_lang'] = 'ÓïÑÔ: '; ! $lang['change_cvsroot'] = 'CVSÔ´Âë¿â: '; ! $lang['up_folder'] = 'ÉÏһĿ¼'; ! $lang['rev_history'] = 'ÒÔÏÂÎļþµÄ°æ´ÎÀúÊ·: '; ! $lang['rev_diff'] = 'ÒÔÏÂÎļþµÄ°æ´Î¶Ô±È: '; ! $lang['code_view'] = 'ÒÔÏÂÎļþµÄ´úÂëä¯ÀÀ: '; ! $lang['navigate_to'] = 'Ŀ¼µ¼º½: '; ! $lang['file_ext'] = 'ÎļþÀ©Õ¹Ãû: '; ! $lang['annotate_history'] = 'ÒÔÏÂÎļþµÄ×¢ÊÍÀúÊ·: '; ! $lang['mime_type'] = 'ýÌåÀàÐÍ: '; // time and date related ! $lang['year'] = 'Äê'; ! $lang['years'] = 'Äê'; ! $lang['week'] = 'ÖÜ'; ! $lang['weeks'] = 'ÖÜ'; ! $lang['day'] = 'ÈÕ'; ! $lang['days'] = 'ÈÕ'; ! $lang['hour'] = 'Сʱ'; ! $lang['hours'] = 'Сʱ'; ! $lang['minute'] = '·ÖÖÓ'; ! $lang['minutes'] = '·ÖÖÓ'; ! $lang['second'] = 'Ãë'; ! $lang['seconds'] = 'Ãë'; ! $lang['ago'] = 'ǰ'; // navigation path ! $lang['root'] = '¸ùĿ¼'; // top message ! //$lang['message'] = '<p>»¶ÓʹÓý¨Á¢ÓÚSourceForge.netÉÏphpCVSViewÏîÄ¿µÄCVSÔ´Âë¿âä¯ÀÀϵͳ¡£</p><p>±¾ÏîÄ¿µÄÄ¿µÄ¾ÍÊÇÒª½¨Á¢Ò»¸öPHPÓ¦ÓóÌÐòºÍÀ࣬Ìṩ¸ø´ó¼Ò´æÈ¡»ùÓÚCVSµÄÔ´Âë¿âThe goal of this project is simply to build a php application/class to provide access to a CVS based source control repository over the various connectivity mechanisms available for CVS in general. There are also some extensions to this goal planned for future releases such as a full web-based CVS client utilising the core of this project.</p><p>So please feel free to look at our code, suggest features, test the code in your own environment, submit bugs, and most of all support the commitment of the open source developers by using the many wonderful products available.</p><p>Kindest Regards,<br />Brian Cheeseman. <br />phpCVSView Project Leader.</p>'; ! $lang['message'] = '<p>Welcome to the CVS Repository viewing system for the phpCVSView project hosted at SourceForge.net</p><p>The goal of this project is simply to build a php application/class to provide access to a CVS based source control repository over the various connectivity mechanisms available for CVS in general. There are also some extensions to this goal planned for future releases such as a full web-based CVS client utilising the core of this project.</p><p>So please feel free to look at our code, suggest features, test the code in your own environment, submit bugs, and most of all support the commitment of the open source developers by using the many wonderful products available.</p><p>Kindest Regards,<br />Brian Cheeseman. <br />phpCVSView Project Leader.</p>'; // bottom messages ! $lang['generated'] = '±¾Ò³ÃæÓÉ <a href="http://phpcvsview.sourceforge.net/">phpCVSView</a> Éú³É£¬¹² '; ! $lang['created_by'] = 'phpCVSView ÏîÄ¿ÓÉ <a href="mailto:bch...@us...">Brian Cheeseman</a> ºÍ <a href="mailto:si...@us...">Sijis Aviles</a> ½¨Á¢.'; // file options ! $lang['view'] = 'ä¯ÀÀ'; ! $lang['download'] = 'ÏÂÔØ'; ! $lang['diff'] = 'ºÍÉÏÒ»°æ¶Ô±È'; ! $lang['annotate'] = '×¢ÊÍ'; // file details ! $lang['revision'] = '°æ´Î'; ! $lang['last_checkin'] = 'ÉÏÒ»¼ìÈëÈÕÆÚ:'; ! $lang['notice'] = 'ͨ¸æ:'; ! $lang['branch'] = '·ÖÖ§:'; ! $lang['date'] = 'ÈÕÆÚ:'; ! $lang['time'] = 'ʱ¼ä:'; ! $lang['state'] = '״̬:'; ! $lang['changes'] = '×ÔÉÏÒ»°æ±¾µÄÐÞ¸Ä '; ! $lang['log_message'] = 'ÈÕÖ¾ÐÅÏ¢:'; // error messages ! $lang['err_connect'] = '<h2>´íÎó: ²»ÄÜÁ¬½Óµ½PServer·þÎñÆ÷¡£</h2>'."\n"; ! $lang['err_get_rev'] = '<h3>´íÎó: ÌáÈ¡ÒÔϰæ´ÎµÄÎļþ³ö´í:</h3>'; ?> --- 21,92 ---- // listing options ! $lang['file'] = 'Îļþ'; ! $lang['rev'] = '°æ´Î'; ! $lang['age'] = 'ʱÏÞ'; ! $lang['author'] = '×÷Õß'; ! $lang['last_log'] = '×î½ü¸üÐÂÈÕÖ¾'; // customization options ! $lang['language'] = '¼òÌåÖÐÎÄ'; ! $lang['theme'] = '¸ü¸Ä°æÃæ·ç¸ñ: '; // quick link bar listing ! $lang['change_theme'] = '¸ü¸Ä°æÃæ·ç¸ñ: '; ! $lang['change_lang'] = 'ÓïÑÔ: '; ! $lang['change_cvsroot'] = 'CVSÔ´Âë¿â: '; ! $lang['up_folder'] = 'ÉÏһĿ¼'; ! $lang['rev_history'] = 'ÒÔÏÂÎļþµÄ°æ´ÎÀúÊ·: '; ! $lang['rev_diff'] = 'ÒÔÏÂÎļþµÄ°æ´Î¶Ô±È: '; ! $lang['code_view'] = 'ÒÔÏÂÎļþµÄ´úÂëä¯ÀÀ: '; ! $lang['navigate_to'] = 'Ŀ¼µ¼º½: '; ! $lang['file_ext'] = 'ÎļþÀ©Õ¹Ãû: '; ! $lang['annotate_history'] = 'ÒÔÏÂÎļþµÄ×¢ÊÍÀúÊ·: '; ! $lang['mime_type'] = 'ýÌåÀàÐÍ: '; // time and date related ! $lang['year'] = 'Äê'; ! $lang['years'] = 'Äê'; ! $lang['week'] = 'ÖÜ'; ! $lang['weeks'] = 'ÖÜ'; ! $lang['day'] = 'ÈÕ'; ! $lang['days'] = 'ÈÕ'; ! $lang['hour'] = 'Сʱ'; ! $lang['hours'] = 'Сʱ'; ! $lang['minute'] = '·ÖÖÓ'; ! $lang['minutes'] = '·ÖÖÓ'; ! $lang['second'] = 'Ãë'; ! $lang['seconds'] = 'Ãë'; ! $lang['ago'] = 'ǰ'; // navigation path ! $lang['root'] = '¸ùĿ¼'; // top message ! $lang['message'] = '<p>»¶ÓʹÓý¨Á¢ÓÚSourceForge.netÉÏphpCVSViewÏîÄ¿µÄCVSÔ´Âë¿âä¯ÀÀϵͳ¡£</p><p>±¾ÏîÄ¿µÄÄ¿µÄ¾ÍÊÇÒª¼òµ¥µØ½¨Á¢Ò»¸öPHPÓ¦ÓóÌÐò/À࣬ÔÚ²»Í¬µÄCVSÁ¬½Ó»úÖÆÉÏ£¬Ìṩ»ùÓÚCVSÔ´Âë¿âµÄ´æÈ¡¡£Õâ¸öÏîÄ¿µÄÒÔºó°æ±¾»¹»áÓÐһЩÀ©Õ¹³É¹û£¬±ÈÈçÒ»¸öÈ«ÃæµÄ»ùÓÚWEBµÄCVS¿Í»§¶ËÈí¼þ£¬Ëü¾Í²ÉÓÃÁËÕâ¸öÏîÄ¿µÄºËÐļ¼Êõ.</p><p>ËùÒÔ£¬»¶Ó´ó¼Ò¹Ø×¢ÎÒÃǵĴúÂ룬Ìá³öÄãµÄÐèÇó£¬ÔÚÌØ¶¨µÄ»·¾³Àï²âÊÔÎÒÃǵĴúÂ룬Ìá½»Äã·¢ÏÖµÄÎÊÌ⣬ÄÜÈôó¼ÒʹÓøü¶àµÄºÃ²úÆ·ÊÇ¿ªÔ´¿ª·¢ÕßÃǵÄ×î´óÔðÈΡ£</p><p>´ËÖ³ÏÖ¿µÄ×£Ô¸,<br />Brian Cheeseman. <br />phpCVSViewÏîÄ¿Áìµ¼ÈË</p>'; // bottom messages ! $lang['generated'] = '±¾Ò³ÃæÓÉ <a href="http://phpcvsview.sourceforge.net/">phpCVSView</a> Éú³É£¬¹² '; ! $lang['created_by'] = 'phpCVSView ÏîÄ¿ÓÉ <a href="mailto:bch...@us...">Brian Cheeseman</a> ºÍ <a href="mailto:si...@us...">Sijis Aviles</a> ½¨Á¢.'; // file options ! $lang['view'] = 'ä¯ÀÀ'; ! $lang['download'] = 'ÏÂÔØ'; ! $lang['diff'] = 'ºÍÉÏÒ»°æ¶Ô±È'; ! $lang['annotate'] = '×¢ÊÍ'; // file details ! $lang['revision'] = '°æ´Î'; ! $lang['last_checkin'] = 'ÉÏÒ»¼ìÈëÈÕÆÚ:'; ! $lang['notice'] = 'ͨ¸æ:'; ! $lang['branch'] = '·ÖÖ§:'; ! $lang['date'] = 'ÈÕÆÚ:'; ! $lang['time'] = 'ʱ¼ä:'; ! $lang['state'] = '״̬:'; ! $lang['changes'] = '×ÔÉÏÒ»°æ±¾µÄÐÞ¸Ä '; ! $lang['log_message'] = 'ÈÕÖ¾ÐÅÏ¢:'; // error messages ! $lang['err_connect'] = '<h2>´íÎó: ²»ÄÜÁ¬½Óµ½PServer·þÎñÆ÷¡£</h2>'."\n"; ! $lang['err_get_rev'] = '<h3>´íÎó: ÌáÈ¡ÒÔϰæ´ÎµÄÎļþ³ö´í:</h3>'; ?> |
From: Brian C. <bch...@us...> - 2005-02-18 23:30:38
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6090 Modified Files: func_FileView.php Log Message: Fixed the code writing to the file view cache so that it doesn't create it when caching disabled. Index: func_FileView.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileView.php,v retrieving revision 1.17 retrieving revision 1.18 diff -C2 -d -r1.17 -r1.18 *** func_FileView.php 18 Feb 2005 10:38:29 -0000 1.17 --- func_FileView.php 18 Feb 2005 23:30:29 -0000 1.18 *************** *** 38,43 **** mkdir($CachedFileName, 0750); } } - $CachedFileName .= "/".str_replace("/", "_", $File).",$Revision"; if (file_exists($CachedFileName) && $config['Cache']['Enable']) { $fd = fopen($CachedFileName, "r"); --- 38,43 ---- mkdir($CachedFileName, 0750); } + $CachedFileName .= "/".str_replace("/", "_", $File).",$Revision"; } if (file_exists($CachedFileName) && $config['Cache']['Enable']) { $fd = fopen($CachedFileName, "r"); *************** *** 82,91 **** $hlcontent = $geshi->parse_code(); ! // Store in the current cache. ! $fd = fopen($CachedFileName, "w"); ! if ($fd !== false) { ! fwrite($fd, '<table class="source"><tr><td>'.$hlcontent.'</td></tr></table>'); ! fclose($fd); ! } // Display the file contents. --- 82,93 ---- $hlcontent = $geshi->parse_code(); ! // Store in the current cache. ! if ($config['Cache']['Enable']) { ! $fd = fopen($CachedFileName, "w"); ! if ($fd !== false) { ! fwrite($fd, '<table class="source"><tr><td>'.$hlcontent.'</td></tr></table>'); ! fclose($fd); ! } ! } // Display the file contents. *************** *** 102,108 **** $soure_size = sizeof($source); ! $fd = fopen($CachedFileName, "w"); ! if ($fd !== false) { ! fwrite($fd, "<pre>\n"); } echo "<pre>\n"; --- 104,116 ---- $soure_size = sizeof($source); ! if ($config['Cache']['Enable']) { ! $fd = fopen($CachedFileName, "w"); ! if ($fd !== false) { ! fwrite($fd, "<pre>\n"); ! } ! } ! else ! { ! $fd = false; } echo "<pre>\n"; |
From: Brian C. <bch...@us...> - 2005-02-18 11:40:34
|
Update of /cvsroot/phpcvsview/phpcvsview/languages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25188/languages Modified Files: en.php Log Message: Fixed spelling/gramatical error. Index: en.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/languages/en.php,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** en.php 4 Feb 2005 09:52:55 -0000 1.3 --- en.php 18 Feb 2005 11:40:24 -0000 1.4 *************** *** 19,23 **** $lang['age'] = 'Age'; $lang['author'] = 'Author'; ! $lang['last_log'] = 'Last Lost Entry'; // customization options --- 19,23 ---- $lang['age'] = 'Age'; $lang['author'] = 'Author'; ! $lang['last_log'] = 'Last Log Entry'; // customization options |
From: Brian C. <bch...@us...> - 2005-02-18 10:38:37
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv9023 Modified Files: func_FileView.php Log Message: Added comment giving credit to Nigel McNie for idea of adding caching to the file viewer. Index: func_FileView.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileView.php,v retrieving revision 1.16 retrieving revision 1.17 diff -C2 -d -r1.16 -r1.17 *** func_FileView.php 18 Feb 2005 10:30:24 -0000 1.16 --- func_FileView.php 18 Feb 2005 10:38:29 -0000 1.17 *************** *** 10,13 **** --- 10,16 ---- * @version $Id$ * @copyright 2003-2005 Brian A Cheeseman + * + * Thanks To: + * Nigel McNie - Suggestion of Caching of source code from repository, hence improving efficiency. **/ |
From: Brian C. <bch...@us...> - 2005-02-18 10:30:32
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7462 Modified Files: func_FileView.php Log Message: Added Cache functionality. Index: func_FileView.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/func_FileView.php,v retrieving revision 1.15 retrieving revision 1.16 diff -C2 -d -r1.15 -r1.16 *** func_FileView.php 4 Feb 2005 09:45:24 -0000 1.15 --- func_FileView.php 18 Feb 2005 10:30:24 -0000 1.16 *************** *** 26,93 **** echo GetPageHeader($env['CVSSettings']['html_title'], $env['CVSSettings']['html_header']); ! // Connect to the CVS server. ! if ($CVSServer->Connect() === true) { ! ! // Authenticate against the server. ! $Response = $CVSServer->Authenticate(); ! if ($Response !== true) { ! return; } ! ! // Get a RLOG of the module path specified in $env['mod_path']. ! $CVSServer->RLog($env['mod_path']); ! ! // "Export" the file. ! $Response = $CVSServer->ExportFile($File, $Revision); ! if ($Response !== true) { ! return; } ! ! // Add the quick link navigation bar. ! echo GetQuickLinkBar($lang['code_view'], true, true, $Revision); ! ! echo "<hr />\n"; ! ! if ($config['GeSHi']['Enable']) { ! // Create the GeSHi instance and parse the output. ! // TODO: setup code to auto identify the highlighting class to use for current file. ! $FileExt = substr($File, strrpos($File, '.')+1); ! $Language = guess_highlighter($FileExt); ! if (is_array($Language)) { ! $Language = $Language[0]; } ! ! $geshi = new GeSHi($CVSServer->FILECONTENTS, $Language, $config['GeSHi']['HighlightersPath']); ! $geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS); ! $geshi->set_line_style('background: #fcfcfc;'); ! $geshi->set_tab_width(4); ! $hlcontent = $geshi->parse_code(); ! // Display the file contents. ! echo '<table class="source"><tr><td>'; ! echo $hlcontent; ! echo '</td></tr></table>'; ! } ! else ! { ! $search = array('<', '>', '\n', '\t'); ! $replace = array('<', '>', '', ' '); ! $content = str_replace($search, $replace, $CVSServer->FILECONTENTS); ! $source = explode('\n', $content); ! $soure_size = sizeof($source); ! ! echo "<pre>\n"; ! for($i = 1; $i <= $soure_size; $i++) { ! echo '<a name="'.$i.'" class="numberedLine"> '.str_repeat(' ', strlen($soure_size) - strlen($i)). $i.'.</a> ' . $source[$i-1] . "\n"; } ! echo "</pre>\n"; } - echo "<hr />"; - - // Close the connection. - $CVSServer->Disconnect(); - } else { - echo $lang['err_connect']; } echo GetPageFooter(); } --- 26,126 ---- echo GetPageHeader($env['CVSSettings']['html_title'], $env['CVSSettings']['html_header']); ! // Add the quick link navigation bar. ! echo GetQuickLinkBar($lang['code_view'], true, true, $Revision)."<hr />\n"; ! ! // Check and see if this file and version has already been viewed and exists in the cache. ! if ($config['Cache']['Enable']) { ! $CachedFileName = $config['Cache']['Location']; ! if (!file_exists($CachedFileName)) { ! mkdir($CachedFileName, 0750); } ! } ! $CachedFileName .= "/".str_replace("/", "_", $File).",$Revision"; ! if (file_exists($CachedFileName) && $config['Cache']['Enable']) { ! $fd = fopen($CachedFileName, "r"); ! if ($fd !== false) { ! fpassthru($fd); ! fclose($fd); } ! } ! else ! { ! // Connect to the CVS server. ! if ($CVSServer->Connect() === true) { ! ! // Authenticate against the server. ! $Response = $CVSServer->Authenticate(); ! if ($Response !== true) { ! return; } ! ! // Get a RLOG of the module path specified in $env['mod_path']. ! $CVSServer->RLog($env['mod_path']); ! ! // "Export" the file. ! $Response = $CVSServer->ExportFile($File, $Revision); ! if ($Response !== true) { ! return; ! } ! ! if ($config['GeSHi']['Enable']) { ! // Create the GeSHi instance and parse the output. ! // TODO: setup code to auto identify the highlighting class to use for current file. ! $FileExt = substr($File, strrpos($File, '.')+1); ! $Language = guess_highlighter($FileExt); ! if (is_array($Language)) { ! $Language = $Language[0]; ! } ! ! $geshi = new GeSHi($CVSServer->FILECONTENTS, $Language, $config['GeSHi']['HighlightersPath']); ! $geshi->enable_line_numbers(GESHI_NORMAL_LINE_NUMBERS); ! $geshi->set_line_style('background: #fcfcfc;'); ! $geshi->set_tab_width(4); ! $hlcontent = $geshi->parse_code(); ! ! // Store in the current cache. ! $fd = fopen($CachedFileName, "w"); ! if ($fd !== false) { ! fwrite($fd, '<table class="source"><tr><td>'.$hlcontent.'</td></tr></table>'); ! fclose($fd); ! } ! // Display the file contents. ! echo '<table class="source"><tr><td>'; ! echo $hlcontent; ! echo '</td></tr></table>'; } ! else ! { ! $search = array('<', '>', '\n', '\t'); ! $replace = array('<', '>', '', ' '); ! $content = str_replace($search, $replace, $CVSServer->FILECONTENTS); ! $source = explode('\n', $content); ! $soure_size = sizeof($source); ! ! $fd = fopen($CachedFileName, "w"); ! if ($fd !== false) { ! fwrite($fd, "<pre>\n"); ! } ! echo "<pre>\n"; ! for($i = 1; $i <= $soure_size; $i++) { ! $line = '<a name="'.$i.'" class="numberedLine"> '.str_repeat(' ', strlen($soure_size) - strlen($i)). $i.'.</a> ' . $source[$i-1] . "\n"; ! if ($fd !== false) { ! fwrite($fd, $line); ! } ! echo $line; ! } ! if ($fd !== false) { ! fwrite($fd, "</pre>\n"); ! } ! echo "</pre>\n"; ! } ! // Close the connection. ! $CVSServer->Disconnect(); ! } else { ! echo $lang['err_connect']; } } + echo "<hr />"; echo GetPageFooter(); } |
From: Brian C. <bch...@us...> - 2005-02-18 10:29:50
|
Update of /cvsroot/phpcvsview/phpcvsview In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7273 Modified Files: config.php Log Message: Added configuration details for Cache functionality. Index: config.php =================================================================== RCS file: /cvsroot/phpcvsview/phpcvsview/config.php,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -d -r1.12 -r1.13 *** config.php 3 Feb 2005 23:47:29 -0000 1.12 --- config.php 18 Feb 2005 10:29:42 -0000 1.13 *************** *** 50,52 **** --- 50,56 ---- $config['TempFileLocation'] = "/tmp"; + // Settings for Output Cache. + $config['Cache']['Enable'] = true; + $config['Cache']['Location'] = "/tmp/phpCVSViewCache"; + ?> |
From: Brian C. <bch...@us...> - 2005-02-11 06:38:02
|
Update of /cvsroot/phpcvsview/phpcvsview/languages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv14510/languages Added Files: de.php Log Message: Added language file for German --- NEW FILE: de.php --- <?php /** * This source code is distributed under the terms as layed out in the * GNU General Public License. * * Purpose: German translation file. * * @author Sijis Aviles <si...@us...> * @version $Id: de.php,v 1.1 2005/02/11 06:37:51 bcheesem Exp $ * @copyright 2003-2005 Brian A Cheeseman **/ $lang['encoding'] = 'iso-8859-16'; //needed for german umlauts, otherwise ä has to be ae, ö has to be oe, ü has to be ue // listing options $lang['file'] = 'Datei'; $lang['rev'] = 'Rev.'; $lang['age'] = 'Alter'; $lang['author'] = 'Autor'; $lang['last_log'] = 'Letzter Logeintrag'; // customization options $lang['language'] = 'Deutsch'; $lang['theme'] = 'Theme ändern: '; // quick link bar listing $lang['change_theme'] = 'Theme ändern: '; $lang['change_lang'] = 'Sprache: '; $lang['change_cvsroot'] = 'CVS Repository: '; $lang['up_folder'] = 'Einen Ordner nach oben'; $lang['rev_history'] = 'Revisionsgeschichte für: '; $lang['rev_diff'] = 'Revisionunterschied für: '; $lang['code_view'] = 'Codeansicht für: '; $lang['navigate_to'] = 'Navigieren zu: '; $lang['file_ext'] = 'Dateiendung: '; $lang['annotate_history'] = 'Kommentargeschichte für: '; $lang['mime_type'] = 'Mime-Type ist: '; // time and date related $lang['year'] = 'Jahr'; $lang['years'] = 'Jahre'; $lang['week'] = 'Woche'; $lang['weeks'] = 'Wochen'; $lang['day'] = 'Tag'; $lang['days'] = 'Tage'; $lang['hour'] = 'Stunde'; $lang['hours'] = 'Stunden'; $lang['minute'] = 'Minute'; $lang['minutes'] = 'Minuten'; $lang['second'] = 'Sekunde'; $lang['seconds'] = 'Sekunden'; $lang['ago'] = 'her'; // if meant "Last change one hour ago" this translation is okay. But the best thing here would be: Letzte (last) Änderung (change) vor(ago) 1 Stunde (hour). If you mean something other please contact me again // navigation path $lang['root'] = 'Root'; // top message $lang['message'] = '<p>Willkommen beim CVS Repository viewing system für das phpCVSView Projekt gehosted von SourceForge.net</p><p>Ziel des Projektes ist es, eine php Anwendung/Klasse zu erstellen, die den Zugang zu CVS basierten Quellcoderepositorien über die unterschiedlichen CVS Verbindungsmechanismen herstellt. Es sind auch weitere Erweiterungen für zukünftige Releases geplant, so zum Beispiel ein Web basierter CVS Client.</p><p>Ihr seid eingeladen, Euch unseren Code anzuschauen, neue Features vorzuschlagen, den Code in Eurer eigenen Umgebung zu testen, Bugs zu melden onment, submit bugs, und natürlich das Engagement der Open Source Entwickler durch Nutzung der vielen wunderbaren Produkte zu unterstützen.</p><p>Mit freundlichen Grüßen,<br />Brian Cheeseman. <br />phpCVSView Project Leader.</p>'; // bottom messages $lang['generated'] = 'Diese Seite wurde erstellt von <a href="http://phpcvsview.sourceforge.net/">phpCVSView</a> in '; $lang['created_by'] = 'phpCVSView erstellt von <a href="mailto:bch...@us...">Brian Cheeseman</a> und <a href="mailto:si...@us...">Sijis Aviles</a>.'; // file options $lang['view'] = 'ansehen'; $lang['download'] = 'herunterladen'; $lang['diff'] = 'Unterschied zum vorhergehenden'; $lang['annotate'] = 'Anmerkung'; // file details $lang['revision'] = 'Revision'; $lang['last_checkin'] = 'Letzter Checkin:'; $lang['notice'] = 'Notiz:'; $lang['branch'] = 'Branch:'; $lang['date'] = 'Datum:'; $lang['time'] = 'Zeit:'; $lang['state'] = 'State:'; $lang['changes'] = 'Änderungen seit '; $lang['log_message'] = 'Log Nachricht:'; // error messages $lang['err_connect'] = '<h2>FEHLER: Verbindung zum PServer fehlgeschlagen.</h2>'."\n"; $lang['err_get_rev'] = '<h3>FEHLER: Empfange Revision für Datei:</h3>'; ?> |
From: Sail L. <sa...@us...> - 2005-02-07 10:03:33
|
Update of /cvsroot/phpcvsview/phpcvsview/languages In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6421 Added Files: cn.php Log Message: Add language file for Simplified Chinese as translated by Sail Lee --- NEW FILE: cn.php --- <?php /** * This source code is distributed under the terms as layed out in the * GNU General Public License. * * Purpose: English translation file. * * @author Sijis Aviles <si...@us...> * @version $Id: cn.php,v 1.1 2005/02/07 10:03:16 saillee Exp $ * @copyright 2003-2005 Brian A Cheeseman **/ /** * ·Òë˵Ã÷£º°ÑÕâ¸öÎļþ·ÒëÁËÒԺ󣬲ÅÖªµÀ×Ô¼ºË®Æ½»¹ÊǺÜÓÐÏÞ¡£Ìرð¶ÔijЩ´ÊÓïµÄ°ÑÎÕÉÏ£¬Ã»Óеס£ * Ï£Íû¸÷λ¶à¸øÒâ¼ûºÍÅúÆÀ¡£Ò³Ã濪ʼµÄÄǶÎBrainµÄ˵Ã÷£¬ÊµÔÚÊÇ·ÒëµÄ²»ºÃ£¬ËùÒԾͱ£Áô * ÔÎÄÁË¡£ * Sail Lee <sai...@21...> **/ $lang['encoding'] = 'GB2312'; // listing options $lang['file'] = 'Îļþ'; $lang['rev'] = '°æ´Î'; $lang['age'] = 'ʱÏÞ'; $lang['author'] = '×÷Õß'; $lang['last_log'] = '×î½ü¸üÐÂÈÕÖ¾'; // customization options $lang['language'] = '¼òÌåÖÐÎÄ'; $lang['theme'] = '¸ü¸Ä°æÃæ·ç¸ñ: '; // quick link bar listing $lang['change_theme'] = '¸ü¸Ä°æÃæ·ç¸ñ: '; $lang['change_lang'] = 'ÓïÑÔ: '; $lang['change_cvsroot'] = 'CVSÔ´Âë¿â: '; $lang['up_folder'] = 'ÉÏһĿ¼'; $lang['rev_history'] = 'ÒÔÏÂÎļþµÄ°æ´ÎÀúÊ·: '; $lang['rev_diff'] = 'ÒÔÏÂÎļþµÄ°æ´Î¶Ô±È: '; $lang['code_view'] = 'ÒÔÏÂÎļþµÄ´úÂëä¯ÀÀ: '; $lang['navigate_to'] = 'Ŀ¼µ¼º½: '; $lang['file_ext'] = 'ÎļþÀ©Õ¹Ãû: '; $lang['annotate_history'] = 'ÒÔÏÂÎļþµÄ×¢ÊÍÀúÊ·: '; $lang['mime_type'] = 'ýÌåÀàÐÍ: '; // time and date related $lang['year'] = 'Äê'; $lang['years'] = 'Äê'; $lang['week'] = 'ÖÜ'; $lang['weeks'] = 'ÖÜ'; $lang['day'] = 'ÈÕ'; $lang['days'] = 'ÈÕ'; $lang['hour'] = 'Сʱ'; $lang['hours'] = 'Сʱ'; $lang['minute'] = '·ÖÖÓ'; $lang['minutes'] = '·ÖÖÓ'; $lang['second'] = 'Ãë'; $lang['seconds'] = 'Ãë'; $lang['ago'] = 'ǰ'; // navigation path $lang['root'] = '¸ùĿ¼'; // top message //$lang['message'] = '<p>»¶ÓʹÓý¨Á¢ÓÚSourceForge.netÉÏphpCVSViewÏîÄ¿µÄCVSÔ´Âë¿âä¯ÀÀϵͳ¡£</p><p>±¾ÏîÄ¿µÄÄ¿µÄ¾ÍÊÇÒª½¨Á¢Ò»¸öPHPÓ¦ÓóÌÐòºÍÀ࣬Ìṩ¸ø´ó¼Ò´æÈ¡»ùÓÚCVSµÄÔ´Âë¿âThe goal of this project is simply to build a php application/class to provide access to a CVS based source control repository over the various connectivity mechanisms available for CVS in general. There are also some extensions to this goal planned for future releases such as a full web-based CVS client utilising the core of this project.</p><p>So please feel free to look at our code, suggest features, test the code in your own environment, submit bugs, and most of all support the commitment of the open source developers by using the many wonderful products available.</p><p>Kindest Regards,<br />Brian Cheeseman. <br />phpCVSView Project Leader.</p>'; $lang['message'] = '<p>Welcome to the CVS Repository viewing system for the phpCVSView project hosted at SourceForge.net</p><p>The goal of this project is simply to build a php application/class to provide access to a CVS based source control repository over the various connectivity mechanisms available for CVS in general. There are also some extensions to this goal planned for future releases such as a full web-based CVS client utilising the core of this project.</p><p>So please feel free to look at our code, suggest features, test the code in your own environment, submit bugs, and most of all support the commitment of the open source developers by using the many wonderful products available.</p><p>Kindest Regards,<br />Brian Cheeseman. <br />phpCVSView Project Leader.</p>'; // bottom messages $lang['generated'] = '±¾Ò³ÃæÓÉ <a href="http://phpcvsview.sourceforge.net/">phpCVSView</a> Éú³É£¬¹² '; $lang['created_by'] = 'phpCVSView ÏîÄ¿ÓÉ <a href="mailto:bch...@us...">Brian Cheeseman</a> ºÍ <a href="mailto:si...@us...">Sijis Aviles</a> ½¨Á¢.'; // file options $lang['view'] = 'ä¯ÀÀ'; $lang['download'] = 'ÏÂÔØ'; $lang['diff'] = 'ºÍÉÏÒ»°æ¶Ô±È'; $lang['annotate'] = '×¢ÊÍ'; // file details $lang['revision'] = '°æ´Î'; $lang['last_checkin'] = 'ÉÏÒ»¼ìÈëÈÕÆÚ:'; $lang['notice'] = 'ͨ¸æ:'; $lang['branch'] = '·ÖÖ§:'; $lang['date'] = 'ÈÕÆÚ:'; $lang['time'] = 'ʱ¼ä:'; $lang['state'] = '״̬:'; $lang['changes'] = '×ÔÉÏÒ»°æ±¾µÄÐÞ¸Ä '; $lang['log_message'] = 'ÈÕÖ¾ÐÅÏ¢:'; // error messages $lang['err_connect'] = '<h2>´íÎó: ²»ÄÜÁ¬½Óµ½PServer·þÎñÆ÷¡£</h2>'."\n"; $lang['err_get_rev'] = '<h3>´íÎó: ÌáÈ¡ÒÔϰæ´ÎµÄÎļþ³ö´í:</h3>'; ?> |