Exemple #1
0
     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);
     break;
 case 'movesectsave':
     moveSectionSave($cid, $sectionid, $option);
Exemple #2
0
        break;
    case 'archivecategory':
        showArchiveCategory($id, $gid, $access, $pop, $option, $now);
        break;
    case 'edit':
        editItem($id, $gid, $access, 0, $task, $Itemid);
        break;
    case 'new':
        editItem(0, $gid, $access, $sectionid, $task, $Itemid);
        break;
    case 'save':
        mosCache::cleanCache('com_content');
        saveContent($access);
        break;
    case 'cancel':
        cancelContent($access);
        break;
    case 'emailform':
        emailContentForm($id);
        break;
    case 'emailsend':
        emailContentSend($id);
        break;
    case 'vote':
        recordVote($url, $user_rating, $cid, $database);
        break;
    default:
        $cache->call('showBlogSection', 0, $gid, $access, $pop, $now);
        break;
}
function frontpage($gid, &$access, $pop, $now)
     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);
     break;
 case 'movesectsave':
     moveSectionSave($cid, $sectionid, $option);