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
$(document).ready(function(){ | |
$("input[id$='date'], input[id='date_of_birth']").datepicker({ | |
duration: '', | |
dateFormat: 'yy-mm-dd', | |
showOn: 'button', | |
buttonImage: '/img/icons/calendar-month.png', | |
buttonImageOnly: true | |
}); |
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
/** | |
* jquery.meio.mask.js | |
* @author: fabiomcosta | |
* @version: 1.1.3 | |
* | |
* Created by Fabio M. Costa on 2008-09-16. Please report any bug at http://www.meiocodigo.com | |
* | |
* Copyright (c) 2008 Fabio M. Costa http://www.meiocodigo.com | |
* | |
* The MIT License (http://www.opensource.org/licenses/mit-license.php) |
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
/** | |
* jquery.meio.mask.js | |
* @author: fabiomcosta | |
* @version: 1.1.3 | |
* | |
* Created by Fabio M. Costa on 2008-09-16. Please report any bug at http://www.meiocodigo.com | |
* | |
* Copyright (c) 2008 Fabio M. Costa http://www.meiocodigo.com | |
* | |
* The MIT License (http://www.opensource.org/licenses/mit-license.php) |
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
(function($) { | |
$(document).ready(function() { | |
$(document).bind('click', function(event) { | |
$.ui.menu.prototype.closeAll(event); | |
}); | |
}); | |
$.widget("ui.menu", { |
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> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> | |
<title>jQuery UI Example Page</title> | |
<link type="text/css" href="css/jquery-ui-1.8rc3.custom.css" rel="stylesheet" /> | |
<script type="text/javascript" src="js/jquery-1.4.2.min.js"></script> | |
<script type="text/javascript" src="js/jquery-ui-1.8.custom.js"></script> | |
<script type="text/javascript"> |
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
#issues{overflow:hidden;} | |
#issues .menu{float:left;width:10em;} | |
#issues .menu .create{margin-bottom:15px;} | |
#issues .menu .create a{display:block;} | |
#issues .menu .create img{width:8.921em;height:2.099em;} | |
#issues .menu ul{list-style-type:none;} | |
#issues .menu ul li{display:block;border:1px solid #e0e0e0;border-right:0;margin-top:-0.1em;} | |
#issues .menu ul li a{display:block;padding:.25em .5em;} |
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 | |
/* | |
CREATE TABLE tickets ( | |
id INT NOT NULL AUTO_INCREMENT PRIMARY KEY, | |
user_id INT NUT NULL, | |
project_id INT NOT NULL, | |
status_id INT NOT NULL, | |
created INT NOT NULL, | |
last_update INT NOT NULL |
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 defined('SYSPATH') or die('No direct script access.'); | |
class TicketsCommentsStatusesLabels extends Doctrine_Migration_Base | |
{ | |
public function up() | |
{ | |
$this->createTable('tickets', array( | |
'id' => array( | |
'type' => 'integer', |
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 defined('SYSPATH') or die('No direct script access.'); | |
class UsersRolesConstraints extends Doctrine_Migration_Base | |
{ | |
public function up() | |
{ | |
// Types |
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 | |
function action_register() | |
{ | |
#If user already signed-in | |
if(Auth::instance()->logged_in()!= 0){ | |
#redirect to the user account | |
Request::instance()->redirect('account/profile'); | |
} | |
#Load the view |
OlderNewer