isNew) { $closeButtonText = cssJSToolbox::getText('Close'); $updateButtonText = cssJSToolbox::getText('Save'); } else { $closeButtonText = cssJSToolbox::getText('Cancel'); $updateButtonText = cssJSToolbox::getText('Update'); } // Import dependencies. cssJSToolbox::import('framework:html:list.php'); // If NEW enable core fields, if edit disable core fields! $coreFieldsState = $this->isNew ? '' : 'disabled="disabled"'; // Allow view to enqueue scripts and styles. $this->enququeScripts(); $this->enququeStyles(); $this->suppressPrintScriptsHook(); ?>
  • >
  • item->type, 'type', null, null, null, $coreFieldsState, cssJSToolbox::getText('< Select Type >'))->getInput(array('standard' => true, 'result' => 'fullList')) ?>
  • item->state, 'state', null, null, null, null, cssJSToolbox::getText('< Select State >'))->getInput(array('standard' => true, 'result' => 'fullList')) ?>
  • item->code, null, 'UTF-8') ?>
  • item->developmentState, 'developmentState', null, null, null, null, cssJSToolbox::getText('< Select State >'))->getInput(array('standard' => true, 'result' => 'fullList')) ?>