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

Diff of /contributions/modules/zoomify/zoomify.module

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

revision 1.1.2.2.2.2.2.5, Thu Dec 4 04:29:39 2008 UTC revision 1.1.2.2.2.2.2.6, Thu Jan 1 11:58:21 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: zoomify.module,v 1.1.2.2.2.2.2.4 2008/10/27 21:01:45 kratib Exp $  // $Id: zoomify.module,v 1.1.2.2.2.2.2.5 2008/12/04 04:29:39 kratib Exp $
3    
4  require_once('pathinfo_filename.inc');  require_once('pathinfo_filename.inc');
5  require_once('rrmdir.inc');  require_once('rrmdir.inc');
# Line 98  function zoomify_theme() { Line 98  function zoomify_theme() {
98  function theme_zoomify_admin_settings($form) {  function theme_zoomify_admin_settings($form) {
99    $output  = '';    $output  = '';
100    $output .= drupal_render($form);    $output .= drupal_render($form);
101    $output .= '<p class="cvs-version">$Id: zoomify.module,v 1.1.2.2.2.2.2.4 2008/10/27 21:01:45 kratib Exp $</p>';    $output .= '<p class="cvs-version">$Id: zoomify.module,v 1.1.2.2.2.2.2.5 2008/12/04 04:29:39 kratib Exp $</p>';
102    return $output;    return $output;
103  }  }
104    
# Line 135  function theme_zoomify($node, $images, $ Line 135  function theme_zoomify($node, $images, $
135    }    }
136    
137    drupal_set_title($node->title);    drupal_set_title($node->title);
138    $viewer = url(drupal_get_path('module', 'zoomify') .'/zoomifyViewer.swf', array('absolute' => TRUE));    global $base_url;
139      $viewer = $base_url .'/'. drupal_get_path('module', 'zoomify') .'/zoomifyViewer.swf';
140    $fids = array_keys($images);    $fids = array_keys($images);
141    $image = file_create_url(_zoomify_filepath($node, $fids[$index]));    $image = file_create_url(_zoomify_filepath($node, $fids[$index]));
142    $width = variable_get('zoomify_width', 800);    $width = variable_get('zoomify_width', 800);

Legend:
Removed from v.1.1.2.2.2.2.2.5  
changed lines
  Added in v.1.1.2.2.2.2.2.6

  ViewVC Help
Powered by ViewVC 1.1.2