- Updated examples.
- Updated ROADMAP.
# General configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "BIFE Base"
-PROJECT_NUMBER = 0.11
+PROJECT_NUMBER = 0.12
OUTPUT_DIRECTORY = api
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
$Id$
-Version 0.12
-============
-
- - Look if using $_SERVER['PATH_INFO'] in Link is viable.
- - Preserve .xbf file when no bife attribute is specified in Link.
-
-
Version 0.13
============
...
-Version 0.x
-============
+Version 1.0.0
+=============
+
- Make a way to put all classes in a package together in a single file to
avoid overhead in require_once calls (to be reviewed).
+ - Write more documentation.
// }}}
// Selects the file to view {{{
-$file = isset($_REQUEST['BIFE']) ? $_REQUEST['BIFE'] : 'index.xbf';
-#$file = isset($_SERVER['PATH_INFO']) ? ".{$_SERVER['PATH_INFO']}" : 'index.xbf';
+$file = (@$_SERVER['PATH_INFO'] and ($_SERVER['PATH_INFO'] != '/'))
+ ? ".{$_SERVER['PATH_INFO']}"
+ : 'index.xbf';
// }}}
// Looks if we want to show the source {{{
<H3>Translate Fallback is working too!</H3>
<P>This is a very bad use for BIFE, because I'm writing HTML :-P</P>
<Title>A little of 'real' use</Title>
- <P>Here's a <Link bife="link.xbf">link</Link> to another BIFE file</P>
+ <P>Here's a <Link url="link.xbf">link</Link> to another BIFE file</P>
<HR noshade="noshade" size="2"/>
<Link data-s="1" data-b="1">View BIFE (xbf) source</Link> |
<Link data-s="1">View PHP source</Link>
<?xml version="1.0" encoding="UTF-8"?>
<Page title="Hi again!">
<Title>BIFE Links are working too!</Title>
- <P>Go <Link bife="index.xbf">back</Link>.</P>
+ <P>Go <Link url="index.xbf">back</Link>.</P>
<HR noshade="noshade" size="2"/>
- <Link bife="link.xbf" data-s="1" data-b="1">View BIFE (xbf) source</Link> |
+ <Link data-s="1" data-b="1">View BIFE (xbf) source</Link> |
<Link data-s="1">View PHP source</Link>
</Page>
</maintainers>
<release>
- <version>0.11</version>
+ <version>0.12</version>
<date>2003-06-29</date>
<state>beta</state>
<notes>Check http://bife.llucax.hn.org/ for details.</notes>
{
$url = @$attrs['URL'];
unset($attrs['URL']);
- if (isset($attrs['BIFE'])) {
- $attrs['DATA-BIFE'] = $attrs['BIFE'];
- unset($attrs['BIFE']);
- }
$query = array();
foreach($attrs as $name => $value) {
if (substr($name, 0, 5) === 'DATA-') {
} // -X2C Class :Link
-?>
\ No newline at end of file
+?>