Skip to content

Commit fbafd40

Browse files
committed
UI: Wrong link to create a new text.
1 parent d0a80d4 commit fbafd40

4 files changed

Lines changed: 6 additions & 2 deletions

File tree

‎docs/CHANGELOG.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ For git tags, official releases are marked like "v1.0.0", while unofficial ones
1717

1818
* When editing an existing text, surrounding spaces are no longer inserted ([#92](https://github.com/HugoFara/lwt/issues/92)).
1919
* Language code is better detected from translator url when editing an existing language.
20+
* The field "Short Text Import" on long text import and was not redirecting to
21+
the intendended page. Same goes for "New Text" on "Archived Texts" page.
2022

2123
## 2.8.1-fork (April 14 2023)
2224

‎docs/info.html‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1858,6 +1858,8 @@ <h4>Fixed</h4>
18581858
<ul>
18591859
<li>When editing an existing text, surrounding spaces are no longer inserted (<a href="https://github.com/HugoFara/lwt/issues/92">#92</a>).</li>
18601860
<li>Language code is better detected from translator url when editing an existing language.</li>
1861+
<li>The field "Short Text Import" on long text import and was not redirecting to
1862+
the intendended page. Same goes for "New Text" on "Archived Texts" page.</li>
18611863
</ul>
18621864
<h3>2.8.1-fork (April 14 2023)</h3>
18631865
<h4>Changed</h4>

‎edit_archivedtexts.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@
437437

438438
<div class="flex-spaced">
439439
<div>
440-
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?new=1">
440+
<a href="edit_texts.php?new=1">
441441
<img src="icn/plus-button.png">
442442
New Text
443443
</a>

‎long_text_import.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ function long_text_display($max_input_vars)
227227

228228
<div class="flex-spaced">
229229
<div title="Import of a single text, max. 65,000 bytes long, with optional audio">
230-
<a href="<?php echo $_SERVER['PHP_SELF']; ?>?new=1">
230+
<a href="edit_texts.php?new=1">
231231
<img src="icn/plus-button.png">
232232
Short Text Import
233233
</a>

0 commit comments

Comments
 (0)