article_publish_url: syntax fix
This commit is contained in:
parent
6af274f68d
commit
17a756d193
|
@ -4216,8 +4216,7 @@
|
||||||
|
|
||||||
function article_publish_url($link) {
|
function article_publish_url($link) {
|
||||||
|
|
||||||
$url_path = 'http://' . $_SERVER["HTTP_HOST"] . \
|
$url_path = 'http://' . $_SERVER["HTTP_HOST"] . parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
|
||||||
parse_url($_SERVER["REQUEST_URI"], PHP_URL_PATH);
|
|
||||||
|
|
||||||
$url_path .= "?op=publish&key=" . get_pref($link, "_PREFS_PUBLISH_KEY");
|
$url_path .= "?op=publish&key=" . get_pref($link, "_PREFS_PUBLISH_KEY");
|
||||||
|
|
||||||
|
|
|
@ -27,6 +27,10 @@ function tagsAreDisplayed() {
|
||||||
|
|
||||||
function toggleTags(show_all) {
|
function toggleTags(show_all) {
|
||||||
|
|
||||||
|
try {
|
||||||
|
|
||||||
|
debug("toggleTags: " + show_all + "; " + display_tags);
|
||||||
|
|
||||||
var p = document.getElementById("dispSwitchPrompt");
|
var p = document.getElementById("dispSwitchPrompt");
|
||||||
|
|
||||||
if (!show_all && !display_tags) {
|
if (!show_all && !display_tags) {
|
||||||
|
@ -43,6 +47,10 @@ function toggleTags(show_all) {
|
||||||
notify_progress("Loading, please wait...", true);
|
notify_progress("Loading, please wait...", true);
|
||||||
updateFeedList();
|
updateFeedList();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
} catch (e) {
|
||||||
|
exception_error("toggleTags", e);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function dlg_frefresh_callback() {
|
function dlg_frefresh_callback() {
|
||||||
|
|
Loading…
Reference in New Issue