Merge branch 'master' of git.fakecake.org:tt-rss
This commit is contained in:
commit
67fc7ba6e3
|
@ -779,7 +779,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||||
|
|
||||||
print "<div class='dlgButtons'>
|
print "<div class='dlgButtons'>
|
||||||
<div style=\"float : left\">
|
<div style=\"float : left\">
|
||||||
<button dojoType=\"dijit.form.Button\" onclick='return unsubscribeFeed($feed_id, \"$title\")'>".
|
<button class=\"danger\" dojoType=\"dijit.form.Button\" onclick='return unsubscribeFeed($feed_id, \"$title\")'>".
|
||||||
__('Unsubscribe')."</button>";
|
__('Unsubscribe')."</button>";
|
||||||
|
|
||||||
if (PUBSUBHUBBUB_ENABLED) {
|
if (PUBSUBHUBBUB_ENABLED) {
|
||||||
|
@ -1443,7 +1443,8 @@ class Pref_Feeds extends Handler_Protected {
|
||||||
|
|
||||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('OPML')."\">";
|
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('OPML')."\">";
|
||||||
|
|
||||||
print_notice(__("Using OPML you can export and import your feeds, filters, labels and Tiny Tiny RSS settings.") . __("Only main settings profile can be migrated using OPML."));
|
print "<p>" . __("Using OPML you can export and import your feeds, filters, labels and Tiny Tiny RSS settings.") .
|
||||||
|
__("Only main settings profile can be migrated using OPML.") . "</p>";
|
||||||
|
|
||||||
print "<iframe id=\"upload_iframe\"
|
print "<iframe id=\"upload_iframe\"
|
||||||
name=\"upload_iframe\" onload=\"opmlImportComplete(this)\"
|
name=\"upload_iframe\" onload=\"opmlImportComplete(this)\"
|
||||||
|
@ -1470,9 +1471,9 @@ class Pref_Feeds extends Handler_Protected {
|
||||||
|
|
||||||
print "<hr>";
|
print "<hr>";
|
||||||
|
|
||||||
print "<p>".__('Your OPML can be published publicly and can be subscribed by anyone who knows the URL below.') . " ";
|
print "<p>" . __('Your OPML can be published publicly and can be subscribed by anyone who knows the URL below.') . "</p>";
|
||||||
|
|
||||||
print __("Published OPML does not include your Tiny Tiny RSS settings, feeds that require authentication or feeds hidden from Popular feeds.") . "</p>";
|
print_warning("Published OPML does not include your Tiny Tiny RSS settings, feeds that require authentication or feeds hidden from Popular feeds.");
|
||||||
|
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return displayDlg('".__("Public OPML URL")."','pubOPMLUrl')\">".
|
print "<button dojoType=\"dijit.form.Button\" onclick=\"return displayDlg('".__("Public OPML URL")."','pubOPMLUrl')\">".
|
||||||
__('Display published OPML URL')."</button> ";
|
__('Display published OPML URL')."</button> ";
|
||||||
|
@ -1503,7 +1504,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||||
|
|
||||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Published & shared articles / Generated feeds')."\">";
|
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Published & shared articles / Generated feeds')."\">";
|
||||||
|
|
||||||
print_notice(__('Published articles are exported as a public RSS feed and can be subscribed by anyone who knows the URL specified below.'));
|
print "<p>" . __('Published articles are exported as a public RSS feed and can be subscribed by anyone who knows the URL specified below.') . "</p>";
|
||||||
|
|
||||||
$rss_url = '-2::' . htmlspecialchars(get_self_url_prefix() .
|
$rss_url = '-2::' . htmlspecialchars(get_self_url_prefix() .
|
||||||
"/public.php?op=rss&id=-2&view-mode=all_articles");;
|
"/public.php?op=rss&id=-2&view-mode=all_articles");;
|
||||||
|
@ -1513,7 +1514,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return displayDlg('".__("View as RSS")."','generatedFeed', '$rss_url')\">".
|
print "<button dojoType=\"dijit.form.Button\" onclick=\"return displayDlg('".__("View as RSS")."','generatedFeed', '$rss_url')\">".
|
||||||
__('Display URL')."</button> ";
|
__('Display URL')."</button> ";
|
||||||
|
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return clearFeedAccessKeys()\">".
|
print "<button class=\"warning\" dojoType=\"dijit.form.Button\" onclick=\"return clearFeedAccessKeys()\">".
|
||||||
__('Clear all generated URLs')."</button> ";
|
__('Clear all generated URLs')."</button> ";
|
||||||
|
|
||||||
print "</p>";
|
print "</p>";
|
||||||
|
@ -1643,7 +1644,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||||
|
|
||||||
print "<div class='dlgButtons'>";
|
print "<div class='dlgButtons'>";
|
||||||
print "<div style='float : left'>";
|
print "<div style='float : left'>";
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('inactiveFeedsDlg').removeSelected()\">"
|
print "<button class=\"danger\" dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('inactiveFeedsDlg').removeSelected()\">"
|
||||||
.__('Unsubscribe from selected feeds')."</button> ";
|
.__('Unsubscribe from selected feeds')."</button> ";
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|
||||||
|
@ -1709,7 +1710,7 @@ class Pref_Feeds extends Handler_Protected {
|
||||||
|
|
||||||
print "<div class='dlgButtons'>";
|
print "<div class='dlgButtons'>";
|
||||||
print "<div style='float : left'>";
|
print "<div style='float : left'>";
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('errorFeedsDlg').removeSelected()\">"
|
print "<button class=\"danger\" dojoType=\"dijit.form.Button\" onclick=\"dijit.byId('errorFeedsDlg').removeSelected()\">"
|
||||||
.__('Unsubscribe from selected feeds')."</button> ";
|
.__('Unsubscribe from selected feeds')."</button> ";
|
||||||
print "</div>";
|
print "</div>";
|
||||||
|
|
||||||
|
|
|
@ -184,6 +184,39 @@
|
||||||
|
|
||||||
/* Various buttons */
|
/* Various buttons */
|
||||||
|
|
||||||
|
.claro .dijitButton.danger .dijitButtonText {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
.claro .dijitButton.danger {
|
||||||
|
text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
|
||||||
|
background-color: #da4f49;
|
||||||
|
*background-color: #bd362f;
|
||||||
|
background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
|
||||||
|
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
|
||||||
|
background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
|
||||||
|
background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
|
||||||
|
background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
|
||||||
|
background-repeat: repeat-x;
|
||||||
|
border-color: #bd362f #bd362f #802420;
|
||||||
|
border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
|
||||||
|
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
|
||||||
|
}
|
||||||
|
|
||||||
|
.claro .dijitButton.dijitButtonDisabled.danger,
|
||||||
|
.claro .dijitButton.dijitButtonActive.danger,
|
||||||
|
.claro .dijitButton.dijitButtonHover.danger,
|
||||||
|
.claro .dijitButton.dijitFocused.danger {
|
||||||
|
color: #ffffff;
|
||||||
|
background-color: #bd362f;
|
||||||
|
*background-color: #a9302a;
|
||||||
|
}
|
||||||
|
|
||||||
|
.claro .dijitButton.dijitButtonActive.danger {
|
||||||
|
background-color: #942a25 \9;
|
||||||
|
}
|
||||||
|
|
||||||
.claro .dijitDropDownButton {
|
.claro .dijitDropDownButton {
|
||||||
margin : 0px;
|
margin : 0px;
|
||||||
}
|
}
|
||||||
|
@ -192,6 +225,10 @@
|
||||||
padding : 0px;
|
padding : 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.claro .dijitButton.dijitButtonActive.danger {
|
||||||
|
color: rgba(255, 255, 255, 0.75);
|
||||||
|
}
|
||||||
|
|
||||||
.claro .dijitButton .dijitButtonNode,
|
.claro .dijitButton .dijitButtonNode,
|
||||||
.claro .dijitDropDownButton .dijitButtonNode,
|
.claro .dijitDropDownButton .dijitButtonNode,
|
||||||
.claro .dijitComboButton .dijitButtonNode,
|
.claro .dijitComboButton .dijitButtonNode,
|
||||||
|
@ -628,3 +665,5 @@ button[disabled],
|
||||||
.claro .dijitProgressBar .dijitProgressBarLabel {
|
.claro .dijitProgressBar .dijitProgressBarLabel {
|
||||||
color : white;
|
color : white;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -72,12 +72,11 @@ div.filterTestHolder, div.prefFeedOPMLHolder {
|
||||||
border-width : 1px;
|
border-width : 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
ul.selfUpdateList, ul.userFeedList {
|
ul.userFeedList {
|
||||||
height : 200px;
|
height : 200px;
|
||||||
overflow : auto;
|
overflow : auto;
|
||||||
list-style-type : none;
|
list-style-type : none;
|
||||||
border : 1px solid #ddd;
|
border : 1px solid #ddd;
|
||||||
background-color : #f5f5f5;
|
|
||||||
margin : 0px 0px 5px 0px;
|
margin : 0px 0px 5px 0px;
|
||||||
padding : 5px;
|
padding : 5px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -252,7 +252,6 @@ div.filterTestHolder {
|
||||||
border-color : #ddd;
|
border-color : #ddd;
|
||||||
border-style : solid;
|
border-style : solid;
|
||||||
margin : 0px 0px 5px 0px;
|
margin : 0px 0px 5px 0px;
|
||||||
background-color : #f5f5f5;
|
|
||||||
border-width : 1px;
|
border-width : 1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -480,7 +479,6 @@ img[src*='pub_set.png'], img[src*='mark_set.png'] {
|
||||||
|
|
||||||
div.tagCloudContainer {
|
div.tagCloudContainer {
|
||||||
border : 1px solid #ddd;
|
border : 1px solid #ddd;
|
||||||
background-color : #f5f5f5;
|
|
||||||
margin : 5px 0px 5px 0px;
|
margin : 5px 0px 5px 0px;
|
||||||
padding : 5px;
|
padding : 5px;
|
||||||
text-align : center;
|
text-align : center;
|
||||||
|
@ -488,7 +486,6 @@ div.tagCloudContainer {
|
||||||
|
|
||||||
div.errorExplained {
|
div.errorExplained {
|
||||||
border : 1px solid #ddd;
|
border : 1px solid #ddd;
|
||||||
background-color : #f5f5f5;
|
|
||||||
margin : 5px 0px 5px 0px;
|
margin : 5px 0px 5px 0px;
|
||||||
padding : 5px;
|
padding : 5px;
|
||||||
}
|
}
|
||||||
|
@ -498,7 +495,6 @@ ul.feedErrorsList {
|
||||||
overflow : auto;
|
overflow : auto;
|
||||||
list-style-type : none;
|
list-style-type : none;
|
||||||
border : 1px solid #ddd;
|
border : 1px solid #ddd;
|
||||||
background-color : #f5f5f5;
|
|
||||||
margin : 0px 0px 5px 0px;
|
margin : 0px 0px 5px 0px;
|
||||||
padding : 5px;
|
padding : 5px;
|
||||||
}
|
}
|
||||||
|
@ -991,7 +987,6 @@ ul.helpKbList {
|
||||||
overflow : auto;
|
overflow : auto;
|
||||||
list-style-type : none;
|
list-style-type : none;
|
||||||
border : 1px solid #ddd;
|
border : 1px solid #ddd;
|
||||||
background-color : #f5f5f5;
|
|
||||||
margin : 0px 0px 5px 0px;
|
margin : 0px 0px 5px 0px;
|
||||||
padding : 5px;
|
padding : 5px;
|
||||||
}
|
}
|
||||||
|
|
|
@ -156,7 +156,7 @@ class Af_Psql_Trgm extends Plugin {
|
||||||
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"save\">";
|
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"save\">";
|
||||||
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"plugin\" value=\"af_psql_trgm\">";
|
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"plugin\" value=\"af_psql_trgm\">";
|
||||||
|
|
||||||
print_notice("PostgreSQL trigram extension returns string similarity as a floating point number (0-1). Setting it too low might produce false positives, zero disables checking.");
|
print "<p>" . __("PostgreSQL trigram extension returns string similarity as a floating point number (0-1). Setting it too low might produce false positives, zero disables checking.") . "</p>";
|
||||||
print_notice("Enable the plugin for specific feeds in the feed editor.");
|
print_notice("Enable the plugin for specific feeds in the feed editor.");
|
||||||
|
|
||||||
print "<h3>" . __("Global settings") . "</h3>";
|
print "<h3>" . __("Global settings") . "</h3>";
|
||||||
|
|
|
@ -43,9 +43,7 @@ class Af_RedditImgur extends Plugin {
|
||||||
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"save\">";
|
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"method\" value=\"save\">";
|
||||||
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"plugin\" value=\"af_redditimgur\">";
|
print "<input dojoType=\"dijit.form.TextBox\" style=\"display : none\" name=\"plugin\" value=\"af_redditimgur\">";
|
||||||
|
|
||||||
print "<h3>" . __("Global settings") . "</h3>";
|
print "<p>" . __("Uses Readability (full-text-rss) implementation by <a target='_blank' href='https://bitbucket.org/fivefilters/'>FiveFilters.org</a>");
|
||||||
|
|
||||||
print_notice("Uses Readability (full-text-rss) implementation by <a target='_blank' href='https://bitbucket.org/fivefilters/'>FiveFilters.org</a>");
|
|
||||||
print "<p/>";
|
print "<p/>";
|
||||||
|
|
||||||
print "<input dojoType=\"dijit.form.CheckBox\" id=\"enable_readability\"
|
print "<input dojoType=\"dijit.form.CheckBox\" id=\"enable_readability\"
|
||||||
|
|
|
@ -19,7 +19,7 @@ class Bookmarklets extends Plugin {
|
||||||
|
|
||||||
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Bookmarklets')."\">";
|
print "<div dojoType=\"dijit.layout.AccordionPane\" title=\"".__('Bookmarklets')."\">";
|
||||||
|
|
||||||
print_notice(__("Drag the link below to your browser toolbar, open the feed you're interested in in your browser and click on the link to subscribe to it."));
|
print "<p>" . __("Drag the link below to your browser toolbar, open the feed you're interested in in your browser and click on the link to subscribe to it.") . "</p>";
|
||||||
|
|
||||||
$bm_subscribe_url = str_replace('%s', '', add_feed_url());
|
$bm_subscribe_url = str_replace('%s', '', add_feed_url());
|
||||||
|
|
||||||
|
@ -31,7 +31,7 @@ class Bookmarklets extends Plugin {
|
||||||
print "<a href=\"$bm_url\" class='bookmarklet'>" . __('Subscribe in Tiny Tiny RSS'). "</a>";
|
print "<a href=\"$bm_url\" class='bookmarklet'>" . __('Subscribe in Tiny Tiny RSS'). "</a>";
|
||||||
print "</p>";
|
print "</p>";
|
||||||
|
|
||||||
print_notice(__("Use this bookmarklet to publish arbitrary pages using Tiny Tiny RSS"));
|
print "<p>" . __("Use this bookmarklet to publish arbitrary pages using Tiny Tiny RSS") . "</p>";
|
||||||
|
|
||||||
print "<p>";
|
print "<p>";
|
||||||
|
|
||||||
|
|
|
@ -36,11 +36,9 @@ class Share extends Plugin {
|
||||||
function hook_prefs_tab_section($id) {
|
function hook_prefs_tab_section($id) {
|
||||||
if ($id == "prefFeedsPublishedGenerated") {
|
if ($id == "prefFeedsPublishedGenerated") {
|
||||||
|
|
||||||
print_warning(__("You can disable all articles shared by unique URLs here."));
|
print "<p>" . __("You can disable all articles shared by unique URLs here.") . "</p>";
|
||||||
|
|
||||||
print "<p>";
|
print "<button class=\"danger\" dojoType=\"dijit.form.Button\" onclick=\"return clearArticleAccessKeys()\">".
|
||||||
|
|
||||||
print "<button dojoType=\"dijit.form.Button\" onclick=\"return clearArticleAccessKeys()\">".
|
|
||||||
__('Unshare all articles')."</button> ";
|
__('Unshare all articles')."</button> ";
|
||||||
|
|
||||||
print "</p>";
|
print "</p>";
|
||||||
|
@ -96,7 +94,7 @@ class Share extends Plugin {
|
||||||
AND owner_uid = " . $_SESSION['uid']);
|
AND owner_uid = " . $_SESSION['uid']);
|
||||||
}
|
}
|
||||||
|
|
||||||
print "<h2>". __("You can share this article by the following unique URL:") . "</h2>";
|
print __("You can share this article by the following unique URL:") . "<br/>";
|
||||||
|
|
||||||
$url_path = get_self_url_prefix();
|
$url_path = get_self_url_prefix();
|
||||||
$url_path .= "/public.php?op=share&key=$uuid";
|
$url_path .= "/public.php?op=share&key=$uuid";
|
||||||
|
|
Loading…
Reference in New Issue