plugins/gallery/browser.php
changeset 11 3c4304fae21e
parent 10 b38afb86dcad
child 14 e47e4be549ad
equal deleted inserted replaced
10:b38afb86dcad 11:3c4304fae21e
   381   {
   381   {
   382     echo '<div class="error-box">Error creating folder:<ul><li>' . implode('</li><li>', $f_errors) . '</li></ul></div>';
   382     echo '<div class="error-box">Error creating folder:<ul><li>' . implode('</li><li>', $f_errors) . '</li></ul></div>';
   383   }
   383   }
   384   
   384   
   385   // From here, this breadcrumb stuff is a piece of... sourdough French bread :-) *smacks lips*
   385   // From here, this breadcrumb stuff is a piece of... sourdough French bread :-) *smacks lips*
   386   echo '<div class="tblholder" style="padding: 4px; margin-bottom: 7px;">';
   386   echo '<div class="breadcrumbs" style="padding: 4px; margin-bottom: 7px;">';
   387   // Upload image link for admins
   387   // Upload image link for admins
   388   if ( $session->user_level >= USER_LEVEL_ADMIN )
   388   if ( $session->user_level >= USER_LEVEL_ADMIN )
   389   {
   389   {
   390     echo '<div style="float: right; font-size: smaller;">';
   390     echo '<div style="float: right; font-size: smaller;">';
   391     echo '<b><a href="' . makeUrlNS('Special', 'GalleryUpload') . '">Upload new image(s)</a></b>';
   391     echo '<a href="' . makeUrlNS('Special', 'GalleryUpload') . '">Upload new image(s)</a>';
   392     echo '</div>';
   392     echo '</div>';
   393   }
   393   }
   394   // The actual breadcrumbs
   394   // The actual breadcrumbs
   395   echo '<b><small>' . implode(' &raquo; ', $breadcrumbs) . '</small></b>';
   395   echo '<small>' . implode(' &raquo; ', $breadcrumbs) . '</small>';
   396   echo '</div>';
   396   echo '</div>';
   397   
   397   
   398   // "Edit all" link
   398   // "Edit all" link
   399   if ( $row = $db->fetchrow($img_query) && $session->user_level >= USER_LEVEL_ADMIN )
   399   if ( $row = $db->fetchrow($img_query) && $session->user_level >= USER_LEVEL_ADMIN )
   400   {
   400   {