tidy appdb html to make it validate - try 4
This commit is contained in:
committed by
Chris Morgan
parent
ccbc842d5c
commit
16949bb71c
@@ -27,7 +27,7 @@ if(isset($aClean['sCmd']))
|
||||
}
|
||||
util_redirect_and_exit($_SERVER['PHP_SELF'].
|
||||
"?iItemsPerPage=".$aClean['iItemsPerPage'].
|
||||
"&iPage=".$aClean['iPage']);
|
||||
"&iPage=".$aClean['iPage']);
|
||||
}
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@ if(isset($aClean['sRegenerate']))
|
||||
$hResult = query_parameters($sQuery);
|
||||
while($oRow = query_fetch_object($hResult))
|
||||
{
|
||||
echo "REGENERATING IMAGE ".$oRow->id."<br/>";
|
||||
echo "REGENERATING IMAGE ".$oRow->id."<br>";
|
||||
$screenshot = new Screenshot($oRow->id);
|
||||
$screenshot->generate();
|
||||
$screenshot->free();
|
||||
@@ -49,7 +49,7 @@ if(isset($aClean['sRegenerate']))
|
||||
echo "<center>";
|
||||
echo "<a href=\"".$_SERVER['PHP_SELF'].
|
||||
"?bRegenerate=true\">Regenerate all screenshots ! ".
|
||||
"(use only if you know what you are doing)</a><br />";
|
||||
"(use only if you know what you are doing)</a><br>";
|
||||
echo "</center>";
|
||||
|
||||
/* display a range of 10 pages */
|
||||
@@ -67,16 +67,16 @@ $offset = (($currentPage-1) * $ItemsPerPage);
|
||||
|
||||
/* display page selection links */
|
||||
echo "<center>";
|
||||
echo "<b>Page $currentPage of $totalPages</b><br />";
|
||||
echo "<b>Page $currentPage of $totalPages</b><br>";
|
||||
display_page_range($currentPage, $pageRange, $totalPages,
|
||||
$_SERVER['PHP_SELF']."?iItemsPerPage=".$ItemsPerPage);
|
||||
echo "<br />";
|
||||
echo "<br />";
|
||||
echo "<br>";
|
||||
echo "<br>";
|
||||
|
||||
/* display the option to choose how many screenshots per-page to display */
|
||||
echo '<form method="get" name="message" action="'.$_SERVER['PHP_SELF'].'">';
|
||||
echo '<b>Number of Screenshots per page:</b>';
|
||||
echo " <select name='iItemsPerPage'>";
|
||||
echo " <select name='iItemsPerPage'>";
|
||||
|
||||
$ItemsPerPageArray = array(6, 9, 12, 15, 18, 21, 24);
|
||||
foreach($ItemsPerPageArray as $i => $value)
|
||||
@@ -89,7 +89,7 @@ foreach($ItemsPerPageArray as $i => $value)
|
||||
echo "</select>";
|
||||
|
||||
echo "<input type=hidden name=page value=$currentPage>";
|
||||
echo " <input type=submit value='Refresh'>";
|
||||
echo " <input type=submit value='Refresh'>";
|
||||
echo "</form>";
|
||||
|
||||
echo "</center>";
|
||||
@@ -111,18 +111,18 @@ while ($oRow = query_fetch_object($Ids))
|
||||
echo $img;
|
||||
echo "<div align=center>". substr($oRow->description,0,20). "\n";
|
||||
|
||||
echo "<br />[".$oApp->objectMakeLink()."]";
|
||||
echo "<br>[".$oApp->objectMakeLink()."]";
|
||||
|
||||
echo "<br />[".$oVersion->objectMakeLink()."]";
|
||||
echo "<br>[".$oVersion->objectMakeLink()."]";
|
||||
|
||||
//show admin delete link
|
||||
if($_SESSION['current']->isLoggedIn() &&
|
||||
($_SESSION['current']->hasPriv("admin") ||
|
||||
$_SESSION['current']->isMaintainer($aClean['iVersionId'])))
|
||||
{
|
||||
echo "<br />[<a href='".$_SERVER['PHP_SELF'];
|
||||
echo "?sCmd=delete&iImageId=$oRow->id";
|
||||
echo "&iPage=".$currentPage."&iItemsPerPage=".$ItemsPerPage."'>";
|
||||
echo "<br>[<a href='".$_SERVER['PHP_SELF'];
|
||||
echo "?sCmd=delete&iImageId=$oRow->id";
|
||||
echo "&iPage=".$currentPage."&iItemsPerPage=".$ItemsPerPage."'>";
|
||||
echo "Delete Image</a>]";
|
||||
}
|
||||
echo "</div></td>\n";
|
||||
@@ -131,7 +131,7 @@ while ($oRow = query_fetch_object($Ids))
|
||||
$c++;
|
||||
|
||||
}
|
||||
echo "</tr></table></div><br />\n";
|
||||
echo "</tr></table></div><br>\n";
|
||||
|
||||
/* display page selection links */
|
||||
echo "<center>";
|
||||
|
||||
Reference in New Issue
Block a user