From: Gabriel Wicke Date: Fri, 21 May 2004 16:03:46 +0000 (+0000) Subject: access key and tooltip for 'compare selected versions' button, defaults to 'v' X-Git-Tag: 1.3.0beta1~7 X-Git-Url: http://git.cyclocoop.org/%28?a=commitdiff_plain;h=98b8ce7cf5ae904887dd14cc9e45cbc312c772d8;p=lhc%2Fweb%2Fwiklou.git access key and tooltip for 'compare selected versions' button, defaults to 'v' --- diff --git a/includes/PageHistory.php b/includes/PageHistory.php index ea7a74f4a9..49b42f3f2a 100644 --- a/includes/PageHistory.php +++ b/includes/PageHistory.php @@ -123,7 +123,8 @@ class PageHistory { $s = $skip ? "" : preg_replace( "/!OLDID![0-9]+!/", $last, $this->lastline ); $s .= "\n"; if( $this->linesonpage > 1) { - $s .= '

\n"; + $s .= '

\n"; } $s .= "\n"; return $s; diff --git a/languages/Language.php b/languages/Language.php index 4a9e5fcbb0..82adf4431c 100644 --- a/languages/Language.php +++ b/languages/Language.php @@ -1488,6 +1488,7 @@ amusement.", 'accesskey-preview' => 'p', 'accesskey-contributions' => '', 'accesskey-emailuser' => '', +'accesskey-compareselectedversions' => 'v', # tooltip help for the main actions 'tooltip-atom' => 'Atom feed for this page', @@ -1532,6 +1533,7 @@ amusement.", 'tooltip-contributions' => 'View the list of contributions of this user', 'tooltip-emailuser' => 'Send a mail to this user', 'tooltip-rss' => 'RSS feed for this page', +'tooltip-compareselectedversions' => 'See the differences between the two selected versions of this page. [alt-v]', # Metadata "nodublincore" => "Dublin Core RDF metadata disabled for this server.",