Updated browser and viewimage to use the breadcrumbs css class in enano-shared; this breaks 1.0 compatibility
authorDan
Sun, 21 Oct 2007 02:19:40 -0400
changeset 11 3c4304fae21e
parent 10 b38afb86dcad
child 12 3893b99cd443
Updated browser and viewimage to use the breadcrumbs css class in enano-shared; this breaks 1.0 compatibility
plugins/gallery/browser.php
plugins/gallery/viewimage.php
--- a/plugins/gallery/browser.php	Thu Aug 09 12:34:39 2007 -0400
+++ b/plugins/gallery/browser.php	Sun Oct 21 02:19:40 2007 -0400
@@ -383,16 +383,16 @@
   }
   
   // From here, this breadcrumb stuff is a piece of... sourdough French bread :-) *smacks lips*
-  echo '<div class="tblholder" style="padding: 4px; margin-bottom: 7px;">';
+  echo '<div class="breadcrumbs" style="padding: 4px; margin-bottom: 7px;">';
   // Upload image link for admins
   if ( $session->user_level >= USER_LEVEL_ADMIN )
   {
     echo '<div style="float: right; font-size: smaller;">';
-    echo '<b><a href="' . makeUrlNS('Special', 'GalleryUpload') . '">Upload new image(s)</a></b>';
+    echo '<a href="' . makeUrlNS('Special', 'GalleryUpload') . '">Upload new image(s)</a>';
     echo '</div>';
   }
   // The actual breadcrumbs
-  echo '<b><small>' . implode(' &raquo; ', $breadcrumbs) . '</small></b>';
+  echo '<small>' . implode(' &raquo; ', $breadcrumbs) . '</small>';
   echo '</div>';
   
   // "Edit all" link
--- a/plugins/gallery/viewimage.php	Thu Aug 09 12:34:39 2007 -0400
+++ b/plugins/gallery/viewimage.php	Sun Oct 21 02:19:40 2007 -0400
@@ -189,9 +189,9 @@
   $breadcrumbs[] = htmlspecialchars($row['img_title']);
   
   // From here, this breadcrumb stuff is a piece of... sourdough French bread :-) *smacks lips*
-  echo '<div class="tblholder" style="padding: 4px; margin-bottom: 7px;">';
+  echo '<div class="breadcrumbs" style="padding: 4px; margin-bottom: 7px;">';
   // The actual breadcrumbs
-  echo '<b><small>' . implode(' &raquo; ', $breadcrumbs) . '</small></b>';
+  echo '<small>' . implode(' &raquo; ', $breadcrumbs) . '</small>';
   echo '</div>';
   
   echo '<div style="text-align: center; margin: 10px auto; border: 1px solid #DDDDDD; padding: 7px 10px; display: table;">';