From d64656402cea7c885ad419e59acd4eb818fc7a38 Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Mon, 7 Jul 2003 01:49:59 +0000 Subject: [PATCH] Updated examples to new Link widget. --- album/ROADMAP | 23 +++++++++++++++++------ album/examples/{index.php => bife.php} | 5 +++-- 2 files changed, 20 insertions(+), 8 deletions(-) rename album/examples/{index.php => bife.php} (94%) 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 {{{ -- 2.43.0