- Timestamp:
- 05/13/06 12:25:40 (3 years ago)
- Files:
-
- devel/lib/elgglib.php (modified) (1 diff)
- devel/lib/templates.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/lib/elgglib.php
r335 r339 1911 1911 $htmlid = 'auto-cb'.sprintf('%04d', ++$idcounter); 1912 1912 $output = '<span class="checkbox '.$name."\">"; 1913 $output .= '<input name="'.$name.'" id="'.$htmlid.'" type="checkbox" value="'.$value.'" alt="'.$alt.'"'.$strchecked.' '.((!empty($script)) ? ' on Click="'.$script.'" ' : '').' />';1913 $output .= '<input name="'.$name.'" id="'.$htmlid.'" type="checkbox" value="'.$value.'" alt="'.$alt.'"'.$strchecked.' '.((!empty($script)) ? ' onclick="'.$script.'" ' : '').' />'; 1914 1914 if(!empty($label)) { 1915 1915 $output .= ' <label for="'.$htmlid.'">'.$label.'</label>'; devel/lib/templates.php
r311 r339 1900 1900 1901 1901 $column2 .= " | <a href=\"".url."_templates/edit.php?id=".$template->ident."\" >". gettext("Edit") ."</a>"; 1902 $column2 .= " | <a href=\"".url."_templates/?action=deletetemplate&delete_template_id=".$template->ident."\" on Click=\"return confirm('" . gettext("Are you sure you want to permanently remove this template?") . "')\">" . gettext("Delete") . "</a>";1902 $column2 .= " | <a href=\"".url."_templates/?action=deletetemplate&delete_template_id=".$template->ident."\" onclick=\"return confirm('" . gettext("Are you sure you want to permanently remove this template?") . "')\">" . gettext("Delete") . "</a>"; 1903 1903 $panel .=templates_draw(array( 1904 1904 'context' => 'databox', … … 1980 1980 case "submenu": 1981 1981 return templates_draw(array( 1982 'submenuitems' => menu_join('  | ', $PAGE->menu_sub),1982 'submenuitems' => menu_join(' | ', $PAGE->menu_sub), 1983 1983 'context' => 'submenu' 1984 1984 )); … … 1988 1988 if (logged_on) { 1989 1989 return templates_draw(array( 1990 'topmenuitems' => menu_join('  | ', $PAGE->menu_top),1990 'topmenuitems' => menu_join(' | ', $PAGE->menu_top), 1991 1991 'context' => 'topmenu' 1992 1992 ));
