cvs: smarty-web / .htaccess changelog.php copyright.php download-docs.php download.php index.php /include layout.php

From: Date: Sat, 06 Apr 2002 00:08:10 +0000
Subject: cvs: smarty-web / .htaccess changelog.php copyright.php download-docs.php download.php index.php /include layout.php
Groups: php.smarty.cvs 
Request: Send a blank email to php-smarty-cvs+get-34@lists.php.net to get a copy of this message
imajes Fri Apr 5 19:08:10 2002 EDT Modified files: /smarty-web .htaccess changelog.php copyright.php download-docs.php download.php index.php /smarty-web/include layout.php Log:

Index: smarty-web/.htaccess diff -u smarty-web/.htaccess:1.1.1.1 smarty-web/.htaccess:1.2 --- smarty-web/.htaccess:1.1.1.1 Mon Mar 25 12:21:00 2002 +++ smarty-web/.htaccess Fri Apr 5 19:08:07 2002 @@ -1,3 +1,8 @@ +<IfModule mod_php4.c> +php_value include_path .:./include:../include:../../include +php_flag short_open_tag on +php_value auto_prepend_file prepend.php +</IfModule> DirectoryIndex index.php ErrorDocument 404 /error/ ErrorDocument 401 /error/ Index: smarty-web/changelog.php diff -u smarty-web/changelog.php:1.1.1.1 smarty-web/changelog.php:1.2 --- smarty-web/changelog.php:1.1.1.1 Mon Mar 25 12:21:00 2002 +++ smarty-web/changelog.php Fri Apr 5 19:08:07 2002 @@ -1,137 +1,22 @@ <?php -commonHeader('PHP-GTK Changelog'); +commonHeader('Changelog'); ?> -<h1>PHP-GTK ChangeLog</h1> +<h1>Smarty ChangeLog</h1> +<!-- <a name="0.5.0"></a> <h3>Version 0.5.0 "monday starts on saturday"</h3> <b>24-Jan-2002</b> <ul> -<li>added new widgets with samples: GtkComboButton, GtkSPaned, GtkScrollPane and GtkPieMenu. (Markus)</li> -<li>implemented GtkFontSelection::set_filter(), GtkFontSelectionDialog::set_filter(), Gtk::button_box_get_child_ipadding_default(), Gtk::button_box_get_child_size_default() and GtkWidget::get_pointer(). (Markus)</li> -<li>implemented gdkpixbuf extension (loading and displaying images). (Andrei)</li> -<li>added GtkCTree methods find_by_row_data, find_all_by_row_data. (Andrei)</li> -<li>added gtkhtml extension which provides support for GtkHTML, an HTML rendering widget. (Alan Knowles)</li> -<li>added GtkClist methods find_row_from_data(), get_pixmap(). (Andrei)</li> -<li>added GtkList::remove_items() method. (Andrei)</li> -<li>added ability to build extensions as shared libraries and load them selectively. (Andrei)</li> -<li>made libglade work on Win32 platforms. (Frank)</li> -<li>added support for GtkSQPane widget. (Markus)</li> -<li>added GtkCList::get_pixtext(). (Andrei, Rich Payne)</li> +<li></li> </ul> +--> <?php echo hdelim(); ?> -<a name="0.1.1"></a> -<h3>Version 0.1.1 "no-holds-barred memento"</h3> -<b>24-Sep-2001</b> -<ul> -<li>made type checking of parameters passed to PHP-GTK functions more forgiving. (Andrei)</li> -<li>added GtkNotebook::query_tab_label_packing(), GtkBox::query_child_packing(). (Markus)</li> -<li>added event watcher, dialog, file selection, panes, and notebook examples to gtk.php. (Markus)</li> -<li>added Gtk::signal_(add|remove)_emission_hook(), Gtk::signal_name(), and Gtk::signal_lookup() functions. (Markus)</li> -<li>added GtkCList::get_selection_info(). (Andrei)</li> -<li>added GtkCList methods set_row_data(), get_row_data(). (Markus)</li> -<li>added support for GtkScintilla, a text-editing widget. (Andrei)</li> -<li>implemented GladeXML methods signal_connect_object() and signal_autoconnect_object(). (Andrei)</li> -<li>fixed GDK keysym constants warnings by prefixing some of them with underscores. (Frank)</li> -<li>changed PHP-visible extension name from 'gtk' to 'php-gtk'. (Andrei)</li> -</ul> - -<?php echo hdelim(); ?> - -<a name="0.1"></a> -<h3>Version 0.1 "the void which binds"</h3> -<b>1-Aug-2001</b> -<ul> -<li>added GDK keysyms constants. (Andrei)</li> -<li>fixed bug with GtkStyle::copy() that was not returning the result properly. (Andrei)</li> -<li>implemented support for struct based classes (GdkRectangle, GtkAllocation, GtkRequisition, etc). (Andrei)</li> -<li>finished drag-n-drop support. (Andrei)</li> -<li>ported Scribble example from C. (Andrei)</li> -<li>modified GdkWindow::get_pointer() to be simpler, without XInput support. (Andrei)</li> -<li>changed 'area' event property to be a GdkRectangle. (Andrei)</li> -<li>changed 'is_hint' event property to be boolean. (Andrei)</li> -<li>added ability to query the state and allocation of a widget. (Andrei)</li> -<li>added direct construction of pixmaps. (Andrei)</li> -<li>added GdkWindow::set_icon() method. (Andrei)</li> -<li>implemented GtkList methods insert_items() and prepend_items(). (Andrei)</li> -<li>implemented new PHP-like build system that supports adding extensions to PHP-GTK. (Andrei)</li> -<li>implemented GtkCTree methods node_get_pixtext(), node_get_pixmap(), and get_node_info(). (Andrei)</li> -<li>implemented GtkObject::emit(), thus allowing programmatical emission of signals. (Andrei)</li> -<li>added support for accessing GtkObject arguments via get_arg() and set_arg() methods. (Andrei)</li> -</ul> - -<?php echo hdelim(); ?> - -<a name="0.0.4"></a> -<h3>Version 0.0.4 "indistinguishable from magic"</h3> -<b>5-May-2001</b> -<ul> -<li>improved speed/memory efficiency by having only one wrapper for boxed types, except for GdkEvent, GdkColor and GdkAtom. (Andrei)</li> -<li>implemented object overloading emulation layer to correct for Zend engine's problems, now it's possible to assign and read custom properties on Gtk+ objects. (Andrei)</li> -<li>added GtkAspectFrame class definition. (Andrei)</li> -<li>added GtkCTree traversal functions. (Andrei)</li> -<li>optimized internal resource handling, this should save on memory. (Andrei)</li> -<li>fixed a bug that would corrupt object type when setting cascaded property. (Andrei)</li> -<li>added a few more properties to GtkCTree and GtkCList. (Andrei)</li> -<li>implemented GtkMenu::popup(). (Andrei)</li> -<li>fixed GtkCTree::insert_row() for good, added GtkCTree methods node_set_row_data() and node_get_row_data(). (Andrei)</li> -<li>added helper GtkCListRow class. (Andrei)</li> -<li>separated GdkWindow, GdkBitmap, GdkPixmap implementations to allow for more flexibility and clarity. (Andrei)</li> -<li>implemented GtkObject methods get_data(), set_data, connect_after(), connect_object_after(). (Andrei)</li> -<li>added several more widget examples to gtk.php. (Andrei)</li> -<li>added ability to get and set color for GtkColorSelection. (Andrei)</li> -</ul> - -<?php echo hdelim(); ?> - -<a name="0.0.3"></a> -<h3>Version 0.0.3 "slow glass"</h3> -<b>20-Mar-2001</b> -<ul> -<li>added libglade support. (Andrei)</li> -<li>fixed cascading property access in objects. (Andrei)</li> -<li>added GtkRadioMenuItem, GtkRadioButton constructors. (Andrei)</li> -<li>added Gdk::pixmap_create_from_xpm_d(). (Andrei)</li> -<li>added GtkCList::prepend(), GtkClist::insert(). (Andrei)</li> -<li>added GtkCList example to gtk.php. (Andrei)</li> -<li>made Gdk::input_add() work with file resources. (Andrei)</li> -<li>fixed GDK locale support. (Alex Bokovoy)</li> -<li>reworked the generator to make it more generalized. (Andrei)</li> -<li>re-engineered the build system a bit to accomodate the need to build additional modules. (Andrei)</li> -<li>added helper GtkBoxChild, GtkFixedChild classes. (Andrei)</li> -<li>added some properties for GtkWidget, GtkBin, GtkMisc, GtkArrow, GtkBox, GtkCalendar, GtkCTree, GtkList, and GtkCList classes. (Andrei)</li> -</ul> - -<?php echo hdelim(); ?> - -<a name="0.0.2"></a> -<h3>Version 0.0.2 "primordial nucleosynthesis"</h3> -<b>7-Mar-2001</b> -<ul> -<li>added 'child' property to GtkBin and its descendants. (Andrei)</li> -<li>all callbacks now take user supplied extra arguments and better error messages are shown if the callbacks are not valid. (Andrei)</li> -<li>added GtkCombo::set_popdown_strings(), GdkPixmap::create_from_xpm(). (Andrei)</li> -<li>implemented support for creating menus via GtkItemFactory. (Andrei)</li> -<li>fixed loading of the extension via php.ini. (Andrei)</li> -<li>fixed timeout and idle handler marshaller so that they are called more than once. (Andrei)</li> -<li>added connect_object() method that allows calling an object method as a signal callback. (Andrei)</li> -<li>fixed a silent crash that was happening due to object corruption. (Andrei)</li> -<li>implemented GtkTipsQuery class. (Andrei)</li> -</ul> - -<?php echo hdelim(); ?> - -<a name="0.0.1"></a> -<h3>Version 0.0.1 "Genesis"</h3> -<b>1-Mar-2001</b> -<ul> -<li>first release. (Andrei)</li> -</ul> <?php Index: smarty-web/copyright.php diff -u smarty-web/copyright.php:1.1.1.1 smarty-web/copyright.php:1.2 --- smarty-web/copyright.php:1.1.1.1 Mon Mar 25 12:21:00 2002 +++ smarty-web/copyright.php Fri Apr 5 19:08:07 2002 @@ -4,23 +4,21 @@ ?> -<h1>Copyright and Licence</h1> +<h1>Copyright and License</h1> +<br> -<h2>PHP License</h2> +<h2>Smarty Copyright</h2> -<P> -For information on the PHP License (i.e. using the PHP language), -<?php print_link('http:/www.php.net/license/', 'click here'); ?>. -</P> +<p>The Smarty Template Engine is copyright &copy; 2001, 2002 by +<?php print_link('http://www.ispi.net/', 'ispi'); ?>.</p> -<h2>PHP-GTK License</h2> +<h2>Smarty License</h2> -<P> -PHP-GTK is released under the LGPL. +<p>Smarty is released under the LGPL (Lesser GPL). <?php print_link('http://www.gnu.org/copyleft/lesser.html#SEC1', 'Click here'); ?> for more info on the LGPL. -</P> +</p> <h2>Website Copyright</h2> @@ -35,34 +33,34 @@ view, download and print the documents and information available on this Site subject to the following conditions: </P> -<UL> -<LI>You may not remove any copyright or other proprietary notices -contained in the documents and information on this Site. -<LI>The rights granted to you constitute a license and not a transfer -of title. -<LI>The rights specified above to view, download and print the +<ul> +<li>You may not remove any copyright or other proprietary notices +contained in the documents and information on this Site.</li> +<li>The rights granted to you constitute a license and not a transfer +of title.</li> +<li>The rights specified above to view, download and print the documents and information available on this Site are not applicable to the graphical elements, design or layout of this Site. These elements of the Site are protected by trade dress and other laws -and may not be copied or imitated in whole or in part. -</UL> +and may not be copied or imitated in whole or in part.</li> +</ul> -<P> +<p> You can contact the webmaster at -<?php print_email('gtk-webmaster@php.net'); ?>. -</P> +<?php print_email('smarty-webmaster@php.net'); ?>. +</p> -<P> +<p> For more information on the PHP Group and the PHP project, please see <?php print_link('http://www.php.net/'); ?>. -</P> +</p> -<P> +<p> For more information on the Smarty project, please see <?php print_link('http://smarty.php.net/'); ?>. -</P> +</p> -<BR> +<br> <?php commonFooter(); Index: smarty-web/download-docs.php diff -u smarty-web/download-docs.php:1.1.1.1 smarty-web/download-docs.php:1.2 --- smarty-web/download-docs.php:1.1.1.1 Mon Mar 25 12:21:00 2002 +++ smarty-web/download-docs.php Fri Apr 5 19:08:07 2002 @@ -27,25 +27,24 @@ commonHeader("Download documentation"); -$man_languages = array('en', 'de', 'fr', 'it', 'pt_BR'); +// $man_languages = array('en', 'de', 'fr', 'it', 'pt_BR'); + +$man_languages = array('en'); # array structure: (header, link_text, show_size_for_package) $formats = array( - "manual.txt.gz" => array("Plain text", "txt.gz"), - "bigmanual.html.gz" => array("Single HTML", "html.gz"), - "manual.tar.gz" => array("Many HTML files", "tar.gz"), - "manual.tar.bz2" => array("Many HTML files", "tar.bz2"), - "manual.zip" => array("Many HTML files", "zip") + "Smarty-2.0.1-docs.pdf" => array("Adobe PDF", "pdf"), + "Smarty-2.0.1-docs.tar.gz" => array("Many HTML files", "tar.gz"), ); ?> <h1>Download documentation</h1> <p> -The PHP-GTK manual is available in various formats. Pick a language and +The Smarty manual is available in various formats. Pick a language and format from the table below to start downloading. </p> - +<!-- <p> Note that the packaged HTML versions of the manual (tar.gz, tar.bz2 and zip) don't contain any directories, @@ -53,6 +52,7 @@ directory when you expand the archive unless the tool you use does otherwise. </p> +--> <table border="0" cellpadding="2" cellspacing="1" width="100%"> <tr bgcolor="#cccccc"> @@ -74,8 +74,8 @@ if (file_exists("manual/$langcode/$fn")) { $link_to = "manual/$langcode/$fn"; } - elseif (file_exists("distributions/manual/php_gtk_manual_$langcode.$details[1]")) { - $link_to = "distributions/manual/php_gtk_manual_$langcode.$details[1]"; + elseif (file_exists("distributions/manual/smarty_$langcode.$details[1]")) { + $link_to = "distributions/manual/smarty_$langcode.$details[1]"; } elseif (file_exists("distributions/manual/manual-$langcode.$details[1]")) { $link_to = "distributions/manual/manual-$langcode.$details[1]"; Index: smarty-web/download.php diff -u smarty-web/download.php:1.1.1.1 smarty-web/download.php:1.2 --- smarty-web/download.php:1.1.1.1 Mon Mar 25 12:21:00 2002 +++ smarty-web/download.php Fri Apr 5 19:08:07 2002 @@ -6,72 +6,45 @@ <h1>Download</h1> -<P> -<b>Note:</b> PHP-GTK requires PHP 4.0.5 or greater (latest CVS version will work -too). Versions 0.1.x currently require PHP 4.1.0 or CVS version to compile. -</P> -<P> -PHP-GTK currently supports GTK+ v1.2.6 or greater, -but not GTK+ v2.0 (which is still under development and won't be -widely used for a while). You can obtain the latest stable release -of GTK+ v1.2.x from <?php print_link('ftp://ftp.gtk.org/pub/gtk/v1.2/'); ?>. -</P> +<p> +<b>Note:</b> The Smarty Template Engine requires PHP Version 4.0.4pl1 or later. +<br>PHP from CVS is more than suitable. +</p> -<h2>Latest Stable Release</h2> - -<UL> -<LI><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-0.5.0.tar.gz', - 'php-gtk-0.5.0 Source'); ?> - 24-Jan-2002<br> - -<LI><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-0.1.1.tar.gz', - 'php-gtk-0.1.1 Source'); ?> - 24-Sep-2001<br> - -<LI><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-0.5.0-win32.zip', - 'php-gtk-0.5.0 Windows and PHP Binary including libGlade'); ?> - 24-Jan-2002<br> -<LI><?php print_link('http://gtk.php.net/do_download.php?download_file=php-gtk-0.1.1a-win32.zip', - 'php-gtk-0.1.1a Windows and PHP Binary including libGlade'); ?> - 12-Oct-2001<br> +<h2>Latest Stable Release</h2> -</UL> +<ul> +<li><?php print_link('/do_download.php?download_file=Smarty-2.0.1.tar.gz', + 'Smarty 2.0.1 Source'); ?> - 05-Apr-2002<br></li> +</ul> <h2>CVS Version</h2> -<P> -Alternatively, you can get the latest and greatest -version of PHP-GTK directly from the PHP CVS server. -</P> +<p> +Alternatively, you can get the latest and greatest version of Smarty directly from the PHP CVS server. +</p> -<UL> +<ul> -<LI> +<li> Log in to the PHP anonymous CVS server (use <B>phpfi</B> as the password): -<PRE> +<pre> cvs -d :pserver:cvsread@cvs.php.net:/repository login -</PRE> - -<LI> -Obtain the PHP-GTK tree: -<PRE> -cvs -d :pserver:cvsread@cvs.php.net:/repository co php-gtk -</PRE> - -<LI> -Move into the source tree: -<PRE> -cd php-gtk -</PRE> - -<LI> -Configure and install: -<PRE> -./buildconf -./configure -make -make install -</PRE> - -</UL> +</pre> +<li> +Obtain the Smarty tree: +<pre> +cvs -d :pserver:cvsread@cvs.php.net:/repository co smarty +</pre> +</ul> + +<p>The following are valid cvs tags to checkout various versions of smarty: +<br><br> +<b>Smarty_2_0_11, Smarty_2_0_1, Smarty_1_5_2, Smarty_1_5_1, Smarty_1_5_0, +Smarty_1_4_6, Smarty_1_4_5, Smarty_1_4_4, Smarty_1_4_3, Smarty_1_4_2, </b> +and <b>Smarty_1_4_1</b>. <?php Index: smarty-web/index.php diff -u smarty-web/index.php:1.3 smarty-web/index.php:1.4 --- smarty-web/index.php:1.3 Thu Mar 28 13:56:53 2002 +++ smarty-web/index.php Fri Apr 5 19:08:07 2002 @@ -1,11 +1,22 @@ <?php -/* + $SIDEBAR_DATA = <<< EOF +<br> +<b>What is Smarty?</b> +<br> +<p> +Smarty is a template engine for PHP. Many other template engines for PHP +provide basic variable substitution and dynamic block functionality. +Smarty takes a step further to be a "smart" template engine, adding +features such as configuratitemplates on every invocation. +This makes Smarty extremely scalable and +managable for large application needs. +</p> EOF; -*/ -commonHeader(); + +commonHeader('Template Engine'); ?> Index: smarty-web/include/layout.php diff -u smarty-web/include/layout.php:1.17 smarty-web/include/layout.php:1.18 --- smarty-web/include/layout.php:1.17 Fri Apr 5 16:31:28 2002 +++ smarty-web/include/layout.php Fri Apr 5 19:08:08 2002 @@ -1,5 +1,5 @@ <?php -/* $Id: layout.php,v 1.17 2002/04/05 21:31:28 cmv Exp $ */ +/* $Id: layout.php,v 1.18 2002/04/06 00:08:08 imajes Exp $ */ /* @@ -264,7 +264,8 @@ </tr> </table> </td> - <td bgcolor="<?php echo $LOOK['sidebar']; ?>" background="/gifs/checkerboard-<?php echo $LOOK['logo']; ?>.gif" width="2"><?php spacer(2,2);?><br></td> + <td bgcolor="<?php echo $LOOK['sidebar']; ?>" background="/gifs/checkerboard-<?php echo $LOOK['logo']; ?>.gif" width="2"> +<?php spacer(2,2);?><br></td> <?php endif; ?> <td> <table width="600" cellpadding="<?php print( $padding ? '10' : '0' ); ?>" cellspacing="0"> @@ -311,7 +312,9 @@ <table border="0" cellspacing="0" cellpadding="6" width="100%"> <tr valign="top" bgcolor="#cccccc"> <td><small> - <?php print_link('/copyright.php', 'Copyright &copy; 2001 ispi'); ?><BR> + <?php print_link('http://www.php.net/', make_image('php-logo.gif', 'PHP', 'left') ); ?> + <?php print_link('/copyright.php', ' Website Copyright &copy; 2002 The PHP Group'); ?><br> + <?php print_link('/copyright.php', ' Smarty Copyright &copy; 2001, 2002 ispi'); ?><br> All rights reserved.<BR> </small> </td>
« previous php.smarty.cvs (#34) next »