summaryrefslogtreecommitdiff
path: root/inc
diff options
context:
space:
mode:
authorAnika Henke <anika@selfthinker.org>2012-02-04 13:26:50 +0000
committerAnika Henke <anika@selfthinker.org>2012-02-04 13:26:50 +0000
commitc7b28ffda48d3e6e225940a74b00ee5011f45b4b (patch)
treecc79839ec6a31797d6be184df8c928e9cfff297f /inc
parentae6cce187876439c77b53ebd2ae61976274f4a11 (diff)
downloadrpg-c7b28ffda48d3e6e225940a74b00ee5011f45b4b.tar.gz
rpg-c7b28ffda48d3e6e225940a74b00ee5011f45b4b.tar.bz2
added div.table around non-editable content as well (FS#1980)
Diffstat (limited to 'inc')
-rw-r--r--inc/html.php2
-rw-r--r--inc/media.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/inc/html.php b/inc/html.php
index 1a2d7daef..ece26d136 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -1176,6 +1176,7 @@ function html_diff($text='',$intro=true,$type=null){
ptln('</div>');
}
?>
+ <div class="table">
<table class="diff diff_<?php echo $type?>">
<tr>
<th colspan="2" <?php echo $l_minor?>>
@@ -1187,6 +1188,7 @@ function html_diff($text='',$intro=true,$type=null){
</tr>
<?php echo $tdf->format($df)?>
</table>
+ </div>
<?php
}
diff --git a/inc/media.php b/inc/media.php
index c53e1f5fc..66c531452 100644
--- a/inc/media.php
+++ b/inc/media.php
@@ -1116,6 +1116,7 @@ function media_file_diff($image, $l_rev, $r_rev, $ns, $auth, $fromajax){
list($l_head, $r_head) = html_diff_head($l_rev, $r_rev, $image, true);
?>
+ <div class="table">
<table>
<tr>
<th><?php echo $l_head; ?></th>
@@ -1183,6 +1184,7 @@ function media_file_diff($image, $l_rev, $r_rev, $ns, $auth, $fromajax){
echo '</tr>'.NL;
echo '</table>'.NL;
+ echo '</div>'.NL;
if ($is_img && !$fromajax) echo '</div>';
}