Project

General

Profile

« Previous | Next » 

Revision 1467

Added by Dietmar over 13 years ago

update some headerinfos
fix missing header for some error messages

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.2 ------------------------------------
14
02 Jul-2011 Build 1465 Dietmar Woellbrink (Luisehahne)
15
! update some headerinfos
16
# fix missing header for some error messages
14 17
01 Jul-2011 Build 1465 Dietmar Woellbrink (Luisehahne)
15 18
# fix form modul (tks to our Tester)
16 19
01 Jul-2011 Build 1465 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/admin/templates/uninstall.php
23 23
$admin = new admin('Addons', 'templates_uninstall', false);
24 24
if( !$admin->checkFTAN() )
25 25
{
26
	$admin->print_header();
26 27
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
27 28
}
28 29
// After check print the header
branches/2.8.x/wb/admin/templates/details.php
24 24
$admin = new admin('Addons', 'templates_view', false);
25 25
if( !$admin->checkFTAN() )
26 26
{
27
	$admin->print_header();
27 28
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
28 29
}
29 30

  
branches/2.8.x/wb/admin/templates/install.php
26 26
$admin = new admin('Addons', 'templates_install', false);
27 27
if( !$admin->checkFTAN() )
28 28
{
29
	$admin->print_header();
29 30
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
30 31
}
31 32
// After check print the header
branches/2.8.x/wb/admin/templates/index.php
1 1
<?php
2
/**
3
 *
4
 * @category        admin
5
 * @package         templates
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, Website Baker Org. e.V.
9
 * @link			http://www.websitebaker2.org/
10
 * @license         http://www.gnu.org/licenses/gpl.html
11
 * @platform        WebsiteBaker 2.8.x
12
 * @requirements    PHP 5.2.2 and higher
13
 * @version         $Id$
14
 * @filesource		$HeadURL$
15
 * @lastmodified    $Date$
16
 *
17
 */
2 18

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2009, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26 19
// Print admin header
27 20
require('../../config.php');
28 21
require_once(WB_PATH.'/framework/class.admin.php');
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.2.RC6');
55
if(!defined('REVISION')) define('REVISION', '1466');
55
if(!defined('REVISION')) define('REVISION', '1467');
56 56

  
57 57
?>
branches/2.8.x/wb/admin/preferences/save.php
171 171
	}
172 172
	return ( (sizeof($err_msg) > 0) ? implode('<br />', $err_msg) : '' );
173 173
}
174
// print the header
175
$admin->print_header();
176 174
$retval = save_preferences($admin, $database);
177 175
if( $retval == '')
178 176
{
177
	// print the header
178
	$admin->print_header();
179 179
	$admin->print_success($MESSAGE['PREFERENCES']['DETAILS_SAVED']);
180 180
	$admin->print_footer();
181 181
}else {
182
	// print the header
183
	$admin->print_header();
182 184
	$admin->print_error($retval);
183 185
}
branches/2.8.x/wb/admin/languages/uninstall.php
1 1
<?php
2
/**
3
 *
4
 * @category        admin
5
 * @package         languages
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, Website Baker Org. e.V.
9
 * @link            http://www.websitebaker2.org/
10
 * @license         http://www.gnu.org/licenses/gpl.html
11
 * @platform        WebsiteBaker 2.8.x
12
 * @requirements    PHP 5.2.2 and higher
13
 * @version         $Id$
14
 * @filesource      $HeadURL$
15
 * @lastmodified    $Date$
16
 * @description
17
 *
18
 */
2 19

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2009, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26 20
// Setup admin object
27 21
require('../../config.php');
28 22
require_once(WB_PATH.'/framework/class.admin.php');
29 23
$admin = new admin('Addons', 'languages_uninstall', false);
30 24
if( !$admin->checkFTAN() )
31 25
{
26
	$admin->print_header();
32 27
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
33 28
}
34 29
// After check print the header
branches/2.8.x/wb/admin/languages/details.php
1 1
<?php
2
/**
3
 *
4
 * @category        admin
5
 * @package         languages
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, Website Baker Org. e.V.
9
 * @link            http://www.websitebaker2.org/
10
 * @license         http://www.gnu.org/licenses/gpl.html
11
 * @platform        WebsiteBaker 2.8.x
12
 * @requirements    PHP 5.2.2 and higher
13
 * @version         $Id$
14
 * @filesource      $HeadURL$
15
 * @lastmodified    $Date$
16
 * @description
17
 *
18
 */
2 19

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2009, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26 20
// Include the config code
27 21
require('../../config.php');
28 22

  
......
31 25
$admin = new admin('Addons', 'languages_view', false);
32 26
if( !$admin->checkFTAN() )
33 27
{
28
	$admin->print_header();
34 29
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
35 30
}
36 31
// After check print the header
......
100 95

  
101 96
// Print admin footer
102 97
$admin->print_footer();
103

  
104
?>
branches/2.8.x/wb/admin/languages/install.php
1 1
<?php
2
/**
3
 *
4
 * @category        admin
5
 * @package         languages
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, Website Baker Org. e.V.
9
 * @link            http://www.websitebaker2.org/
10
 * @license         http://www.gnu.org/licenses/gpl.html
11
 * @platform        WebsiteBaker 2.8.x
12
 * @requirements    PHP 5.2.2 and higher
13
 * @version         $Id$
14
 * @filesource      $HeadURL$
15
 * @lastmodified    $Date$
16
 * @description
17
 *
18
 */
2 19

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2009, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26 20
// do not display notices and warnings during installation
27 21
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
28 22

  
......
32 26
$admin = new admin('Addons', 'languages_install', false);
33 27
if( !$admin->checkFTAN() )
34 28
{
29
	$admin->print_header();
35 30
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
36 31
}
37 32
// After check print the header
branches/2.8.x/wb/admin/languages/index.php
1 1
<?php
2
/**
3
 *
4
 * @category        admin
5
 * @package         languages
6
 * @author          WebsiteBaker Project
7
 * @copyright       2004-2009, Ryan Djurovich
8
 * @copyright       2009-2011, Website Baker Org. e.V.
9
 * @link            http://www.websitebaker2.org/
10
 * @license         http://www.gnu.org/licenses/gpl.html
11
 * @platform        WebsiteBaker 2.8.x
12
 * @requirements    PHP 5.2.2 and higher
13
 * @version         $Id$
14
 * @filesource      $HeadURL$
15
 * @lastmodified    $Date$
16
 * @description
17
 *
18
 */
2 19

  
3
// $Id$
4

  
5
/*
6

  
7
 Website Baker Project <http://www.websitebaker.org/>
8
 Copyright (C) 2004-2009, Ryan Djurovich
9

  
10
 Website Baker is free software; you can redistribute it and/or modify
11
 it under the terms of the GNU General Public License as published by
12
 the Free Software Foundation; either version 2 of the License, or
13
 (at your option) any later version.
14

  
15
 Website Baker is distributed in the hope that it will be useful,
16
 but WITHOUT ANY WARRANTY; without even the implied warranty of
17
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18
 GNU General Public License for more details.
19

  
20
 You should have received a copy of the GNU General Public License
21
 along with Website Baker; if not, write to the Free Software
22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23

  
24
*/
25

  
26 20
// Print admin header
27 21
require('../../config.php');
28 22
require_once(WB_PATH.'/framework/class.admin.php');
branches/2.8.x/wb/admin/modules/uninstall.php
22 22
$admin = new admin('Addons', 'modules_uninstall', false);
23 23
if( !$admin->checkFTAN() )
24 24
{
25
	$admin->print_header();
25 26
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
26 27
}
27 28
// After check print the header
branches/2.8.x/wb/admin/modules/details.php
24 24
$admin = new admin('Addons', 'modules_view', false);
25 25
if( !$admin->checkFTAN() )
26 26
{
27
	$admin->print_header();
27 28
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
28 29
}
29 30
// After check print the header
branches/2.8.x/wb/admin/modules/install.php
25 25
$admin = new admin('Addons', 'modules_install', false);
26 26
if( !$admin->checkFTAN() )
27 27
{
28
	$admin->print_header();
28 29
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS']);
29 30
}
30 31
// After check print the header
branches/2.8.x/wb/templates/argos_theme/templates/languages.htt
14 14
</table>
15 15

  
16 16
<form name="install" enctype="multipart/form-data" action="install.php" method="post" class="{DISPLAY_INSTALL}">
17
{FTAN}
17 18
  <h2>{HEADING_INSTALL_LANGUAGE}</h2>
18 19
  <table summary="" cellpadding="2" cellspacing="0" border="0" width="100%">
19 20
    <tr>
......
31 32
  <br />
32 33
</form>
33 34
<form name="uninstall" action="uninstall.php" method="post" class="{DISPLAY_UNINSTALL}">
35
{FTAN}
34 36
  <h2>{HEADING_UNINSTALL_LANGUAGE}</h2>
35 37
  <table summary="" cellpadding="2" cellspacing="0" border="0" width="100%">
36 38
    <tr>
......
50 52
  <br />
51 53
</form>
52 54
<form name="details" action="details.php" method="post" class="{DISPLAY_LIST}">
55
{FTAN}
53 56
  <h2>{HEADING_LANGUAGE_DETAILS}</h2>
54 57
  <table summary="" cellpadding="2" cellspacing="0" border="0" width="100%">
55 58
    <tr>

Also available in: Unified diff