aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorz0rglub <z0rglub@piwigo.org>2004-02-11 23:20:38 +0000
committerz0rglub <z0rglub@piwigo.org>2004-02-11 23:20:38 +0000
commit6f4e7d6bc0aa2d6fbe73b88bb110fc0b94291215 (patch)
treecc2fce99ef3d0a708e495a3832d1d54009de3e7b
parentc6a10b25436027793a97197bd2c7867f988e93ee (diff)
header global refactoring
git-svn-id: http://piwigo.org/svn/trunk@362 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--about.php6
-rw-r--r--admin.php6
-rw-r--r--admin/cat_list.php45
-rw-r--r--admin/cat_modify.php44
-rw-r--r--admin/cat_perm.php44
-rw-r--r--admin/comments.php44
-rw-r--r--admin/configuration.php46
-rw-r--r--admin/create_listing_file.php37
-rw-r--r--admin/group_list.php44
-rw-r--r--admin/group_perm.php44
-rw-r--r--admin/help.php44
-rw-r--r--admin/include/functions.php42
-rw-r--r--admin/include/isadmin.inc.php44
-rw-r--r--admin/infos_images.php44
-rw-r--r--admin/picture_modify.php44
-rw-r--r--admin/stats.php44
-rw-r--r--admin/thumbnail.php44
-rw-r--r--admin/update.php44
-rw-r--r--admin/user_list.php44
-rw-r--r--admin/user_modify.php44
-rw-r--r--admin/user_perm.php44
-rw-r--r--admin/waiting.php44
-rw-r--r--category.php6
-rw-r--r--comments.php6
-rw-r--r--identification.php6
-rw-r--r--include/common.inc.php6
-rw-r--r--include/config.inc.php44
-rw-r--r--include/constants.php44
-rw-r--r--include/functions.inc.php44
-rw-r--r--include/functions_category.inc.php44
-rw-r--r--include/functions_group.inc.php44
-rw-r--r--include/functions_session.inc.php44
-rw-r--r--include/functions_user.inc.php44
-rw-r--r--include/functions_xml.inc.php44
-rw-r--r--include/index.php37
-rw-r--r--include/page_header.php44
-rw-r--r--include/page_tail.php27
-rw-r--r--include/template.php45
-rw-r--r--include/user.inc.php44
-rw-r--r--include/vtemplate.class.php41
-rw-r--r--index.php6
-rw-r--r--install.php6
-rw-r--r--language/english.php44
-rw-r--r--picture.php6
-rw-r--r--profile.php6
-rw-r--r--register.php6
-rw-r--r--search.php6
-rw-r--r--template/default/htmlfunctions.inc.php44
-rw-r--r--upload.php6
49 files changed, 973 insertions, 657 deletions
diff --git a/about.php b/about.php
index 7111179cf..840d9fd29 100644
--- a/about.php
+++ b/about.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | about.php |
+// | about.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -48,4 +48,4 @@ $template->assign_vars(array(
$template->pparse('about');
include('include/page_tail.php');
-?> \ No newline at end of file
+?>
diff --git a/admin.php b/admin.php
index 7f22af61a..ab774cb4c 100644
--- a/admin.php
+++ b/admin.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | admin.php |
+// | admin.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -265,4 +265,4 @@ else
//----------------------------------------------------------- html code display
$code = $vtp->Display( $handle, 0 );
echo $code;
-?> \ No newline at end of file
+?>
diff --git a/admin/cat_list.php b/admin/cat_list.php
index 9c6af62dd..95cf066ce 100644
--- a/admin/cat_list.php
+++ b/admin/cat_list.php
@@ -1,22 +1,29 @@
<?php
-/***************************************************************************
- * cat_list.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * website : http://www.phpwebgallery.net *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | cat_list.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
@@ -455,4 +462,4 @@ else
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/cat_modify.php b/admin/cat_modify.php
index 50741feea..69e90cbc8 100644
--- a/admin/cat_modify.php
+++ b/admin/cat_modify.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * cat_modify.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | cat_modify.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
@@ -242,4 +250,4 @@ if ( $row['dir'] == '' )
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/cat_perm.php b/admin/cat_perm.php
index 09767c19b..70a053ade 100644
--- a/admin/cat_perm.php
+++ b/admin/cat_perm.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * cat_perm.php *
- * ------------------ *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | cat_perm.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/cat_perm.vtp' );
@@ -217,4 +225,4 @@ while ( $row = mysql_fetch_array( $result ) )
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/comments.php b/admin/comments.php
index 8d7c3122e..f6672e5a2 100644
--- a/admin/comments.php
+++ b/admin/comments.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * comments.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | comments.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
$page['plain_structure'] = get_plain_structure();
//------------------------------------------------------------------- functions
@@ -262,4 +270,4 @@ else
$vtp->closeSession( $sub, 'section' );
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle, 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/configuration.php b/admin/configuration.php
index 9f4bbca97..4a594f391 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -1,21 +1,29 @@
-<?
-/***************************************************************************
- * configuration.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+<?php
+// +-----------------------------------------------------------------------+
+// | configuration.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
@@ -1001,4 +1009,4 @@ if ( mysql_num_rows( $result ) > 0 )
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/create_listing_file.php b/admin/create_listing_file.php
index c4f880424..e58fe5720 100644
--- a/admin/create_listing_file.php
+++ b/admin/create_listing_file.php
@@ -1,14 +1,29 @@
<?php
-/***************************************************************************
- * create_listing_file.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
+// +-----------------------------------------------------------------------+
+// | create_listing_file.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
$conf['prefix_thumbnail'] = 'TN-';
$conf['picture_ext'] = array ( 'jpg', 'gif', 'png', 'JPG', 'GIF', 'PNG' );
@@ -192,4 +207,4 @@ else
{
echo "I can't write the file listing.xml";
}
-?> \ No newline at end of file
+?>
diff --git a/admin/group_list.php b/admin/group_list.php
index aac5b41bc..a0f4e9d24 100644
--- a/admin/group_list.php
+++ b/admin/group_list.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * group_list.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | group_list.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/group_list.vtp' );
@@ -135,4 +143,4 @@ $action = './admin.php?'.$_SERVER['QUERY_STRING'];
$vtp->setVar( $sub, 'form_action', $action );
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/group_perm.php b/admin/group_perm.php
index 53ed7fd81..531717428 100644
--- a/admin/group_perm.php
+++ b/admin/group_perm.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * group_perm.php *
- * ------------------ *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | group_perm.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/group_perm.vtp' );
@@ -118,4 +126,4 @@ while ( $row = mysql_fetch_array( $result ) )
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/help.php b/admin/help.php
index 085a3f017..22669ce13 100644
--- a/admin/help.php
+++ b/admin/help.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * help.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | help.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/help.vtp' );
@@ -45,4 +53,4 @@ foreach ( $categories as $category ) {
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/include/functions.php b/admin/include/functions.php
index ce7fa076f..9a54e14e4 100644
--- a/admin/include/functions.php
+++ b/admin/include/functions.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * functions.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | functions.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
$tab_ext_create_TN = array ( 'jpg', 'png', 'JPG', 'PNG' );
diff --git a/admin/include/isadmin.inc.php b/admin/include/isadmin.inc.php
index 9e241eed3..11545b700 100644
--- a/admin/include/isadmin.inc.php
+++ b/admin/include/isadmin.inc.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * isadmin.inc.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | isadmin.inc.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include( './admin/include/functions.php' );
@@ -28,4 +36,4 @@ if ( $user['status'] != 'admin' )
echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>';
exit();
}
-?> \ No newline at end of file
+?>
diff --git a/admin/infos_images.php b/admin/infos_images.php
index f0ab9a39f..c0da67aa3 100644
--- a/admin/infos_images.php
+++ b/admin/infos_images.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * infos_images.php *
- * ------------------ *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | infos_images.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
include_once( './template/'.$user['template'].'/htmlfunctions.inc.php' );
@@ -342,4 +350,4 @@ if ( count( $errors ) != 0 )
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/picture_modify.php b/admin/picture_modify.php
index be9ffd7bc..2ff5e042f 100644
--- a/admin/picture_modify.php
+++ b/admin/picture_modify.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * picture_modify.php *
- * ------------------ *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | picture_modify.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//--------------------------------------------------------- update informations
@@ -367,4 +375,4 @@ else
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/stats.php b/admin/stats.php
index ba33a1582..ba0e6f198 100644
--- a/admin/stats.php
+++ b/admin/stats.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * stats.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | stats.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
$max_pixels = 500;
//------------------------------------------------------------ comment deletion
@@ -186,4 +194,4 @@ foreach ( $days as $day ) {
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/thumbnail.php b/admin/thumbnail.php
index ae44b311c..e77420ea3 100644
--- a/admin/thumbnail.php
+++ b/admin/thumbnail.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * thumbnail.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | thumbnail.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//------------------------------------------------------------------- functions
// get_subdirs returns an array containing all sub directory names,
@@ -427,4 +435,4 @@ else
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/update.php b/admin/update.php
index 66faa9ec6..a894193ac 100644
--- a/admin/update.php
+++ b/admin/update.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * update.php *
- * ------------------ *
- * application : PhpWebGallery 1.4 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | update.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//------------------------------------------------------------------- functions
@@ -740,4 +748,4 @@ if ( isset( $_GET['update'] )
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/user_list.php b/admin/user_list.php
index a80d73c3e..a340362aa 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * user_list.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | user_list.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/user_list.vtp' );
@@ -251,4 +259,4 @@ else
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/user_modify.php b/admin/user_modify.php
index cc6486c7a..3823c9ef6 100644
--- a/admin/user_modify.php
+++ b/admin/user_modify.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * user_modify.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | user_modify.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/user_modify.vtp' );
@@ -214,4 +222,4 @@ if ( $display_form )
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/user_perm.php b/admin/user_perm.php
index 19f7e4b6f..f3a6e4c06 100644
--- a/admin/user_perm.php
+++ b/admin/user_perm.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * user_perm.php *
- * ------------------ *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | user_perm.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//----------------------------------------------------- template initialization
$sub = $vtp->Open( './template/'.$user['template'].'/admin/user_perm.vtp' );
@@ -177,4 +185,4 @@ while ( $row = mysql_fetch_array( $result ) )
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/admin/waiting.php b/admin/waiting.php
index 5fc79303e..feda12754 100644
--- a/admin/waiting.php
+++ b/admin/waiting.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * waiting.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | waiting.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include_once( './admin/include/isadmin.inc.php' );
//--------------------------------------------------------------------- updates
if ( isset( $_POST['submit'] ) )
@@ -141,4 +149,4 @@ while ( $row = mysql_fetch_array( $result ) )
}
//----------------------------------------------------------- sending html code
$vtp->Parse( $handle , 'sub', $sub );
-?> \ No newline at end of file
+?>
diff --git a/category.php b/category.php
index 9fb7e7d27..26c6c0a69 100644
--- a/category.php
+++ b/category.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | category.php |
+// | category.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -482,4 +482,4 @@ mysql_close();
$template->pparse('category');
include('include/page_tail.php');
-?> \ No newline at end of file
+?>
diff --git a/comments.php b/comments.php
index beecdf30c..4ac6e1cad 100644
--- a/comments.php
+++ b/comments.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | comments.php |
+// | comments.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -168,4 +168,4 @@ while ( $row = mysql_fetch_array( $result ) )
//----------------------------------------------------------- html code display
$template->pparse('comments');
include('include/page_tail.php');
-?> \ No newline at end of file
+?>
diff --git a/identification.php b/identification.php
index 177c5ec0d..89f52031f 100644
--- a/identification.php
+++ b/identification.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | identification.php |
+// | identification.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -124,4 +124,4 @@ if ( $conf['access'] == 'free' )
$code = $vtp->Display( $handle, 0 );
echo $code;
include('include/page_tail.php');
-?> \ No newline at end of file
+?>
diff --git a/include/common.inc.php b/include/common.inc.php
index c36f4b0f6..155890521 100644
--- a/include/common.inc.php
+++ b/include/common.inc.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | common.inc.php |
+// | common.inc.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -204,4 +204,4 @@ include($phpwg_root_path . 'include/user.inc.php');
if ( $user['is_the_guest'] ) $user['username'] = $lang['guest'];
include_once( './template/'.$user['template'].'/htmlfunctions.inc.php' );
define('PREFIX_TABLE', $table_prefix);
-?> \ No newline at end of file
+?>
diff --git a/include/config.inc.php b/include/config.inc.php
index 74cfb70c5..a5224107e 100644
--- a/include/config.inc.php
+++ b/include/config.inc.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * config.inc.php *
- * ------------------- *
- * application : PhpWebGallery 1.4 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | config.inc.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
// How to change the order of display for images in a category ?
//
// You have to modify $conf['order_by'].
@@ -48,4 +56,4 @@ $conf['max_LOV_categories'] = 50;
$conf['default_lang'] = 'francais';
$conf['default_style'] = 'default';
-?> \ No newline at end of file
+?>
diff --git a/include/constants.php b/include/constants.php
index d7e8fded7..b2c75a895 100644
--- a/include/constants.php
+++ b/include/constants.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * constant.php *
- * ------------------- *
- * application : PhpWebGallery 1.4 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | constants.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
define( 'PREFIX_INCLUDE', '' );
@@ -51,4 +59,4 @@ define('USER_GROUP_TABLE', $table_prefix.'user_group');
define('USERS_TABLE', $table_prefix.'users');
define('WAITING_TABLE', $table_prefix.'waiting');
-?> \ No newline at end of file
+?>
diff --git a/include/functions.inc.php b/include/functions.inc.php
index acf78373a..d4d10920b 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * functions.inc.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | functions.inc.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
include( PREFIX_INCLUDE.'./include/functions_user.inc.php' );
include( PREFIX_INCLUDE.'./include/functions_session.inc.php' );
include( PREFIX_INCLUDE.'./include/functions_category.inc.php' );
@@ -505,4 +513,4 @@ function decode_ip($int_ip)
return hexdec($hexipbang[0]). '.' . hexdec($hexipbang[1]) . '.' . hexdec($hexipbang[2]) . '.' . hexdec($hexipbang[3]);
}
-?> \ No newline at end of file
+?>
diff --git a/include/functions_category.inc.php b/include/functions_category.inc.php
index 311935b49..fd19770a0 100644
--- a/include/functions_category.inc.php
+++ b/include/functions_category.inc.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * functions_category.inc.php *
- * -------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | functions_category.inc.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
function check_restrictions( $category_id )
{
@@ -646,4 +654,4 @@ function get_first_non_empty_cat_id( $id_uppercat )
}
return false;
}
-?> \ No newline at end of file
+?>
diff --git a/include/functions_group.inc.php b/include/functions_group.inc.php
index 8575b25a9..12e85bd49 100644
--- a/include/functions_group.inc.php
+++ b/include/functions_group.inc.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * functions_group.inc.php *
- * -------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | functions_group.inc.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
// get_group_restrictions returns an array containing all unaccessible
// category ids.
@@ -101,4 +109,4 @@ function is_group_allowed( $category_id, $restrictions )
// this group is allowed to go in this category
return 0;
}
-?> \ No newline at end of file
+?>
diff --git a/include/functions_session.inc.php b/include/functions_session.inc.php
index 4ce08d92f..f6b0fe46b 100644
--- a/include/functions_session.inc.php
+++ b/include/functions_session.inc.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * functions_session.inc.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | functions_session.inc.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
// The function generate_key creates a string with pseudo random characters.
// the size of the string depends on the $conf['session_id_size'].
@@ -122,4 +130,4 @@ function cookie_path()
{
return substr($_SERVER['PHP_SELF'],0,strrpos( $_SERVER['PHP_SELF'],'/'));
}
-?> \ No newline at end of file
+?>
diff --git a/include/functions_user.inc.php b/include/functions_user.inc.php
index 95ca7bb3c..0c67a970c 100644
--- a/include/functions_user.inc.php
+++ b/include/functions_user.inc.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * functions_user.inc.php *
- * -------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | functions_user.inc.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
// validate_mail_address verifies whether the given mail address has the
// right format. ie someone@domain.com "someone" can contain ".", "-" or
@@ -216,4 +224,4 @@ function check_login_authorization()
}
}
}
-?> \ No newline at end of file
+?>
diff --git a/include/functions_xml.inc.php b/include/functions_xml.inc.php
index a4645dc1e..a8ce44413 100644
--- a/include/functions_xml.inc.php
+++ b/include/functions_xml.inc.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * functions_xml.inc.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | functions_xml.inc.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
//------------------------------------------------------------------- functions
// getContent returns the content of a tag
//
@@ -113,4 +121,4 @@ function getXmlCode( $filename )
return $xml_content;
}
-?> \ No newline at end of file
+?>
diff --git a/include/index.php b/include/index.php
index 280a7e97b..03eb1d9b9 100644
--- a/include/index.php
+++ b/include/index.php
@@ -1,17 +1,32 @@
<?php
-/***************************************************************************
- * index.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
+// +-----------------------------------------------------------------------+
+// | index.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
$url = '../category.php';
header( 'Request-URI: '.$url );
header( 'Content-Location: '.$url );
header( 'Location: '.$url );
exit();
-?> \ No newline at end of file
+?>
diff --git a/include/page_header.php b/include/page_header.php
index 45382e4e1..2dc4fe697 100644
--- a/include/page_header.php
+++ b/include/page_header.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * page_header.php *
- * ------------------ *
- * application : PhpWebGallery 1.4 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | page_header.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
//
// Start output of page
@@ -55,4 +63,4 @@ header ('Last-Modified: ' . gmdate('D, d M Y H:i:s') . ' GMT');
$template->pparse('header');
$vtp=new VTemplate;
-?> \ No newline at end of file
+?>
diff --git a/include/page_tail.php b/include/page_tail.php
index e960ab983..cc6b04f03 100644
--- a/include/page_tail.php
+++ b/include/page_tail.php
@@ -1,4 +1,29 @@
<?php
+// +-----------------------------------------------------------------------+
+// | page_tail.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
$template->set_filenames(array('tail'=>'footer.tpl'));
//------------------------------------------------------------- generation time
@@ -23,4 +48,4 @@ if (DEBUG)
//
$template->pparse('tail');
-?> \ No newline at end of file
+?>
diff --git a/include/template.php b/include/template.php
index 22543ab7f..62282c323 100644
--- a/include/template.php
+++ b/include/template.php
@@ -1,24 +1,29 @@
<?php
-/***************************************************************************
- * template.php
- * -------------------
- * begin : Saturday, Feb 13, 2001
- * copyright : (C) 2001 The phpBB Group
- * email : support@phpbb.com
- *
- * $Id$
- *
- *
- ***************************************************************************/
-
-/***************************************************************************
- *
- * This program 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.
- *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | template.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
/**
* Template class. By Nathan Codding of the phpBB group.
diff --git a/include/user.inc.php b/include/user.inc.php
index 711cc6c9e..f28a395f0 100644
--- a/include/user.inc.php
+++ b/include/user.inc.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * user.inc.php *
- * ------------------ *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | user.inc.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
// retrieving user informations
// $infos array is used to know the fields to retrieve in the table "users"
@@ -122,4 +130,4 @@ if ($user['status'] == 'admin') $isadmin =true;
$user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page'];
init_userprefs($user);
-?> \ No newline at end of file
+?>
diff --git a/include/vtemplate.class.php b/include/vtemplate.class.php
index 45dfd7f10..93554bd59 100644
--- a/include/vtemplate.class.php
+++ b/include/vtemplate.class.php
@@ -1,20 +1,29 @@
<?php
-/*****************************************************************
- * VIRTUAL-TEMPLATE
- *
- * Version : 1.3.2 Base Edition ( Decembre 2003 ) build 1
- *
- * Address : http://vtemplate.sourceforge.net
- *
- * Authors:
- * + THIEBAUT Jean-Baptiste(J.Baptiste@leweby.com) - http://www.leweby.com .
- * + CAMPANA François (fc@netouaibe.com).
- * Licence: GPL.
- *
- *
- *
- *
- *****************************************************************/
+// +-----------------------------------------------------------------------+
+// | vtemplate.class.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
// to make it work on nexen.net
set_magic_quotes_runtime(0);
diff --git a/index.php b/index.php
index a3e96b03f..c12b20ee7 100644
--- a/index.php
+++ b/index.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | index.php |
+// | index.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -40,4 +40,4 @@ header( 'Request-URI: '.$url );
header( 'Content-Location: '.$url );
header( 'Location: '.$url );
exit();
-?> \ No newline at end of file
+?>
diff --git a/install.php b/install.php
index 99a5a7bc0..4e358b775 100644
--- a/install.php
+++ b/install.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | install.php |
+// | install.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -313,4 +313,4 @@ else
//----------------------------------------------------------- html code display
$code = $vtp->Display( $handle, 0 );
echo $code;
-?> \ No newline at end of file
+?>
diff --git a/language/english.php b/language/english.php
index 03c506a5a..3ea7c3974 100644
--- a/language/english.php
+++ b/language/english.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * english.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************/
-
-/***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | english.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
$lang['only_members'] = 'Only members can access this page';
$lang['invalid_pwd'] = 'Invalid password!';
@@ -549,4 +557,4 @@ Once this file deleted , follow this instructions :
</ul>';
$lang['install_warning'] = 'The file "install.php" is still present. Please remove it from your server. It is not secure to keep it.';
-?> \ No newline at end of file
+?>
diff --git a/picture.php b/picture.php
index 00b5fa201..388a46409 100644
--- a/picture.php
+++ b/picture.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | picture.php |
+// | picture.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -759,4 +759,4 @@ $code = $vtp->Display( $handle, 0 );
echo $code;
include('include/page_tail.php');
-?> \ No newline at end of file
+?>
diff --git a/profile.php b/profile.php
index d1d8977ee..1b124f69f 100644
--- a/profile.php
+++ b/profile.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | profile.php |
+// | profile.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -377,4 +377,4 @@ if ( $conf['authorize_cookies'] )
$code = $vtp->Display( $handle, 0 );
echo $code;
include('include/page_tail.php');
-?> \ No newline at end of file
+?>
diff --git a/register.php b/register.php
index 68a22da8f..5d6b399e4 100644
--- a/register.php
+++ b/register.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | register.php |
+// | register.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -115,4 +115,4 @@ $vtp->closeSession( $handle, 'line' );
$code = $vtp->Display( $handle, 0 );
echo $code;
include('include/page_tail.php');
-?> \ No newline at end of file
+?>
diff --git a/search.php b/search.php
index 9153e9aac..58f80c8b8 100644
--- a/search.php
+++ b/search.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | search.php |
+// | search.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -101,4 +101,4 @@ pwg_log( 'search', $title );
mysql_close();
$template->pparse('search');
include('include/page_tail.php');
-?> \ No newline at end of file
+?>
diff --git a/template/default/htmlfunctions.inc.php b/template/default/htmlfunctions.inc.php
index c1d8f49f9..cd4df188a 100644
--- a/template/default/htmlfunctions.inc.php
+++ b/template/default/htmlfunctions.inc.php
@@ -1,21 +1,29 @@
<?php
-/***************************************************************************
- * htmlfunctions.inc.php *
- * ------------------- *
- * application : PhpWebGallery 1.3 <http://phpwebgallery.net> *
- * author : Pierrick LE GALL <pierrick@z0rglub.com> *
- * *
- * $Id$
- * *
- ***************************************************************************
-
- ***************************************************************************
- * *
- * This program 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; *
- * *
- ***************************************************************************/
+// +-----------------------------------------------------------------------+
+// | htmlfunctions.inc.php |
+// +-----------------------------------------------------------------------+
+// | application : PhpWebGallery <http://phpwebgallery.net> |
+// | branch : BSF (Best So Far) |
+// +-----------------------------------------------------------------------+
+// | file : $RCSfile$
+// | last update : $Date$
+// | last modifier : $Author$
+// | revision : $Revision$
+// +-----------------------------------------------------------------------+
+// | This program 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 |
+// | |
+// | This program 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 this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
$user['lien_expanded']='./template/'.$user['template'].'/theme/expanded.gif';
$user['lien_collapsed']='./template/'.$user['template'].'/theme/collapsed.gif';
@@ -224,4 +232,4 @@ function display_category( $category, $indent )
}
}
}
-?> \ No newline at end of file
+?>
diff --git a/upload.php b/upload.php
index 88a81f1c8..42ac7d5f2 100644
--- a/upload.php
+++ b/upload.php
@@ -1,9 +1,9 @@
<?php
// +-----------------------------------------------------------------------+
-// | upload.php |
+// | upload.php |
// +-----------------------------------------------------------------------+
// | application : PhpWebGallery <http://phpwebgallery.net> |
-// | branch : 1.4 |
+// | branch : BSF (Best So Far) |
// +-----------------------------------------------------------------------+
// | file : $RCSfile$
// | last update : $Date$
@@ -397,4 +397,4 @@ $vtp->setGlobalVar( $handle, 'return_url', add_session_id( $url ) );
$code = $vtp->Display( $handle, 0 );
echo $code;
include('include/page_tail.php');
-?> \ No newline at end of file
+?>