*
* 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 2 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
| '.$langs->trans("Name").' | '; print ''.$langs->trans("Description").' | '; print ''.$langs->trans("Activated").' | '; print ''.$langs->trans("Default").' | '; print ''.$langs->trans("Infos").' | '; print "|||
| '; echo $module->name; print ' | '; print ''; print $module->description; print ' | '; // Active if (in_array($name, $def)) { print "\n"; if ($conf->global->DON_ADDON_MODEL == $name) { print img_picto($langs->trans("Enabled"),'on'); } else { print ' '; print ' | '; print ''.img_picto($langs->trans("Enabled"),'on').''; } print ' | '; } else { print "\n"; print 'scandir.'&label='.urlencode($module->name).'">'.img_picto($langs->trans("Disabled"),'off').''; print " | "; } // Defaut print ""; if ($conf->global->DON_ADDON_MODEL == "$name") { print img_picto($langs->trans("Default"),'on'); } else { print 'scandir.'&label='.urlencode($module->name).'" alt="'.$langs->trans("Default").'">'.img_picto($langs->trans("Disabled"),'off').''; } print ' | '; // Info $htmltooltip = ''.$langs->trans("Name").': '.$module->name; $htmltooltip.=''; print $html->textwithpicto('',$htmltooltip,1,0); print ' | '; print ''; print ''.img_object($langs->trans("Preview"),'generic').''; print ' | '; print "