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;
|
global $config;
|
||||||
$default = $zoom_by_default ? "scale(img);" : "";
|
$default = $zoom_by_default ? "scale(img);" : "";
|
||||||
return <<<EOD
|
return <<<EOD
|
||||||
<!-- rrcontent -->
|
<!-- cancel border -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
img = document.getElementById("main_image");
|
img = document.getElementById("main_image");
|
||||||
|
|
||||||
|
|
|
@ -116,7 +116,7 @@ EOD;
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
if(!is_null($b)) {
|
if(!is_null($b)) {
|
||||||
if(strpos($b, "rrcontent")) {
|
if(strpos($b, "<!-- cancel border -->")) {
|
||||||
$html .= "<div class='blockbody' id='$i'>$b</div>";
|
$html .= "<div class='blockbody' id='$i'>$b</div>";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -110,7 +110,7 @@ class Themelet {
|
||||||
$pages_html = implode(" | ", $pages);
|
$pages_html = implode(" | ", $pages);
|
||||||
|
|
||||||
return "<p class='paginator'>$first_html | $prev_html | $random_html | $next_html | $last_html".
|
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(!is_null($b)) {
|
||||||
//if(strpos($b, "rrcontent")) {
|
//if(strpos($b, "<!-- cancel border -->")) {
|
||||||
if($salt =="main") {
|
if($salt =="main") {
|
||||||
$html .= "<div class='blockbody' id='$i'>$b</div>";
|
$html .= "<div class='blockbody' id='$i'>$b</div>";
|
||||||
}
|
}
|
||||||
|
|
|
@ -128,7 +128,7 @@ EOD;
|
||||||
</div>
|
</div>
|
||||||
";
|
";
|
||||||
if(!is_null($b)) {
|
if(!is_null($b)) {
|
||||||
if(strpos($b, "rrcontent")) {
|
if(strpos($b, "<!-- cancel border -->")) {
|
||||||
$html .= "<div class='blockbody' id='$i'>$b</div>";
|
$html .= "<div class='blockbody' id='$i'>$b</div>";
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
|
@ -111,7 +111,7 @@ class Themelet {
|
||||||
$pages_html = implode(" | ", $pages);
|
$pages_html = implode(" | ", $pages);
|
||||||
|
|
||||||
return "<p class='paginator'>$first_html | $prev_html | $random_html | $next_html | $last_html".
|
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