Exemplo n.º 1
0
function get_default_css()
{
    $css = array();
    $css[] = css_url('bootstrap.min');
    $css[] = plugin_asset_url('font-awesome/css/font-awesome.css');
    $css[] = css_url('sb-admin');
    return $css;
}
Exemplo n.º 2
0
<html>

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <title>OCCI Sacramental Register</title>

    <!-- Core CSS - Include with every page -->
    <link href="<?php 
echo css_url('bootstrap.min');
?>
" rel="stylesheet">
    <link href="<?php 
echo plugin_asset_url('font-awesome/css/font-awesome.css');
?>
" rel="stylesheet">

    <!-- SB Admin CSS - Include with every page -->
    <link href="<?php 
echo css_url('sb-admin');
?>
" rel="stylesheet">

</head>

<body>

    <div class="container">
        <div class="row">
Exemplo n.º 3
0
function plugin_js_asset($asset_name, $module_name = NULL)
{
    return '<script type="text/javascript" src="' . plugin_asset_url($asset_name, $module_name) . '"></script>';
}