|
|
@ -43,6 +43,8 @@ class Feeds extends Handler_Protected {
|
|
|
|
$search_q = "";
|
|
|
|
$search_q = "";
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$reply .= "<span class=\"holder\">";
|
|
|
|
|
|
|
|
|
|
|
|
$rss_link = htmlspecialchars(get_self_url_prefix() .
|
|
|
|
$rss_link = htmlspecialchars(get_self_url_prefix() .
|
|
|
|
"/public.php?op=rss&id=$feed_id$cat_q$search_q");
|
|
|
|
"/public.php?op=rss&id=$feed_id$cat_q$search_q");
|
|
|
|
|
|
|
|
|
|
|
@ -50,10 +52,18 @@ class Feeds extends Handler_Protected {
|
|
|
|
|
|
|
|
|
|
|
|
$error_class = $error ? "error" : "";
|
|
|
|
$error_class = $error ? "error" : "";
|
|
|
|
|
|
|
|
|
|
|
|
$reply .= "<span class='r'>";
|
|
|
|
$reply .= "<span class='r'>
|
|
|
|
$reply .= "<span id='selected_prompt'></span>";
|
|
|
|
<a href=\"#\"
|
|
|
|
|
|
|
|
title=\"".__("View as RSS feed")."\"
|
|
|
|
|
|
|
|
onclick=\"displayDlg('".__("View as RSS")."','generatedFeed', '$feed_id:$is_cat:$rss_link')\">
|
|
|
|
|
|
|
|
<img class=\"noborder\" src=\"images/pub_set.png\"></a>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# $reply .= "<span>";
|
|
|
|
$reply .= "<span id='feed_title' class='$error_class'>";
|
|
|
|
$reply .= "<span id='feed_title' class='$error_class'>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$reply .= "</span>";
|
|
|
|
|
|
|
|
|
|
|
|
if ($feed_site_url) {
|
|
|
|
if ($feed_site_url) {
|
|
|
|
$last_updated = T_sprintf("Last updated: %s",
|
|
|
|
$last_updated = T_sprintf("Last updated: %s",
|
|
|
|
$feed_last_updated);
|
|
|
|
$feed_last_updated);
|
|
|
@ -72,18 +82,15 @@ class Feeds extends Handler_Protected {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
$reply .= "</span>";
|
|
|
|
$reply .= "</span>";
|
|
|
|
|
|
|
|
$reply .= "<span id='selected_prompt'></span>";
|
|
|
|
|
|
|
|
|
|
|
|
$reply .= "
|
|
|
|
# $reply .= "</span>";
|
|
|
|
<a href=\"#\"
|
|
|
|
|
|
|
|
title=\"".__("View as RSS feed")."\"
|
|
|
|
|
|
|
|
onclick=\"displayDlg('".__("View as RSS")."','generatedFeed', '$feed_id:$is_cat:$rss_link')\">
|
|
|
|
|
|
|
|
<img class=\"noborder\" style=\"vertical-align : middle\" src=\"images/pub_set.png\"></a>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$reply .= "</span>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// left part
|
|
|
|
// left part
|
|
|
|
|
|
|
|
|
|
|
|
$reply .= __('Select:')."
|
|
|
|
$reply .= "<span class=\"main\">";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$reply .= "
|
|
|
|
<a href=\"#\" onclick=\"$sel_all_link\">".__('All')."</a>,
|
|
|
|
<a href=\"#\" onclick=\"$sel_all_link\">".__('All')."</a>,
|
|
|
|
<a href=\"#\" onclick=\"$sel_unread_link\">".__('Unread')."</a>,
|
|
|
|
<a href=\"#\" onclick=\"$sel_unread_link\">".__('Unread')."</a>,
|
|
|
|
<a href=\"#\" onclick=\"$sel_inv_link\">".__('Invert')."</a>,
|
|
|
|
<a href=\"#\" onclick=\"$sel_inv_link\">".__('Invert')."</a>,
|
|
|
@ -132,14 +139,14 @@ class Feeds extends Handler_Protected {
|
|
|
|
|
|
|
|
|
|
|
|
$reply .= "</select>";
|
|
|
|
$reply .= "</select>";
|
|
|
|
|
|
|
|
|
|
|
|
//$reply .= "</div>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//$reply .= "</h2";
|
|
|
|
//$reply .= "</h2";
|
|
|
|
|
|
|
|
|
|
|
|
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_HEADLINE_TOOLBAR_BUTTON) as $p) {
|
|
|
|
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_HEADLINE_TOOLBAR_BUTTON) as $p) {
|
|
|
|
echo $p->hook_headline_toolbar_button($feed_id, $is_cat);
|
|
|
|
echo $p->hook_headline_toolbar_button($feed_id, $is_cat);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$reply .= "</span></span>";
|
|
|
|
|
|
|
|
|
|
|
|
return $reply;
|
|
|
|
return $reply;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|