Пример #1
0
     break;
 case "edit":
     $lbl = "RSS Group";
     if (isset($_REQUEST['label']) && $_REQUEST['label'] != "") {
         $lbl = $_REQUEST['label'];
     }
     if (isset($_REQUEST['rss']) && isset($_REQUEST['url'])) {
         $mngr->change($_REQUEST['rss'], $_REQUEST['url'], $lbl);
     }
     break;
 case "clearhistory":
     $mngr->clearHistory();
     break;
 case "refresh":
     if (isset($_REQUEST['rss'])) {
         $mngr->updateRSS($_REQUEST['rss']);
     } else {
         $mngr->update(true);
     }
     break;
 case "refreshgroup":
     if (isset($_REQUEST['rss'])) {
         $mngr->updateRSSGroup($_REQUEST['rss']);
     }
     break;
 case "toggle":
     if (isset($_REQUEST['rss'])) {
         $mngr->toggleStatus($_REQUEST['rss']);
     }
     break;
 case "setgroupstate":