Index: admin.inc
===================================================================
RCS file: /cvs/drupal/contributions/modules/imce/inc/admin.inc,v
retrieving revision 1.5.2.6
diff -u -r1.5.2.6 admin.inc
--- admin.inc	9 Feb 2009 18:24:36 -0000	1.5.2.6
+++ admin.inc	24 Apr 2009 14:53:49 -0000
@@ -351,19 +351,22 @@
 
   $output = '<h3 class="title">'. t('Directories') .'</h3>';
   $output .= theme('table', $header, $rows);
-  $output .= '<div class="form-item"><div class="description">'. t('Define directories that users of this profile can access.
-<ul>
-	<li>Use alphanumeric characters as directory paths.</li>
-	<li>To specify file system root, just enter <strong>.</strong>(dot) character.</li>
-	<li>Use <strong>%uid</strong> as a placeholder for user ID. Ex: <em>users/user%uid</em> creates directories such as <em>users/user1</em>, <em>users/user42</em>, etc.</li>
-  <li>To remove a directory from the list, leave the directory path blank.</li>
-  <li>If you want more flexibility in directory paths you can execute php to return a directory path.<br />
-  For php execution your directory path must start with <strong>php:</strong> and the rest must be a valid php code that is expected to return the actual directory path. <br />Ex: <strong>php: return \'users/\'.$user->name;</strong> defines <strong>users/USER-NAME</strong> as the directory path.<br />
-  A multi-level directory example <strong>php: return date(\'Y\', $user->created).\'/\'.date(\'m\', $user->created).\'/\'.$user->uid;</strong> defines <strong>MEMBERSHIP-YEAR/MONTH/USER-ID</strong> as the directory path, resulting in self-categorized user directories based on membership date.<br />
-  Note that you should use the $user variable instead of $GLOBALS[\'user\'] since they are not always the same object.</li>
-</ul>
-<p>Note that thumbnails permission does not affect thumbnail creation on upload. See thumbnails decription below.</p>
-<p>If you need more fields, just fill all and save, and you will get two more on the next page.</p>') .'</div></div>';
+  //$output .= '<p class="description">'. t('Define directories that users of this profile can access.') .'</p>';
+  $output .= '<div class="form-item"><div class="description">';
+  $list = array();
+  $list[] = t('Use alphanumeric characters as directory paths.');
+  $list[] = t('To specify file system root, just enter <strong>.</strong>(dot) character.');
+  $list[] = t('Use <strong>%uid</strong> as a placeholder for user ID. Ex: <em>users/user%uid</em> creates directories such as <em>users/user1</em>, <em>users/user42</em>, etc.');
+  $list[] = t('To remove a directory from the list, leave the directory path blank.');
+  $list[] = t('If you want more flexibility in directory paths you can execute php to return a directory path.') .'<br />';
+  $list[4] .= t('For php execution your directory path must start with <strong>php:</strong> and the rest must be a valid php code that is expected to return the actual directory path.') .'<br />';
+  $list[4] .= t('Ex: !samplecode defines <strong>users/USER-NAME</strong> as the directory path.', array('!samplecode' => '<strong>php: return \'users/\'.$user->name;</strong>')) .'<br />';
+  $list[4] .= t('A multi-level directory example !samplecode defines <strong>MEMBERSHIP-YEAR/MONTH/USER-ID</strong> as the directory path, resulting in self-categorized user directories based on membership date.', array('!samplecode' => '<strong>php: return date(\'Y\', $user->created).\'/\'.date(\'m\', $user->created).\'/\'.$user->uid;</strong>')) .'<br />';
+  $list[4] .= t('Note that you should use the $user variable instead of $GLOBALS[\'user\'] since they are not always the same object.');
+  $list[] .= t('Thumbnails permission does not affect thumbnail creation on upload. See thumbnails decription below.');
+  $output .= theme('item_list', $list, t('Define directories that users of this profile can access.'),'ul');
+  $output .= '<p>'. t('If you need more fields, just fill all and save, and you will get two more on the next page.') .'</p>';
+  $output .= '</div></div>';
   $output .= drupal_render($form);
   return $output;
 }
@@ -416,15 +419,16 @@
 
   $output = '<h3 class="title">'. t('Thumbnails') .'</h3>';
   $output .= theme('table', $header, $rows);
-  $output .= '<div class="form-item"><div class="description">'. t('You may create a list of thumbnail options that users can choose from.
-<ul>
-  <li>Use alphanumeric characters as thumbnail names.</li>
-  <li>Specify dimensions as <strong>WidthxHeight</strong>.</li>
-  <li>Prefix and suffix are strings that are added to original file name to create the thumbnail name.</li>
-  <li>An example thumbnail: Name = <strong>Small</strong>, Dimensions = <strong>80x80</strong>, Prefix = <strong>small_</strong></li>
-</ul>
-<p>Note that users will always be able to create thumbnails on file upload no matter what the thumbnail permission is. To disable thumbnail creation on file upload you should not define any thumbnails here.</p>
-<p>If you need more fields, just fill all and save, and you will get two more on the next page.</p>') .'</div></div>';
+  $output .= '<div class="form-item"><div class="description">';
+  $list = array();
+  $list[] = t('Use alphanumeric characters as thumbnail names.');
+  $list[] = t('Specify dimensions as <strong>WidthxHeight</strong>.');
+  $list[] = t('Prefix and suffix are strings that are added to original file name to create the thumbnail name.');
+  $list[] = t('An example thumbnail: Name = <strong>Small</strong>, Dimensions = <strong>80x80</strong>, Prefix = <strong>small_</strong>');
+  $list[] = t('Users will always be able to create thumbnails on file upload no matter what the thumbnail permission is. To disable thumbnail creation on file upload you should not define any thumbnails here.');
+  $output .= theme('item_list', $list, t('You may create a list of thumbnail options that users can choose from.'),'ul');
+  $output .= '<p>'. t('If you need more fields, just fill all and save, and you will get two more on the next page.') .'</p>';
+  $output .= '</div></div>';
   $output .= drupal_render($form);
   return $output;
 }

