cvs: phd(PHD_0_4) / package.xml /include/langs en.xml /themes/php phpdotnet.php

From: Date: Thu, 26 Feb 2009 08:20:44 +0000
Subject: cvs: phd(PHD_0_4) / package.xml /include/langs en.xml /themes/php phpdotnet.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3352@lists.php.net to get a copy of this message
philip Thu Feb 26 08:20:44 2009 UTC Modified files: (Branch: PHD_0_4) /phd package.xml /phd/include/langs en.xml /phd/themes/php phpdotnet.php Log: MFH: Added language support with unknownversion http://cvs.php.net/viewvc.cgi/phd/package.xml?r1=1.74.2.19.2.56&r2=1.74.2.19.2.57&diff_format=u Index: phd/package.xml diff -u phd/package.xml:1.74.2.19.2.56 phd/package.xml:1.74.2.19.2.57 --- phd/package.xml:1.74.2.19.2.56 Thu Feb 19 13:09:22 2009 +++ phd/package.xml Thu Feb 26 08:20:44 2009 @@ -52,6 +52,7 @@ </stability> <license uri="http://www.opensource.org/licenses/bsd-license.php">BSD Style</license> <notes> + - Added language support with unknownversion into phpdotnet theme. (philip) </notes> <contents> http://cvs.php.net/viewvc.cgi/phd/include/langs/en.xml?r1=1.4.4.2&r2=1.4.4.3&diff_format=u Index: phd/include/langs/en.xml diff -u phd/include/langs/en.xml:1.4.4.2 phd/include/langs/en.xml:1.4.4.3 --- phd/include/langs/en.xml:1.4.4.2 Wed Feb 11 05:07:45 2009 +++ phd/include/langs/en.xml Thu Feb 26 08:20:44 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<!-- $Revision: 1.4.4.2 $ --> +<!-- $Revision: 1.4.4.3 $ --> <section xml:id="autogen" xml:lang="en"> <title>Autogenerated text</title> <variablelist> @@ -57,6 +57,12 @@ <simpara>Example #</simpara> </listitem> </varlistentry> + <varlistentry> + <term>unknownversion</term> + <listitem> + <simpara>No version information available, might only be in CVS</simpara> + </listitem> + </varlistentry> </variablelist> </section> http://cvs.php.net/viewvc.cgi/phd/themes/php/phpdotnet.php?r1=1.53.2.4.2.14&r2=1.53.2.4.2.15&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.53.2.4.2.14 phd/themes/php/phpdotnet.php:1.53.2.4.2.15 --- phd/themes/php/phpdotnet.php:1.53.2.4.2.14 Tue Feb 17 19:04:47 2009 +++ phd/themes/php/phpdotnet.php Thu Feb 26 08:20:44 2009 @@ -1,5 +1,5 @@ <?php -/* $Id: phpdotnet.php,v 1.53.2.4.2.14 2009/02/17 19:04:47 cweiske Exp $ */ +/* $Id: phpdotnet.php,v 1.53.2.4.2.15 2009/02/26 08:20:44 philip Exp $ */ abstract class phpdotnet extends PhDThemeXhtml { protected $elementmap = array( @@ -359,7 +359,7 @@ } return '<acronym>'.$value.'</acronym>'; } - public function format_refpurpose($open, $tag, $attrs) { + public function format_refpurpose($open, $tag, $attrs, $props) { if ($open) { $retval = ""; if ($this->cchunk["verinfo"]) { @@ -372,7 +372,7 @@ } } if (!$verinfo) { - $verinfo = "No version information available, might be only in CVS"; + $verinfo = $this->autogen("unknownversion", $props["lang"]); } $retval = '<p class="verinfo">(' .(htmlspecialchars($verinfo, ENT_QUOTES, "UTF-8")). ')</p>';

« previous php.doc.cvs (#3352) next »