Removes trailing spaces.
authorStéphane Jacob <sj@m4x.org>
Sun, 8 Aug 2010 23:58:02 +0000 (01:58 +0200)
committerStéphane Jacob <sj@m4x.org>
Sun, 8 Aug 2010 23:58:02 +0000 (01:58 +0200)
Signed-off-by: Stéphane Jacob <sj@m4x.org>
classes/plglobals.php
classes/pltableeditor.php
classes/plwizard.php
templates/csv-importer.tpl
templates/plset.tpl
templates/plview.multipage.tpl
templates/table-editor.tpl

index c4f2af1..399a8a6 100644 (file)
@@ -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
index 3e35d1a..f61dd4f 100644 (file)
@@ -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)
     {
index 6e45226..ec9f7d2 100644 (file)
@@ -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 {
index 3295b4b..4c5904d 100644 (file)
@@ -99,7 +99,7 @@ val3_1{$smarty.session.csv_separator|default:";"}val3_2{$smarty.session.csv_sepa
   </div>
   {elseif $csv_page eq 'values'}
   <div class="center">
-    Action à effectuer si l'entrée existe&nbsp;: 
+    Action à effectuer si l'entrée existe&nbsp;:
     <select name="csv_action" onchange="this.form.submit()">
       <option value="insert" {if $smarty.session.csv_action eq 'insert'}selected="selected"{/if}>
         ne rien faire
index ac49dde..4f13ada 100644 (file)
   ]
   {/if}
 </h1>
-<h1 style="display: block; float: right"> 
-  {if !$plset_count} 
-  Aucune entrée 
-  {elseif $plset_count eq 1} 
-  1 entrée 
-  {else} 
-  {$plset_count} entrées 
-  {/if} 
-</h1> 
+<h1 style="display: block; float: right">
+  {if !$plset_count}
+  Aucune entrée
+  {elseif $plset_count eq 1}
+  1 entrée
+  {else}
+  {$plset_count} entrées
+  {/if}
+</h1>
 </div>
 
 <div id="plset_content" style="clear: both">
index 8f49759..a03c7fc 100644 (file)
@@ -32,7 +32,7 @@
   {/if}
   {section name=page loop=$plview->pages+1 start=1}
   {if $smarty.section.page.index eq $plview->page}
-  <span style="color: red">{$plview->page}</span> 
+  <span style="color: red">{$plview->page}</span>
   {else}
   <a href="{$platal->pl_self()}{$plset_search}order={$order}&amp;page={$smarty.section.page.index}#pl_set_top">{$smarty.section.page.index}</a>
   {/if}
index 9f51e94..85e28f9 100644 (file)
     <tr class="impair">
       <th colspan="2">
         {if $id !== null}
-            modification de l'entrée 
+            modification de l'entrée
         {else}
             nouvelle entrée
         {/if}