User:A.allison/Special Upload Changes

< User:A.allison
Revision as of 12:59, 21 August 2010 by A.allison (talk | contribs) (Created page with "Changes made to file 'SpecialUpload.php' located under '/includes/specials/'. Added at line 864: <syntaxhighlight lang="php"> $url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQ...")

(diff) ← Older revision | Approved revision (diff) | Latest revision (diff) | Newer revision → (diff)

Changes made to file 'SpecialUpload.php' located under '/includes/specials/'.

Added at line 864:

<syntaxhighlight lang="php"> $url="http://".$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; if ($url == "http://wikivet.net/index.php/Special:Upload"){ $editbox = "Template:Information\n\n\n"; }elseif ($url == "http://wikivet.net/index.php?title=Special:Upload&uselang=own"){ $user = $wgUser->getName(); $date = date("m.d.Y, H:i"); $editbox = "Template:Information\n\n\n"; }else /*($end['path'] == "/index.php")*/{

  1. $end = parse_url($url);

$editbox = "Template:Information\n\n\n"; } </syntaxhighlight>