From 045bb2e4a2362c87c830004467b15095e3845499 Mon Sep 17 00:00:00 2001 From: Jonathan Treffler Date: Sat, 8 Aug 2020 20:33:33 +0200 Subject: moved templates into templates-old Signed-off-by: Jonathan Treffler --- templates-old/admin.php | 131 +++++++++++++++++++ templates-old/index.php | 99 ++++++++++++++ templates-old/part.content.explore.php | 53 ++++++++ templates-old/part.content.php | 158 +++++++++++++++++++++++ templates-old/part.content.shortcuts.php | 78 +++++++++++ templates-old/part.content.warnings.php | 25 ++++ templates-old/part.navigation.addfeed.php | 114 ++++++++++++++++ templates-old/part.navigation.addfolder.php | 39 ++++++ templates-old/part.navigation.explore.php | 5 + templates-old/part.navigation.feed.php | 179 ++++++++++++++++++++++++++ templates-old/part.navigation.folder.php | 142 ++++++++++++++++++++ templates-old/part.navigation.starredfeed.php | 20 +++ templates-old/part.navigation.unreadfeed.php | 71 ++++++++++ templates-old/part.settings.php | 159 +++++++++++++++++++++++ templates/admin.php | 131 ------------------- templates/index.php | 99 -------------- templates/part.content.explore.php | 53 -------- templates/part.content.php | 158 ----------------------- templates/part.content.shortcuts.php | 78 ----------- templates/part.content.warnings.php | 25 ---- templates/part.navigation.addfeed.php | 114 ---------------- templates/part.navigation.addfolder.php | 39 ------ templates/part.navigation.explore.php | 5 - templates/part.navigation.feed.php | 179 -------------------------- templates/part.navigation.folder.php | 142 -------------------- templates/part.navigation.starredfeed.php | 20 --- templates/part.navigation.unreadfeed.php | 71 ---------- templates/part.settings.php | 159 ----------------------- 28 files changed, 1273 insertions(+), 1273 deletions(-) create mode 100644 templates-old/admin.php create mode 100644 templates-old/index.php create mode 100644 templates-old/part.content.explore.php create mode 100644 templates-old/part.content.php create mode 100644 templates-old/part.content.shortcuts.php create mode 100644 templates-old/part.content.warnings.php create mode 100644 templates-old/part.navigation.addfeed.php create mode 100644 templates-old/part.navigation.addfolder.php create mode 100644 templates-old/part.navigation.explore.php create mode 100644 templates-old/part.navigation.feed.php create mode 100644 templates-old/part.navigation.folder.php create mode 100644 templates-old/part.navigation.starredfeed.php create mode 100644 templates-old/part.navigation.unreadfeed.php create mode 100644 templates-old/part.settings.php delete mode 100644 templates/admin.php delete mode 100644 templates/index.php delete mode 100644 templates/part.content.explore.php delete mode 100644 templates/part.content.php delete mode 100644 templates/part.content.shortcuts.php delete mode 100644 templates/part.content.warnings.php delete mode 100644 templates/part.navigation.addfeed.php delete mode 100644 templates/part.navigation.addfolder.php delete mode 100644 templates/part.navigation.explore.php delete mode 100644 templates/part.navigation.feed.php delete mode 100644 templates/part.navigation.folder.php delete mode 100644 templates/part.navigation.starredfeed.php delete mode 100644 templates/part.navigation.unreadfeed.php delete mode 100644 templates/part.settings.php diff --git a/templates-old/admin.php b/templates-old/admin.php new file mode 100644 index 000000000..cf69c33de --- /dev/null +++ b/templates-old/admin.php @@ -0,0 +1,131 @@ + + +
+

News

+
+

> + +

+

+ t( + 'Disable this if you run a custom updater such as the Python ' . + 'updater included in the app' + )); ?> +

+
+
+

+

+ +

+ + t( + 'Minimum amount of seconds after deleted feeds and folders ' . + 'are removed from the database; values below 60 seconds are ' . + 'ignored' + )); ?> +

+

+
+
+

+ +

+

+ + t( + 'Defines the maximum amount of articles that can be read per ' . + "feed which won't be deleted by the cleanup job; ". + 'if old articles reappear after being read, increase ' . + 'this value; negative values such as -1 will turn this ' . + 'feature off' + )); ?> +

+

+
+
+

+ +

+

+ + t( + 'How many redirects the feed fetcher should follow' + )); ?> + +

+

+
+
+

+ +

+

+ + t( + 'Maximum feed size in bytes. If the RSS/Atom page is ' . + 'bigger than this value, the update will be aborted' + )); ?> + +

+

+
+
+

+ +

+

+ + t( + 'Maximum number of seconds to wait for an RSS or Atom feed ' . + 'to load; if it takes longer the update will be aborted' + )); ?> +

+

+
+
+

+ +

+

+ + t( + 'If given, this service\'s URL will be queried for ' . + 'displaying the feeds in the explore feed section. To ' . + 'fall back to the built in explore service, leave this ' . + 'input empty' + )); ?>. + + t( + 'For more information check the wiki' + )); ?> +

+

+
+
+ t('Saved')); ?> +
+
diff --git a/templates-old/index.php b/templates-old/index.php new file mode 100644 index 000000000..4b0408af1 --- /dev/null +++ b/templates-old/index.php @@ -0,0 +1,99 @@ + $fileName) { + style($appName, $fileName); +} +foreach (Plugin::getScripts() as $appName => $fileName) { + script($appName, $fileName); +} +?> + +
+ + + + + + + +
+ + + + + +
    + inc('part.navigation.addfeed')) ?> + inc('part.navigation.addfolder')) ?> + inc('part.navigation.unreadfeed')) ?> + inc('part.navigation.starredfeed')) ?> + inc( + 'part.navigation.feed', ['folderId' => '0'] + )) ?> + inc('part.navigation.folder')) ?> + inc('part.navigation.explore')) ?> +
+ + +
+ inc('part.settings')) ?> +
+
+ +
+
+ + + +
+
diff --git a/templates-old/part.content.explore.php b/templates-old/part.content.explore.php new file mode 100644 index 000000000..87a62259f --- /dev/null +++ b/templates-old/part.content.explore.php @@ -0,0 +1,53 @@ +inc('part.content.warnings')) ?> + +
+ + + +
+ + +
+
+
+
+
+ {{ entry.category }} +
+
+
+

+ {{ entry.title }} +

+

+ {{ entry.title }} +

+
+
+

{{ entry.description }}

+ + +
+
+ +
+
+
+
+ + +
diff --git a/templates-old/part.content.php b/templates-old/part.content.php new file mode 100644 index 000000000..120e9173a --- /dev/null +++ b/templates-old/part.content.php @@ -0,0 +1,158 @@ +inc('part.content.warnings')) ?> + +
+
+

t('No articles available')) ?>

+

t('No unread articles available')) ?>

+
+ + + +
diff --git a/templates-old/part.content.shortcuts.php b/templates-old/part.content.shortcuts.php new file mode 100644 index 000000000..81c7f1b42 --- /dev/null +++ b/templates-old/part.content.shortcuts.php @@ -0,0 +1,78 @@ +inc('part.content.warnings')) ?> + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
t('Keyboard shortcut')); ?>t('Description')); ?>
n / j / t('right')); ?>t('Jump to next article')); ?>
p / k / t('left')); ?>t('Jump to previous article')); ?>
s / lt('Toggle star article')); ?>
h + t('Star article and jump to next one')); ?> +
u + t('Toggle keep current article unread')); ?> +
ot('Open article in new tab')); ?>
e + t('Toggle expand article in compact view')); ?> +
rt('Refresh')); ?>
ft('Load next feed')); ?>
dt('Load previous feed')); ?>
ct('Load next folder')); ?>
vt('Load previous folder')); ?>
at('Scroll to active navigation entry')); ?>
qt('Focus search field')); ?>
shift + at('Mark current article\'s feed/folder read')); ?>
+
+
\ No newline at end of file diff --git a/templates-old/part.content.warnings.php b/templates-old/part.content.warnings.php new file mode 100644 index 000000000..e8578b299 --- /dev/null +++ b/templates-old/part.content.warnings.php @@ -0,0 +1,25 @@ + + +

t('Ajax or webcron mode detected! Your feeds will not be updated!')); ?>

+ +
+ diff --git a/templates-old/part.navigation.addfeed.php b/templates-old/part.navigation.addfeed.php new file mode 100644 index 000000000..595b1a1b4 --- /dev/null +++ b/templates-old/part.navigation.addfeed.php @@ -0,0 +1,114 @@ +
  • +
    + +
    + +
    + +
    +
    + + +

    + t('Feed exists already!')); ?> +

    + + + + + + + + + + +

    + t('Folder exists already!')); ?> +

    + + +
    + + +
    + +
    +

    t('HTTP Basic Auth credentials must be stored unencrypted! Everyone with access to the server or database will be able to access them!')); ?>

    + + + +
    + + + +
    +
    +
    +
  • diff --git a/templates-old/part.navigation.addfolder.php b/templates-old/part.navigation.addfolder.php new file mode 100644 index 000000000..437c35c71 --- /dev/null +++ b/templates-old/part.navigation.addfolder.php @@ -0,0 +1,39 @@ +
  • +
    + +
    + +
    + +
    +
    + + + +

    + t('Folder exists already!')); ?> +

    + + +
    +
    +
    +
  • diff --git a/templates-old/part.navigation.explore.php b/templates-old/part.navigation.explore.php new file mode 100644 index 000000000..8575afb1c --- /dev/null +++ b/templates-old/part.navigation.explore.php @@ -0,0 +1,5 @@ +
  • + + t('Explore')) ?> + +
  • diff --git a/templates-old/part.navigation.feed.php b/templates-old/part.navigation.feed.php new file mode 100644 index 000000000..3c694d3d9 --- /dev/null +++ b/templates-old/part.navigation.feed.php @@ -0,0 +1,179 @@ +
  • + + + {{ feed.title }} + + + + {{ feed.title }} + + +
    +
    + t('Deleted feed')); ?>: {{ feed.title }} +
    + +
    + +
    +
    + + +
    +
    + +
    +
      +
    • + {{ Navigation.getFeedUnreadCount(feed.id) | + unreadCountFormatter }} +
    • +
    • + +
    • +
    +
    + +
    +
      +
    • + +
    • +
    • + + +
    • +
    • + + + +
    • +
    • + + +
    • +
    • + + +
    • +
    • + + + t('Open feed URL')); ?> + +
    • +
    • + +
    • +
    • + +
    • +
    +
    + +
    +

    {{ feed.url }}

    + {{ feed.error }} + +
    +
  • diff --git a/templates-old/part.navigation.folder.php b/templates-old/part.navigation.folder.php new file mode 100644 index 000000000..67ac81e84 --- /dev/null +++ b/templates-old/part.navigation.folder.php @@ -0,0 +1,142 @@ +
  • + + + + {{ folder.name }} + + + + {{ folder.name }} + + +
    +
    + t('Deleted folder')); ?>: {{ folder.name }} +
    + +
    + +
    +
    + + + +

    + t('Folder exists already!')); ?> +

    +

    + {{ folder.renameError }} +

    +
    +
    + +
    +
      +
    • + {{ Navigation.getFolderUnreadCount(folder.id) | + unreadCountFormatter }} +
    • +
    • + +
    • +
    +
    + +
    +
      +
    • + +
    • +
    • + +
    • +
    • + +
    • +
    +
    +
      + inc('part.navigation.feed', ['folderId' => 'folder.id']) + ); ?> +
    + +
    +

    {{ folder.name }}

    + {{ folder.error }} + +
    +
  • diff --git a/templates-old/part.navigation.starredfeed.php b/templates-old/part.navigation.starredfeed.php new file mode 100644 index 000000000..1f096d57d --- /dev/null +++ b/templates-old/part.navigation.starredfeed.php @@ -0,0 +1,20 @@ +
  • + + + t('Starred')) ?> + + +
    +
      +
    • + {{ Navigation.getStarredCount() | unreadCountFormatter }} +
    • +
    +
    +
  • \ No newline at end of file diff --git a/templates-old/part.navigation.unreadfeed.php b/templates-old/part.navigation.unreadfeed.php new file mode 100644 index 000000000..ac92625af --- /dev/null +++ b/templates-old/part.navigation.unreadfeed.php @@ -0,0 +1,71 @@ +
  • + + + t('Unread articles'))?> + + +
    +
      +
    • + {{ Navigation.getUnreadCount() | unreadCountFormatter }} +
    • +
    • + +
    • +
    +
    + +
    +
      +
    • + +
    • +
    +
    + +
  • + +
  • + + + t('All articles'))?> + + +
    +
      +
    • + +
    • +
    +
    + +
    +
      +
    • + +
    • +
    +
    + +
  • diff --git a/templates-old/part.settings.php b/templates-old/part.settings.php new file mode 100644 index 000000000..b3a1b541e --- /dev/null +++ b/templates-old/part.settings.php @@ -0,0 +1,159 @@ +
    + +
    + +
    +

    t('Settings')); ?>

    + +
    +
      +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    • + + +
    • +
    +
    + +
    +

    t('Subscriptions (OPML)')); ?>

    + + + + + + + + + + +

    + t('Error when importing: File does not contain valid OPML') + ); ?> +

    +

    + t('Error when importing: OPML is does neither contain ' . + 'feeds nor folders') + ); ?> +

    + +

    t('Unread/Starred Articles')); ?>

    + + + + + + + + + +

    + t('Error when importing: file does not contain valid JSON') + ); ?> +

    + +
    + +

    t('Help')); ?>

    + +

    + t('Keyboard shortcuts')); ?> +

    + +

    + t('Documentation')); ?> +

    +

    + t('Report a bug')); ?> +

    + +
    diff --git a/templates/admin.php b/templates/admin.php deleted file mode 100644 index cf69c33de..000000000 --- a/templates/admin.php +++ /dev/null @@ -1,131 +0,0 @@ - - -
    -

    News

    -
    -

    > - -

    -

    - t( - 'Disable this if you run a custom updater such as the Python ' . - 'updater included in the app' - )); ?> -

    -
    -
    -

    -

    - -

    - - t( - 'Minimum amount of seconds after deleted feeds and folders ' . - 'are removed from the database; values below 60 seconds are ' . - 'ignored' - )); ?> -

    -

    -
    -
    -

    - -

    -

    - - t( - 'Defines the maximum amount of articles that can be read per ' . - "feed which won't be deleted by the cleanup job; ". - 'if old articles reappear after being read, increase ' . - 'this value; negative values such as -1 will turn this ' . - 'feature off' - )); ?> -

    -

    -
    -
    -

    - -

    -

    - - t( - 'How many redirects the feed fetcher should follow' - )); ?> - -

    -

    -
    -
    -

    - -

    -

    - - t( - 'Maximum feed size in bytes. If the RSS/Atom page is ' . - 'bigger than this value, the update will be aborted' - )); ?> - -

    -

    -
    -
    -

    - -

    -

    - - t( - 'Maximum number of seconds to wait for an RSS or Atom feed ' . - 'to load; if it takes longer the update will be aborted' - )); ?> -

    -

    -
    -
    -

    - -

    -

    - - t( - 'If given, this service\'s URL will be queried for ' . - 'displaying the feeds in the explore feed section. To ' . - 'fall back to the built in explore service, leave this ' . - 'input empty' - )); ?>. - - t( - 'For more information check the wiki' - )); ?> -

    -

    -
    -
    - t('Saved')); ?> -
    -
    diff --git a/templates/index.php b/templates/index.php deleted file mode 100644 index 4b0408af1..000000000 --- a/templates/index.php +++ /dev/null @@ -1,99 +0,0 @@ - $fileName) { - style($appName, $fileName); -} -foreach (Plugin::getScripts() as $appName => $fileName) { - script($appName, $fileName); -} -?> - -
    - - - - -