<dep type="php" rel="ge">4.2.3</dep>
<dep type="pkg" rel="ge" version="1.0.0beta1">HTML_Template_HIT</dep>
<dep type="pkg" rel="ge" version="1.0.0beta1">BIFE</dep>
- <dep type="pkg" rel="ge" version="1.0.0beta1">BIFE_Basic</dep>
+ <dep type="pkg" rel="ge" version="0.11">BIFE_Basic</dep>
</deps>
</package>
</maintainers>
<release>
- <version>1.0.0beta1</version>
+ <version>0.11</version>
<date>2003-06-29</date>
<state>beta</state>
<notes>Check http://bife.llucax.hn.org/ for details.</notes>
$Id$
-Version 0.12
-============
-
- - Look if using $_SERVER['PATH_INFO'] in Link is viable.
-
-
-Version 0.13
-============
-
- - Start using config file for default widgets attributes.
-
-...
-
-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).
</release>
<deps>
<dep type="php" rel="ge">4.2.3</dep>
- <dep type="pkg" rel="ge" version="1.0.0beta">HTML_Template_HIT</dep>
+ <dep type="pkg" rel="ge" version="1.0.0beta1">HTML_Template_HIT</dep>
</deps>
</package>
+++ /dev/null
-<?php
-// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
-// +--------------------------------------------------------------------+
-// | BIFE - Buil It FastEr |
-// +--------------------------------------------------------------------+
-// | This file is part of BIFE. |
-// | |
-// | BIFE is free software; you can redistribute it and/or modify it |
-// | under the terms of the GNU General Public License as published by |
-// | the Free Software Foundation; either version 2 of the License, or |
-// | (at your option) any later version. |
-// | |
-// | BIFE is distributed in the hope that it will be useful, but |
-// | WITHOUT ANY WARRANTY; without even the implied warranty of |
-// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
-// | General Public License for more details. |
-// | |
-// | You should have received a copy of the GNU General Public License |
-// | along with Hooks; if not, write to the Free Software Foundation, |
-// | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
-// +--------------------------------------------------------------------+
-// | Created: Sun Jun 1 20:00:20 2003 |
-// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
-// +--------------------------------------------------------------------+
-//
-// $Id$
-//
-
-// +X2C includes
-require_once 'BIFE/Container.php';
-// ~X2C
-
-// +X2C Class 110 :Link
-/**
- * Link to another page.
- *
- * @package BIFE
- * @access public
- */
-class BIFE_Link extends BIFE_Container {
- // ~X2C
-
- // +X2C Operation 111
- /**
- * Constructor.
- *
- * @param array $attrs Attributes.
- *
- * @return void
- * @access public
- */
- function BIFE_Link($attrs) // ~X2C
- {
- $this->__construct($attrs);
- }
- // -X2C
-
- // +X2C Operation 112
- /**
- * Constructor.
- *
- * @param array $attrs Attributes.
- *
- * @return void
- * @access public
- */
- function __construct($attrs) // ~X2C
- {
- $link_attrs['URL'] = $this->getURL($attrs);
- $link_attrs['DESC'] = @$attrs['DESC'];
- $link_attrs['TARGET'] = @$attrs['TARGET'];
- parent::__construct($link_attrs);
- }
- // -X2C
-
- // +X2C Operation 142
- /**
- * Gets a URL string based on Link attributes.
- *
- * @param array $attrs Link attributes.
- *
- * @return string
- * @access public
- */
- function getURL($attrs) // ~X2C
- {
- $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-') {
- if ($name = substr($name, 5)) {
- $query[] = urlencode($name) . '=' . urlencode($value);
- }
- }
- }
- if ($query) {
- $url .= '?' . join('&', $query);
- }
- return $url;
- }
- // -X2C
-
- // +X2C Operation 157
- /**
- * Renders the widget.
- *
- * @param HTML_Template_HIT &$template Template to use to render the widget.
- *
- * @return string
- * @access public
- */
- function render(&$template) // ~X2C
- {
- $this->attrs['CONTENTS'] = $this->renderContents($template);
- return $template->parse('bife_link', $this->attrs, '', '');
- }
- // -X2C
-
-} // -X2C Class :Link
-
-?>
\ No newline at end of file
+++ /dev/null
-<?php
-// vim: set expandtab tabstop=4 softtabstop=4 shiftwidth=4:
-// +--------------------------------------------------------------------+
-// | BIFE - Buil It FastEr |
-// +--------------------------------------------------------------------+
-// | This file is part of BIFE. |
-// | |
-// | BIFE is free software; you can redistribute it and/or modify it |
-// | under the terms of the GNU General Public License as published by |
-// | the Free Software Foundation; either version 2 of the License, or |
-// | (at your option) any later version. |
-// | |
-// | BIFE is distributed in the hope that it will be useful, but |
-// | WITHOUT ANY WARRANTY; without even the implied warranty of |
-// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
-// | General Public License for more details. |
-// | |
-// | You should have received a copy of the GNU General Public License |
-// | along with Hooks; if not, write to the Free Software Foundation, |
-// | Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
-// +--------------------------------------------------------------------+
-// | Created: Wed May 17 18:16:54 ART 2003 |
-// | Authors: Leandro Lucarella <luca@lugmen.org.ar> |
-// +--------------------------------------------------------------------+
-//
-// $Id$
-//
-
-// +X2C includes
-require_once 'BIFE/Fallback.php';
-// ~X2C
-
-// +X2C Class 7 :Translate
-/**
- * This is a generic and simple (but very usefull) BIFE_Fallback implementation. Translate widgets using a template with it's name, prepended with 'bife_'. If not template is found, it copy the XML to the output.
- *
- * @package BIFE
- * @access public
- */
-class BIFE_Translate extends BIFE_Fallback {
- // ~X2C
-
- // +X2C Operation 12
- /**
- * Renders the widget.
- *
- * @param HTML_Template_HIT &$template Template to use to render the widget.
- *
- * @return string
- * @access public
- */
- function render(&$template) // ~X2C
- {
- $name = "bife_{$this->name}";
- if ($template->exists($name, '')) {
- $this->attrs['CONTENTS'] = $this->renderContents($template);
- $out = $template->parse($name, $this->attrs, '', '');
- } else {
- $name = $this->name;
- $out = "<$name";
- foreach ($this->attrs as $attr => $val) {
- $out .= sprintf(' %s="%s"', $attr, $val);
- }
- $contents = $this->renderContents($template);
- if ($contents !== '') {
- $out .= ">$contents</$name>";
- } else {
- $out .= "/>";
- }
- }
- return $out;
- }
- // -X2C
-
-} // -X2C Class :Translate
-
-?>
\ No newline at end of file
# General configuration options
#---------------------------------------------------------------------------
PROJECT_NAME = "HIT - Hook vs IT Template Engine"
-PROJECT_NUMBER = 1.0.0beta
+PROJECT_NUMBER = 1.0.0beta1
OUTPUT_DIRECTORY = api
OUTPUT_LANGUAGE = English
USE_WINDOWS_ENCODING = NO
</maintainers>
<release>
- <version>1.0.0beta</version>
+ <version>1.0.0beta1</version>
<date>2003-06-30</date>
<state>beta</state>
<notes>Check http://www.llucax.hn.org/desarrollo/bife/ for details.</notes>
<dep type="php" rel="ge">4.2.3</dep>
<dep type="pkg" rel="ge" version="1.0.0beta1">HTML_Template_HIT</dep>
<dep type="pkg" rel="ge" version="1.0.0beta1">BIFE</dep>
- <dep type="pkg" rel="ge" version="1.0.0beta1">BIFE_Basic</dep>
+ <dep type="pkg" rel="ge" version="0.11">BIFE_Basic</dep>
</deps>
</package>