? image_pub.info
Index: CHANGELOG.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image_pub/CHANGELOG.txt,v
retrieving revision 1.2
diff -u -r1.2 CHANGELOG.txt
--- CHANGELOG.txt	12 May 2006 19:42:46 -0000	1.2
+++ CHANGELOG.txt	17 Oct 2007 16:08:33 -0000
@@ -1,3 +1,7 @@
+17 October 2007
+----------------------------
+- Ported to Drupal 5 by Rob Loach (http://www.robloach.net)
+
 13 May 2006
 ----------------------------
 - Image module 4.7.0 support
Index: INSTALL.txt
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image_pub/INSTALL.txt,v
retrieving revision 1.1
diff -u -r1.1 INSTALL.txt
--- INSTALL.txt	12 May 2006 07:56:59 -0000	1.1
+++ INSTALL.txt	17 Oct 2007 16:09:13 -0000
@@ -9,9 +9,9 @@
 Installation
 ------------
 
-1. Copy the image_pub.module to the Drupal modules/ directory.
+1. Copy the image_pub.module to the Drupal sites/all/modules/ directory.
 
-2. Enter the "administer > modules" page, and enable the image_pub module.
+2. Enter the "administer > build > modules" page, and enable the image_pub module.
 
 3. (Optional) Install and configure a Gallery Remote client, such as
    the official Java client (http://gallery.sourceforge.net/) or
@@ -20,7 +20,7 @@
    that can be embedded in your site.
 
 4. (Optional) Configure your Windows machine to use your site as a web 
-   publishing provider.  Enter the "administer > image publishing" page, 
+   publishing provider.  Enter the "administer > settings > image publishing" page, 
    and follow the "Install Windows Web Publishing Wizard Support" link.
 
 Updating
Index: image_pub.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/image_pub/image_pub.module,v
retrieving revision 1.11
diff -u -r1.11 image_pub.module
--- image_pub.module	20 May 2006 12:14:37 -0000	1.11
+++ image_pub.module	30 Dec 2006 22:45:52 -0000
@@ -14,10 +14,8 @@
  */
 function image_pub_help($section = 'admin/help#image_pub') {
   switch ($section) {
-    case 'admin/modules#description':
-      return t('Supports image uploads using 3rd party publishing apps');
-    case 'admin/image_pub':
-      return t('The Image Publishing module supports 3rd party image upload and management applications.');
+    case 'admin/help#image_pub':
+      return t('<p>The Image Publishing module supports 3rd party image upload and management applications.</p>');
   }
 }
 
@@ -35,12 +33,13 @@
       'callback' => '_image_pub_xp_request',
       'access' => TRUE,
       'type' => MENU_CALLBACK);
-    $items[] = array('path' => 'admin/image_pub_xp_reghack',
+    $items[] = array('path' => 'admin/settings/image_pub_xp_reghack',
       'callback' => '_image_pub_xp_reghack',
       'access' => TRUE,
       'type' => MENU_CALLBACK);
-    $items[] = array('path' => 'admin/image_pub',
-      'title' => t('image publishing'),
+    $items[] = array('path' => 'admin/settings/image_pub',
+      'title' => t('Image publishing'),
+      'description' => t('Provides information regarding remote image publishing.'),
       'callback' => '_image_pub_admin',
       'access' => user_access('create images'));
   }
@@ -48,16 +47,19 @@
 }
 
 function _image_pub_admin() {
-  $output = '';
-  $group = '';
-  $group .= t('The below link will send a registry editor file to your computer.  Merging this file will add a new option to the list of sites to which Web content can be published, using the <em>Publish this file/folder to the Web</em> option in Explorer.  If you ever wish to remove this site from your system\'s list of publishing sites, you must manually edit your system registry.<br />');
-  $group .= t('<em>Windows XP or a more recent version of Windows is required to use this feature.</em><br />');
-  $group .= '<a href="'.url('admin/image_pub_xp_reghack').'">'.t('Install Windows Web Publishing Wizard Support').'</a>.<br />';
+      $info = t('<p>The Image Publishing module supports 3rd party image upload and management applications.</p>');
+      $info .= t('<h3>Gallery Remote</h3>');
+      $info .= t('<p>To use a Gallery Remote client, configure the client with the URL of your Drupal root directory.  It will attempt to access the gallery_remote2.php entry point, for which this module registers a virtual handler.</p>');
+      $info .= t('<p>This module has been tested successfully with the <a href="http://gallery.menalto.com/wiki/Gallery_Remote" target="_blank">Java Gallery Remote</a> 
+clients, and <a href="http://www.digikam.org" target="_blank">digiKam</a>.</p>');
+      $info .= t('<h3>Windows Web Publishing Wizard</h3>');
+      $info .= t('<p>Windows XP and on have an interesting built-in shell feature called the Publishing Wizard.  The sidebar task "Publish this file/folder to the Web" invokes the Web Publishing Wizard.  When this task is invoked, the Web Publishing Wizard offers a list of sites to which your images can be published.  The list comes from the registry, and with this module, you can add Drupal sites to that list.</p>');
+      $info .= t('<p>The below link will send a registry editor file to your computer.  Merging this file will add a new option to the list of sites to which Web content can be published, using the <em>Publish this file/folder to the Web</em> option in Explorer.  If you ever wish to remove this site from your system\'s list of publishing sites, you must manually edit your system registry.</p>');
+      $info .= '<p><a href="'.url('admin/settings/image_pub_xp_reghack').'">'.t('Install Windows Web Publishing Wizard Support').'</a>.</p>';
   
-  return $group;
+  return $info;
 }
 
-
 /*
  * Generalized helper functions for tasks that require tight integration 
  * with other parts of Drupal, such as image.module and taxonomy.module.
@@ -305,7 +307,7 @@
   $cmd = $_POST['cmd'];
   $numref = FALSE;
 
-  //watchdog('image_pub', t('Processing command %cmd', array('%cmd' => theme('placeholder', $cmd))));
+  watchdog('image_pub', t('Processing command %cmd', array('%cmd' => theme('placeholder', $cmd))));
 
   switch($cmd) {
     case 'login':
