move to psr-4 autoloader
This commit is contained in:
0
classes/api.php → classes/API.php
Executable file → Normal file
0
classes/api.php → classes/API.php
Executable file → Normal file
0
classes/article.php → classes/Article.php
Executable file → Normal file
0
classes/article.php → classes/Article.php
Executable file → Normal file
0
classes/db.php → classes/Db.php
Executable file → Normal file
0
classes/db.php → classes/Db.php
Executable file → Normal file
0
classes/feeditem/atom.php → classes/FeedItem_Atom.php
Executable file → Normal file
0
classes/feeditem/atom.php → classes/FeedItem_Atom.php
Executable file → Normal file
0
classes/feeditem/common.php → classes/FeedItem_Common.php
Executable file → Normal file
0
classes/feeditem/common.php → classes/FeedItem_Common.php
Executable file → Normal file
0
classes/feeditem/rss.php → classes/FeedItem_RSS.php
Executable file → Normal file
0
classes/feeditem/rss.php → classes/FeedItem_RSS.php
Executable file → Normal file
0
classes/feeds.php → classes/Feeds.php
Executable file → Normal file
0
classes/feeds.php → classes/Feeds.php
Executable file → Normal file
0
classes/handler/public.php → classes/Handler_Public.php
Executable file → Normal file
0
classes/handler/public.php → classes/Handler_Public.php
Executable file → Normal file
0
classes/logger.php → classes/Logger.php
Executable file → Normal file
0
classes/logger.php → classes/Logger.php
Executable file → Normal file
0
classes/logger/sql.php → classes/Logger_SQL.php
Executable file → Normal file
0
classes/logger/sql.php → classes/Logger_SQL.php
Executable file → Normal file
0
classes/pluginhost.php → classes/PluginHost.php
Executable file → Normal file
0
classes/pluginhost.php → classes/PluginHost.php
Executable file → Normal file
6
classes/pref/feeds.php → classes/Pref_Feeds.php
Executable file → Normal file
6
classes/pref/feeds.php → classes/Pref_Feeds.php
Executable file → Normal file
@@ -620,7 +620,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
?>
|
||||
|
||||
<?= \Controls\hidden_tag("ids", $feed_ids) ?>
|
||||
<?= \Controls\hidden_tag("op", "pref-feeds") ?>
|
||||
<?= \Controls\hidden_tag("op", "Pref_Feeds") ?>
|
||||
<?= \Controls\hidden_tag("method", "batchEditSave") ?>
|
||||
|
||||
<div dojoType="dijit.layout.TabContainer" style="height : 450px">
|
||||
@@ -959,7 +959,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
</div>
|
||||
<div style="padding : 0px" dojoType="dijit.layout.ContentPane" region="center">
|
||||
<div dojoType="fox.PrefFeedStore" jsId="feedStore"
|
||||
url="backend.php?op=pref-feeds&method=getfeedtree">
|
||||
url="backend.php?op=Pref_Feeds&method=getfeedtree">
|
||||
</div>
|
||||
|
||||
<div dojoType="lib.CheckBoxStoreModel" jsId="feedModel" store="feedStore"
|
||||
@@ -988,7 +988,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||
<label class='dijitButton'><?= __("Choose file...") ?>
|
||||
<input style='display : none' id='opml_file' name='opml_file' type='file'>
|
||||
</label>
|
||||
<input type='hidden' name='op' value='pref-feeds'>
|
||||
<input type='hidden' name='op' value='Pref_Feeds'>
|
||||
<input type='hidden' name='csrf_token' value="<?= $_SESSION['csrf_token'] ?>">
|
||||
<input type='hidden' name='method' value='importOpml'>
|
||||
<button dojoType='dijit.form.Button' class='alt-primary' onclick="return Helpers.OPML.import()" type="submit">
|
||||
2
classes/pref/filters.php → classes/Pref_Filters.php
Executable file → Normal file
2
classes/pref/filters.php → classes/Pref_Filters.php
Executable file → Normal file
@@ -696,7 +696,7 @@ class Pref_Filters extends Handler_Protected {
|
||||
</div>
|
||||
<div style='padding : 0px' dojoType='dijit.layout.ContentPane' region='center'>
|
||||
<div dojoType="fox.PrefFilterStore" jsId="filterStore"
|
||||
url="backend.php?op=pref-filters&method=getfiltertree">
|
||||
url="backend.php?op=Pref_Filters&method=getfiltertree">
|
||||
</div>
|
||||
<div dojoType="lib.CheckBoxStoreModel" jsId="filterModel" store="filterStore"
|
||||
query="{id:'root'}" rootId="root" rootLabel="Filters"
|
||||
@@ -199,7 +199,7 @@ class Pref_Labels extends Handler_Protected {
|
||||
|
||||
<div style='padding : 0px' dojoType='dijit.layout.ContentPane' region='center'>
|
||||
<div dojoType='dojo.data.ItemFileWriteStore' jsId='labelStore'
|
||||
url='backend.php?op=pref-labels&method=getlabeltree'>
|
||||
url='backend.php?op=Pref_Labels&method=getlabeltree'>
|
||||
</div>
|
||||
|
||||
<div dojoType='lib.CheckBoxStoreModel' jsId='labelModel' store='labelStore'
|
||||
@@ -285,7 +285,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
?>
|
||||
<form dojoType='dijit.form.Form'>
|
||||
|
||||
<?= \Controls\hidden_tag("op", "pref-prefs") ?>
|
||||
<?= \Controls\hidden_tag("op", "Pref_Prefs") ?>
|
||||
<?= \Controls\hidden_tag("method", "changePersonalData") ?>
|
||||
|
||||
<script type="dojo/method" event="onSubmit" args="evt">
|
||||
@@ -334,7 +334,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
|
||||
<form dojoType='dijit.form.Form'>
|
||||
|
||||
<?= \Controls\hidden_tag("op", "pref-prefs") ?>
|
||||
<?= \Controls\hidden_tag("op", "Pref_Prefs") ?>
|
||||
<?= \Controls\hidden_tag("method", "changepassword") ?>
|
||||
|
||||
<!-- TODO: return JSON the backend call -->
|
||||
@@ -426,7 +426,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
?>
|
||||
|
||||
<form dojoType='dijit.form.Form'>
|
||||
<?= \Controls\hidden_tag("op", "pref-prefs") ?>
|
||||
<?= \Controls\hidden_tag("op", "Pref_Prefs") ?>
|
||||
<?= \Controls\hidden_tag("method", "otpdisable") ?>
|
||||
|
||||
<!-- TODO: return JSON from the backend call -->
|
||||
@@ -473,7 +473,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
|
||||
<form dojoType='dijit.form.Form'>
|
||||
|
||||
<?= \Controls\hidden_tag("op", "pref-prefs") ?>
|
||||
<?= \Controls\hidden_tag("op", "Pref_Prefs") ?>
|
||||
<?= \Controls\hidden_tag("method", "otpenable") ?>
|
||||
|
||||
<fieldset>
|
||||
@@ -746,7 +746,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
private function index_prefs(): void {
|
||||
?>
|
||||
<form dojoType='dijit.form.Form' id='changeSettingsForm'>
|
||||
<?= \Controls\hidden_tag("op", "pref-prefs") ?>
|
||||
<?= \Controls\hidden_tag("op", "Pref_Prefs") ?>
|
||||
<?= \Controls\hidden_tag("method", "saveconfig") ?>
|
||||
|
||||
<script type="dojo/method" event="onSubmit" args="evt, quit">
|
||||
@@ -836,7 +836,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
?>
|
||||
<form dojoType="dijit.form.Form" id="changePluginsForm">
|
||||
|
||||
<?= \Controls\hidden_tag("op", "pref-prefs") ?>
|
||||
<?= \Controls\hidden_tag("op", "Pref_Prefs") ?>
|
||||
<?= \Controls\hidden_tag("method", "setplugins") ?>
|
||||
|
||||
<div dojoType="dijit.layout.BorderContainer" gutters="false">
|
||||
@@ -936,7 +936,7 @@ class Pref_Prefs extends Handler_Protected {
|
||||
<script type='dojo/method' event='onSelected' args='evt'>
|
||||
if (this.domNode.querySelector('.loading'))
|
||||
window.setTimeout(() => {
|
||||
xhr.post("backend.php", {op: 'pref-prefs', method: 'index_auth'}, (reply) => {
|
||||
xhr.post("backend.php", {op: 'Pref_Prefs', method: 'index_auth'}, (reply) => {
|
||||
this.attr('content', reply);
|
||||
});
|
||||
}, 100);
|
||||
@@ -194,7 +194,7 @@ class Pref_System extends Handler_Administrative {
|
||||
}
|
||||
</script>
|
||||
|
||||
<?= \Controls\hidden_tag("op", "pref-system") ?>
|
||||
<?= \Controls\hidden_tag("op", "Pref_System") ?>
|
||||
<?= \Controls\hidden_tag("method", "sendTestEmail") ?>
|
||||
|
||||
<fieldset>
|
||||
@@ -210,7 +210,7 @@ class Pref_System extends Handler_Administrative {
|
||||
<script type='dojo/method' event='onSelected' args='evt'>
|
||||
if (this.domNode.querySelector('.loading'))
|
||||
window.setTimeout(() => {
|
||||
xhr.post("backend.php", {op: 'pref-system', method: 'getphpinfo'}, (reply) => {
|
||||
xhr.post("backend.php", {op: 'Pref_System', method: 'getphpinfo'}, (reply) => {
|
||||
this.attr('content', `<div class='phpinfo'>${reply}</div>`);
|
||||
});
|
||||
}, 200);
|
||||
0
classes/rpc.php → classes/RPC.php
Executable file → Normal file
0
classes/rpc.php → classes/RPC.php
Executable file → Normal file
0
classes/rssutils.php → classes/RSSUtils.php
Executable file → Normal file
0
classes/rssutils.php → classes/RSSUtils.php
Executable file → Normal file
Reference in New Issue
Block a user