Ejemplo n.º 1
0
 case "userprofile":
     editUserProfile($uid);
     break;
 case "showinstructions":
     showInstructions($kunena_db, $option, $lang);
     break;
 case "showCss":
     showCss($option);
     break;
 case "saveeditcss":
     $file = JRequest::getVar('file', 1);
     $csscontent = JRequest::getVar('csscontent', 1);
     saveCss($file, $csscontent, $option);
     break;
 case "instructions":
     showInstructions($kunena_db, $option, $lang);
     break;
 case "saveuserprofile":
     saveUserProfile($option);
     break;
 case "upgradetables":
     upgradeTables($option);
     break;
 case "pruneforum":
     pruneforum($kunena_db, $option);
     break;
 case "doprune":
     doprune($kunena_db, $option);
     break;
 case "douserssync":
     douserssync($kunena_db, $option);
Ejemplo n.º 2
0
		cbSpoofCheck( 'user' );
        approveUser( $cid, 1, $option );
        break;

	case "reject":
		cbSpoofCheck( 'user' );
        approveUser( $cid, 0, $option );
        break;

   	case "showconfig":
  		showConfig( $option );
  		break;

   	case "showinstruction":
   		global $_CB_database;
  		showInstructions( $_CB_database, $option, $_CB_framework->getCfg( 'lang' ) );
  		break;

   	case "saveconfig":
		cbSpoofCheck( 'config' );
  		saveConfig( $option );
      	break;

	case "removeTab":
		cbSpoofCheck( 'tab' );
		removeTabs( $cid, $option );
		break;

	case "showTab":
		showTab( $option );
		break;