//if we are creating a new competence, than get the category id in which the competence should be created //if (isset($id_category)) echo Form::getHidden('id_category', 'id_category', $id_category); //competence properties echo Form::getDropDown(Lang::t('_TYPOLOGY', 'competences'), 'typology', 'typology', $competence_typologies, isset($competence_typology) ? $competence_typology : 'skill'); echo Form::getDropDown(Lang::t('_TYPE', 'standard'), 'type', 'type', $competence_types, isset($competence_type) ? $competence_type : 'score'); /* echo Form::getTextfield( Lang::t('_SCORE', 'standard'), 'score', 'score', 255, isset($competence_score) ? (int)$competence_score : '' ); echo Form::getTextfield( Lang::t('_EXPIRATION', 'competences'), 'expiration', 'expiration', 3, isset($competence_expiration) ? (int)$competence_expiration : '', ' (0 = '.Lang::t('_NEVER', 'standard').')' ); */ //save buttons echo Form::openButtonSpace(); echo Form::getButton('save', 'save', Lang::t('_SAVE', 'standard')); echo Form::getButton('undo', 'undo', Lang::t('_UNDO', 'standard')); echo Form::closeButtonspace(); echo Form::closeForm(); ?> </div>