Example #1
0
     break;
 case 'edit':
     editNewsFeed(true);
     break;
 case 'save':
 case 'apply':
     saveNewsFeed();
     break;
 case 'publish':
     publishNewsFeeds();
     break;
 case 'unpublish':
     unPublishNewsFeeds();
     break;
 case 'remove':
     removeNewsFeeds();
     break;
 case 'cancel':
     cancelNewsFeed();
     break;
 case 'orderup':
     moveUpNewsFeed();
     break;
 case 'orderdown':
     moveDownNewsFeed();
     break;
 case 'saveorder':
     saveOrder();
     break;
 default:
     showNewsFeeds();
        editNewsFeed(intval($cid[0]), $option);
        break;
    case 'editA':
        editNewsFeed($id, $option);
        break;
    case 'save':
        saveNewsFeed($option);
        break;
    case 'publish':
        publishNewsFeeds($cid, 1, $option);
        break;
    case 'unpublish':
        publishNewsFeeds($cid, 0, $option);
        break;
    case 'remove':
        removeNewsFeeds($cid, $option);
        break;
    case 'cancel':
        cancelNewsFeed($option);
        break;
    case 'orderup':
        orderNewsFeed(intval($cid[0]), -1, $option);
        break;
    case 'orderdown':
        orderNewsFeed(intval($cid[0]), 1, $option);
        break;
    default:
        showNewsFeeds($option);
        break;
}
/**