try again
This commit is contained in:
@ -2,18 +2,12 @@
|
||||
/**
|
||||
* Open Source Social Network
|
||||
*
|
||||
* @package (Informatikon.com).ossn
|
||||
* @author OSSN Core Team <info@opensource-socialnetwork.org>
|
||||
* @copyright 2014 iNFORMATIKON TECHNOLOGIES
|
||||
* @license General Public Licence http://www.opensource-socialnetwork.org/licence
|
||||
* @link http://www.opensource-socialnetwork.org/licence
|
||||
* @package (softlab24.com).ossn
|
||||
* @author OSSN Core Team <info@softlab24.com>
|
||||
* @copyright (C) SOFTLAB24 LIMITED
|
||||
* @license Open Source Social Network License (OSSN LICENSE) http://www.opensource-socialnetwork.org/licence
|
||||
* @link https://www.opensource-socialnetwork.org/
|
||||
*/
|
||||
|
||||
//unused pagebar skeleton when ads are disabled #628
|
||||
if(com_is_active('OssnAds')){
|
||||
$ads = ossn_plugin_view('ads/page/view');
|
||||
$ads = trim($ads);
|
||||
}
|
||||
?>
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
@ -26,16 +20,17 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<?php if(!empty($ads)){ ?>
|
||||
<div class="page-sidebar">
|
||||
<?php if (ossn_is_hook( 'theme', 'sidebar:right')) { ?>
|
||||
<div class="page-sidebar">
|
||||
<?php
|
||||
echo $ads;
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
$modules = ossn_call_hook('theme', 'sidebar:right', null);
|
||||
echo implode( '', $modules);
|
||||
?>
|
||||
</div>
|
||||
<?php } ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php echo ossn_plugin_view('theme/page/elements/footer');?>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user