Screenshot class cleanups. Move screenshot related functions into the class. Rename get_screenshot_img() to
get_random_screenshot_img() so the name of the function matches its purpose
This commit is contained in:
@@ -657,7 +657,7 @@ class Version {
|
||||
echo "<tr class=\"color0\" valign=\"top\"><td><b>Maintainers Version</b></td><td>".$this->sTestedRelease."</td></tr>\n";
|
||||
|
||||
// image
|
||||
$img = get_screenshot_img($oApp->iAppId, $this->iVersionId);
|
||||
$img = Screenshot::get_random_screenshot_img($oApp->iAppId, $this->iVersionId);
|
||||
echo "<tr><td align=\"center\" colspan=\"2\">$img</td></tr>\n";
|
||||
|
||||
// display all maintainers of this application
|
||||
|
||||
Reference in New Issue
Block a user