Development

Changeset 6322

You must first sign up to be able to contribute.

Changeset 6322

Show
Ignore:
Timestamp:
12/05/07 00:57:08 (1 year ago)
Author:
promag
Message:

--

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/sfOpenOfficePlugin/data/transformations/odt.xsl

    r3931 r6322  
    2323</xsl:template> 
    2424 
    25 <xsl:template match="table:table-row[table:table-cell[text:p[starts-with(., '&lt;?php') and substring(., string-length(.)-1, 2)='?&gt;']]]"> 
     25<xsl:template match="table:table-row[table:table-cell[text:p[starts-with(., '&lt;?php') and substring(., string-length(.)-1, 2)='?&gt;'] and position()=1]]"> 
    2626  <xsl:call-template name="code"><xsl:with-param name="node" select="table:table-cell/text:p" /></xsl:call-template> 
    2727</xsl:template> 
  • plugins/sfOpenOfficePlugin/lib/sfOpenOfficeDocumentView.class.php

    r3957 r6322  
    146146    $header  = array_merge($headers['all'], $headers[$outputExtension]); 
    147147     
    148     $ret = shell_exec(sfConfig::get('sf_plugin_ooffice_script')     . ' ' . 
     148    $ret = sfConfig::get('sf_plugin_ooffice_script').' '.sfConfig::get('sf_plugin_ooffice_config_dir') . " release \"$generatedPath\" \"$outputPath\" \"$filter\"" . 
     149           ': ' . shell_exec(sfConfig::get('sf_plugin_ooffice_script')     . ' ' . 
    149150                      sfConfig::get('sf_plugin_ooffice_config_dir') . " release \"$generatedPath\" \"$outputPath\" \"$filter\""); 
    150151