formatting pass
This commit is contained in:
parent
42a502953b
commit
c24a6e9b97
@ -489,7 +489,8 @@ function image_resize_gd(
|
||||
* @param String $image_filename The path of the file to check.
|
||||
* @return bool true if the file is an animated gif, false if it is not.
|
||||
*/
|
||||
function is_animated_gif(String $image_filename) {
|
||||
function is_animated_gif(String $image_filename)
|
||||
{
|
||||
$is_anim_gif = 0;
|
||||
if (($fh = @fopen($image_filename, 'rb'))) {
|
||||
//check if gif is animated (via http://www.php.net/manual/en/function.imagecreatefromgif.php#104473)
|
||||
|
@ -26,7 +26,8 @@
|
||||
* Various other common functions are available as part of the Themelet class.
|
||||
*/
|
||||
|
||||
abstract class PageMode {
|
||||
abstract class PageMode
|
||||
{
|
||||
const REDIRECT = 'redirect';
|
||||
const DATA = 'data';
|
||||
const PAGE = 'page';
|
||||
|
@ -333,7 +333,6 @@ class CronUploader extends Extension
|
||||
$this->handle_log();
|
||||
|
||||
return true;
|
||||
|
||||
}
|
||||
|
||||
private function move_uploaded($path, $filename, $output_subdir, $corrupt = false)
|
||||
|
@ -62,8 +62,6 @@ class ExtensionInfo
|
||||
$this->authors[] = new ExtensionAuthor($author, null);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} elseif (preg_match("/(.*)Description: ?(.*)/", $line, $matches)) {
|
||||
$this->description = $matches[2];
|
||||
$start = $matches[1] . " ";
|
||||
|
@ -129,7 +129,6 @@ class ExtManagerTheme extends Themelet
|
||||
$author .= html_escape($auth->name);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$version = ($info->version) ? "<br><b>Version:</b> " . html_escape($info->version) : "";
|
||||
|
Loading…
x
Reference in New Issue
Block a user