Project

General

Profile

« Previous | Next » 

Revision 1644

Added by darkviper over 12 years ago

prevent from empty theme-name in CopyTheme::_SanitizeNewName()

View differences:

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

  
14
22 Mar-2012 Build 1644 Werner v.d.Decken(DarkViper)
15
# prevent from empty theme-name in CopyTheme::_SanitizeNewName()
14 16
22 Mar-2012 Build 1643 Werner v.d.Decken(DarkViper)
15 17
+ added backend functions to copy themes and import htt-template files
16 18
  according to the the new theme fallback functionality
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1643');
54
if(!defined('REVISION')) define('REVISION', '1644');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/admin/addons/CopyTheme.php
91 91
 */
92 92
	private function _SanitizeNewName($sName)
93 93
	{
94
		$sName = (trim($sName) == '' ? 'MyNewTheme' : $sName);
94 95
		$sName = mysql_real_escape_string($sName);
95 96
		$iCount = '';
96 97
		do {
branches/2.8.x/wb/templates/wb_theme/info.php
1 1
<?php
2 2
/**
3 3
 *
4
 * @category        frontend
5
 * @package         templates
4
 * @category        WB
5
 * @package         WB_BackendTheme
6 6
 * @author          Johannes Tassilo Gruber, WebsiteBaker Project
7 7
 * @copyright       2009-2012, WebsiteBaker Org. e.V.
8 8
 * @link            http://www.websitebaker.org/
9 9
 * @license         http://www.gnu.org/licenses/gpl.html
10 10
 * @platform        WebsiteBaker 2.8.3
11 11
 * @requirements    PHP 5.2.2 and higher
12
 * @version         $Id$
12
 * @version         $Id: info.php 1643 2012-03-22 15:30:03Z darkviper $
13 13
 * @filesource      $HeadURL:  $
14 14
 * @lastmodified    $Date:  $
15 15
 *
......
34 34
$template_license_terms		= '-';
35 35
$template_description		= 'Default backend theme for Website Baker 2.8.';
36 36

  
37
?>
38

  
39 37

  

Also available in: Unified diff