Dotclear


Ignore:
Timestamp:
10/10/13 11:26:12 (12 years ago)
Author:
Nicolas <nikrou77@…>
Branch:
default
Message:

Small html validation fix; encode & to &amp; for urls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/lib.moduleslist.php

    r2291 r2327  
    162162     public function setURL($url) 
    163163     { 
    164           $this->page_qs = strpos('?', $url) ? '&' : '?'; 
     164          $this->page_qs = strpos('?', $url) ? '&amp;' : '?'; 
    165165          $this->page_url = $url; 
    166166 
     
    600600               echo  
    601601               '<td class="module-name nowrap" scope="row">'.($config ?  
    602                     '<a href="'.$this->getURL('module='.$id.'&conf=1').'" title"'.sprintf(__('Configure module "%s"'), html::escapeHTML($module['name'])).'">'.html::escapeHTML($module['name']).'</a>' :  
     602                    '<a href="'.$this->getURL('module='.$id.'&amp;conf=1').'" title"'.sprintf(__('Configure module "%s"'), html::escapeHTML($module['name'])).'">'.html::escapeHTML($module['name']).'</a>' :  
    603603                    html::escapeHTML($module['name']) 
    604604               ).'</td>'; 
Note: See TracChangeset for help on using the changeset viewer.

Sites map