Author: cmpilato
Date: 2007-04-09 22:01:22-0700
New Revision: 1576
Modified:
branches/1.0.x/templates/include/diff_form.ezt
branches/1.0.x/templates/include/pathrev_form.ezt
Log:
* templates/include/diff_form.ezt,
* templates/include/pathrev_form.ezt
Fix various XHTML validation errors.
Modified: branches/1.0.x/templates/include/diff_form.ezt
Url:
http://viewvc.tigris.org/source/browse/viewvc/branches/1.0.x/templates/include/diff_form.ezt?view=diff&rev=1576&p1=branches/1.0.x/templates/include/diff_form.ezt&p2=branches/1.0.x/templates/include/diff_form.ezt&r1=1575&r2=1576
==============================================================================
--- branches/1.0.x/templates/include/diff_form.ezt (original)
+++ branches/1.0.x/templates/include/diff_form.ezt 2007-04-09 22:01:22-0700
@@ -9,7 +9,7 @@
enter a numeric revision.
[end]
</p>
- <form method="get" action="[diff_select_action]" name="diff_select">
+ <form method="get" action="[diff_select_action]" id="diff_select">
<table cellpadding="2" cellspacing="0" class="auto">
<tr>
@@ -26,7 +26,7 @@
</select>
<input type="text" size="12" name="tr1"
value="[if-any rev_selected][rev_selected][else][first_revision][end]"
- onchange="document.diff_select.r1.selectedIndex=0" />
+ onchange="document.getElementById('diff_select').r1.selectedIndex=0"
/>
[else]
<input type="text" size="12" name="r1"
value="[if-any
rev_selected][rev_selected][else][first_revision][end]" />
@@ -42,7 +42,7 @@
</select>
<input type="text" size="12" name="tr2"
value="[last_revision]"
- onchange="document.diff_select.r1.selectedIndex=0" />
+ onchange="document.getElementById('diff_select').r2.selectedIndex=0"
/>
[else]
<input type="text" size="12" name="r2" value="[last_revision]" />
[end]
Modified: branches/1.0.x/templates/include/pathrev_form.ezt
Url:
http://viewvc.tigris.org/source/browse/viewvc/branches/1.0.x/templates/include/pathrev_form.ezt?view=diff&rev=1576&p1=branches/1.0.x/templates/include/pathrev_form.ezt&p2=branches/1.0.x/templates/include/pathrev_form.ezt&r1=1575&r2=1576
==============================================================================
--- branches/1.0.x/templates/include/pathrev_form.ezt (original)
+++ branches/1.0.x/templates/include/pathrev_form.ezt 2007-04-09 22:01:22-0700
@@ -1,4 +1,5 @@
<form method="get" action="[pathrev_action]" style="display: inline">
+<div style="display: inline">
[pathrev_hidden_values]
[is roottype "cvs"]
[define pathrev_selected][pathrev][end]
@@ -34,16 +35,19 @@
<input type="text" name="pathrev" value="[pathrev]" size="6"/>
[end]
<input type="submit" value="Set" />
+</div>
</form>
[if-any pathrev]
<form method="get" action="[pathrev_clear_action]" style="display: inline">
+<div style="display: inline">
[pathrev_clear_hidden_values]
[if-any lastrev]
- [is pathrev lastrev][else]<input type="submit" value="Set to [lastrev]">[end]
+ [is pathrev lastrev][else]<input type="submit" value="Set to [lastrev]"
/>[end]
(<i>Current path doesn't exist after revision <strong>[lastrev]</strong></i>)
[else]
- <input type="submit" value="Clear">
+ <input type="submit" value="Clear" />
[end]
+</div>
</form>
[end]
|
|