This file contains 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
#!/usr/bin/env php | |
<?php | |
$name = $_ENV['TM_FILENAME']; | |
$class = str_replace('.php', '', $name); | |
$class = ucfirst($class); | |
$relative = str_replace($_ENV['TM_PROJECT_DIRECTORY'], '.', $_ENV['TM_FILEPATH']); | |
$out = <<<CORPUSCLE | |
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed'); | |
/** |
This file contains 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
// ------------------------------------------------------------------------ | |
/** | |
* Validate the username | |
* | |
* @access public | |
* @return string | |
*/ | |
public function username_check($username) | |
{ |
This file contains 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
Header unset ETag | |
FileETag None | |
<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf|js)$"> | |
Header set Expires "Thu, 15 Apr 2010 20:00:00 GMT" | |
</FilesMatch> | |
<IfModule mod_rewrite.c> | |
RewriteEngine On | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d |
This file contains 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 Ice { | |
var $return_data; | |
function Ice() | |
{ | |
$this->EE =& get_instance(); | |
} |
This file contains 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
// ------------------------------------------------------------------------ | |
/** | |
* Timespan | |
* | |
* Returns a span of seconds in this format: | |
* 10 days 14 hours 36 minutes 47 seconds | |
* | |
* @access public | |
* @param integer a number of seconds |
This file contains 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
<!DOCTYPE HTML> | |
<html lang="en-US"> | |
<head> | |
<meta charset="UTF-8"> | |
<title></title> | |
</head> | |
<body> | |
<div class="first"></div> | |
{{-- |
This file contains 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 Template { | |
/** | |
* CI Object | |
* | |
* @access protected | |
* @var object | |
*/ |
This file contains 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
/** | |
* Stringify attributes for use in html tags. | |
* | |
* Helper function used to convert an array or object of | |
* attributes to a string | |
* | |
* @param mixed | |
* @return string | |
*/ | |
function _stringify_attributes($attributes, $js = FALSE) |
This file contains 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
{ | |
"auto_complete_commit_on_tab": true, | |
"color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme", | |
"fade_fold_buttons": false, | |
"font_face": "Panic Sans", | |
"font_size": 12.0, | |
"highlight_line": true, | |
"line_padding_bottom": 4, | |
"line_padding_top": 4, | |
"rulers": |
This file contains 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
{{ email:form subject="Contact Form" to="[email protected]" required="name" }} | |
{{ if error}} | |
<h1>Error</h1> | |
<ul> | |
{{ errors }} | |
<li>{{error}}</li> | |
{{ /errors }} | |
</ul> | |
{{ endif }} |
OlderNewer