Exemplo n.º 1
0
function ossn_mobile_init()
{
    if (OssnMobile()->isMobile()) {
        ossn_new_css('ossn.mobile.default', 'components/OssnMobile/css/default');
        ossn_load_css('ossn.mobile.default');
        ossn_unload_css('ossn.default');
        ossn_add_hook('halt', 'view:components/OssnChat/views/OssnChat/chatbar', 'ossn_mobile_remove_chat');
    }
}
Exemplo n.º 2
0
function ossn_default_theme_init()
{
    //add bootstrap
    ossn_new_css('bootstrap.min', 'css/bootstrap/bootstrap.min.css');
    //ossn_new_js('bootstrap.min', 'js/bootstrap/bootstrap.min.js');
    ossn_new_css('ossn.default', 'css/default');
    ossn_new_css('ossn.admin.default', 'css/administrator');
    //load bootstrap
    ossn_load_css('bootstrap.min', 'admin');
    ossn_load_css('ossn.default');
    ossn_load_css('ossn.admin.default', 'admin');
    ossn_extend_view('ossn/admin/head', 'ossn_three_head');
}
Exemplo n.º 3
0
function ossn_black_theme_init()
{
    //add bootstrap
    ossn_new_css('bootstrap.min', 'css/bootstrap/bootstrap.min.css');
    //ossn_new_js('bootstrap.min', 'js/bootstrap/bootstrap.min.js');
    ossn_new_css('ossn.default', 'css/default');
    ossn_new_css('ossn.admin.default', 'css/administrator');
    //load bootstrap
    ossn_load_css('bootstrap.min', 'admin');
    ossn_load_css('ossn.default');
    ossn_load_css('ossn.admin.default', 'admin');
    ossn_extend_view('ossn/admin/head', 'ossn_three_head');
    ossn_add_hook('css', 'group:background', 'ossntheme_black_group_background');
}
Exemplo n.º 4
0
function ossn_goblue_theme_init()
{
    //add bootstrap
    ossn_new_css('bootstrap.min', 'css/bootstrap/bootstrap.min.css');
    //ossn_new_js('bootstrap.min', 'js/bootstrap/bootstrap.min.js');
    ossn_new_css('ossn.default', 'css/core/default');
    ossn_new_css('ossn.admin.default', 'css/core/administrator');
    //load bootstrap
    ossn_load_css('bootstrap.min', 'admin');
    ossn_load_css('bootstrap.min');
    ossn_load_css('ossn.default');
    ossn_load_css('ossn.admin.default', 'admin');
    ossn_extend_view('ossn/admin/head', 'ossn_goblue_admin_head');
    ossn_extend_view('ossn/site/head', 'ossn_goblue_head');
    ossn_extend_view('js/opensource.socialnetwork', 'js/goblue');
}
<?php

/**
 *    OpenSource-SocialNetwork
 *
 * @package   (Informatikon.com).ossn
 * @author    OSSN Core Team <*****@*****.**>
 * @copyright 2014 iNFORMATIKON TECHNOLOGIES
 * @license   General Public Licence http://opensource-socialnetwork.com/licence
 * @link      http://www.opensource-socialnetwork.com/licence
 */
define('__THEMEDIR__', ossn_route()->themes . 'default/');
ossn_new_css('ossn.default', 'themes/default/style/default');
ossn_new_css('ossn.admin.default', 'themes/default/style/administrator');
ossn_load_css('ossn.default');
ossn_load_css('ossn.admin.default', 'admin');