/[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.6, Thu Dec 25 20:42:44 2008 UTC revision 1.1.2.2.2.7, Thu Jan 1 12:03:12 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: zoomify.module,v 1.1.2.2.2.5 2008/12/04 04:32:32 kratib Exp $  // $Id: zoomify.module,v 1.1.2.2.2.6 2008/12/25 20:42:44 kratib Exp $
3    
4  require_once('pathinfo_filename.inc');  require_once('pathinfo_filename.inc');
5  require_once('rrmdir.inc');  require_once('rrmdir.inc');
# Line 97  function zoomify_admin_settings() { Line 97  function zoomify_admin_settings() {
97  function theme_zoomify_admin_settings($form) {  function theme_zoomify_admin_settings($form) {
98    $output  = '';    $output  = '';
99    $output .= drupal_render($form);    $output .= drupal_render($form);
100    $output .= '<p class="cvs-version">$Id: zoomify.module,v 1.1.2.2.2.5 2008/12/04 04:32:32 kratib Exp $</p>';    $output .= '<p class="cvs-version">$Id: zoomify.module,v 1.1.2.2.2.6 2008/12/25 20:42:44 kratib Exp $</p>';
101    return $output;    return $output;
102  }  }
103    
# Line 133  function theme_zoomify($node, $images, $ Line 133  function theme_zoomify($node, $images, $
133    }    }
134    
135    drupal_set_title($node->title);    drupal_set_title($node->title);
136    $viewer = url(drupal_get_path('module', 'zoomify') .'/zoomifyViewer.swf', NULL, NULL, TRUE);    global $base_url;
137      $viewer = $base_url .'/'. drupal_get_path('module', 'zoomify') .'/zoomifyViewer.swf';
138    $fids = array_keys($images);    $fids = array_keys($images);
139    $image = file_create_url(_zoomify_filepath($node, $fids[$index]));    $image = file_create_url(_zoomify_filepath($node, $fids[$index]));
140    $width = variable_get('zoomify_width', 800);    $width = variable_get('zoomify_width', 800);

Legend:
Removed from v.1.1.2.2.2.6  
changed lines
  Added in v.1.1.2.2.2.7

  ViewVC Help
Powered by ViewVC 1.1.2