Development

Changeset 4483

You must first sign up to be able to contribute.

Changeset 4483

Show
Ignore:
Timestamp:
06/29/07 17:20:34 (6 years ago)
Author:
tristan
Message:

sfPayloadFilterChain_TextTransformationPlugin : doh !

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfPayloadFilterChain_TextTransformationPlugin/config/config_handlers.yml

    r4403 r4483  
    1 config/pfc_TextToImage/*.yml: 
     1config/pfc/text_to_image/*.yml: 
    22  class: pfcTextToImageConfigurationHandler 
    33   
  • plugins/sfPayloadFilterChain_TextTransformationPlugin/config/pfc/transformers.yml

    r4444 r4483  
    33  class:    pfcTextToImageTransformer 
    44  params: 
    5     theme: crystal 
    6     host:  http://dev 
    7     images_uri: ipc-trunk/images/smileys 
     5    theme: Tango 
    86 
    97pfc_mime_to_mime: 
     
    1715pfc_replacewords: 
    1816  enabled:  on 
    19   class:    pfcCensorshipTransformer 
     17  class:    pfcWordReplaceTransformer 
  • plugins/sfPayloadFilterChain_TextTransformationPlugin/lib/transformer/pfcTextToImageTransformer.class.php

    r4403 r4483  
    115115    $expandable_texts = $this->getExpandableTexts(); 
    116116    $image_url = sprintf('%s/%s/%s/%s', 
    117                          $this->getParameter('host'), 
    118                          $this->getParameter('images_uri'), 
     117                         $this->getParameter('host', sfContext::getInstance()->getRequest()->getUriPrefix()), 
     118                         $this->getParameter('images_uri', sfContext::getInstance()->getRequest()->getRelativeUrlRoot() . '/images/emoticons'), 
    119119                         $this->getParameter('theme', 'default'), 
    120120                         $expandable_texts[$named_expand]['filename']); 
     
    132132  private function getExpandableTexts() 
    133133  { 
    134     $config_file = sprintf('config/pfc_TextToImage/%s.yml', 
     134    $config_file = sprintf('config/pfc/text_to_image/%s.yml', 
    135135                           $this->getParameter('theme', 'default')); 
    136136    include(sfConfigCache::getInstance()->checkConfig($config_file)); 
  • plugins/sfPayloadFilterChain_TextTransformationPlugin/package.xml

    r4446 r4483  
    1111  <active>yes</active> 
    1212 </lead> 
    13  <date>2007-06-27</date> 
     13 <date>2007-06-29</date> 
    1414 <version> 
    15    <release>0.2.0</release> 
    16    <api>0.2.0</api> 
     15   <release>0.2.1</release> 
     16   <api>0.2.1</api> 
    1717 </version> 
    1818 <stability> 
     
    191191 
    192192 <changelog> 
     193 
     194  <release> 
     195   <version> 
     196    <release>0.2.1</release> 
     197    <api>0.2.1</api> 
     198   </version> 
     199   <stability> 
     200    <release>beta</release> 
     201    <api>beta</api> 
     202   </stability> 
     203   <date>2007-06-29</date> 
     204   <license uri="http://www.symfony-project.com/license">MIT license</license> 
     205   <notes> 
     206 * fixed bug related to text to image transformer 
     207   </notes> 
     208  </release> 
     209 
    193210  <release> 
    194211   <version>