Exemplo n.º 1
0
 function GetTypeLabel($type, &$row)
 {
     if ($type == "checkbox") {
         return JText::_("CHECKBOX");
     }
     if ($type == "text") {
         return JText::_("TEXT_ENTRY");
     }
     if ($type == "radio") {
         return JText::_("RADIO_GROUP");
     }
     if ($type == "combo") {
         return JText::_("COMBO_BOX");
     }
     if ($type == "area") {
         return JText::_("TEXT_AREA");
     }
     if ($type == "plugin") {
         $plugin = FSSCF::get_plugin_from_row($row);
         return JText::_("PLUGIN") . " - " . $plugin->name;
     }
     return $type;
 }