+--------------------------------------------------------*/ if (!defined("IN_FUSION")) { die("Access Denied"); } function load_bootstrap() { define('bootstrapped', TRUE); require_once INCLUDES . "output_handling_include.php"; add_to_head("<meta http-equiv='X-UA-Compatible' content='IE=edge' />"); add_to_head("<meta name='viewport' content='width=device-width, initial-scale=1.0' />"); add_to_head("<script type='text/javascript' src='" . INCLUDES . "bootstrap/bootstrap.min.js'></script>"); add_to_head("<script type='text/javascript' src='" . INCLUDES . "bootstrap/holder.js'></script>"); add_to_head("<link href='" . INCLUDES . "bootstrap/bootstrap.min.css' rel='stylesheet' media='screen' />"); } if ($settings['bootstrap']) { load_bootstrap(); } add_to_head("<link href='" . THEMES . "templates/default.css' rel='stylesheet' media='screen' />"); add_to_head("<link href='" . INCLUDES . "font/entypo/entypo.css' rel='stylesheet' media='screen' />"); function openmodal($id, $title, $opts = FALSE) { if (!empty($opts)) { // trigger via button or via load. if (array_key_exists('button_id', $opts) && $opts['button_id']) { add_to_jquery("\r\n \$('#" . $opts['button_id'] . "').bind('click', function(e){\r\n \$('#" . $id . "-Modal').modal('show');\r\n });\r\n "); } else { add_to_jquery("\r\n \$('#" . $id . "-Modal').modal('show');\r\n "); } } else { add_to_footer("\r\n <script type='text/javascript'>\r\n \$('#" . $id . "-Modal').modal('show');\r\n </script>\r\n "); }
<!DOCTYPE html> <html lang="es"> <head> <meta charset="utf-8"> <title><?php echo $tittle; ?> </title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> <link rel="shortcut icon" type="image/x-icon" href="<?php echo base_url(); ?> assets/img/icon.jpg"> <?php echo load_bootstrap(); ?> <meta name="apple-mobile-web-app-capable" content="yes"> <link href="<?php echo base_url(); ?> assets/css/bootstrap.min.css" rel="stylesheet"> <link href="<?php echo base_url(); ?> assets/css/bootstrap-responsive.min.css" rel="stylesheet"> <link href="http://fonts.googleapis.com/css?family=Open+Sans:400italic,600italic,400,600" rel="stylesheet"> <link href="<?php echo base_url(); ?> assets/css/font-awesome.css" rel="stylesheet">