Example #1
0
         $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":
     if (isset($_REQUEST['rss'])) {
         $mngr->setStatusGroup($_REQUEST['rss'], $_REQUEST['state']);
     }
     break;
 case "remove":
     if (isset($_REQUEST['rss'])) {
         $mngr->remove($_REQUEST['rss']);