Skip to content

Instantly share code, notes, and snippets.

View gestadieu's full-sized avatar

Gerald Estadieu gestadieu

View GitHub Profile
#!/bin/bash
SYMFREPO="git://symfony-git.git.sourceforge.net/gitroot/symfony-git/symfony-git"
DBUSER="root"
DBPASS=""
VENDOR_DIR="lib/vendor/symfony"
if [ -z "$DBPASS" ]; then
echo edit setupsymfony.sh to add your mysql password on line 4: DBPASS=\"password\"
exit
<?php
class sfWidgetFormSchemaFormatterDef extends sfWidgetFormSchemaFormatter
{
protected
$rowFormat = '<div class="row %row_class%">%label%%field%%help%%hidden_fields%</div>',
$helpFormat = '<span>%help%</span>',
$errorRowFormat = '%errors%',
$errorListFormatInARow = '<ul>%errors%</ul>',
$errorRowFormatInARow = '<li>%error%</li>',