Skip to content

Instantly share code, notes, and snippets.

<?php
/**
* sfGuardUser form.
*
* @package form
* @subpackage sfGuardUser
* @version SVN: $Id: sfDoctrineFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
*/
class sfGuardUserForm extends PluginsfGuardUserForm
<?php
/**
* sfGuardUserProfile form.
*
* @package form
* @subpackage sfGuardUserProfile
* @version SVN: $Id: sfDoctrineFormTemplate.php 6174 2007-11-27 06:22:40Z fabien $
*/
class sfGuardUserProfileForm extends BasesfGuardUserProfileForm
# All id type columns are set to integer with a length of 4 since this forces Doctrine to use integer type instead of bigint. This is especially important for working with sfGuardUserPlugin.
sfGuardUserProfile:
actAs: { Timestampable: ~ }
columns:
id: { type: integer(4), primary: true, autoincrement: true }
user_id: integer(4)
first_name: varchar(50)
last_name: varchar(50)
email: varchar(100)
phone: varchar(25)
@donut
donut / gist:68582
Created February 22, 2009 19:44 — forked from anonymous/gist:68581
<!-- start content -->
<div id="content_confess">
{exp:weblog:entries weblog="{my_weblog}" orderby="date" sort="desc" limit="15" disable="member_data|trackbacks"}
<div class="post">
<h2 class="title">{title}</h2>
<div class="entry">
<p>{name}</p>
<p>{body_content}</p>
<p>&nbsp;</p>
</div><!--.entry-->
@donut
donut / gist:68643
Created February 22, 2009 22:21 — forked from anonymous/gist:68641
<!-- start content -->
<div id="content_confess">
<div class="post">
<h2 class="title">Confess your story to us</h2>
<div class="entry"> {exp:weblog:entry_form weblog="default_site" return="site/index" preview="site/entry"}
<table width="100%" border="0">
<tr>
<td width="22%"><label for="title">Title:</label></td>
<td width="78%">
@donut
donut / confess.html
Created February 23, 2009 01:53 — forked from anonymous/confess
{assign_variable:my_weblog="default_site"}
{assign_variable:my_template_group="site"}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Boil The Bunny | How Bad Could Your Ex Be?</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel='stylesheet' type='text/css' media='all' href='{stylesheet=site/css2}' />
/***********************************************************/
/* LiveFilter Plugin */
/* Version: 1.0 */
/* Mike Merritt */
/* Updated January 4th, 2009 */
/***********************************************************/
(function($){
$.fn.liveFilter = function (filter_field, items, text) {
// Grabs the id of the element containing the filter
/*
@theme Quiet Light
@override-placeholders html, xml, css, php, php+html
@author Ian Beck
*/
@base {
color: #333;
background-color: #f5f5f5;
insertion-point-color: #000;

It's good to eat yogurt after a meal. Otherwise, all of good bacteria from yogurt will be killed before they get to your intestine.

WHoooOOA!
/
/''''\
\|/_ | O O | _\|/
| \ () / |
\___| |___/