우분투 viewcvs template 수정
글쓴이: atie / 작성시간: 토, 2005/07/16 - 5:30오전
우분투에서 apt-get으로 viewcvs ver 0.9.2+cvs.1.0.dev.2004.07.28-1.3ubuntu1(breezy)를 설치하고, 다음의 3 template을 아래와 같이 수정하여 (viewcvs 소스에서 가져와서) 제대로 동작하게 하였습니다.
/etc/viewcvs/templates/include/branch.ezt
[if-any branch] Default branch: [branch] <br> Bookmark a link to HEAD: (<a href="[view_href]">view</a>) (<a href="[download_href]">download</a>) [if-any download_text_href](<a href="[download_text_href]">as text</a>)[end] [else] No default branch [end] <br>
/etc/viewcvs/templates/include/branch_form.ezt
[if-any branch_names]
<hr noshade>
<a name=branch></a>
<form method=GET action="[branch_select_action]">
[branch_select_hidden_values]
View only Branch:
<select name="only_with_tag" onchange="submit()">
<option value="" [is view_tag ""]selected[end]>Show all branches</option>
[for branch_names]
<option value="[branch_names]" [is branch_names view_tag]selected[end]>[branch_names]</option>
[end]
</select>
<input type=submit value=" View Branch ">
</form>
[end]
/etc/viewcvs/templates/include/footer.ezt
[# standard footer used by all ViewCVS pages ]
<hr noshade>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="left">
<address>[cfg.general.address]</address><br />
Powered by <a href="http://viewcvs.sourceforge.net/">ViewCVS [vsn]</a>
</td>
<td align="right">
<img src="[docroot]/images/logo.png" alt="(Powered by ViewCVS)" border="0"
width="128" height="48" /><br />
<h3><a target="_blank" href="[help_href]">ViewCVS and CVS Help</a></h3>
</td>
</tr>
</table>
</body>
</html>
Forums:


댓글 달기