/** * Скрипты * @return string */ protected static function getScripts() { if (!self::$added_script) { self::$added_script = true; $theme_src = Registry::getThemeSrc(); $scripts = "<link rel=\"stylesheet\" href=\"{$theme_src}/css/alert.css\"/>"; } else { $scripts = ''; } return $scripts; }