修訂 | 43 (tree) |
---|---|
時間 | 2021-06-30 22:56:52 |
作者 | mateuszviste |
fixed message edition form
@@ -270,12 +270,12 @@ | ||
270 | 270 | } |
271 | 271 | echo '<form action="' . PaginationLink($p, -1) . '" method="post" class="nowywpis">' . "\n"; |
272 | 272 | echo "<div class=\"nowywpis\">\n"; |
273 | - echo "<p>titre:</p>\n"; | |
274 | 273 | if (! empty($artid)) { |
275 | 274 | echo '<input type="hidden" id="artid" name="artid" value="' . $artid . '">' . "\n"; |
276 | 275 | } |
277 | 276 | echo '<input type="hidden" id="action" name="action" value="dodajwpis">' . "\n"; |
278 | - if ($artid > 0) { | |
277 | + if ($artid >= 0) { | |
278 | + echo "<p>titre:</p>\n"; | |
279 | 279 | echo '<input type="text" id="arttit" name="arttit" value="' . htmlentities($art_title) . '">' . "\n"; |
280 | 280 | echo "<p>message:</p>\n"; |
281 | 281 | } |
@@ -1,3 +1,3 @@ | ||
1 | -Welcome to ptiblogphp! This is a default welcome message. You should modify it by editing the welcome.txt file. | |
1 | +Welcome to ptiblogphp! This is a default message that you should modify. It uses the markdown syntax, so you may use all kinds of markdown constructs like ***special font effects*** or [cool links](http://ptiblogphp.osdn.io). | |
2 | 2 | |
3 | -This file uses the markdown syntax, so you may use all kinds of markdown constructs like ***special font effects*** or [cool links](http://ptiblogphp.osdn.io). You may also use inline HTML for any <span title="hello, I am a popup message" style="text-decoration: underline wavy;">other fancy stuff</span>. | |
3 | +You may also use inline HTML for any <span title="hello, I am a popup message" style="text-decoration: underline wavy;">other fancy stuff</span>. |