border cancelling; somewhat of an ugly hack...
This commit is contained in:
parent
b9f21571eb
commit
38c3038ecb
6 changed files with 6 additions and 6 deletions
|
@ -9,7 +9,7 @@ class ZoomTheme extends Themelet {
|
|||
global $config;
|
||||
$default = $zoom_by_default ? "scale(img);" : "";
|
||||
return <<<EOD
|
||||
<!-- rrcontent -->
|
||||
<!-- cancel border -->
|
||||
<script type="text/javascript">
|
||||
img = document.getElementById("main_image");
|
||||
|
||||
|
|
|
@ -116,7 +116,7 @@ EOD;
|
|||
</div>
|
||||
";
|
||||
if(!is_null($b)) {
|
||||
if(strpos($b, "rrcontent")) {
|
||||
if(strpos($b, "<!-- cancel border -->")) {
|
||||
$html .= "<div class='blockbody' id='$i'>$b</div>";
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -110,7 +110,7 @@ class Themelet {
|
|||
$pages_html = implode(" | ", $pages);
|
||||
|
||||
return "<p class='paginator'>$first_html | $prev_html | $random_html | $next_html | $last_html".
|
||||
"<br><< $pages_html >></p><!-- rrcontent -->";
|
||||
"<br><< $pages_html >></p><!-- cancel border -->";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
|
@ -222,7 +222,7 @@ EOD;
|
|||
}
|
||||
}
|
||||
if(!is_null($b)) {
|
||||
//if(strpos($b, "rrcontent")) {
|
||||
//if(strpos($b, "<!-- cancel border -->")) {
|
||||
if($salt =="main") {
|
||||
$html .= "<div class='blockbody' id='$i'>$b</div>";
|
||||
}
|
||||
|
|
|
@ -128,7 +128,7 @@ EOD;
|
|||
</div>
|
||||
";
|
||||
if(!is_null($b)) {
|
||||
if(strpos($b, "rrcontent")) {
|
||||
if(strpos($b, "<!-- cancel border -->")) {
|
||||
$html .= "<div class='blockbody' id='$i'>$b</div>";
|
||||
}
|
||||
else {
|
||||
|
|
|
@ -111,7 +111,7 @@ class Themelet {
|
|||
$pages_html = implode(" | ", $pages);
|
||||
|
||||
return "<p class='paginator'>$first_html | $prev_html | $random_html | $next_html | $last_html".
|
||||
"<br><< $pages_html >></p><!-- rrcontent -->";
|
||||
"<br><< $pages_html >></p><!-- cancel border -->";
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
Reference in a new issue