Ejemplo n.º 1
0
     removeContent($cid, $sectionid, $option);
     break;
 case 'publish':
     changeContent($cid, 1, $sectionid, $option);
     break;
 case 'unpublish':
     changeContent($cid, 0, $sectionid, $option);
     break;
 case 'toggle_frontpage':
     toggleFrontPage($cid, $sectionid, $option);
     break;
 case 'archive':
     changeContent($cid, -1, $sectionid, $option);
     break;
 case 'unarchive':
     changeContent($cid, 0, $sectionid, $option);
     break;
 case 'cancel':
     cancelContent($option);
     break;
 case 'orderup':
     orderContent($cid[0], -1, $option);
     break;
 case 'orderdown':
     orderContent($cid[0], 1, $option);
     break;
 case 'showarchive':
     viewArchive($sectionid, $option);
     break;
 case 'movesect':
     moveSection($cid, $sectionid, $option);
Ejemplo n.º 2
0
     removeContent($cid, $sectionid, $option);
     break;
 case 'publish':
     changeContent($cid, 1, $option);
     break;
 case 'unpublish':
     changeContent($cid, 0, $option);
     break;
 case 'toggle_frontpage':
     toggleFrontPage($cid, $sectionid, $option);
     break;
 case 'archive':
     changeContent($cid, -1, $option);
     break;
 case 'unarchive':
     changeContent($cid, 0, $option);
     break;
 case 'cancel':
     cancelContent();
     break;
 case 'orderup':
     orderContent(intval($cid[0]), -1, $option);
     break;
 case 'orderdown':
     orderContent(intval($cid[0]), 1, $option);
     break;
 case 'showarchive':
     viewArchive($sectionid, $option);
     break;
 case 'movesect':
     moveSection($cid, $sectionid, $option);