setIcon("Disk.svg"); $SaveButton->setName("F_Submit"); $SaveButton->makeSubmitButton(); $CancelButton = new HtmlButton("Cancel"); $CancelButton->setIcon("Cross.svg"); $CancelButton->addSemanticClass("btn-danger"); $CancelButton->setName("F_Submit"); $CancelButton->makeSubmitButton(); # escaped values $SafeSchemaId = defaulthtmlentities($H_Schema->Id()); $SafeSchemaName = defaulthtmlentities($H_Schema->Name()); $SafeSchemaResourceName = defaulthtmlentities($H_Schema->ResourceName()); $SafeSchemaViewPage = defaulthtmlentities($H_Schema->getViewPage()); $SafePrivilegesError = defaulthtmlentities($H_PrivilegesError); # variable holding available schema field names with their ids # add a new local default sort field option (Relevance) to the list of available sort fields # this option can be used to clear the DefaultSortField. $SchemaFieldNames = ["R" => "(Relevance)"] + $H_Schema->getSortFields(); $DefaultSortField = $H_Schema->defaultSortField(); $DefaultSortFieldOptList = new HtmlOptionList( "F_DefaultSortField", $SchemaFieldNames, ($DefaultSortField == false ? "R" : $DefaultSortField) ); # ----- DISPLAY -------------------------------------------------------------- ?>
There was an issue with the viewing privileges and they were not saved: = $SafePrivilegesError; ?>