cvs: phd /include/langs en.xml /themes/php phpdotnet.php

From: Date: Thu, 26 Feb 2009 08:18:56 +0000
Subject: cvs: phd /include/langs en.xml /themes/php phpdotnet.php
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-3351@lists.php.net to get a copy of this message
philip Thu Feb 26 08:18:56 2009 UTC Modified files: /phd/include/langs en.xml /phd/themes/php phpdotnet.php Log: Added language support with unknownversion http://cvs.php.net/viewvc.cgi/phd/include/langs/en.xml?r1=1.6&r2=1.7&diff_format=u Index: phd/include/langs/en.xml diff -u phd/include/langs/en.xml:1.6 phd/include/langs/en.xml:1.7 --- phd/include/langs/en.xml:1.6 Wed Feb 11 05:08:17 2009 +++ phd/include/langs/en.xml Thu Feb 26 08:18:56 2009 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8" ?> -<!-- $Revision: 1.6 $ --> +<!-- $Revision: 1.7 $ --> <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.68&r2=1.69&diff_format=u Index: phd/themes/php/phpdotnet.php diff -u phd/themes/php/phpdotnet.php:1.68 phd/themes/php/phpdotnet.php:1.69 --- phd/themes/php/phpdotnet.php:1.68 Tue Feb 17 19:03:32 2009 +++ phd/themes/php/phpdotnet.php Thu Feb 26 08:18:56 2009 @@ -1,5 +1,5 @@ <?php -/* $Id: phpdotnet.php,v 1.68 2009/02/17 19:03:32 cweiske Exp $ */ +/* $Id: phpdotnet.php,v 1.69 2009/02/26 08:18:56 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 (#3351) next »