diff --git a/ext/private_image/main.php b/ext/private_image/main.php index b30f4dd4..03f02c00 100644 --- a/ext/private_image/main.php +++ b/ext/private_image/main.php @@ -32,7 +32,7 @@ class PrivateImage extends Extension global $user; $sb = $event->panel->create_new_block("Private Posts"); $sb->start_table(); - if ($user->can(Permissions::SET_PRIVATE_IMAGE)){ + if ($user->can(Permissions::SET_PRIVATE_IMAGE)) { $sb->add_bool_option(PrivateImageConfig::USER_SET_DEFAULT, "Mark posts private by default", true); } $sb->add_bool_option(PrivateImageConfig::USER_VIEW_DEFAULT, "View private posts by default", true); diff --git a/ext/upload/theme.php b/ext/upload/theme.php index 890433fe..503d3c14 100644 --- a/ext/upload/theme.php +++ b/ext/upload/theme.php @@ -157,7 +157,7 @@ class UploadTheme extends Themelet for ($i=0; $i<$upload_count; $i++) { $upload_list->appendChild( TR( - TD(["colspan"=>$tl_enabled ? 2 : 4], DIV(["name"=>"canceldata{$i}[]","style"=>"display:inline;margin-right:5px;font-size:15px;visibility:hidden;","onclick"=>"$(\"input[name='data{$i}[]']\")[0].value='';updateTracker();"],"✖"), INPUT(["type"=>"file", "name"=>"data{$i}[]", "accept"=>$accept, "multiple"=>true])), + TD(["colspan"=>$tl_enabled ? 2 : 4], DIV(["name"=>"canceldata{$i}[]","style"=>"display:inline;margin-right:5px;font-size:15px;visibility:hidden;","onclick"=>"$(\"input[name='data{$i}[]']\")[0].value='';updateTracker();"], "✖"), INPUT(["type"=>"file", "name"=>"data{$i}[]", "accept"=>$accept, "multiple"=>true])), $tl_enabled ? TD(["colspan"=>"2"], INPUT(["type"=>"text", "name"=>"url{$i}"])) : emptyHTML(), TD(["colspan"=>"2"], INPUT(["type"=>"text", "name"=>"tags{$i}", "class"=>"autocomplete_tags", "autocomplete"=>"off"])), ) @@ -338,7 +338,7 @@ class UploadTheme extends Themelet ["class"=>'mini_upload'], $form, SMALL("(Max file size is $max_kb)"), - SMALL(BR(),"(Max total size is $max_total_kb)"), + SMALL(BR(), "(Max total size is $max_total_kb)"), NOSCRIPT(BR(), A(["href"=>make_link("upload")], "Larger Form")) ); } diff --git a/themes/lite/page.class.php b/themes/lite/page.class.php index b4b34207..7abecb7c 100644 --- a/themes/lite/page.class.php +++ b/themes/lite/page.class.php @@ -116,7 +116,7 @@ EOD; $b = $block->body; $i = $block->id; $html = $b; - if ($h != "Paginator"){ + if ($h != "Paginator") { $html = "
"; if (!is_null($h)) { $html .= "";