Isso e so o comeco de hook. Ele tem 450 linhas.
<if test="hasimportcss:|:is_array( $css['import'] )">
<if test="minifycss:|:$this->settings['use_minify']"><php>$this->minify = array();</php></if>
<foreach loop="cssImport:$css['import'] as $data">
<php>
$importCss = true;
if( stripos( $data['content'], $this->settings['css_base_url'] ) === 0 && $this->settings['use_minify'] AND ( ! $data['attributes'] OR stripos( $data['attributes'], 'screen' ) !== false ) )
{
$importCss = false;
$this->minify[] = "{$data['content']}";
}
</php>
<if test="donotminifycss:|:$importCss">
<link rel="stylesheet" type="text/css" {$data['attributes']} href="{$data['content']}?ipbv={$this->registry->output->antiCacheHash}" />
</if>
</foreach>
<if test="csstominify:|:$this->settings['use_minify'] AND count($this->minify)">
<link rel="stylesheet" type="text/css" media='screen,print' href="{$this->settings['css_base_url']}min/index.php?ipbv={$this->registry->output->antiCacheHash}&f={parse expression="str_replace( $this->settings['css_base_url'], PUBLIC_DIRECTORY . '/', implode( ',', $this->minify ) )"}" />
</if>
</if>
<if test="inlinecss:|:is_array( $css['inline'] ) AND count( $css['inline'] )">
<foreach loop="cssInline:$css['inline'] as $data">
<style type="text/css" {$data['attributes']}>
/* Inline CSS */
{$data['content']}
</style>
</foreach>
</if>
<!--[if lte IE 7]>
<link rel="stylesheet" type="text/css" title='Main' media="screen" href="{$this->settings['css_base_url']}style_css/{$this->registry->output->skin['_csscacheid']}/ipb_ie.css" />
<![endif]-->
<!--[if lte IE 8]>
<style type='text/css'>
.ipb_table { table-layout: fixed; }
.ipsLayout_content { width: 99.5%; }
</style>
<![endif]-->
<if test="$this->settings['resize_img_force']">
<!-- Forces resized images to an admin-defined size -->
<style type='text/css'>
img.bbc_img {
max-width: {$this->settings['resize_img_force']}px !important;
max-height: {$this->settings['resize_img_force']}px !important;
}
</style>
<else />
<style type='text/css'>
img.bbc_img { max-width: 100% !important; }
</style>
</if>
Mais um pecaço dele