Hej, mam pewien problem gdyż bez jakiego kol wiek powodu wyskakuje błąd:
Parse error: syntax error, unexpected ')', expecting '&' or T_VARIABLE in /cache/skin_cache/cacheid_1/skin_boards.php on line 554
Próbowałem przebudować skiny, ale bezskutecznie... :/
O co chodzi?
A oto te linijki:
/* -- hookFacebookActivity --*/
function hookFacebookActivity() {
$IPBHTML = "";
if( IPSLib::locationHasHooks( 'skin_boards', $this->_funcHooks['hookFacebookActivity'] ) )
{
$count_f539d16b7e703327d32fad244d6c3f79 = is_array($this->functionData['hookFacebookActivity']) ? count($this->functionData['hookFacebookActivity']) : 0;
}
$IPBHTML .= "" . ((IPSLib::fbc_enabled()) ? ("
<div class='general_box clearfix'>
<h3>{$this->lang->words['hook_facebookactivity']}</h3>
<div class='block_list clearfix _sbcollapsable' style='text-align:center'>
<div><fb:activity site=\"\" width=\"270\" height=\"300\" header=\"false\" border_color=\"#FFF\" colorscheme=\"light\" /></div>
</div>
</div><div id=\"fb-root\"></div>
<script>
window.fbAsyncInit = function() {
FB.init({appId: '{$this->settings['fbc_appid']}', status: true, cookie: true,
xfbml: true});
};
(function() {
var e = document.createElement('script'); e.async = true;
e.src = document.location.protocol +
'//connect.facebook.net/{$this->settings['fb_locale']}/all.js';
document.getElementById('fb-root').appendChild(e);
}());
</script>
") : ("")) . "";
return $IPBHTML;
}