Skip to content

Commit 459fe17

Browse files
committed
Links to info.php changed to docs/info.html
Bug signalled on Discord.
1 parent 677cb02 commit 459fe17

6 files changed

Lines changed: 9 additions & 7 deletions

File tree

‎docs/CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ the intendended page. Same goes for "New Text" on "Archived Texts" page.
3434
* A warning was sent 'Undefined array key "query"' when creating a new word ([#121](https://github.com/HugoFara/lwt/issues/121)).
3535
* A warning when savings settings in ``settings.php`` was sometimes displayed ([#121](https://github.com/HugoFara/lwt/issues/121)).
3636
* Test header was different when testing languages or terms since 2.1.0-fork.
37+
* Wrong link to documentation (``info.php`` instead of ``docs/info.html``). Signaled by Mooncake on Discord.
3738

3839
## 2.8.1-fork (April 14 2023)
3940

‎docs/info.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1878,6 +1878,7 @@ <h4>Fixed</h4>
18781878
<li>A warning was sent 'Undefined array key "query"' when creating a new word (<a href="https://github.com/HugoFara/lwt/issues/121">#121</a>).</li>
18791879
<li>A warning when savings settings in <code>settings.php</code> was sometimes displayed (<a href="https://github.com/HugoFara/lwt/issues/121">#121</a>).</li>
18801880
<li>Test header was different when testing languages or terms since 2.1.0-fork.</li>
1881+
<li>Wrong link to documentation (<code>info.php</code> instead of <code>docs/info.html</code>). Signaled by Mooncake on Discord.</li>
18811882
</ul>
18821883
<h3>2.8.1-fork (April 14 2023)</h3>
18831884
<h4>Changed in 2.8.1-fork</h4>

‎feed_wizard.php‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ function feed_wizard_select_text(): void
715715
<div id="lwt_container">
716716
<?php echo_lwt_logo();?>
717717
<h1>Feed Wizard | Step 2 - Select Article Text
718-
<a href="info.php#feed_wizard">
718+
<a href="docs/info.html#feed_wizard">
719719
<img alt="Help" title="Help" src="icn/question-frame.png"></img>
720720
</a>
721721
</h1>

‎js/pgm.js‎

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎print_impr_text.php‎

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

122122
if ($editmode) {
123123
?> (Edit Mode)
124-
<img src="icn/question-frame.png" title="Help" alt="Help" class="click" onclick="window.open('info.php#il');" />
124+
<img src="icn/question-frame.png" title="Help" alt="Help" class="click" onclick="window.open('docs/info.html#il');" />
125125
</h2>
126126
<input type="button" value="Display/Print Mode" onclick="location.href='print_impr_text.php?text=<?php echo $textid; ?>';" />
127127
<?php

‎src/js/user_interactions.js‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
* Redirect the user to a specific page depending on the value
1313
*/
1414
function quickMenuRedirection(value) {
15-
var qm = document.getElementById('quickmenu');
16-
qm.selectedIndex=0;
15+
const qm = document.getElementById('quickmenu');
16+
qm.selectedIndex = 0;
1717
if (value == '')
1818
return;
1919
if (value == 'INFO') {
20-
top.location.href = 'info.php';
20+
top.location.href = 'docs/info.html';
2121
} else if (value == 'rss_import') {
2222
top.location.href = 'do_feeds.php?check_autoupdate=1';
2323
} else {

0 commit comments

Comments
 (0)