From 75144a50fe5656d2488bd58e0b5263f4c0ae9bd9 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 | 132 ++++++++++++++ templates-old/index.php | 99 +++++++++++ templates-old/part.content.explore.php | 26 +++ templates-old/part.content.php | 243 ++++++++++++++++++++++++++ templates-old/part.content.shortcuts.php | 78 +++++++++ templates-old/part.content.warnings.php | 25 +++ templates-old/part.navigation.addfeed.php | 121 +++++++++++++ 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 | 132 -------------- templates/index.php | 99 ----------- templates/part.content.explore.php | 26 --- templates/part.content.php | 243 -------------------------- templates/part.content.shortcuts.php | 78 --------- templates/part.content.warnings.php | 25 --- templates/part.navigation.addfeed.php | 121 ------------- 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, 1339 insertions(+), 1339 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..d85af3f83 --- /dev/null +++ b/templates-old/admin.php @@ -0,0 +1,132 @@ + + +
+

News

+
+

> + +

+

+ t( + 'Disable this if you use a custom updater.' + )); ?> +

+
+
+

+

+ +

+ + 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 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( + 'Interval in seconds in which the feeds will be updated.' + )); ?> + + t( + 'For more information check the documentation.' + )); ?> +

+

+
+
+ t('Saved')); ?> +
+
diff --git a/templates-old/index.php b/templates-old/index.php new file mode 100644 index 000000000..9ad38a0d5 --- /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' => 'null'] + )) ?> + 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..28f4e5d23 --- /dev/null +++ b/templates-old/part.content.explore.php @@ -0,0 +1,26 @@ +inc('part.content.warnings')) ?> + +
+
+
+

+ {{ 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..6250fefb5 --- /dev/null +++ b/templates-old/part.content.php @@ -0,0 +1,243 @@ +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..b7da9da05 --- /dev/null +++ b/templates-old/part.navigation.addfeed.php @@ -0,0 +1,121 @@ +
  • +
    + +
    + +
    + +
    +
    + + +

    + 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..ead26beb5 --- /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..7070ba2ce --- /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..f58fea37c --- /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..4b45b6d06 --- /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..cd2db51fe --- /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 d85af3f83..000000000 --- a/templates/admin.php +++ /dev/null @@ -1,132 +0,0 @@ - - -
    -

    News

    -
    -

    > - -

    -

    - t( - 'Disable this if you use a custom updater.' - )); ?> -

    -
    -
    -

    -

    - -

    - - 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 delete