";
+ print "
";
}
if ($id == "editArticleTags") {
@@ -579,15 +693,15 @@
print "
";
print "
";
- print "
";
+ print "
";
print "
";
print "
- ";
+ ";
print " |
";
@@ -607,8 +721,8 @@
print "
".__('Tag Cloud')."";
print "
".__('more tags')."):
";
+# print __("Showing most popular tags ")." (".__('more tags')."):
";
print "";
@@ -617,14 +731,44 @@
print "
";
print "";
- print "";
print "
";
print "]]>";
+ }
- //return;
+ if ($id == 'printTagSelect') {
+ print "
" . __('Select item(s) by tags') . "";
+ print "
Any ";
+ print " All ";
+ print " tags.";
+
+ print "";
+
+ print "";
+ print "";
+ print " ";
+ print "";
+ print "
";
+
+ print "]]>";
}
if ($id == "emailArticle") {
@@ -635,7 +779,7 @@
print "
";
print "
";
- print "
";
+ print "
";
$result = db_query($link, "SELECT email, full_name FROM ttrss_users WHERE
id = " . $_SESSION["uid"]);
@@ -704,8 +848,8 @@
style=\"width : 30em;\"
name=\"destination\" id=\"emailArticleDlg_destination\">";
- print "
";
+ print "
";
print "
";
@@ -714,7 +858,7 @@
print " | ";
print "";
print " |
";
@@ -736,7 +880,7 @@
print "
".__('View as RSS')."";
print "
";
- print T_sprintf("New version of Tiny Tiny RSS is available (%s).",
+ print T_sprintf("New version of Tiny Tiny RSS is available (%s).",
"$version");
print " ";
@@ -781,11 +925,11 @@
$download = "http://tt-rss.org/#Download";
print "";
@@ -827,7 +973,7 @@
print "";
print "";
- print "";
+ print "";
print "";
+
+ print " ";
+ print "";
+ print " ";
+ }
+
+ if ($id == "addInstance") {
+
+ print "";
+ print "";
+
+ print "".__("Instance")." ";
+
+ print "";
+
+ print "";
+
+ return;
+ }
+
+ if ($id == "shareArticle") {
+
+ $result = db_query($link, "SELECT uuid, ref_id FROM ttrss_user_entries WHERE int_id = '$param'
+ AND owner_uid = " . $_SESSION['uid']);
+
+ if (db_num_rows($result) == 0) {
+ print "Article not found.";
+ } else {
+
+ $uuid = db_fetch_result($result, 0, "uuid");
+ $ref_id = db_fetch_result($result, 0, "ref_id");
+
+ if (!$uuid) {
+ $uuid = db_escape_string(sha1(uniqid(rand(), true)));
+ db_query($link, "UPDATE ttrss_user_entries SET uuid = '$uuid' WHERE int_id = '$param'
+ AND owner_uid = " . $_SESSION['uid']);
+ }
+
+ print __("You can share this article by the following unique URL:");
+
+ $url_path = get_self_url_prefix();
+ $url_path .= "/public.php?op=share&key=$uuid";
+
+ print "";
+
+ /* if (!label_find_id($link, __('Shared'), $_SESSION["uid"]))
+ label_create($link, __('Shared'), $_SESSION["uid"]);
+
+ label_add_article($link, $ref_id, __('Shared'), $_SESSION['uid']); */
+ }
+
+ print "";
+
+ print "";
+
+ print " ";
+
+ return;
+ }
+
+ print "";
- print "";
}
?>
|