cvs: phd /formats xhtml.php
| From: | Hannes Magnusson | Date: | Sat, 26 Jan 2008 13:02:22 +0000 |
| Subject: | cvs: phd /formats xhtml.php | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-1081@lists.php.net to get a copy of this message | ||
bjori Sat Jan 26 13:02:22 2008 UTC
Modified files:
/phd/formats xhtml.php
Log:
Fix couple of typos
http://cvs.php.net/viewvc.cgi/phd/formats/xhtml.php?r1=1.46&r2=1.47&diff_format=u
Index: phd/formats/xhtml.php
diff -u phd/formats/xhtml.php:1.46 phd/formats/xhtml.php:1.47
--- phd/formats/xhtml.php:1.46 Thu Jan 10 17:57:39 2008
+++ phd/formats/xhtml.php Sat Jan 26 13:02:22 2008
@@ -1,5 +1,5 @@
<?php
-/* $Id: xhtml.php,v 1.46 2008/01/10 17:57:39 bjori Exp $ */
+/* $Id: xhtml.php,v 1.47 2008/01/26 13:02:22 bjori Exp $ */
class XHTMLPhDFormat extends PhDFormat {
protected $elementmap = array( /* {{{ */
@@ -357,7 +357,7 @@
public function format_refsect($open, $name, $attrs) {
if ($open) {
if(!isset($attrs[PhDReader::XMLNS_DOCBOOK]["role"])) {
- $attrs[PhDReader::XMLNS_DOCBOOK] = "unkown";
+ $attrs[PhDReader::XMLNS_DOCBOOK]["role"] = "unknown";
}
return '<div class="' .$name.' '
.$attrs[PhDReader::XMLNS_DOCBOOK]["role"]. '">';
}