1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-17 14:45:27 +00:00

move published OPML endpoint to public.php

This commit is contained in:
Andrew Dolgov
2021-02-21 15:16:39 +03:00
parent 2843b99171
commit d1328321be
12 changed files with 110 additions and 111 deletions

View File

@@ -656,12 +656,10 @@ class RPC extends Handler_Protected {
<ul class='panel panel-scrollable hotkeys-help' style='height : 300px'>
<?php
$cur_section = "";
foreach ($info as $section => $hotkeys) {
if ($cur_section) print "<li>&nbsp;</li>";
print "<li><h3>" . $section . "</h3></li>";
$cur_section = $section;
?>
<li><h3><?= $section ?></h3></li>
<?php
foreach ($hotkeys as $action => $description) {
@@ -705,9 +703,8 @@ class RPC extends Handler_Protected {
}
}
}
print "</ul>";
?>
?>
</ul>
<footer class='text-center'>
<?= \Controls\submit_tag(__('Close this window')) ?>
</footer>