function BxTemplConfig($site)
    {
        BxBaseConfig::BxBaseConfig($site);
        $this->customize['media_gallery']['showMediaTabs'] = false;
        $this->customize['upload_media']['showMediaTabs'] = false;
        $this->customize['upload_media']['showAddButton'] = false;
        $this->customize['upload_media']['addNewBlock_display'] = 'block';
        $this->customize['rate']['showSexSelector'] = false;
        $this->customize['rate']['showProfileInfo'] = false;
        $this->customize['events']['showTopButtons'] = false;
        $this->customize['blog']['showBreadCrumbs'] = false;
        $this->customize['blog']['showEditLinks'] = false;
        $this->sMailBoxSortingInit = '
<script type="text/javascript">
<!--
var aSortImgs = new Array(); // array containing sort indicator images
aSortImgs[0] = \'' . $this->aSite['icons'] . 'sort_up.gif\';
aSortImgs[1] = \'' . $this->aSite['icons'] . 'sort_down.gif' . '\';

var sort_case_sensitive = false; // sorting type (case-sensitive or not)

//initial sorting
var initial_sort_id = 3; //number of column beginning from 0
var initial_sort_up = 1; //0 - ascendant order, 1 - descendant
//-->
</script>
';
        //print_r( $this );
    }
示例#2
0
 function BxTemplConfig($site)
 {
     BxBaseConfig::BxBaseConfig($site);
     $this->PageComposeColumnCalculation = '%';
     //--- Add default CSS ---//
     $GLOBALS['oSysTemplate']->addCssSystem(array('palette.css', 'general_phone.css', 'general_tablet.css', 'rrssb.css', 'top_menu_phone.css', 'top_menu_tablet.css'));
     //--- Add default JS ---//
     $GLOBALS['oSysTemplate']->addJsSystem(array('skrollr.min.js'));
 }
示例#3
0
 function BxTemplConfig($site)
 {
     BxBaseConfig::BxBaseConfig($site);
 }