* Copyright (C) 2012 Regis Houssin * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ ?>
?attrname=" method="post"> attribute_type[$attrname]; $size=$extrafields->attribute_size[$attrname]; $unique=$extrafields->attribute_unique[$attrname]; $required=$extrafields->attribute_required[$attrname]; $pos=$extrafields->attribute_pos[$attrname]; $param=$extrafields->attribute_param[$attrname]; if((($type == 'select') || ($type == 'checkbox') ||(($type == 'radio'))) && is_array($param)) { $param_chain = ''; foreach ($param['options'] as $key => $value) { if(strlen($key)) { $param_chain .= $key.','.$value."\n"; } } } elseif ($type== 'sellist') { $paramlist=array_keys($param['options']); $param_chain = $paramlist[0]; } ?>
trans("Label"); ?>
trans("AttributeCode"); ?>
trans("Type"); ?>
trans("Size"); ?>
trans("Position"); ?>
trans("Value"); ?>
textwithpicto('', $langs->trans("ExtrafieldParamHelp".$type),1,0)?>
trans("Unique"); ?>>
trans("Required"); ?>>

">   ">