Project

General

Profile

« Previous | Next » 

Revision 1192840b

Added by Sjon Hortensius over 10 years ago

refactor attributes from Input to Element to make it a bit more generic

  • replaced Input::setAttribute with explicit setReadonly/setDisabled
  • introduced Input::toggles

fixes #37, refs #21

View differences:

usr/local/www/system_groupmanager.php
280 280
));
281 281

  
282 282
if ($pconfig['gtype'] == "system")
283
	$input->setAttribute('readonly', 'readonly');
283
	$input->setReadonly();
284 284

  
285 285
$section->addInput(new Form_Input(
286 286
	'description',

Also available in: Unified diff