ConfigSetting($Name)).'" />'); break; case "Paragraph": $Rows = isset($Params["Rows"]) ? $Params["Rows"] : 4; $Columns = isset($Params["Columns"]) ? $Params["Columns"] : 40; print('' .htmlspecialchars($Plugin->ConfigSetting($Name)) .''); break; case "Flag": print('ConfigSetting($Name) ? ' checked' : '') .' /> '.$Params["OnLabel"] ."\n"); print('ConfigSetting($Name) ? '' : ' checked') .' /> '.$Params["OffLabel"] ."\n"); break; case "Option": $AllowMultiple = isset($Params["AllowMultiple"]) && $Params["AllowMultiple"]; $FieldName = $AllowMultiple ? $FieldName."[]" : $FieldName; PrintOptionList( $FieldName, $Params["Options"], $Plugin->ConfigSetting($Name), "", 1, 1, $AllowMultiple, NULL, "auto"); break; case "MetadataField": $AllowMultiple = isset($Params["AllowMultiple"]) && $Params["AllowMultiple"]; $FieldName = $AllowMultiple ? $FieldName."[]" : $FieldName; $FieldTypes = GetArrayValue($Params, "FieldTypes"); $Schema = new MetadataSchema(); print $Schema->GetFieldsAsOptionList( $FieldName, $FieldTypes, $Plugin->ConfigSetting($Name), !$AllowMultiple, NULL, $AllowMultiple); break; case "Privileges": $PrivFactory = new PrivilegeFactory(); print $PrivFactory->GetItemsAsOptionList( $FieldName, $Plugin->ConfigSetting($Name), NULL, 15); break; } if (isset($Params["Units"])) { print " ".$Params["Units"]; } } # ----- MAIN ----------------------------------------------------------------- $BaseName = (isset($_GET["PN"])) ? $_GET["PN"] : NULL; if (!is_null($G_Plugin)) { $Attributes = $G_Plugin->GetAttributes(); if (count($Attributes["CfgSetup"])) { foreach ($Attributes["CfgSetup"] as $Name => $Params) { if ($Params["Type"] == "Heading") { $TableIsSectioned = TRUE; } } } } ?>

# Plugin Error

No plugin found with a base name of .

# Configure Plugin:

This plugin has no configuration settings.

".$Attributes["Instructions"]."
"); } ?>

">
$Params) { if ($Params["Type"] == "Heading") { if (isset($HeadingAlreadyDisplayed)) { print("
"); } ?>
"> >