/**
  * renderOptionField callback (experimental)
  * @param $field: field setting
  */
 public function renderOptionField_callback($field)
 {
     /*if($field['type'] == 'template') {
           $field['type'] = 'select';
           //if($this->get_from_context() == 'renderOptionField_APF') $this->renderOptionField_APF($field);
       }
       */
     if ($field['type'] == 'template') {
         //template
         $data = $this->get_list_templates();
         $field['options'] = array(self::DEFAULT_TEMPLATE => __('Mặc định'));
         //override args
         foreach ($data as $file) {
             $field['options'][HW_SKIN::encrypt($file['file_path'])] = $file['name'];
         }
         //$field['type'] = 'select';
         //$tag .= $this->renderOptionField_APF($field, $aField,$_aAttributes,$_sSlug,false,false);   //render select tag
     }
     return $field;
 }