momoSun May 2 02:49:31 2004 EDT
Added files:
/livedocs/langs en.style_mapping.php he.style_mapping.php
Log:
rtl support step one (harmless one).
the second that activate the changes goes to the newgroup with explanations as patch.
http://cvs.php.net/co.php/livedocs/langs/en.style_mapping.php?r=1.1p=1
Index: livedocs/langs/en.style_mapping.php
+++ livedocs/langs/en.style_mapping.php
?php
/* vim: set tabstop=4 shiftwidth=4: */
// +--+
// | PHP version 4|
// +--+
// | Copyright (c) 1997-2004 The PHP Group|
// +--+
// | This source file is subject to version 3.0 of the PHP license, |
// | that is bundled with this package in the file LICENSE, and is|
// | available through the world-wide-web at the following url: |
// | http://www.php.net/license/3_0.txt. |
// | If you did not receive a copy of the PHP license and are unable to |
// | obtain it through the world-wide-web, please send a note to |
// | [EMAIL PROTECTED] so we can mail you a copy immediately. |
// +--+
// | Authors: Wez Furlong, Derick Rethans, Ilia Alshanetsky |
// +--+
// | Helper functions for formatting elements |
// +--+
//
// $Id: en.style_mapping.php,v 1.1 2004/05/02 06:49:31 momo Exp $
// almost XPATH.. ;-)
$map = array(
'acronym' = 'acronym',
'appendix/title'= 'h1',
'author'= 'format_name',
'authorgroup' = 'format_authorgroup',
'bookinfo/title'= 'h1',
'chapter/title' = 'h1',
'classname' = 'span',
'classsynopsis' = 'format_class_synopsis',
'code' = 'code',
'collab'= 'span',
'collabname'= 'span',
'command' = 'span',
'computeroutput'= 'span',
'constant' = 'span',
'copyright' = 'format_copyright',
'copyright/year'= 'span',
'copyright/holder' = 'span',
'editor'= 'format_name',
'emphasis' = 'em',
'enumname' = 'span',
'envar' = 'span',
'filename' = 'span',
'funcsynopsis' = 'format_funcsynopsis',
'function' = 'format_function',
'glossterm' = 'span',
'htmlcode' = 'format_htmlcode',
'informaltable' = 'table',
'informaltable/title' = 'caption',
'itemizedlist' = 'ul',
'itemizedlist/listitem' = 'li',
'legalnotice/title' = 'h3',
'link' = 'format_link',
'literal' = 'span',
'literallayout' = 'format_listing',
'methodparam' = 'span',
'methodsynopsis'= 'format_params',
'option'= 'span',
'orderedlist' = 'ol',
'orderedlist/listitem' = 'li',
'parameter' = 'span',
'phpdoc_include'= 'handle_include',
'preface/title' = 'h1',
'productname' = 'span',
'programlisting'= 'format_listing',
'propname' = 'span',
'proptype' = 'span',
'pubdate' = 'format_pubdate',
'reference/title' = 'h1',
'refnamediv/refname'= 'h1',
'refnamediv/refpurpose' = 'format_refpurpose',
'refsect1/title'= 'h3',
'refsect2/title'= 'h4',
'replaceable' = 'span',
'screen'= 'format_listing',
'section/title' = 'h1',
'sect1/title' = 'h2',
'sect2/title' = 'h3',
'sect3/title' = 'h4',
'sect4/title' = 'h5',
'sect5/title' = 'h6',
'signalname'= 'span',
'simpara' = 'p',
'simplelist'= 'ul',
'simplelist/member' = 'li',
'subscript' = 'span',
'systemitem'= 'span',
'table' = 'table',
'table/title' = 'caption',
'tbody' = 'tbody',
'tbody/row' = 'tr',
'tbody/row/entry' =