Skip to content
Browse files

-Small style bug fix

  • Loading branch information...
1 parent 636950e commit 5794dc44fe4a84d31866330b47295697df9b5ef2 @Finalfantasykid committed Mar 17, 2012
Showing with 3 additions and 3 deletions.
  1. +2 −2 PenguinCMS/ImagePage.php
  2. +1 −1 PenguinCMS/style.php
View
4 PenguinCMS/ImagePage.php
@@ -237,7 +237,7 @@ function generateBody(){
$this->name = "<form action='$fullURL&amp;update=true' method='post'><div style='margin-top:-5px;'><label>Title:</label> <input type='text' size='50' name='name' value='{$this->name}' /></div>";
$this->body .= "<center><label>Total Images:</label> {$this->count}</center><br />";
for($i = 0; $i < $count; $i++){
- $this->body .= "<div class='imageCell'><a class='colorbox' href='{$this->images[$i]}'><img src='{$this->thumbnails[$i]}' alt='{$this->titles[$i]}' /></a>";
+ $this->body .= "<div class='imageCell'><a class='colorbox' href='{$this->images[$i]}'><img class='thumbnail' src='{$this->thumbnails[$i]}' alt='{$this->titles[$i]}' /></a>";
$this->body .= "</div>";
}
if($this->nPages > 1){
@@ -322,7 +322,7 @@ function generateBody(){
$this->body .= "<div id='images' name='page{$page}'>\n";
}
for($i = 0; $i < $count; $i++){
- $this->body .= "<div class='imageCell' id='img{$this->ids[$i]}'><a class='colorbox' href='{$this->images[$i]}'><img src='{$this->thumbnails[$i]}' alt='{$this->titles[$i]}' /></a>";
+ $this->body .= "<div class='imageCell' id='img{$this->ids[$i]}'><a class='colorbox' href='{$this->images[$i]}'><img class='thumbnail' src='{$this->thumbnails[$i]}' alt='{$this->titles[$i]}' /></a>";
if($me->isStaff()){
$this->body .= "<a href='$fullURL&amp;delete={$this->ids[$i]}'>[Delete]</a>";
}
View
2 PenguinCMS/style.php
@@ -536,7 +536,7 @@
{$theme['imageCellShadowHover']}
}
-a.colorbox {
+.imageCell a.colorbox {
width:90px;
height:90px;
display:block;

0 comments on commit 5794dc4

Please sign in to comment.
Something went wrong with that request. Please try again.