Changeset 12547
- Timestamp:
- 09/20/11 16:47:32 (2 years ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
freepbx/trunk/amp_conf/htdocs/admin/libraries/modulelist.class.php
r12540 r12547 41 41 unset($this->module_array[$mod_key]['publisher']); 42 42 } 43 if (!isset($mod['license']) || $mod['license'] == '') {44 $this->module_array[$mod_key]['license'] = ' GPLv2+';43 if (!isset($mod['license'])) { 44 $this->module_array[$mod_key]['license'] = ''; 45 45 } 46 46 if (isset($mod['candisable'])) { freepbx/trunk/amp_conf/htdocs/admin/views/footer.php
r12544 r12547 37 37 '<a href="http://www.freepbx.org" target="_blank">' . _('FreePBX') . ' ' . $version . '</a>', 38 38 '<a href="http://www.gnu.org/copyleft/gpl.html" target="_blank">GPL</a>'); 39 $html .= br() . sprintf(_('Current module licensed under %s'), 40 trim($active_modules[$module_name]['license'])); 39 if (!empty($active_modules[$module_name]['license'])) { 40 $html .= br() . sprintf(_('Current module licensed under %s'), 41 trim($active_modules[$module_name]['license'])); 42 } 41 43 //echo benchmarking 42 44 if (isset($amp_conf['DEVEL']) && $amp_conf['DEVEL']) {
