1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 03:25:57 +00:00

add date suffixes to opml & import_export generated files

This commit is contained in:
Andrew Dolgov
2015-09-21 12:45:25 +03:00
parent 73963a21b2
commit 77e8100669
2 changed files with 7 additions and 3 deletions

View File

@@ -1461,8 +1461,10 @@ class Pref_Feeds extends Handler_Protected {
print "<hr>";
$opml_export_filename = "TinyTinyRSS_".date("Y-m-d").".opml";
print "<p>" . __('Filename:') .
" <input type=\"text\" id=\"filename\" value=\"TinyTinyRSS.opml\" />&nbsp;" .
" <input type=\"text\" id=\"filename\" value=\"$opml_export_filename\" />&nbsp;" .
__('Include settings') . "<input type=\"checkbox\" id=\"settings\" checked=\"1\"/>";
print "</p><button dojoType=\"dijit.form.Button\"