(Original Author) * * Alternatively, the contents of this file may be used under the terms of * either the GNU General Public License Version 2 or later (the "GPL"), or * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), * in which case the provisions of the GPL or the LGPL are applicable instead * of those above. If you wish to allow use of your version of this file only * under the terms of either the GPL or the LGPL, and not to allow others to * use your version of this file under the terms of the MPL, indicate your * decision by deleting the provisions above and replace them with the notice * and other provisions required by the GPL or the LGPL. If you do not delete * the provisions above, a recipient may use your version of this file under * the terms of any one of the MPL, the GPL or the LGPL. * * ***** END LICENSE BLOCK ***** */ $this->layout = 'mozilla'; loadModel('Group'); $groupModel =& new Group(); $groups = $groupModel->findAll(); global $valid_languages, $native_languages; $developers = array(); $localizers = array(); $editors = array(); $past_developers = array(); $other_contributors = array(); foreach ($groups as $group) { if (strpos($group['Group']['rules'], 'Localizers') !== false) { $rules = explode(':', $group['Group']['rules']); if (array_key_exists($rules[1], $valid_languages)) { foreach ($group['User'] as $user) { $localizers["{$user['firstname']} {$user['lastname']}"] = $html->link("{$user['firstname']} {$user['lastname']}", "/user/{$user['id']}")." ({$native_languages[$rules[1]]['native']})"; } } } elseif ($group['Group']['name'] == 'Editors' || $group['Group']['name'] == 'Senior Editors') { foreach ($group['User'] as $user) { $editors["{$user['firstname']} {$user['lastname']}"] = $html->link("{$user['firstname']} {$user['lastname']}", "/user/{$user['id']}"); } } elseif ($group['Group']['name'] == 'Past Developers') { foreach ($group['User'] as $user) { $past_developers["{$user['firstname']} {$user['lastname']}"] = $html->link("{$user['firstname']} {$user['lastname']}", "/user/{$user['id']}"); } } elseif ($group['Group']['name'] == 'Developers') { foreach ($group['User'] as $user) { $developers["{$user['firstname']} {$user['lastname']}"] = $html->link("{$user['firstname']} {$user['lastname']}", "/user/{$user['id']}"); } } elseif ($group['Group']['name'] == 'Other Contributors') { foreach ($group['User'] as $user) { $other_contributors["{$user['firstname']} {$user['lastname']}"] = $html->link("{$user['firstname']} {$user['lastname']}", "/user/{$user['id']}"); } } } ksort($developers); ksort($localizers); ksort($editors); ksort($past_developers); ksort($other_contributors); ?>
renderElement('search')?> renderElement('sidebar', array('pitch' => true))?> renderElement('app_chooser')?>


'._('credits_section_developers').''; echo implode(', ', $developers); ?>
'._('credits_section_localizers').''; echo implode(', ', $localizers); ?>
'._('credits_section_editors').''; echo implode(', ', $editors); ?>
'._('credits_section_other_contributors').''; echo implode(', ', $other_contributors); ?>
'._('credits_section_past_developers').''; echo implode(', ', $past_developers); ?>
'._('credits_section_software').''; ?>

link(_('credits_contributing_wikipage'), 'http://wiki.mozilla.org/Update'))?>