'.PHP_EOL; } } else { $tmp = ''.PHP_EOL; } return $tmp; } public static function js($filename) { if (is_array($filename)) { $tmp = ''; foreach ($filename as $file) { $tmp .= ''.PHP_EOL; } } else { $tmp = ''.PHP_EOL; } return $tmp; } public static function link($args) { $options = 'href="'.$args['href'].'"'; if (isset($args['class'])) { $options .= ' class="'.$args['class'].'"'; } if (isset($args['target'])) { $options .= ' target="'.$args['target'].'"'; } if (isset($args['icon'])) { return ' '.$args['title'].''; } return ''.$args['title'].''; } public static function pageTitle($args) { return '