From: Leandro Lucarella Date: Mon, 7 Jul 2003 01:49:59 +0000 (+0000) Subject: Updated examples to new Link widget. X-Git-Tag: svn_import~11 X-Git-Url: https://git.llucax.com/software/bife/bife-all.git/commitdiff_plain/d64656402cea7c885ad419e59acd4eb818fc7a38?ds=sidebyside Updated examples to new Link widget. --- diff --git a/album/ROADMAP b/album/ROADMAP index f09aefe..0e8f810 100644 --- a/album/ROADMAP +++ b/album/ROADMAP @@ -1,15 +1,26 @@ $Id$ -Version 0.12 + +Version 0.13 ============ - - Start using config file for default widgets attributes. + - Implements BIFE_Album_Pager. -Version 0.13 -============ +Version 0.14 +============= + + - Separate Album funtionality function from BIFE_Album, using hooks. - - Separate Album funtionality function from renderer (BIFE_Album). - - Use hooks libs for this. +Version 1.0.0 +============= + + - Write documentation. + + +Version 1.2.0 +============= + + - Start using config file for default widgets attributes. diff --git a/album/examples/index.php b/album/examples/bife.php similarity index 94% rename from album/examples/index.php rename to album/examples/bife.php index e40a965..17eff4f 100644 --- a/album/examples/index.php +++ b/album/examples/bife.php @@ -36,8 +36,9 @@ require_once 'BIFE/Translate.php'; // }}} // 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 {{{