Project

General

Profile

« Previous | Next » 

Revision 1235

Added by Dietmar almost 15 years ago

Ticket #903 fix CSS-errors in WB backend
add title class in show_breadcrumbs, now full css styling

View differences:

class.login.php
1 1
<?php
2
/****************************************************************************
3
* SVN Version information:
4
*
5
* $Id$
6
*
7
*
8
*
9
*****************************************************************************
10
*                          WebsiteBaker
11
*
12
* WebsiteBaker Project <http://www.websitebaker2.org/>
13
* Copyright (C) 2009, Website Baker Org. e.V.
14
*         http://start.websitebaker2.org/impressum-datenschutz.php
15
* Copyright (C) 2004-2009, Ryan Djurovich
16
*
17
*                        About WebsiteBaker
18
*
19
* Website Baker is a PHP-based Content Management System (CMS)
20
* designed with one goal in mind: to enable its users to produce websites
21
* with ease.
22
*
23
*****************************************************************************
24
*
25
*****************************************************************************
26
*                        LICENSE INFORMATION
27
*
28
* WebsiteBaker is free software; you can redistribute it and/or
29
* modify it under the terms of the GNU General Public License
30
* as published by the Free Software Foundation; either version 2
31
* of the License, or (at your option) any later version.
32
*
33
* WebsiteBaker is distributed in the hope that it will be useful,
34
* but WITHOUT ANY WARRANTY; without even the implied warranty of
35
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
36
* See the GNU General Public License for more details.
37
*
38
* You should have received a copy of the GNU General Public License
39
* along with this program; if not, write to the Free Software
40
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
41
****************************************************************************
42
*
43
*                   WebsiteBaker Extra Information
44
*
45
* This class will be used to with the login application
46
*
47
*
48
*
49
*
50
*
51
*****************************************************************************/
52
/**
53
 *
54
 * @category     backend
55
 * @package      login
56
 * @author       Ryan Djurovich
57
 * @copyright    2004-2009, Ryan Djurovich
58
 * @copyright    2009-2010, Website Baker Org. e.V.
59
 * @version      $Id$
60
 * @platform     WebsiteBaker 2.8.x
61
 * @requirements >= PHP 4.3.4
62
 * @license      http://www.gnu.org/licenses/gpl.html
63
 *
64
 */
2 65

  
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
/*
27
 * @category   backend
28
 * @package    Login class
29
 * @author(s)  Dietmar W?llbrink <Luisehahne>, Dietrich Roland Pehlke <Aldus>
30
 * @platform   WB 2.8.x
31
 * @require    PHP 5.2.11
32
 * @license    http://www.gnu.org/licenses/gpl.html
33
 * @link       http://project.websitebaker2.org/browser/branches/2.8.x/wb/pages
34
 * @changeset  2009/11/27   fixed parse error ticket #878
35

  
36

  
37

  
38
This class will be used to with the login application
39

  
40
*/
41

  
42 66
// Stop this file from being accessed directly
43 67
if(!defined('WB_URL')) {
44 68
	header('Location: ../index.php');
......
379 403
			$template->set_file('page', $this->template_file);
380 404
			$template->set_block('page', 'mainBlock', 'main');
381 405
			if($this->remember_me_option != true) {
382
				$template->set_var('DISPLAY_REMEMBER_ME', 'none');
406
				$template->set_var('DISPLAY_REMEMBER_ME', 'display: none;');
383 407
			} else {
384 408
				$template->set_var('DISPLAY_REMEMBER_ME', '');
385 409
			}

Also available in: Unified diff