Changeset 6322
- Timestamp:
- 12/05/07 00:57:08 (1 year ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
plugins/sfOpenOfficePlugin/data/transformations/odt.xsl
r3931 r6322 23 23 </xsl:template> 24 24 25 <xsl:template match="table:table-row[table:table-cell[text:p[starts-with(., '<?php') and substring(., string-length(.)-1, 2)='?>'] ]]">25 <xsl:template match="table:table-row[table:table-cell[text:p[starts-with(., '<?php') and substring(., string-length(.)-1, 2)='?>'] and position()=1]]"> 26 26 <xsl:call-template name="code"><xsl:with-param name="node" select="table:table-cell/text:p" /></xsl:call-template> 27 27 </xsl:template> plugins/sfOpenOfficePlugin/lib/sfOpenOfficeDocumentView.class.php
r3957 r6322 146 146 $header = array_merge($headers['all'], $headers[$outputExtension]); 147 147 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') . ' ' . 149 150 sfConfig::get('sf_plugin_ooffice_config_dir') . " release \"$generatedPath\" \"$outputPath\" \"$filter\""); 150 151