Fixed missing font family handling
authorMarcel Werk <burntime@woltlab.com>
Tue, 28 May 2013 22:20:28 +0000 (00:20 +0200)
committerMarcel Werk <burntime@woltlab.com>
Tue, 28 May 2013 22:20:28 +0000 (00:20 +0200)
wcfsetup/install/files/lib/acp/form/StyleAddForm.class.php

index a3a328144054c32f9260d5faca394c01150b93b4..7f8c8ee9cb4cb1bf1eda51480881a3aaf726fec7 100644 (file)
@@ -87,12 +87,6 @@ class StyleAddForm extends AbstractForm {
         */
        public $copyright = '';
        
-       /**
-        * font family
-        * @var string
-        */
-       public $fontFamily = '';
-       
        /**
         * list of global variables
         * @var array
@@ -442,7 +436,8 @@ class StyleAddForm extends AbstractForm {
                        'individualLess',
                        'overrideLess',
                        'pageLogo',
-                       'useFluidLayout'
+                       'useFluidLayout',
+                       'wcfBaseFontFamily'
                );
                
                EventHandler::getInstance()->fireAction($this, 'setVariables');
@@ -499,7 +494,7 @@ class StyleAddForm extends AbstractForm {
                $this->saved();
                
                // reset variables
-               $this->authorName = $this->authorURL = $this->copyright = $this->fontFamily = $this->image = '';
+               $this->authorName = $this->authorURL = $this->copyright = $this->image = '';
                $this->license = $this->styleDate = $this->styleDescription = $this->styleName = $this->styleVersion = '';
                
                $this->imagePath = 'images/';
@@ -529,7 +524,6 @@ class StyleAddForm extends AbstractForm {
                        'availableTemplateGroups' => $this->availableTemplateGroups,
                        'availableUnits' => $this->availableUnits,
                        'copyright' => $this->copyright,
-                       'fontFamily' => $this->fontFamily,
                        'imagePath' => $this->imagePath,
                        'license' => $this->license,
                        'styleDate' => $this->styleDate,