Changeset 75 for trunk/config

Show
Ignore:
Timestamp:
08/22/08 14:03:33 (2 years ago)
Author:
nperriault
Message:

[1.1]:

  • Companies and people modules migrated, with according form classes and templates, and functional test suite
  • Enhanced SymfoniansTestBrowser?
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/config/ProjectConfiguration.class.php

    r66 r75  
    77  public function setup() 
    88  { 
     9    // Base forms configuration 
    910    sfWidgetFormSchema::setDefaultFormFormatterName('div'); 
    10      
     11    sfValidatorBase::setRequiredMessage('This field is required.'); 
     12    sfValidatorBase::setInvalidMessage('The value provided is invalid.'); 
     13 
    1114    // symfonians constants definition 
    1215    if (!defined('SYMFONIANS_MAIN_DOMAIN')) 
     
    2225    } 
    2326  } 
    24    
     27 
    2528  public function getWebDir() 
    2629  { 
    2730    return sfConfig::get('sf_web_dir'); 
    2831  } 
    29    
     32 
    3033  public function getUploadDir() 
    3134  { 
    3235    return sfConfig::get('sf_upload_dir'); 
    3336  } 
    34    
     37 
    3538  public function getUploadDirName() 
    3639  { 
  • trunk/config/app.yml-dist

    r62 r75  
    77    max_sidebar_tags:    50 
    88    upload_dir:          applications 
    9     screenshot_width:    200 
    10     screenshot_height:   140 
    11     screenshot_mime:     image/jpeg 
    12     screenshot_quality:  90 
     9    thumb.width:         200 
     10    thumb.height:        140 
     11    thumb.quality:       90 
    1312    default_screenshot:  default_screenshot.png 
    1413 
     
    2423    box_max_items:       5 
    2524    upload_dir:          companies 
    26     logo_width:          200 
    27     logo_height:         140 
    28     logo_mime:           image/jpeg 
    29     logo_quality:        90 
     25    thumb.width:         200 
     26    thumb.height:        140 
     27    thumb.quality:       90 
    3028    default_logo:        default_logo.png 
    3129 
     
    8987 
    9088  people: 
     89    forbidden_names:     [admin, contact, info, infos, commercial, tech, support, sales, partnership, webmaster, business, owner] 
    9190    max_items:           6 
    9291    box_max_items:       5