File tree 5 files changed +28
-14
lines changed
5 files changed +28
-14
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,15 @@ function selectPerlVersion(element) {
8
8
9
9
document . write ( '<select id="perl_version_select" name="version-chooser" onChange="selectPerlVersion(this)">' ) ;
10
10
document . write ( ' <option selected>Select...' ) ;
11
+ document . write ( ' <optgroup label="Perl 5 version 14">' ) ;
12
+ document . write ( ' <option value="/index.html">Perl 5.14.1' ) ;
13
+ document . write ( ' <option value="/5.14.0/index.html">Perl 5.14.0' ) ;
14
+ document . write ( ' </optgroup>' ) ;
11
15
document . write ( ' <optgroup label="Perl 5 version 12">' ) ;
12
- document . write ( ' <option value="/index.html">Perl 5.12.1' ) ;
16
+ document . write ( ' <option value="/5.12.4/index.html">Perl 5.12.4' ) ;
17
+ document . write ( ' <option value="/5.12.3/index.html">Perl 5.12.3' ) ;
18
+ document . write ( ' <option value="/5.12.2/index.html">Perl 5.12.2' ) ;
19
+ document . write ( ' <option value="/5.12.1/index.html">Perl 5.12.1' ) ;
13
20
document . write ( ' <option value="/5.12.0/index.html">Perl 5.12.0' ) ;
14
21
document . write ( ' </optgroup>' ) ;
15
22
document . write ( ' <optgroup label="Perl 5 version 10">' ) ;
@@ -20,4 +27,4 @@ document.write(' <optgroup label="Perl 5 version 8">');
20
27
document . write ( ' <option value="/5.8.9/index.html">Perl 5.8.9' ) ;
21
28
document . write ( ' <option value="/5.8.8/index.html">Perl 5.8.8' ) ;
22
29
document . write ( ' </optgroup>' ) ;
23
- document . write ( '</select>' ) ;
30
+ document . write ( '</select>' ) ;
Original file line number Diff line number Diff line change @@ -347,9 +347,9 @@ var perldocSearch = {
347
347
}
348
348
}
349
349
if ( this . request ) {
350
- if ( this . request . overrideMimeType ) {
351
- this . request . overrideMimeType ( "text/javascript" ) ;
352
- }
350
+ // if (this.request.overrideMimeType) {
351
+ // this.request.overrideMimeType("text/javascript");
352
+ // }
353
353
this . request . open ( 'GET' , filename , false ) ;
354
354
this . request . send ( null ) ;
355
355
if ( this . request . responseText ) {
Original file line number Diff line number Diff line change @@ -11,11 +11,20 @@ <h1>Perl 5 version [% perl5_version %] documentation</h1>
11
11
and the extensive < a href ="index-faq.html "> FAQ</ a > section, which provides answers to over 300 common questions.
12
12
</ p >
13
13
14
- < h2 > What's new?</ h2 >
15
- < p >
16
- As you can see, < strong > perldoc.perl.org</ strong > has had a redesign! But it's not just about visuals,
17
- almost every aspect of the site has been tweaked and updated, including:
18
- </ p >
14
+ < h2 > Site features</ h2 >
15
+
16
+ [% UNLESS download %]
17
+ < div style ="float: right; padding-top: 20px; ">
18
+ < a title ="The Perl Foundation "
19
+ href ="http://www.facebook.com/tpf.perl "
20
+ target ="_TOP ">
21
+ < img style ="border: 0px; "
22
+ src ="http://badge.facebook.com/badge/213296278682699.2549.1757479420.png "
23
+ alt ="" width ="120 " height ="259 " /> </ a >
24
+ </ div >
25
+ [% END %]
26
+
27
+ < div [% UNLESS download %] style ="width: 500px "[% END %] >
19
28
< ul >
20
29
< li > < strong > Improved navigation</ strong > < br >
21
30
When you scroll down a page, the top navigation bar remains visible at the top of your screen,
@@ -41,8 +50,7 @@ <h2>What's new?</h2>
41
50
View the module indexes with a single click from the left-hand side panel.
42
51
43
52
</ ul >
44
-
45
-
53
+ </ div >
46
54
47
55
< a name ="download "> </ a >
48
56
< h2 > Downloads</ h2 >
Original file line number Diff line number Diff line change @@ -199,8 +199,7 @@ Explorer 8</a>
199
199
<div id="address">
200
200
<p class="name">Contact details</p>
201
201
<p class="address">
202
- Site maintained by <a href="http://perl.jonallen.info">Jon Allen (JJ)</a><br>
203
- See the <a href="http://perl.jonallen.info/projects/perldoc">project page</a> for more details
202
+ Site maintained by <a href="mailto:
[email protected] ">Jon Allen (JJ)</a><br>
204
203
</p>
205
204
<p class="contact">
206
205
Documentation maintained by the <a href="http://lists.cpan.org/showlist.cgi?name=perl5-porters">Perl 5 Porters</a>
You can’t perform that action at this time.
0 commit comments