File: /var/www/ilya/data/www/irkboard.ru/cache/skin_cache/cacheid_1/skin_legends.php
<?php
/*--------------------------------------------------*/
/* FILE GENERATED BY INVISION POWER BOARD 3 */
/* CACHE FILE: Skin set id: 1 */
/* CACHE FILE: Generated: Wed, 19 Aug 2009 21:44:29 GMT */
/* DO NOT EDIT DIRECTLY - THE CHANGES WILL NOT BE */
/* WRITTEN TO THE DATABASE AUTOMATICALLY */
/*--------------------------------------------------*/
class skin_legends_1 {
/**
* Construct
*/
function __construct( ipsRegistry $registry )
{
/* Make object */
$this->registry = $registry;
$this->DB = $this->registry->DB();
$this->settings =& $this->registry->fetchSettings();
$this->request =& $this->registry->fetchRequest();
$this->lang = $this->registry->getClass('class_localization');
$this->member = $this->registry->member();
$this->memberData =& $this->registry->member()->fetchMemberData();
$this->cache = $this->registry->cache();
$this->caches =& $this->registry->cache()->fetchCaches();
}
/* -- bbcodePopUpList --*/
function bbcodePopUpList($rows) {
$IPBHTML = "";
$IPBHTML .= "<h2>{$this->lang->words['bbc_title']}</h2>
<span class='desc'>{$this->lang->words['bbc_intro']}</span>
<br /><br />
<table class='ipb_table'>
<tr class='header'>
<th style='width: 50%'>{$this->lang->words['bbc_before']}</th>
<th style='width: 50%'>{$this->lang->words['bbc_after']}</th>
</tr>
".$this->__f__c698e99144b288e4f839c0acb0a51b15($rows)."</table>
" . $this->registry->getClass('output')->getTemplate('global')->include_highlighter(1) . "
<script type='text/javascript'>
try {
ipb.delegate.register('.bbc_spoiler_show', ipb.global.toggleSpoiler);
} catch(err) { }
</script>";
return $IPBHTML;
}
function __f__c698e99144b288e4f839c0acb0a51b15($rows)
{
$_ips___x_retval = '';
foreach( $rows as $row )
{
$_ips___x_retval .= "
<tr class='subhead altbar'>
<th colspan='2'>{$row['title']}</th>
</tr>
<tr class='row1'>
<td class='altrow'>
{$row['before']}
</td>
<td>
{$row['after']}
</td>
</tr>
";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}
/* -- emoticonPopUpList --*/
function emoticonPopUpList($editor_id, $rows) {
$IPBHTML = "";
$this->registry->templateStriping['emoticons'] = array( FALSE, "row1","row2");
$IPBHTML .= "<div class='full_emoticon'>
<table class='ipb_table'>
".$this->__f__63aa7a7699fb8686ea9e6eb264829eb6($editor_id,$rows)." </table>
</div>";
return $IPBHTML;
}
function __f__63aa7a7699fb8686ea9e6eb264829eb6($editor_id, $rows)
{
$_ips___x_retval = '';
foreach( $rows as $row )
{
$_ips___x_retval .= "
<tr class='" . IPSLib::next( $this->registry->templateStriping["emoticons"] ) . "'>
<td style='text-align: center; width: 40%;'>
<a href=\"#\" onclick={$row['out']}ipb.editors[ {$row['in']}{$editor_id}{$row['in']} ].insert_emoticon({$row['in']}{$row['in']},\"{$row['image']}\",{$row['in']}{$row['code']}{$row['in']},{$row['in']}{$row['in']}); return false;{$row['out']} title=\"{$row['image']}\">{$row['code']}</a>
</td>
<td style='text-align: center; width: 60%;'>
<a href=\"#\" onclick={$row['out']}ipb.editors[ {$row['in']}{$editor_id}{$row['in']} ].insert_emoticon({$row['in']}{$row['in']},\"{$row['image']}\",{$row['in']}{$row['code']}{$row['in']},{$row['in']}{$row['in']}); return false;{$row['out']} title=\"{$row['image']}\"><img src=\"{$this->settings['emoticons_url']}/{$row['image']}\" id='smid_{$row['smilie_id']}' alt=\"{$row['image']}\" /></a>
</td>
</tr>
";
}
$_ips___x_retval .= '';
return $_ips___x_retval;
}
/* -- wrap_tag --*/
function wrap_tag($tag="") {
$IPBHTML = "";
$IPBHTML .= "<div><b>{$tag}</b></div>";
return $IPBHTML;
}
}
/*--------------------------------------------------*/
/* END OF FILE */
/*--------------------------------------------------*/
?>