summaryrefslogtreecommitdiff
path: root/classes/rpc.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-02-21 15:16:39 +0300
committerAndrew Dolgov <[email protected]>2021-02-21 15:16:39 +0300
commitd1328321bebadcf8a530d3c05f52a8f3c58bb969 (patch)
tree8340f32be6292375fa32c1332bab128d35ac5564 /classes/rpc.php
parent2843b9917133e5ed8e1adf4ffd12356459fc16e4 (diff)
move published OPML endpoint to public.php
Diffstat (limited to 'classes/rpc.php')
-rwxr-xr-xclasses/rpc.php13
1 files changed, 5 insertions, 8 deletions
diff --git a/classes/rpc.php b/classes/rpc.php
index 20a11b994..95fd0f5ae 100755
--- a/classes/rpc.php
+++ b/classes/rpc.php
@@ -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>