Dotclear

Changeset 238


Ignore:
Timestamp:
09/24/08 09:37:01 (15 years ago)
Author:
bruno
Message:

Validation stuff. This version is still under development. Use revision 2324 for a stable release!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/gallery/gal.php

    r237 r238  
    6464$next_link = $prev_link = $next_headlink = $prev_headlink = null; 
    6565 
    66 $gal_headlink = '<link rel="%s" title="%s" href="plugin.php?p=gallery&m=gal&id=%s" />'; 
    67 $gal_link = '<a href="plugin.php?p=gallery&m=gal&id=%s" title="%s">%s</a>'; 
     66$gal_headlink = '<link rel="%s" title="%s" href="plugin.php?p=gallery&amp;m=gal&amp;id=%s" />'; 
     67$gal_link = '<a href="plugin.php?p=gallery&amp;m=gal&amp;id=%s" title="%s">%s</a>'; 
    6868 
    6969 
     
    336336               $core->gallery->refreshGallery($post_id); 
    337337 
    338                http::redirect('plugin.php?p=gallery&m=gal&id='.$post_id.'&upd=1'); 
     338               http::redirect('plugin.php?p=gallery&amp;m=gal&id='.$post_id.'&upd=1'); 
    339339          } 
    340340          catch (Exception $e) 
     
    371371               $core->gallery->refreshGallery($return_id); 
    372372                
    373                http::redirect('plugin.php?p=gallery&m=gal&id='.$return_id.'&crea=1'); 
     373               http::redirect('plugin.php?p=gallery&amp;m=gal&amp;id='.$return_id.'&amp;crea=1'); 
    374374          } 
    375375          catch (Exception $e) 
     
    462462          '<div class="col">'. 
    463463          "<h3>".__('Presentation thumbnail')."</h3>"; 
    464      $change_thumb_url='plugin.php?p=gallery&m=galthumb&gal_id='.$post_id; 
     464     $change_thumb_url='plugin.php?p=gallery&amp;m=galthumb&amp;gal_id='.$post_id; 
    465465     if ($c_media_dir) 
    466           $change_thumb_url .= '&d='.$f_media_dir; 
     466          $change_thumb_url .= '&amp;d='.$f_media_dir; 
    467467 
    468468     if ($has_thumb) { 
     
    473473          echo '<li>'.$gal_thumb->media_dtstr.' - '. files::size($gal_thumb->size).' - '. 
    474474          '<a href="'.$change_thumb_url.'">'.__('Change').'</a>'.'</li></ul>'; 
    475           echo '<li class="media-action"><form action="plugin.php?p=gallery&m=galthumb" method="post">'. 
     475          echo '<li class="media-action"><form action="plugin.php?p=gallery&amp;m=galthumb" method="post">'. 
    476476          '<input type="image" src="images/minus.png" alt="'.__('Remove').'" '. 
    477477          'title="'.__('Remove').'" /> '. 
     
    500500{ 
    501501 
    502      echo '<form action="plugin.php?p=gallery&m=gal" method="post" id="entry-form">'; 
     502     echo '<form action="plugin.php?p=gallery&amp;m=gal" method="post" id="entry-form">'; 
    503503     echo '<div id="entry-sidebar">'; 
    504504      
Note: See TracChangeset for help on using the changeset viewer.

Sites map