Location: PHPKode > projects > Content*Builder > contentbuilder/plugins/col_man/settingColumn.inc.php
<?php
	if(!(COL_MNG & $cbPerms)) {
		if(!(ADMIN & $cbPerms)) {
			echo $error_msg['permission-denied'];
			exit();
		}
	}
	
	//Ableitung des Article Option Objektes
	$columnOption = new CBOption();
	$columnOption->setModule("column");
	$columnOption->getOptionList();
	
	/* Include of Language Files */
	if(file_exists($lang_path.$lang_pf."/plugin/column.lang.php")) {
		include_once($lang_path.$lang_pf."/plugin/column.lang.php");
	} else {
		include_once($lang_path."en/plugin/column.lang.php");
	}
	$tpl->assign("columnMessages", $rmText);
	
	if(!$columnOption->getSingleOption("activateMultiLanguageColumns")) {
		$columnOption->insertOption('activateMultiLanguageColumns', "0");
	}
		
	$update = false;
	if(isset($_POST[set])) {
		// einzelne Optionen in die DB eintragen
		$columnOption->updateOption('activateMultiLanguageColumns', mysql_escape_string($_POST[activateMultiLanguageColumns]));
		
		$columnOption->getOptionList();
		$update = true;
	}

	/*
	* Multi Language Columns
	*/
	$columnMultiLanguage = "";
	if($columnOption->getSingleOption("activateMultiLanguageColumns")) {
		$columnMultiLanguage = "checked";
	}
	
	$tpl->assign("settingColumnOptions",
		array ( "CHK_MULTI_LANG_COLUMNS" => $columnMultiLanguage,
				"SETTINGTAB"             => $settingTab
		)
	);
	
	$tpl->assign("settingColumnOptions_set", "1");

	if($update) {
		$messageList[] = $rmText["settings_change"];
	}
	
	$tpl->display($settingPlugin->getValue("templates")."settingColumn.template", null, "pluginColSetting".$cbUserID);
?>
Return current item: Content*Builder