include CHORA_TEMPLATES . '/annotate/line.inc';
}
+require CHORA_TEMPLATES . '/annotate/footer.inc';
require $registry->get('templates', 'horde') . '/common-footer.inc';
--- /dev/null
+</tbody>
+</table>
<div class="options">
- <span>
+ <div>
<form method="get" action="diff.php">
<?php echo Chora::formInputs() ?>
<input type="hidden" name="f" value="<?php echo htmlspecialchars(Horde_Util::getFormData('f')) ?>" />
</select>
<input class="button" type="submit" value="<?php echo _("Get Diff") ?>" /><br />
</form>
- </span>
+ </div>
</div>
-<table cellspacing="0" class="hrdiff">
-<caption>
- <?php $blank = Horde_Themes::img('blank.gif') ?>
- <img class="unmodified" src="<?php echo $blank ?>" alt="<?php echo _("Unmodified") ?>" /> <?php echo _("Unmodified") ?>
- <img class="added" src="<?php echo $blank ?>" alt="<?php echo _("Added") ?>" /> <?php echo _("Added") ?>
- <img class="modified" src="<?php echo $blank ?>" alt="<?php echo _("Modified") ?>" /> <?php echo _("Modified") ?>
- <img class="removed" src="<?php echo $blank ?>" alt="<?php echo _("Removed") ?>" /> <?php echo _("Removed") ?>
-</caption>
<?php if (!empty($log_messages)): ?>
<h3 class="revision_log"><?php echo _("Log Message") ?></h3>
<div class="revision_log">
<?php endforeach; ?>
</div>
<?php endif; ?>
+
+<table cellspacing="0" class="hrdiff">
+<caption>
+ <?php $blank = Horde_Themes::img('blank.gif') ?>
+ <img class="unmodified" src="<?php echo $blank ?>" alt="<?php echo _("Unmodified") ?>" /> <?php echo _("Unmodified") ?>
+ <img class="added" src="<?php echo $blank ?>" alt="<?php echo _("Added") ?>" /> <?php echo _("Added") ?>
+ <img class="modified" src="<?php echo $blank ?>" alt="<?php echo _("Modified") ?>" /> <?php echo _("Modified") ?>
+ <img class="removed" src="<?php echo $blank ?>" alt="<?php echo _("Removed") ?>" /> <?php echo _("Removed") ?>
+</caption>
<thead>
<tr>
<th><a href="<?php echo Chora::url('co', $where, array('r' => $r1)) ?>" title="<?php echo htmlspecialchars($r1) ?>"><?php printf(_("Version %s"), htmlspecialchars($abbrev_r1)) ?></a></th>
<div class="browsefileoptions">
- <span>
+ <div>
<?php echo _("Search Revisions:") ?>
<input type="text" for="revlog_body" size="20" />
- </span>
+ </div>
- <span>
+ <div>
<?php if (!$browser->hasFeature('javascript')): ?>
<form method="get" action="diff.php">
<?php echo Chora::formInputs() ?>
</form>
<?php endif; ?>
<em><?php printf(_("%1\$s shows diffs to the previous revision. If you select a revision by clicking its row, %1\$s will show the differences to the selected row."), Horde::img('diff.png', _("Show Differences"))) ?></em>
- </span>
+ </div>
<?php if (!empty($selAllBranches)): ?>
- <span>
+ <div>
<form method="get" action="<?php echo Chora::url('browsefile', Horde_Util::getFormData('f')) ?>">
<?php echo _("Show Branch:") ?>
<select name="onb" onchange="this.form.submit()">
</select>
<noscript><input class="button" type="submit" value="<?php echo _("View") ?>" /></noscript>
</form>
- </span>
+ </div>
<?php endif; ?>
</div>
<span class="branch">
<?php foreach ($branchlist as $val): ?>
<?php echo Chora::url('browsefile', $where, array('onb' => $val))->link() . htmlspecialchars($val) ?></a>
-<?php endforeach; endif; ?>
+<?php endforeach; ?>
+ </span>
+<?php endif; ?>
<?php if (!empty($changedlines)): ?>
<small class="difflines">(<?php printf('%s lines', htmlspecialchars($changedlines)) ?>)</small>
<?php elseif (!is_null($added)): ?>
-div.options span, div.browsefileoptions span {
+div.options div, div.browsefileoptions div {
zoom: 1;
*display: inline;
}
-div.options span, div.browsefileoptions span {
+div.options div, div.browsefileoptions div {
zoom: 1;
*display: inline;
}
div.options, div.browsefileoptions {
margin: 0 0 8px 5px;
}
-div.options span, div.browsefileoptions span {
+div.options div, div.browsefileoptions div {
display: -moz-inline-stack;
display: inline-block;
border: 1px solid #ccc;
background: #e9e9e9;
vertical-align: top;
}
-div.browsefileoptions span {
+div.browsefileoptions div {
width: 31.3%;
}
div.options em, div.browsefileoptions em {