1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 05:25:56 +00:00

move version-related stuff to Config; fix conditional feed requests

This commit is contained in:
Andrew Dolgov
2021-03-01 13:43:37 +03:00
parent 20a844085f
commit 320503dd39
11 changed files with 97 additions and 115 deletions

View File

@@ -151,14 +151,12 @@
PluginHost::getInstance()->run_hooks(PluginHost::HOOK_PREFS_TABS);
?>
</div>
<?php $version = get_version($git_commit, $git_timestamp, $last_error); ?>
<div id="footer" dojoType="dijit.layout.ContentPane" region="bottom">
<a class="text-muted" target="_blank" href="https://tt-rss.org/">Tiny Tiny RSS</a>
<span title="<?= htmlspecialchars($last_error) ?>">v<?= $version ?></span>
&copy; 2005-<?= date('Y') ?>
<a class="text-muted" target="_blank"
href="https://fakecake.org/">Andrew Dolgov</a>
</div> <!-- footer -->
<a class="text-muted" target="_blank" href="https://tt-rss.org/">Tiny Tiny RSS</a>
<span>v<?= Config::get_version() ?></span>
&copy; 2005-<?= date('Y') ?>
<a class="text-muted" target="_blank" href="https://fakecake.org/">Andrew Dolgov</a>
</div>
</div>
</body>