/** 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';
                     if (isset($conflower[strtolower($k)])) {
                         $array[$same][$k] = $v;
                     }
-                } 
+                }
             }
         }
         // writes the file over
 
     {
         $this->whereclause = $whereclause;
     }
-    
+
     // set an action when trying to delete row
     public function on_delete($action = NULL, $message = NULL)
     {
 
 
     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 {
 
   </div>
   {elseif $csv_page eq 'values'}
   <div class="center">
-    Action à effectuer si l'entrée existe : 
+    Action à effectuer si l'entrée existe :
     <select name="csv_action" onchange="this.form.submit()">
       <option value="insert" {if $smarty.session.csv_action eq 'insert'}selected="selected"{/if}>
         ne rien faire
 
   ]
   {/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">
 
   {/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}&page={$smarty.section.page.index}#pl_set_top">{$smarty.section.page.index}</a>
   {/if}
 
     <tr class="impair">
       <th colspan="2">
         {if $id !== null}
-            modification de l'entrée 
+            modification de l'entrée
         {else}
             nouvelle entrée
         {/if}