svn: /web/php/trunk/include/ shared-manual.inc

From: Date: Fri, 25 Sep 2009 19:18:34 +0000
Subject: svn: /web/php/trunk/include/ shared-manual.inc
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-5964@lists.php.net to get a copy of this message
bjori Fri, 25 Sep 2009 19:18:34 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288814 Log: Make it possible to hide long refsections and usernotes # ..and added vim config Changed paths: U web/php/trunk/include/shared-manual.inc Modified: web/php/trunk/include/shared-manual.inc =================================================================== --- web/php/trunk/include/shared-manual.inc 2009-09-25 19:08:53 UTC (rev 288813) +++ web/php/trunk/include/shared-manual.inc 2009-09-25 19:18:34 UTC (rev 288814) @@ -103,7 +103,24 @@ "Link" => "<http://php.net/" . $shorturl . ">; rel=shorturl", ), "headtags" => array( - '<meta http-equiv="Content-language" value="' . $lang . '" />', + '<meta http-equiv="Content-language" value="' . $lang . '" /> + <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script> + <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"></script> +<script type="text/javascript"> +$(document).ready(function() { + $(".refsect1 .title").click(function() { + $(this).siblings().slideToggle("slow"); + }); +}); +$(document).ready(function() { + $("#usernotes .head").click(function() { + $(this).next().slideToggle("slow"); + }); +}); +</script> +', + + ), )); manual_navbar(); @@ -297,12 +314,14 @@ // If we have notes, print them out else { + echo '<div id="allnotes">'; foreach($notes as $note) { manual_note_display( $note['xwhen'], $note['user'], $note['note'], $note['id'] ); } + echo "</div>\n"; echo "\n <div class=\"foot\">$addnotesnippet</div>\n"; } @@ -386,3 +405,6 @@ USER_NOTE_TEXT; } + +/* vim: set et ts=4 sw=4: */ +

« previous php.webmaster (#5964) next »