Skip to content

Commit

Permalink
Add and linked minified files
Browse files Browse the repository at this point in the history
  • Loading branch information
David Maack committed Apr 30, 2012
1 parent a2efecc commit e8153d7
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 8 deletions.
6 changes: 2 additions & 4 deletions system/modules/multicolumnwizard/MultiColumnWizard.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<?php
if (!defined('TL_ROOT')) die('You cannot access this file directly!');
<?php if (!defined('TL_ROOT')) die('You cannot access this file directly!');

/**
* Contao Open Source CMS
Expand Down Expand Up @@ -306,8 +305,7 @@ public function generate()
$this->columnFields = $this->{$this->arrCallback[0]}->{$this->arrCallback[1]}($this);
}

// TODO: minify this and change path
$GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/multicolumnwizard/html/js/multicolumnwizard_' . strtolower(TL_MODE) . '_src.js';
$GLOBALS['TL_JAVASCRIPT'][] = 'system/modules/multicolumnwizard/html/js/multicolumnwizard_' . strtolower(TL_MODE) . '.js';
$GLOBALS['TL_CSS'][] = 'system/modules/multicolumnwizard/html/css/multicolumnwizard.css';

$this->strCommand = 'cmd_' . $this->strField;
Expand Down
2 changes: 1 addition & 1 deletion system/modules/multicolumnwizard/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* Software Foundation website at <http://www.gnu.org/licenses/>.
*
* PHP version 5
* @copyright MEN AT WORK 2011, certo web & design GmbH 2011
* @copyright MEN AT WORK 2012, certo web & design GmbH 2012
* @package MultiColumnWizard
* @license LGPL
* @filesource
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -571,5 +571,4 @@ MultiColumnWizard.addOperationClickCallback('copy', MultiColumnWizard.copyClick)
MultiColumnWizard.addOperationUpdateCallback('delete', MultiColumnWizard.deleteUpdate);
MultiColumnWizard.addOperationClickCallback('delete', MultiColumnWizard.deleteClick);
MultiColumnWizard.addOperationClickCallback('up', MultiColumnWizard.upClick);
MultiColumnWizard.addOperationClickCallback('down', MultiColumnWizard.downClick);

MultiColumnWizard.addOperationClickCallback('down', MultiColumnWizard.downClick);

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -386,4 +386,4 @@ MultiColumnWizard.addOperationClickCallback('copy', MultiColumnWizard.copyClick)
MultiColumnWizard.addOperationLoadCallback('delete', MultiColumnWizard.deleteLoad);
MultiColumnWizard.addOperationClickCallback('delete', MultiColumnWizard.deleteClick);
MultiColumnWizard.addOperationClickCallback('up', MultiColumnWizard.upClick);
MultiColumnWizard.addOperationClickCallback('down', MultiColumnWizard.downClick);
MultiColumnWizard.addOperationClickCallback('down', MultiColumnWizard.downClick);

0 comments on commit e8153d7

Please sign in to comment.