Changeset 339 for devel/lib

Show
Ignore:
Timestamp:
05/13/06 12:25:40 (3 years ago)
Author:
sven
Message:

minor HTML validation fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/lib/elgglib.php

    r335 r339  
    19111911    $htmlid = 'auto-cb'.sprintf('%04d', ++$idcounter); 
    19121912    $output  = '<span class="checkbox '.$name."\">"; 
    1913     $output .= '<input name="'.$name.'" id="'.$htmlid.'" type="checkbox" value="'.$value.'" alt="'.$alt.'"'.$strchecked.' '.((!empty($script)) ? ' onClick="'.$script.'" ' : '').' />'; 
     1913    $output .= '<input name="'.$name.'" id="'.$htmlid.'" type="checkbox" value="'.$value.'" alt="'.$alt.'"'.$strchecked.' '.((!empty($script)) ? ' onclick="'.$script.'" ' : '').' />'; 
    19141914    if(!empty($label)) { 
    19151915        $output .= ' <label for="'.$htmlid.'">'.$label.'</label>'; 
  • devel/lib/templates.php

    r311 r339  
    19001900 
    19011901                    $column2 .= " | <a href=\"".url."_templates/edit.php?id=".$template->ident."\" >". gettext("Edit") ."</a>"; 
    1902                     $column2 .= " | <a href=\"".url."_templates/?action=deletetemplate&amp;delete_template_id=".$template->ident."\"  onClick=\"return confirm('" . gettext("Are you sure you want to permanently remove this template?") . "')\">" . gettext("Delete") . "</a>"; 
     1902                    $column2 .= " | <a href=\"".url."_templates/?action=deletetemplate&amp;delete_template_id=".$template->ident."\"  onclick=\"return confirm('" . gettext("Are you sure you want to permanently remove this template?") . "')\">" . gettext("Delete") . "</a>"; 
    19031903                    $panel .=templates_draw(array( 
    19041904                                                        'context' => 'databox', 
     
    19801980        case "submenu":           
    19811981            return templates_draw(array( 
    1982                                         'submenuitems' => menu_join('&nbsp|&nbsp;', $PAGE->menu_sub), 
     1982                                        'submenuitems' => menu_join('&nbsp;|&nbsp;', $PAGE->menu_sub), 
    19831983                                        'context' => 'submenu' 
    19841984                                        )); 
     
    19881988            if (logged_on) { 
    19891989                return templates_draw(array( 
    1990                                             'topmenuitems' => menu_join('&nbsp|&nbsp;', $PAGE->menu_top), 
     1990                                            'topmenuitems' => menu_join('&nbsp;|&nbsp;', $PAGE->menu_top), 
    19911991                                            'context' => 'topmenu' 
    19921992                                            ));