1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-25 04:01:28 +00:00

remove modalbox; use dijit.Dialog; further dojo-related updates

This commit is contained in:
Andrew Dolgov
2010-11-15 13:12:02 +03:00
parent 2f01fe57a8
commit 6e4f4ce14b
12 changed files with 131 additions and 972 deletions

View File

@@ -4115,7 +4115,7 @@
$feed_id, $is_cat, $search, $match_on,
$search_mode, $view_mode) {
print "<div class=\"headlinesSubToolbar\">";
# print "<div class=\"headlinesSubToolbar\">";
$page_prev_link = "javascript:viewFeedGoPage(-1)";
$page_next_link = "javascript:viewFeedGoPage(1)";
@@ -4246,7 +4246,7 @@
print "</ul>";
print "</div>";
# print "</div>";
}
function printCategoryHeader($link, $cat_id, $hidden = false, $can_browse = true,
@@ -5060,8 +5060,10 @@
/// STOP //////////////////////////////////////////////////////////////////////////////////
print "<toolbar><![CDATA[";
if (!$offset) {
print "<div id=\"headlinesContainer\" $rtl_tag>";
// print "<div id=\"headlinesContainer\" $rtl_tag>";
if (!$result) {
print "<div align='center'>".__("Could not display feed (query failed). Please check label match syntax or local configuration.")."</div>";
@@ -5072,11 +5074,13 @@
print_headline_subtoolbar($link, $feed_site_url, $feed_title,
$feed, $cat_view, $search, $match_on, $search_mode, $view_mode);
print "<div id=\"headlinesInnerContainer\" onscroll=\"headlines_scroll_handler()\">";
// print "<div id=\"headlinesInnerContainer\" onscroll=\"headlines_scroll_handler()\">";
}
}
print "]]></toolbar><content><![CDATA[";
$headlines_count = db_num_rows($result);
if (db_num_rows($result) > 0) {
@@ -5537,10 +5541,12 @@
}
}
if (!$offset) {
if ($headlines_count > 0) print "</div>";
print "</div>";
}
# if (!$offset) {
# if ($headlines_count > 0) print "</div>";
# print "</div>";
# }
print "]]></content>";
return array($topmost_article_ids, $headlines_count, $feed, $disable_cache, $vgroup_last_feed);
}