From f9d6025a756352e2c1e461adcb2b7dc606eb02c1 Mon Sep 17 00:00:00 2001 From: Heiko August Date: Mon, 27 Apr 2020 11:23:48 +0200 Subject: [PATCH] Change: replace inputs of type submit with button elements Attributes 'type="submit"' got removed because it's the default type. Therefore the attribute can be omitted. --- admin/login.php | 2 +- admin/media/select-picture.php | 2 +- admin/media/upload-picture.php | 4 ++-- admin/media/upload-teaser.php | 2 +- error404.php | 2 +- personal/template.tpl | 2 +- plugins/CommentCloser.jplug.php | 2 +- scripts/JlogUpdater.php | 2 +- search.php | 2 +- 9 files changed, 10 insertions(+), 10 deletions(-) diff --git a/admin/login.php b/admin/login.php index f288259..deeb7b5 100644 --- a/admin/login.php +++ b/admin/login.php @@ -63,7 +63,7 @@ $c['main'] = '

-

+

'; diff --git a/admin/media/select-picture.php b/admin/media/select-picture.php index a0ef43f..a2b42e2 100644 --- a/admin/media/select-picture.php +++ b/admin/media/select-picture.php @@ -25,7 +25,7 @@ if($_GET['p']) { ?>


-

+


-

+

">

- + ">

- + ".$l['err404_topic']."\n

".$l['err404_message']."

"; $c['main'] .= '

-

+

'; require(JLOG_BASEPATH.'scripts'.DIRECTORY_SEPARATOR.'do_template.php'); diff --git a/personal/template.tpl b/personal/template.tpl index 6096758..21033e6 100644 --- a/personal/template.tpl +++ b/personal/template.tpl @@ -22,7 +22,7 @@

-

+

diff --git a/plugins/CommentCloser.jplug.php b/plugins/CommentCloser.jplug.php index a443d7b..6994dea 100644 --- a/plugins/CommentCloser.jplug.php +++ b/plugins/CommentCloser.jplug.php @@ -91,7 +91,7 @@ EOT; $output .= << -.

+

Nach der angegeben Zeit können Beiträge nicht mehr kommentiert werden.

EOT; diff --git a/scripts/JlogUpdater.php b/scripts/JlogUpdater.php index cfd878b..9194840 100644 --- a/scripts/JlogUpdater.php +++ b/scripts/JlogUpdater.php @@ -52,7 +52,7 @@ class JlogUpdater $html .= $class->getForm($l); $version = $this->versions[$version]; } - $html .= '

'; + $html .= '

'; $html .= ''; return $html; } diff --git a/search.php b/search.php index 0f95136..9a2d10a 100644 --- a/search.php +++ b/search.php @@ -9,7 +9,7 @@ $c['main'] .= '

-

+

';