<?php

$idField = "id_plugin";

$tableName = $_POST['tableName'];
$questionId = $_POST['questionId'];
$pluginPath = $_POST['pluginPath'];
$projectId = $_POST['projectId'];

$pluginDir = "webcati/_plugins/" . $pluginPath . "/admin";

//TODO popravi table name!!
?>

CallScript('<?php echo $pluginDir; ?>/_forms/forms.settings.main.php', {
   tableName : '<?php echo $tableName; ?>',
   questionId:  '<?php echo $questionId; ?>',
   pluginDir: '<?php echo $pluginDir; ?>',
   projectId : '<?php echo $projectId; ?>'
});
