Skip to content

Instantly share code, notes, and snippets.

@mikedfunk
Created May 2, 2012 15:35
Show Gist options
  • Save mikedfunk/2577564 to your computer and use it in GitHub Desktop.
Save mikedfunk/2577564 to your computer and use it in GitHub Desktop.
relevant carabiner portion of template.php
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
/**
* template_view
*
* Description
*
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache License 2.0
* @author Mike Funk
* @link http://mikefunk.com
* @email mike@mikefunk.com
*
* @file template_view.php
* @version 1.1.1
* @date 03/11/2012
*/
// --------------------------------------------------------------------------
?>
<!DOCTYPE html>
<html lang="en" class="">
<head>
<meta charset="utf-8">
<title><?=(isset($title)?$title:'')?></title>
<meta name="description" content="<?=(isset($title)?$title:'')?>">
<meta name="author" content="<?=(isset($author)?$author:'')?>">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame -->
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<?php
// assets
$this->carabiner->css('twitter_bootstrap/docs/assets/css/bootstrap.css');
// remote jquery
// $this->carabiner->js('http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js');
// local jquery
$this->carabiner->js('scripts/jquery-1.7.min.js');
$this->carabiner->js('scripts/actions.js');
$this->carabiner->js('scripts/scripts.js');
$this->carabiner->display();
?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment