Changeset 12832 in spip-zone


Ignore:
Timestamp:
Jun 10, 2007, 5:45:47 PM (14 years ago)
Author:
renato@…
Message:

curly braces missing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_dev_/demo_spip/spip_demo_pipelines.php

    r12809 r12832  
    1010      break;
    1111  }
    12   if($file_demo && $name_demo) 
    13   $path = _DIR_PLUGIN_SPIP_DEMO."javascript/";
    14   $flux .= "<link type='text/css' rel='stylesheet' href='"._DIR_PLUGIN_SPIP_DEMO."javascript/jqModal.css' />
    15   <script src='{$path}jquery.dimensions.js'></script>
    16   <script src='{$path}jqModal.js'></script>
    17   <script src='{$path}jDemo.js'></script>
    18   <script type='text/javascript'>
    19     jQuery(function(){jQuery.startDemo('"._DIR_PLUGIN_SPIP_DEMO."$file_demo','$name_demo',1,'$path');});
    20   </script>
    21   ";
     12  if($file_demo && $name_demo) { 
     13    $path = _DIR_PLUGIN_SPIP_DEMO."javascript/";
     14    $flux .= "<link type='text/css' rel='stylesheet' href='"._DIR_PLUGIN_SPIP_DEMO."javascript/jqModal.css' />
     15    <script src='{$path}jquery.dimensions.js'></script>
     16    <script src='{$path}jqModal.js'></script>
     17    <script src='{$path}jDemo.js'></script>
     18    <script type='text/javascript'>
     19      jQuery(function(){jQuery.startDemo('"._DIR_PLUGIN_SPIP_DEMO."$file_demo','$name_demo',1,'$path');});
     20    </script>
     21    ";
     22  }
    2223  return $flux;
    2324}
Note: See TracChangeset for help on using the changeset viewer.