| 1 |
<?php |
<?php |
| 2 |
// $Id: slideshowcs.module,v 1.1.2.6.2.3 2009/01/02 12:22:59 davebv Exp $ |
// $Id: slideshowcs.module,v 1.1.2.6.2.4 2009/01/05 15:25:41 davebv Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 113 |
|
|
| 114 |
if (!empty($filepaths)) { |
if (!empty($filepaths)) { |
| 115 |
$blockidcss = "slideshowCS-". $delta ; |
$blockidcss = "slideshowCS-". $delta ; |
| 116 |
$aux = 'block_height'. $delta ; |
$aux = 'block_height_'. $delta ; |
| 117 |
$trans = array("!blockid" => $blockidcss, "!blockheight" => variable_get($aux, '200')); |
$trans = array("!blockid" => $blockidcss, "!blockheight" => variable_get($aux, '200')); |
| 118 |
|
|
| 119 |
$contenido = strtr("<div id='!blockid' style='height:!blockheightpx'>", $trans) ; |
$contenido = strtr("<div id='!blockid' style='height:!blockheightpx'>", $trans) ; |
| 125 |
|
|
| 126 |
foreach ( $filepaths as $valor ) { |
foreach ( $filepaths as $valor ) { |
| 127 |
$indice++ ; |
$indice++ ; |
| 128 |
$aux = 'fade_time'. $delta ; |
$aux = 'fade_time_'. $delta ; |
| 129 |
$fade = variable_get('fade_time', '1'); |
$fade = variable_get($aux, '1'); |
| 130 |
// Picture enabled? |
// Picture enabled? |
| 131 |
$auxiliar = 'enabled'. $indice . $delta ; |
$auxiliar = 'enabled'. $indice . $delta ; |
| 132 |
|
|