$search_q = "";
}
+ $reply .= "<span class=\"holder\">";
+
$rss_link = htmlspecialchars(get_self_url_prefix() .
"/public.php?op=rss&id=$feed_id$cat_q$search_q");
$error_class = $error ? "error" : "";
- $reply .= "<span class='r'>";
- $reply .= "<span id='selected_prompt'></span>";
+ $reply .= "<span class='r'>
+ <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>";
+
if ($feed_site_url) {
$last_updated = T_sprintf("Last updated: %s",
$feed_last_updated);
}
$reply .= "</span>";
+ $reply .= "<span id='selected_prompt'></span>";
- $reply .= "
- <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>";
+# $reply .= "</span>";
// left part
- $reply .= __('Select:')."
+ $reply .= "<span class=\"main\">";
+
+ $reply .= "
<a href=\"#\" onclick=\"$sel_all_link\">".__('All')."</a>,
<a href=\"#\" onclick=\"$sel_unread_link\">".__('Unread')."</a>,
<a href=\"#\" onclick=\"$sel_inv_link\">".__('Invert')."</a>,
$reply .= "</select>";
- //$reply .= "</div>";
-
//$reply .= "</h2";
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_HEADLINE_TOOLBAR_BUTTON) as $p) {
echo $p->hook_headline_toolbar_button($feed_id, $is_cat);
}
+ $reply .= "</span></span>";
+
return $reply;
}
div#floatingTitle {
position : absolute;
z-index : 5;
- top : 25px;
+ top : 0px;
right : 0px;
left : 0px;
border-color : #ccc;
color : #909090;
}
-/* #headlines-frame div.hl:nth-child(even) {
- background : #fafafa;
-} */
-
-#headlines-frame.normal {
-
-}
-
.hl {
border-width : 0px 0px 1px 0px;
border-style : solid;
color : #555;
}
-div#headlines-toolbar {
- border-width : 0px;
- font-size : 12px;
+#main-toolbar > * {
+ white-space : nowrap;
+ display : table-cell;
+ color : #999;
font-family : "Segoe UI", Tahoma, sans-serif;
- color : #555;
- padding : 0px;
- margin : 0px;
- overflow : hidden;
- height : 25px;
- line-height : 25px;
- padding-left : 4px;
- background : white;
}
-div#headlines-toolbar .dijitSelect {
- font-size : 11px;
- position : relative;
- top : -2px;
+#main-toolbar #headlines-toolbar {
+ padding-right : 4px;
+ width : 100%;
+}
+
+#main-toolbar #headlines-toolbar span.holder {
+ display : table;
+ width : 100%;
}
-div#headlines-toolbar span.r {
- float: right;
- position: relative;
- padding : 0 4px 0px 4px;
+#main-toolbar #headlines-toolbar span.holder > * {
+ display : table-cell;
+}
+
+#main-toolbar #headlines-toolbar .main {
text-align : right;
-}
+}
+
+#headlines-toolbar span.r img {
+ margin-right : 4px;
+ position : relative;
+ top : 3px;
+}
#headlines-toolbar span.r .error a {
color : red;
}
-div#headlines-toolbar span.r a {
- color : #555;
+#main-toolbar #selected_prompt {
+ font-style : italic;
+ text-align : center;
}
span.contentPreview {
padding : 0px;
}
-#main_toolbar_form {
- margin : 0px;
- padding : 0px;
- display : table-cell;
- white-space : nowrap;
- width : 100%;
-}
-
div.loadingPrompt {
padding : 1em;
text-align : center;
margin: 0;
} */
-#toolbar div.actionChooser {
- display : table-cell;
- text-align : right;
- padding-right : 3px;
-}
-
div.autocomplete {
position : absolute;
width : 250px;
<div id="toolbar" dojoType="dijit.layout.ContentPane" region="top">
<div id="main-toolbar" dojoType="dijit.Toolbar">
+ <form id="headlines-toolbar" action="" onsubmit='return false'>
+
+ </form>
+
<form id="main_toolbar_form" action="" onsubmit='return false'>
<button dojoType="dijit.form.Button" id="collapse_feeds_btn"
<div id="headlines-wrap-inner" dojoType="dijit.layout.BorderContainer" region="center">
- <div id="headlines-toolbar" dojoType="dijit.layout.ContentPane" region="top">
- </div>
-
<div id="floatingTitle" style="display : none"></div>
<div id="headlines-frame" dojoType="dijit.layout.ContentPane"
dijit.byId("headlines-frame").attr('content',
reply['headlines']['content']);
- dijit.byId("headlines-toolbar").attr('content',
- reply['headlines']['toolbar']);
+ //dijit.byId("headlines-toolbar").attr('content',
+ // reply['headlines']['toolbar']);
+
+ dojo.html.set($("headlines-toolbar"),
+ reply['headlines']['toolbar'],
+ {parseContent: true});
$$("#headlines-frame > div[id*=RROW]").each(function(row) {
if (loaded_article_ids.indexOf(row.id) != -1) {