From: Stéphane Jacob Date: Sun, 8 Aug 2010 23:58:02 +0000 (+0200) Subject: Removes trailing spaces. X-Git-Tag: core/1.1.1~42 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=ef138fdcc27646d255cb98615c3e64724496c9bd;p=platal.git Removes trailing spaces. Signed-off-by: Stéphane Jacob --- diff --git a/classes/plglobals.php b/classes/plglobals.php index c4f2af1..399a8a6 100644 --- a/classes/plglobals.php +++ b/classes/plglobals.php @@ -192,10 +192,10 @@ class PlGlobals /** Change dynamic config file * @param conf array of keys and values to add or replace * @param category name of category to change - * + * * Opens the dynamic conf file and set values from conf in specified * category. Updates config vars too. - */ + */ public function changeDynamicConfig($conf, $category = 'Core') { $dynamicfile = $this->spoolroot.'/spool/conf/platal.dynamic.conf'; @@ -238,7 +238,7 @@ class PlGlobals if (isset($conflower[strtolower($k)])) { $array[$same][$k] = $v; } - } + } } } // writes the file over diff --git a/classes/pltableeditor.php b/classes/pltableeditor.php index 3e35d1a..f61dd4f 100644 --- a/classes/pltableeditor.php +++ b/classes/pltableeditor.php @@ -220,7 +220,7 @@ class PLTableEditor { $this->whereclause = $whereclause; } - + // set an action when trying to delete row public function on_delete($action = NULL, $message = NULL) { diff --git a/classes/plwizard.php b/classes/plwizard.php index 6e45226..ec9f7d2 100644 --- a/classes/plwizard.php +++ b/classes/plwizard.php @@ -158,8 +158,8 @@ class PlWizard public function apply(PlPage &$smarty, $baseurl, $pgid = null, $mode = 'normal') { - if ($this->stateless && (isset($this->lookup[$pgid]) || isset($this->pages[$pgid]))) { - $curpage = is_numeric($pgid) ? $pgid : $this->lookup[$pgid]; + if ($this->stateless && (isset($this->lookup[$pgid]) || isset($this->pages[$pgid]))) { + $curpage = is_numeric($pgid) ? $pgid : $this->lookup[$pgid]; } else if ($this->stateless && is_null($pgid)) { $curpage = 0; } else { diff --git a/templates/csv-importer.tpl b/templates/csv-importer.tpl index 3295b4b..4c5904d 100644 --- a/templates/csv-importer.tpl +++ b/templates/csv-importer.tpl @@ -99,7 +99,7 @@ val3_1{$smarty.session.csv_separator|default:";"}val3_2{$smarty.session.csv_sepa {elseif $csv_page eq 'values'}
- Action à effectuer si l'entrée existe : + Action à effectuer si l'entrée existe :