Move description below screenshot instead of header
This commit is contained in:
@@ -140,19 +140,18 @@ if($result && mysql_num_rows($result))
|
|||||||
|
|
||||||
// display image
|
// display image
|
||||||
echo "<td>\n";
|
echo "<td>\n";
|
||||||
echo html_frame_start(substr(stripslashes($ob->description),0,20),128,"",0);
|
|
||||||
echo $img;
|
echo $img;
|
||||||
|
echo "<div align=center>". substr(stripslashes($ob->description),0,20). "\n";
|
||||||
|
|
||||||
//show admin delete link
|
//show admin delete link
|
||||||
if(loggedin() && (havepriv("admin") ||
|
if(loggedin() && (havepriv("admin") ||
|
||||||
$_SESSION['current']->is_maintainer($_REQUEST['appId'],
|
$_SESSION['current']->is_maintainer($_REQUEST['appId'],
|
||||||
$_REQUEST['versionId'])))
|
$_REQUEST['versionId'])))
|
||||||
{
|
{
|
||||||
echo "<div align=center>[<a href='screenshots.php?cmd=delete&imageId=$ob->id&appId=".$_REQUEST['appId']."&versionId=".$_REQUEST['versionId']."'>Delete Image</a>]</div>";
|
echo "<br />[<a href='screenshots.php?cmd=delete&imageId=$ob->id&appId=".$_REQUEST['appId']."&versionId=".$_REQUEST['versionId']."'>Delete Image</a>]";
|
||||||
}
|
}
|
||||||
|
|
||||||
echo html_frame_end(" ");
|
echo "</div></td>\n";
|
||||||
echo "</td>\n";
|
|
||||||
|
|
||||||
// end row if counter of 3
|
// end row if counter of 3
|
||||||
if ($c % 3 == 0) echo "</tr><tr>\n";
|
if ($c % 3 == 0) echo "</tr><tr>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user