/[drupal]/contributions/modules/fast_gallery/fast_gallery.module
ViewVC logotype

Diff of /contributions/modules/fast_gallery/fast_gallery.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.62, Mon Nov 9 07:29:05 2009 UTC revision 1.63, Tue Nov 10 18:20:18 2009 UTC
# Line 7  Line 7 
7   * Fast Gallery allows you to build galleries based on your file   * Fast Gallery allows you to build galleries based on your file
8   * system with folders and subfolders.   * system with folders and subfolders.
9   *   *
10   * This module is sponsored by Sch�r Webdesign.   * This module is sponsored by Schär Webdesign.
11   * Visit www.schaerwebdesign.ch or the Drupal-related blog www.rapsli.ch.   * Visit www.schaerwebdesign.ch or the Drupal-related blog www.rapsli.ch.
12   *   *
13   * Original version by Raphael Sch�r - www.schaerwebdesign.ch.   * Original version by Raphael Schär - www.schaerwebdesign.ch.
14   *   *
15   * @author Raphael Sch�r - www.schaerwebdesign.ch   * @author Raphael Schär - www.schaerwebdesign.ch
16   */   */
17    
18  define('FG_DEFAULT_STORAGE_ENGINE','default');  define('FG_DEFAULT_STORAGE_ENGINE','default');
# Line 125  function fast_gallery_page_alias($path) Line 125  function fast_gallery_page_alias($path)
125    $html = '';    $html = '';
126    foreach ($images as $image) {    foreach ($images as $image) {
127      if ($image->isDir()) {//incase of a subfolder -> make a different link      if ($image->isDir()) {//incase of a subfolder -> make a different link
128        $image_html = l($image->renderHtml(), $current_path . '/' . $image->getName(), array('html' => TRUE));        $image_html = l($image->renderHtml() . '<br/>' . $image->getName(), $current_path . '/' . $image->getName(), array('html' => TRUE));
129      }      }
130      else {      else {
131        $image_html = l($image->renderHtml() . '<br/>' . $image->getName(), $image->getPath(), array('html' => TRUE));        $image_html = l($image->renderHtml() . '<br/>' . $image->getName(), $image->getPath(), array('html' => TRUE));

Legend:
Removed from v.1.62  
changed lines
  Added in v.1.63

  ViewVC Help
Powered by ViewVC 1.1.2