| Current Path : /home/ahrcaeuege/www/modules/mod_jafacebooklikebox/ |
| Current File : /home/ahrcaeuege/www/modules/mod_jafacebooklikebox/mod_jafacebooklikebox.php |
<?php
/**
* ------------------------------------------------------------------------
* JA Facebook Like Box Module for Joonla 25 & 34
* ------------------------------------------------------------------------
* Copyright (C) 2004-2011 J.O.O.M Solutions Co., Ltd. All Rights Reserved.
* @license - GNU/GPL, http://www.gnu.org/licenses/gpl.html
* Author: J.O.O.M Solutions Co., Ltd
* Websites: http://www.joomlart.com - http://www.joomlancers.com
* ------------------------------------------------------------------------
*/
// no direct access
defined('_JEXEC') or die('Restricted accessd');
//global $mainframe;
//123144964369587 is Joomlart's Page ID
$aParams['id'] = $params->get('jafacebookid', '123144964369587');
$aParams['width'] = $params->get('width', 300);
$aParams['height'] = $params->get('height', 400);
$aParams['adapt_container_width'] = $params->get('adapt_width','1')? 'true' : 'false';
$aParams['show_facepile'] = $params->get('connections', '1')? 'true' : 'false';
$aParams['hide_cover'] = ($params->get('header', 1)) ? 'false' : 'true';
$aParams['colorscheme'] = ($params->get('colorscheme', 1)) ? 'light' : 'dark';
$aParams['tabs'] = (!empty($params->get('tabs'))) ? implode(",",$params->get('tabs')) : 'timeline';
$moduleclass_sfx = $params->get('moduleclass_sfx','');
//$aParams['border_color'] = $params->get('border_color', 'white');
$sFacebookQuery = '';
foreach ($aParams as $key => $value) {
if($key != 'id'){
$sFacebookQuery .= "{$key}={$value}&";
}
}
require JModuleHelper::getLayoutPath($module->module, $params->get('layout', 'default'));