url( $email, array( 'size' => $size, 'default' => Tools::fullUrl('/phorkie/anonymous.png') ) ); } public function getLanguageOptions(File $file = null) { $html = ''; $fileExt = null; if ($file !== null) { $fileExt = $file->getExt(); } foreach ($GLOBALS['phorkie']['languages'] as $ext => $arLang) { if (isset($arLang['show']) && !$arLang['show']) { continue; } $html .= sprintf( '', $ext, $fileExt == $ext ? ' selected="selected"' : '', $arLang['title'] ) . "\n"; } return $html; } } ?>