This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php // my view ?> | |
| <h1><?php echo $album_info['0']['album_name'] ?></h1> | |
| <a href="/photos/<?php echo $album_info['0']['album_year'] ?>" title="Back to Albums">Back to Albums</a> | |
| <ul class="photo-items"> | |
| <?php foreach($album_photos as $k => $v) {$album_photos[$k] = (object) $v;} ?> | |
| <?php $album_presenter->partial('list_photos'); ?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){var links=document.querySelectorAll('a.l'),count=links.length;while(count--){links[count].onmousedown=null;if((/url=/i).test(links[count].href)){links[count].href=decodeURIComponent(links[count].href.match(/url=([a-z0-9\-+%._]+)&/i)[1].replace(/\+/g, ' '));}};})() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
| class MicroACL { | |
| private $CI; | |
| private $is_loaded = false; | |
| private $my_role = null; | |
| private $my_perms = array(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| if (! function_exists('nav_link')) | |
| { | |
| /** | |
| * Helper function for creating and highlighting Twitter Bootstrap Nav-Links | |
| * david.wosnitza // 2012-05-10 13:05:34 | |
| * | |
| * @param string $uri The URI you want to Navigate to | |
| * @param string $title Your Link text | |
| * @param boolean $home Activation override: Highlights on if URI is empty | |
| * @param integer $level Choose the URI segment to comare to |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
| /** | |
| * Basic LessCSS Build System for Sublime Text 2 | |
| * | |
| * Prerequisites: node.js, global lesscss node module | |
| * How it works: | |
| * 1. Create the folders "src/css" and "assets/css" in your project root | |
| * 2. Put all your .less files into "src/css" | |
| * 3. Open your main .less file and hit "Build" | |
| * 4. Dance happily around your minified and compiled CSS file in "assets/css" | |
| * 5. Profit |
NewerOlder