init_collapsable_feedlist(getInitParam("theme"));
- Sortable.create('feedList', {onChange: feedlist_dragsorted});
+ Sortable.create('feedList', {onChange: feedlist_dragsorted, only: "feedCat"});
} catch (e) {
exception_error("feedlist/init", e);
$inner_title_class = "catTitleNL";
}
- print "<li class=\"feedCat\" id=\"FCAT-$cat_id\">
+ if ($cat_id > 0) {
+ $cat_class = "feedCat";
+ } else {
+ $cat_class = "virtCat";
+ }
+
+ print "<li class=\"$cat_class\" id=\"FCAT-$cat_id\">
<img onclick=\"toggleCollapseCat($cat_id)\" class=\"catCollapse\"
title=\"".__('Click to collapse category')."\"
src=\"images/cat-collapse.png\"><span class=\"$inner_title_class\"
font-family : "Lucida Grande", Tahoma, Arial, sans-serif;
}
-ul.feedList li.feedCat {
+ul.feedList li.feedCat, ul.feedList li.virtCat {
margin : 0px;
padding : 3px 0px 3px 0px;
color : #707070;
cursor : pointer;
}
-ul.feedList li.feedCat span.catTitle {
+ul.feedList span.catTitle {
color : #707070;
cursor : pointer;
}
-ul.feedList li.feedCat span.catTitle:hover {
+ul.feedList span.catTitle:hover {
color : #4684ff;
}