From 6383fb1d5021dfe40157725e8a0f8a6f1349b821 Mon Sep 17 00:00:00 2001 From: Tom Gilder Date: Thu, 13 Oct 2005 04:07:00 +0000 Subject: [PATCH] Added structure for CSS customization --- includes/EditPage.php | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/includes/EditPage.php b/includes/EditPage.php index 2dd7ad1cfe..aca158c414 100644 --- a/includes/EditPage.php +++ b/includes/EditPage.php @@ -744,7 +744,7 @@ class EditPage { htmlspecialchars(wfMsg('tooltip-watch'))."\">{$watchthis}"; } - $checkboxhtml = $minoredithtml . $watchhtml . '
'; + $checkboxhtml = $minoredithtml . $watchhtml; $wgOut->addHTML( '
' ); if ( 'preview' == $this->formtype) { @@ -769,11 +769,11 @@ class EditPage { # Otherwise, show a summary field at the bottom $summarytext = htmlspecialchars( $wgContLang->recodeForEdit( $this->summary ) ); # FIXME if( $this->section == 'new' ) { - $commentsubject="
"; + $commentsubject="

"; $editsummary = ''; } else { $commentsubject = ''; - $editsummary="
"; + $editsummary="

"; } # Set focus to the edit box on load, except on preview or diff, where it would interfere with the display @@ -837,18 +837,23 @@ cols='{$cols}'{$ew} $hidden> END . htmlspecialchars( $this->safeUnicodeOutput( $this->textbox1 ) ) . " - +
{$metadata} -
{$editsummary} +{$editsummary} {$checkboxhtml} {$safemodehtml} +
-{$cancel} | {$edithelp}{$templates}" ); +" title=\"".wfMsg('tooltip-diff')."\"/> {$cancel} | {$edithelp}
+
+
+{$templates} +
+" ); $wgOut->addWikiText( $copywarn ); $wgOut->addHTML( " section ) . "\" name=\"wpSection\" /> -- 2.20.1