Fix class names in some more places.

Related to the PSR-4 move via 865ecc8796
This commit is contained in:
wn_ 2023-10-26 15:01:43 +00:00
parent 8c9c69921f
commit c7e1caf223
7 changed files with 7 additions and 7 deletions

View File

@ -750,7 +750,7 @@ class Feeds extends Handler_Protected {
<h1>Feed Debugger: <?= "$feed_id: " . $this->_get_title($feed_id) ?></h1>
<div class="content">
<form method="post" action="" dojoType="dijit.form.Form">
<?= \Controls\hidden_tag("op", "feeds") ?>
<?= \Controls\hidden_tag("op", "Feeds") ?>
<?= \Controls\hidden_tag("method", "updatedebugger") ?>
<?= \Controls\hidden_tag("csrf_token", $csrf_token) ?>
<?= \Controls\hidden_tag("action", "do_update") ?>

View File

@ -889,7 +889,7 @@ class PluginHost {
}
/**
* handled by classes/pluginhandler.php, requires valid session
* handled by classes/PluginHandler.php, requires valid session
*
* @param array<int|string, mixed> $params
*/

View File

@ -29,7 +29,7 @@
}
function pluginhandler_tags(\Plugin $plugin, string $method): string {
return hidden_tag("op", "pluginhandler") .
return hidden_tag("op", "PluginHandler") .
hidden_tag("plugin", strtolower(get_class($plugin))) .
hidden_tag("method", $method);
}

View File

@ -352,7 +352,7 @@ const Article = {
title: __("Article tags"),
content: `
${App.FormFields.hidden_tag("id", id.toString())}
${App.FormFields.hidden_tag("op", "article")}
${App.FormFields.hidden_tag("op", "Article")}
${App.FormFields.hidden_tag("method", "setArticleTags")}
<header class='horizontal'>

View File

@ -35,7 +35,7 @@ const CommonDialogs = {
content: `
<form onsubmit='return false'>
${App.FormFields.hidden_tag("op", "feeds")}
${App.FormFields.hidden_tag("op", "Feeds")}
${App.FormFields.hidden_tag("method", "add")}
<div id='fadd_error_message' style='display : none' class='alert alert-danger'></div>

View File

@ -280,7 +280,7 @@ const Helpers = {
${__("You can override colors, fonts and layout of your currently selected theme with custom CSS declarations here.")}
</div>
${App.FormFields.hidden_tag('op', 'rpc')}
${App.FormFields.hidden_tag('op', 'RPC')}
${App.FormFields.hidden_tag('method', 'setpref')}
${App.FormFields.hidden_tag('key', 'USER_STYLESHEET')}

View File

@ -10,7 +10,7 @@ Plugins.Psql_Trgm = {
const tmph = dojo.connect(dialog, "onShow", null, function (/* e */) {
dojo.disconnect(tmph);
xhr.post("backend.php", {op: 'pluginhandler', plugin: 'af_psql_trgm', method: 'showrelated', id: id}, (reply) => {
xhr.post("backend.php", {op: 'PluginHandler', plugin: 'af_psql_trgm', method: 'showrelated', id: id}, (reply) => {
dialog.attr('content', reply);
});
});