Index: /extensions/event_cats/admin/template/autolog_entries.tpl
===================================================================
--- /extensions/event_cats/admin/template/autolog_entries.tpl	(revision 10455)
+++ /extensions/event_cats/admin/template/autolog_entries.tpl	(revision 10456)
@@ -10,13 +10,13 @@
     {'Help banner'|@translate}&nbsp;
     <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');">
-      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"/>
+      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1">
       {'Show'|@translate}
     </label>
     &nbsp;
     <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');">
-      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"/>
+      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0">
       {'Hide'|@translate}
     </label>
-    &nbsp;&#151;&nbsp;
+    &nbsp;—&nbsp;
   </span>
   {if $ec_ap_ok}
@@ -33,12 +33,12 @@
 </div><span id = "ec_help_ban"></span>
 
-<br />
+<br>
 
 {* <!-- Form to view codes --> *}
 <form class = "filter" method = "post" name = "ec_view_codes" action = "">
-  <input type = "hidden" id = "ec_act1_id" name = "ec_act1" />
-  <input type = "radio" name = "ec_entry_sel" value = "-1" id = "selection--1" style = "display:none;"/>
   
   <div style = "text-align:center; font-weight:bold; font-size:120%;">
+    <input type = "hidden" id = "ec_act1_id" name = "ec_act1">
+    <input type = "radio" name = "ec_entry_sel" value = "-1" id = "selection--1" style = "display:none;">
     <a href = "#ec_top" name = "ec_top" title = "{'Place title on top ttip'|@translate}">
       <!--[if !IE]> <--> <label> <!--> <![endif]-->
@@ -46,67 +46,69 @@
       <!--[if !IE]> <--> </label> <!--> <![endif]-->
       <!-- What we're able to do for our "prefered" browser |-( ...!  -->
-    </a><br />
-  </div><br />
+    </a><br>
+  </div>
   
   {* <!-- Table to show codes present in MySQL table --> *}
-  <table class = "table2" width = "97%">
-    <thead>
-      <tr class = "throw">
-        <td>{'Entry'|@translate}</td>
-        <td>{'Code'|@translate}</td>
-        <td>{'Username'|@translate}</td>
-        <td>{'Identification'|@translate}</td>
-        <td>{'Displayed page'|@translate}</td>
-        <td>{'Tools'|@translate}</td>
-      </tr>
-    </thead>
-    
-    {foreach from=$code_list item=code_line name=code_loop}
-      <tr class = "{if $smarty.foreach.code_loop.index is odd}row1{else}row2{/if}">
-        <td>
-          <input type = "radio" name = "ec_entry_sel" value = "{$code_line.id}" id = "selection-{$code_line.id}"
-           onclick = "ec_mark_line({$code_line.id});"
-          />
-          <label for = "selection-{$code_line.id}">{$code_line.id}</label>
-          <a id = "ec_url_id_{$code_line.id}" style = "display:none;" href = "{$code_line.code_URL}"></a>
-        </td>
-        <td>
-          <label for = "selection-{$code_line.id}" id = "ec_table_code_{$code_line.id}"
-             {if $comment_tooltip} title = "{$code_line.Comment}" {/if}
-          >
-            {$code_line.Code}
-            {if !$comment_tooltip and $code_line.Comment != ''}<br />{$code_line.Comment}{/if}
-          </label>
-        </td>
-        <td><label for = "selection-{$code_line.id}" id = "ec_table_usr_{$code_line.id}">{$code_line.Username}</label></td>
-        <td><label for = "selection-{$code_line.id}">{$code_line.Action}</label></td>
-        <td><label for = "selection-{$code_line.id}">{$code_line.Arg1}</label></td>
-        <td>
-          {if $code_line.log_OK}
-            <a href = "javascript:void(0);" onclick = "ec_check_ds({$code_line.id});">
-              <img src = "{$EVNTCATS_URLS.ROOT}icon/disable.png" class = "button"
-               alt = "{'Outdate entry ttip'|@translate}" title = "{'Outdate entry ttip'|@translate}" />
-            </a>
-            {if $code_line.Forced == 'true'}
-              <a href = "javascript:void(0);" title = "{'Unforce display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, false);">
-                <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/forced.png"
-                 alt = "{'Unforce display ttip'|@translate}" title = "{'Unforce display ttip'|@translate}"
-                />
+  <p>
+    <table class = "table2" width = "97%">
+      <thead>
+        <tr class = "throw">
+          <td>{'Entry'|@translate}</td>
+          <td>{'Code'|@translate}</td>
+          <td>{'Username'|@translate}</td>
+          <td>{'Identification'|@translate}</td>
+          <td>{'Displayed page'|@translate}</td>
+          <td>{'Tools'|@translate}</td>
+        </tr>
+      </thead>
+      
+      {foreach from=$code_list item=code_line name=code_loop}
+        <tr class = "{if $smarty.foreach.code_loop.index is odd}row1{else}row2{/if}">
+          <td>
+            <input type = "radio" name = "ec_entry_sel" value = "{$code_line.id}" id = "selection-{$code_line.id}"
+             onclick = "ec_mark_line({$code_line.id});"
+            >
+            <label for = "selection-{$code_line.id}">{$code_line.id}</label>
+            <a id = "ec_url_id_{$code_line.id}" style = "display:none;" href = "{$code_line.code_URL}"></a>
+          </td>
+          <td>
+            <label for = "selection-{$code_line.id}" id = "ec_table_code_{$code_line.id}"
+               {if $comment_tooltip} title = "{$code_line.Comment}" {/if}
+            >
+              {$code_line.Code}
+              {if !$comment_tooltip and $code_line.Comment != ''}<br>{$code_line.Comment}{/if}
+            </label>
+          </td>
+          <td><label for = "selection-{$code_line.id}" id = "ec_table_usr_{$code_line.id}">{$code_line.Username}</label></td>
+          <td><label for = "selection-{$code_line.id}">{$code_line.Action}</label></td>
+          <td><label for = "selection-{$code_line.id}">{$code_line.Arg1}</label></td>
+          <td>
+            {if $code_line.log_OK}
+              <a href = "javascript:void(0);" onclick = "ec_check_ds({$code_line.id});">
+                <img src = "{$EVNTCATS_URLS.ROOT}icon/disable.png" class = "button"
+                 alt = "{'Outdate entry ttip'|@translate}" title = "{'Outdate entry ttip'|@translate}">
               </a>
-            {else}
-              <a href = "javascript:void(0);" title = "{'Force display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, true);">
-                <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/nforced.png"
-                 alt = "{'Force display ttip'|@translate}" title = "{'Force display ttip'|@translate}"/>
-              </a>
-              <a href = "javascript:void(0);" title = "{'Duplicate entry ttip'|@translate}" onclick = "ec_duplicate_entry({$code_line.id});">
-                <img src = "{$EVNTCATS_URLS.ROOT}icon/duplicate.png" class = "button" style = "border:none"
-                 alt = "{'Duplicate entry ttip'|@translate}" title = "{'Duplicate entry ttip'|@translate}" />
-              </a>
+              {if $code_line.Forced == 'true'}
+                <a href = "javascript:void(0);" title = "{'Unforce display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, false);">
+                  <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/forced.png"
+                   alt = "{'Unforce display ttip'|@translate}" title = "{'Unforce display ttip'|@translate}"
+                  >
+                </a>
+              {else}
+                <a href = "javascript:void(0);" title = "{'Force display ttip'|@translate}" onclick = "ec_toggle_forced({$code_line.id}, true);">
+                  <img class = "button" src = "{$EVNTCATS_URLS.ROOT}icon/nforced.png"
+                   alt = "{'Force display ttip'|@translate}" title = "{'Force display ttip'|@translate}">
+                </a>
+                <a href = "javascript:void(0);" title = "{'Duplicate entry ttip'|@translate}" onclick = "ec_duplicate_entry({$code_line.id});">
+                  <img src = "{$EVNTCATS_URLS.ROOT}icon/duplicate.png" class = "button" style = "border:none"
+                   alt = "{'Duplicate entry ttip'|@translate}" title = "{'Duplicate entry ttip'|@translate}">
+                </a>
+              {/if}
             {/if}
-          {/if}
-        </td>
-      </tr>
-    {/foreach}
-  </table>
+          </td>
+        </tr>
+      {/foreach}
+    </table>
+  </p>
   
   {* <!-- This is not really a table, looks like a unique cell at the end of previous table,
@@ -120,31 +122,31 @@
         <label title = "{'Copy URL ttip'|@translate}">
           {'URL'|@translate}
-          <input type = "text" id = "ec_show_URL" size = "100%" title = "{'Copy URL ttip'|@translate}" readonly = "readonly" />
-        </label><br />
-        <br />
+          <input type = "text" id = "ec_show_URL" size = "100%" title = "{'Copy URL ttip'|@translate}" readonly = "readonly">
+        </label><br>
+        <br>
         <a
-         href = "javascript:void(0);" title = "{'Test URL ttip'|@translate}" alt = "{'Test URL ttip'|@translate}"
+         href = "javascript:void(0);" title = "{'Test URL ttip'|@translate}"
          id = "ec_table_URL" onclick = "return ec_check_tst();" class = "ec_lower_tools"
-        />
-          <img src = "{$EVNTCATS_URLS.ROOT}icon/url2.png" class = "button"/>
+        >
+          <img src = "{$EVNTCATS_URLS.ROOT}icon/url2.png" class = "button" alt = "{'Test URL ttip'|@translate}">
           {'Test'|@translate}
         </a>
         &nbsp;&nbsp;
         <a href = "javascript:void(0);" onclick = "ec_check_dl();" id = "ec_del_link_id" class = "ec_lower_tools"
-         alt = "{'Delete entry ttip'|@translate}" title = "{'Delete entry ttip'|@translate}"
+         title = "{'Delete entry ttip'|@translate}"
         >
-          <img src = "{$EVNTCATS_URLS.ROOT}icon/delete.png" class = "button"/>
+          <img src = "{$EVNTCATS_URLS.ROOT}icon/delete.png" class = "button" alt = "{'Delete entry ttip'|@translate}">
           {'Delete'|@translate}
         </a>
         &nbsp;&nbsp;
         <a href = "javascript:void(0);" onclick = "ec_check_m();" id = "ec_mod_link_id" class = "ec_lower_tools"
-         alt = "{'Modify entry ttip'|@translate}" title = "{'Modify entry ttip'|@translate}"
+         title = "{'Modify entry ttip'|@translate}"
         >
-          <img src = "{$EVNTCATS_URLS.ROOT}icon/modify.png" class = "button"/>
+          <img src = "{$EVNTCATS_URLS.ROOT}icon/modify.png" class = "button" alt = "{'Modify entry ttip'|@translate}">
           {'Modify'|@translate}
         </a>
       </td>
     </tr>
-  </table><br />
+  </table>
 </form>
 
@@ -160,3 +162,5 @@
 </script>
 
-{include file=$FooterIncTPL}
+<p>
+  {include file=$FooterIncTPL}
+</p>
Index: /extensions/event_cats/admin/template/autolog_new.tpl
===================================================================
--- /extensions/event_cats/admin/template/autolog_new.tpl	(revision 10455)
+++ /extensions/event_cats/admin/template/autolog_new.tpl	(revision 10456)
@@ -10,10 +10,10 @@
     {'Help banner'|@translate}&nbsp;
     <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');">
-      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"/>
+      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1">
       {'Show'|@translate}
     </label>
     &nbsp;
     <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');">
-      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"/>
+      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0">
       {'Hide'|@translate}
     </label>
@@ -38,6 +38,6 @@
 {* <!-- Parameters list --> *}
 <form class = "filter" method = "post" name = "ec_new_code" action = "" onsubmit = "return ec_check_submit();">
-  <input type = "hidden" id = "ec_act1_id" name = "ec_act1" />
-  <input type = "hidden" id = "ec_act2_id" name = "ec_entry_sel" />
+  <input type = "hidden" id = "ec_act1_id" name = "ec_act1">
+  <input type = "hidden" id = "ec_act2_id" name = "ec_entry_sel">
   
   {* <!-- Page title. Can be "New entry" or "Entry modification" --> *}
@@ -54,7 +54,7 @@
     </a>
     {if $ec_is_creation}
-      <br /><br />
+      <br><br>
       <input class = "submit" type = "button" name = "ec_submit_gen_full_auto" value = "{'Full auto'|@translate}"
-       id = "ec_submit_gen_full_auto_id" onclick = "ec_gen_full_auto();" style = "margin-top:0;"/>
+       id = "ec_submit_gen_full_auto_id" onclick = "ec_gen_full_auto();" style = "margin-top:0;">
     {/if}
   </div>
@@ -74,5 +74,5 @@
           {* <!-- New code (to create) --> *}
           <label for = "ec_in_up_code_id" onclick = "ec_mark_code('ec_sel_code_new');" {$ec_hidden_when_no_code} >
-            <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_id" value = "new" id = "ec_sel_code_new"/>
+            <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_id" value = "new" id = "ec_sel_code_new">
             {'New code'|@translate}
           </label>
@@ -81,5 +81,5 @@
             <input class = "submit" type = "button" name = "ec_submit_gen_code" value = "{'Auto code button'|@translate}"
              id = "ec_submit_gen_code_id" onclick = "ec_gen_code();" style = "margin:0;"
-            />
+            >
           </label>
           {'Auto code mid'|@translate}
@@ -97,9 +97,9 @@
             {/foreach}
           </select>
-          {'Auto code end'|@translate}<br />
+          {'Auto code end'|@translate}<br>
           <li style = "padding-left: 30px;">
             <input type = "text" name = "ec_in_up_code" maxlength = "32" size = "40"
              id = "ec_in_up_code_id" onblur = "ec_check_code_text(this.value);"
-            />
+            >
             &nbsp;&#151;&nbsp;
             <label for = "ec_in_up_comment_id" style = "margin:0;" title = "{'Optional'|@translate}">
@@ -107,5 +107,5 @@
               <input type = "text" name = "ec_in_up_comment" maxlength = "100" size = "50" id = "ec_in_up_comment_id"
                 onchange = "ec_new_comment_text = this.value;"
-              />
+              >
             </label>
           </li>
@@ -115,5 +115,5 @@
           {* <!-- Known code --> *}
           <label for = "ec_in_up_code_list_id" onclick = "ec_mark_code('ec_sel_code_old');" {$ec_hidden_when_no_code}>
-            <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_list_id" {$ec_hidden_when_no_code} value = "old" id = "ec_sel_code_old" />
+            <input type = "radio" name = "ec_sel_code" for = "ec_in_up_code_list_id" {$ec_hidden_when_no_code} value = "old" id = "ec_sel_code_old">
             {'Existing code'|@translate}
           </label>
@@ -150,5 +150,5 @@
               <input type = "text" name = "ec_in_up_comment" maxlength = "100" size = "50" id = "ec_in_up_comment_id"
                 onchange = "ec_new_comment_text = this.value;"
-              />
+              >
             </label>
         </li>
@@ -162,5 +162,5 @@
     <legend style = "font-weight:bold;">
       {'Identified user'|@translate}
-      <span style = "font-weight:bold; color:red;" id = "ec_in_up_pwd_warn">&nbsp;</span><br />
+      <span style = "font-weight:bold; color:red;" id = "ec_in_up_pwd_warn">&nbsp;</span><br>
     </legend>
     
@@ -169,7 +169,7 @@
           {* <!-- None --> *}
           <label onclick = "return ec_mark_user('ec_sel_user_none');">
-            <input type = "radio" name = "ec_sel_user" value = "none" id = "ec_sel_user_none" />
+            <input type = "radio" name = "ec_sel_user" value = "none" id = "ec_sel_user_none">
             {'No user'|@translate}
-          </label><br />
+          </label><br>
         </li>
       {/if}
@@ -178,5 +178,5 @@
         {* <!-- New user (to create) --> *}
         <label for = "ec_in_up_usr_txt_id" onclick = "return ec_mark_user('ec_sel_user_new');" {$ec_hidden_when_no_user} >
-          <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_txt_id" value = "new" id = "ec_sel_user_new" {$ec_hidden_when_no_user} />
+          <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_txt_id" value = "new" id = "ec_sel_user_new" {$ec_hidden_when_no_user}>
           {'New generic user'|@translate}
         </label>
@@ -185,32 +185,32 @@
           <input class = "submit" type = "button" name = "ec_submit_gen_user" value = "{'Generate username'|@translate}"
            id = "ec_submit_gen_user_id" onclick = "ec_gen_user();"
-          />
+          >
         </label>
         <li style = "padding-left: 30px;">
-          <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New username'|@translate}<br />
+          <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New username'|@translate}<br>
             <input type = "text" name = "login" id = "ec_in_up_usr_txt_id" maxlength = "50"
              size = "20" onblur = "ec_new_user_text = this.value; ec_check_user_text();"
-            />
-          </label>
-          <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New password'|@translate}<br />
+            >
+          </label>
+          <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'New password'|@translate}<br>
             <input type = "text" name = "password" id = "ec_in_up_psd_txt_id" maxlength = "32"
              size = "20" onblur = "ec_new_psd_text = this.value; ec_check_pwd_text();"
-            />
-          </label>
-          <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'Confirm password'|@translate}<br />
-            <input type = "password" id = "ec_confirm_psd_txt_id" maxlength = "32" size = "20"/>
+            >
+          </label>
+          <label class = "ec_block" onclick = "return ec_mark_user('ec_sel_user_new');">{'Confirm password'|@translate}<br>
+            <input type = "password" id = "ec_confirm_psd_txt_id" maxlength = "32" size = "20">
           </label>
           <label class = "ec_block" onclick = "ec_check_grp_text(); return ec_mark_user('ec_sel_user_new');" for = "ec_in_up_grp_txt_id">
             <input type = "checkbox" name = "ec_in_up_newgroup" id = "ec_in_up_newgroup_id"
              onchange = "ec_selected_old_group = (this.checked != '');"
-            />
+            >
             <span onMouseover = "ec_chk_over_grp = true;" onMouseout = "ec_chk_over_grp = false;">
               {'New group'|@translate}
-            </span><br />
+            </span><br>
             <input type = "text" name = "groupname" id = "ec_in_up_grp_txt_id" maxlength = "32"
              size = "20" onblur = "ec_new_grp_text = this.value; if (this.value != '') ec_selected_old_group = true;"
-            />
-          </label>
-        </li><br />
+            >
+          </label>
+        </li><br>
       </li>
       
@@ -218,5 +218,5 @@
         {* <!-- Known user --> *}
         <label for = "ec_in_up_usr_list_id" onclick = "return ec_mark_user('ec_sel_user_old');" {$ec_hidden_when_no_user} >
-          <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_list_id" {$ec_hidden_when_no_user} value = "old" id = "ec_sel_user_old" />
+          <input type = "radio" name = "ec_sel_user" for = "ec_in_up_usr_list_id" {$ec_hidden_when_no_user} value = "old" id = "ec_sel_user_old">
           {'Existing user'|@translate}
         </label>
@@ -225,5 +225,5 @@
             <option label = "{$ec_val}" value = "{$ec_key}" >{$ec_val}</option>
           {/foreach}
-        </select><br />
+        </select><br>
       </li>
     
@@ -246,6 +246,6 @@
        {if !$ec_ap_ok or count($ec_lists.add_pages) == 0} style = "display:none;" {/if}
       >
-        <input type = "radio" name = "ec_input_action" value = "add_p" id = "ec_input_action_add_p" for = "ec_in_up_aps_id" />
-        {'Additional Page'|@translate}<br />
+        <input type = "radio" name = "ec_input_action" value = "add_p" id = "ec_input_action_add_p" for = "ec_in_up_aps_id">
+        {'Additional Page'|@translate}<br>
         <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" >
           {html_options options=$ec_lists.add_pages}
@@ -259,6 +259,6 @@
         <input type = "radio" name = "ec_input_action" value = "cat" id = "ec_input_action_cat" for = "ec_in_up_cats_id"
           onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;"
-        />
-        <span onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;">{'Category'|@translate}</span><br />
+        >
+        <span onMouseover = "ec_chk_nover_cat = false;" onMouseout = "ec_chk_nover_cat = true;">{'Category'|@translate}</span><br>
         <select class = "categoryList" name = "ec_in_up_cat" size = "30" id = "ec_in_up_cats_id" onchange = "ec_selected_cat = this.value;">
           {html_options options=$ec_lists.categories}
@@ -270,15 +270,15 @@
        {if $ec_no_assoc or count($ec_lists.categories) == 0} style = "display:none;" {/if}
       >
-        <input type = "radio" name = "ec_input_action" value = "img" id = "ec_input_action_img" for = "ec_in_up_imgs_id" />
-        {'Image id'|@translate}<br />
+        <input type = "radio" name = "ec_input_action" value = "img" id = "ec_input_action_img" for = "ec_in_up_imgs_id">
+        {'Image id'|@translate}<br>
         <input type = "text" name = "ec_in_up_img" id = "ec_in_up_imgs_id" maxlength = "6"
          size = "10" onblur = "ec_selected_img = this.value; ec_check_img_text();" onfocus = "return ec_mark_action('ec_input_action_img');"
-        /><br />
-        <span id = "ec_in_up_imgs_warn">&nbsp;</span><br />
+        ><br>
+        <span id = "ec_in_up_imgs_warn">&nbsp;</span><br>
       </label>
       
       {* <!-- Index page --> *}
       <label class = "ec_block" onclick = "return ec_mark_action('ec_input_action_home');">
-        <input type = "radio" name = "ec_input_action" value = "home" id = "ec_input_action_home" />
+        <input type = "radio" name = "ec_input_action" value = "home" id = "ec_input_action_home">
         {'Home'|@translate}
       </label>
@@ -287,5 +287,5 @@
       {if !$ec_is_creation}
         <label class = "ec_block" onclick = "return ec_mark_action('ec_input_action_refused');">
-          <input type = "radio" name = "ec_input_action" value = "refused" id = "ec_input_action_refused" />
+          <input type = "radio" name = "ec_input_action" value = "refused" id = "ec_input_action_refused">
           {'Access denied'|@translate}
         </label>
@@ -296,6 +296,6 @@
   
   <p>
-    <input class = "submit" type = "submit" value = "{'Submit'|@translate}"/>
-    <input class = "submit" type = "submit" value = "{'Reset'|@translate}" onclick = "return ec_init();"/>
+    <input class = "submit" type = "submit" value = "{'Submit'|@translate}">
+    <input class = "submit" type = "submit" value = "{'Reset'|@translate}" onclick = "return ec_init();">
   </p>
 </form>
Index: /extensions/event_cats/admin/template/config.tpl
===================================================================
--- /extensions/event_cats/admin/template/config.tpl	(revision 10455)
+++ /extensions/event_cats/admin/template/config.tpl	(revision 10456)
@@ -10,10 +10,10 @@
     {'Help banner'|@translate}&nbsp;
     <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');">
-      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"/>
+      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1">
       {'Show'|@translate}
     </label>
     &nbsp;
     <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');">
-      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"/>
+      <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0">
       {'Hide'|@translate}
     </label>
@@ -50,19 +50,19 @@
               type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id"
               {if $ec_conf.dup_allow == '0'} checked = "checked" {/if}
-            />
+            >
             {'No account'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_dup_conf_group_id">
             <input
               type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id"
               {if $ec_conf.dup_allow == '2'} checked = "checked" {/if}
-            />
+            >
             {'Selection per group'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_dup_conf_all_id">
             <input
               type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id"
               {if $ec_conf.dup_allow == '1'} checked = "checked" {/if}
-            />
+            >
             {'All accounts'|@translate}
           </label>
@@ -78,21 +78,21 @@
               type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id"
               {if $ec_conf.duplic_display == '0'} checked = "checked" {/if}
-            />
+            >
             {'No account'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_dup_disp_but_gen_id">
             <input
               type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id"
               {if $ec_conf.duplic_display == '2'} checked = "checked" {/if}
-            />
+            >
             {'All but generics'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_dup_disp_dup_id">
             <input
               type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id"
               {if $ec_conf.duplic_display == '1'} checked = "checked" {/if}
-            />
+            >
             {'All accounts'|@translate}
-          </label><br />
+          </label><br>
         </td>
       </tr>
@@ -109,17 +109,17 @@
         <td>
           <label for = "ec_unknown_0_id" onclick = "ec_mark_action('ec_unknown_0_id');">
-            <input type = "radio" name = "ec_unknown" value = "0" id = "ec_unknown_0_id" />
+            <input type = "radio" name = "ec_unknown" value = "0" id = "ec_unknown_0_id">
             {'Home'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_unknown_1_id" onclick = "ec_mark_action('ec_unknown_1_id');">
-            <input type = "radio" name = "ec_unknown" value = "1" id = "ec_unknown_1_id" />
+            <input type = "radio" name = "ec_unknown" value = "1" id = "ec_unknown_1_id">
             {'Access denied'|@translate}
-          </label><br />
+          </label><br>
           {* <!-- Additionnal Page, provided the plugin is activated and at least one Add. P. is available --> *}
           <label class = "ec_block" for = "ec_in_up_aps_id" {if !$ec_ap_ok or count($add_pages) == 0} style = "display:none;" {/if}
            onclick = "ec_mark_action('ec_unknown_2_id');"
           >
-            <input type = "radio" name = "ec_unknown" value = "2" id = "ec_unknown_2_id" for = "ec_in_up_aps_id" />
-            {'Additional Page'|@translate}<br />
+            <input type = "radio" name = "ec_unknown" value = "2" id = "ec_unknown_2_id" for = "ec_in_up_aps_id">
+            {'Additional Page'|@translate}<br>
             <select class = "categoryList" name = "ec_in_up_aps" size="30" id = "ec_in_up_aps_id" onchange = "ec_selected_AP = this.value;" >
               {html_options options=$add_pages}
@@ -142,11 +142,11 @@
             <input type = "radio" name = "ec_comments" value = "0" id = "ec_comments_0_id"
               {if $ec_conf.comment_display == '0'} checked = "checked" {/if}
-            />
+            >
             {'As tooltip'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_comments_1_id">
             <input type = "radio" name = "ec_comments" value = "1" id = "ec_comments_1_id"
               {if $ec_conf.comment_display == '1'} checked = "checked" {/if}
-            />
+            >
             {'In a row'|@translate}
           </label>
@@ -160,11 +160,11 @@
             <input type = "radio" name = "ec_help_banner_onoff2" value = "1" id = "ec_2help_banner_1_id"
               onclick = "ec_mark_help('ec_help_banner_1');"
-            />
+            >
             {'Banner on'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_2help_banner_0_id">
             <input type = "radio" name = "ec_help_banner_onoff2" value = "0" id = "ec_2help_banner_0_id"
               onclick = "ec_mark_help('ec_help_banner_0');"
-            />
+            >
             {'Banner off'|@translate}
           </label>
@@ -177,11 +177,11 @@
             <input type = "radio" name = "ec_connection" value = "1" id = "ec_connection_1_id"
               {if $ec_conf.display_connection == '1'} checked = "checked" {/if}
-            />
+            >
             {'Yes'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_connection_0_id">
             <input type = "radio" name = "ec_connection" value = "0" id = "ec_connection_0_id"
               {if $ec_conf.display_connection == '0'} checked = "checked" {/if}
-            />
+            >
             {'No'|@translate}
           </label>
@@ -191,5 +191,5 @@
   
   <div style = "text-align:center;">
-    <input class = "submit" type = "submit" name = "ec_conf_submit" value = "{'Submit'|@translate}" />
+    <input class = "submit" type = "submit" name = "ec_conf_submit" value = "{'Submit'|@translate}">
   </div>
   
Index: /extensions/event_cats/admin/template/duplication.tpl
===================================================================
--- /extensions/event_cats/admin/template/duplication.tpl	(revision 10455)
+++ /extensions/event_cats/admin/template/duplication.tpl	(revision 10456)
@@ -9,10 +9,10 @@
   {'Help banner'|@translate}&nbsp;
   <label for = "ec_help_banner2_1" onclick = "ec_mark_help('ec_help_banner_1');">
-    <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1"/>
+    <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_1">
     {'Show'|@translate}
   </label>
   &nbsp;
   <label for = "ec_help_banner2_0" onclick = "ec_mark_help('ec_help_banner_0');">
-    <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0"/>
+    <input type = "radio" name = "ec_help_banner2_onoff" id = "ec_help_banner2_0">
     {'Hide'|@translate}
   </label>
@@ -41,19 +41,19 @@
               type = "radio" name = "ec_dup_conf" value = "0" id = "ec_dup_conf_none_id"
               {if $ec_conf.dup_allow == '0'} checked = "checked" {/if}
-            />
+            >
             {'No account'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_dup_conf_group_id">
             <input
               type = "radio" name = "ec_dup_conf" value = "2" id = "ec_dup_conf_group_id"
               {if $ec_conf.dup_allow == '2'} checked = "checked" {/if}
-            />
+            >
             {'Selection per group'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_dup_conf_all_id">
             <input
               type = "radio" name = "ec_dup_conf" value = "1" id = "ec_dup_conf_all_id"
               {if $ec_conf.dup_allow == '1'} checked = "checked" {/if}
-            />
+            >
             {'All accounts'|@translate}
           </label>
@@ -68,25 +68,25 @@
               type = "radio" name = "ec_dup_disp" value = "0" id = "ec_dup_disp_normal_id"
               {if $ec_conf.duplic_display == '0'} checked = "checked" {/if}
-            />
+            >
             {'No account'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_dup_disp_but_gen_id">
             <input
               type = "radio" name = "ec_dup_disp" value = "2" id = "ec_dup_disp_but_gen_id"
               {if $ec_conf.duplic_display == '2'} checked = "checked" {/if}
-            />
+            >
             {'All but generics'|@translate}
-          </label><br />
+          </label><br>
           <label for = "ec_dup_disp_dup_id">
             <input
               type = "radio" name = "ec_dup_disp" value = "1" id = "ec_dup_disp_dup_id"
               {if $ec_conf.duplic_display == '1'} checked = "checked" {/if}
-            />
+            >
             {'All accounts'|@translate}
-          </label><br />
+          </label><br>
         </td>
       </tr>
     </table>
-    <input class = "submit" type = "submit" name = "ec_duplic_conf_submit" value = "{'Save dup. config btn'|@translate}" />
+    <input class = "submit" type = "submit" name = "ec_duplic_conf_submit" value = "{'Save dup. config btn'|@translate}">
   </fieldset>
 </form>
@@ -101,8 +101,8 @@
     <ul>
       {foreach from=$groups_granted_ids item=id}
-      <li><label><input type = "checkbox" name = "deny_groups[]" value = "{$id}" /> {$all_groups[$id]}</label></li>
+      <li><label><input type = "checkbox" name = "deny_groups[]" value = "{$id}"> {$all_groups[$id]}</label></li>
       {/foreach}
     </ul>
-    <input class = "submit" type = "submit" name = "deny_groups_submit" value = "{'Deny to groups btn'|@translate}" />
+    <input class = "submit" type = "submit" name = "deny_groups_submit" value = "{'Deny to groups btn'|@translate}">
   </fieldset>
   
@@ -114,5 +114,5 @@
       {/foreach}
     </ul>
-    <input class = "submit" type = "submit" name = "grant_groups_submit" value = "{'Grant to groups btn'|@translate}" />
+    <input class = "submit" type = "submit" name = "grant_groups_submit" value = "{'Grant to groups btn'|@translate}">
   </fieldset>
   
@@ -123,12 +123,12 @@
     <ul>
       {if $ec_gen_granted}
-      <li><label><input type = "checkbox" name = "deny_generic" /> {'user_status_generic'|@translate}</label></li>
-      <br />
+      <li><label><input type = "checkbox" name = "deny_generic"> {'user_status_generic'|@translate}</label></li>
+      <br>
       {/if}
       {foreach from=$types_granted_ids item=id}
-        <li><label><input type = "checkbox" name = "deny_types[]" value = "{$id}" /> {$all_types[$id]}</label></li>
+        <li><label><input type = "checkbox" name = "deny_types[]" value = "{$id}"> {$all_types[$id]}</label></li>
       {/foreach}
     </ul>
-    <input class = "submit" type = "submit" name = "deny_types_submit" value = "{'Deny to types btn'|@translate}" />
+    <input class = "submit" type = "submit" name = "deny_types_submit" value = "{'Deny to types btn'|@translate}">
   </fieldset>
   
@@ -137,12 +137,12 @@
     <ul>
       {if !$ec_gen_granted}
-      <li><label><input type = "checkbox" name = "grant_generic" /> {'user_status_generic'|@translate}</label></li>
-      <br />
+      <li><label><input type = "checkbox" name = "grant_generic"> {'user_status_generic'|@translate}</label></li>
+      <br>
       {/if}
       {foreach from=$types_denied_ids item=id}
-        <li><label><input type = "checkbox" name = "grant_types[]" value = "{$id}" /> {$all_types[$id]}</label></li>
+        <li><label><input type = "checkbox" name = "grant_types[]" value = "{$id}"> {$all_types[$id]}</label></li>
       {/foreach}
     </ul>
-    <input class = "submit" type = "submit" name = "grant_types_submit" value = "{'Grant to types btn'|@translate}" />
+    <input class = "submit" type = "submit" name = "grant_types_submit" value = "{'Grant to types btn'|@translate}">
   </fieldset>
   
@@ -153,8 +153,8 @@
     <ul>
       {foreach from=$users_granted_direct_ids item=id}
-      <li><label><input type = "checkbox" name = "deny_users[]" value = "{$id}" /> {$all_users[$id]}</label></li>
+      <li><label><input type = "checkbox" name = "deny_users[]" value = "{$id}"> {$all_users[$id]}</label></li>
       {/foreach}
     </ul>
-    <input class = "submit" type = "submit" name = "deny_users_submit" value = "{'Deny to users btn'|@translate}" />
+    <input class = "submit" type = "submit" name = "deny_users_submit" value = "{'Deny to users btn'|@translate}">
   </fieldset>
   
@@ -177,5 +177,5 @@
       {/foreach}
     </ul>
-    <input class = "submit" type = "submit" name = "grant_users_submit" value = "{'Grant to users btn'|@translate}" />
+    <input class = "submit" type = "submit" name = "grant_users_submit" value = "{'Grant to users btn'|@translate}">
   </fieldset>
   
Index: /extensions/event_cats/admin/template/footer.inc.tpl
===================================================================
--- /extensions/event_cats/admin/template/footer.inc.tpl	(revision 10455)
+++ /extensions/event_cats/admin/template/footer.inc.tpl	(revision 10456)
@@ -11,7 +11,7 @@
   //--></script>
   <div id = "ec_help_banner0">
-    <hr width = 100% size = 1 />
+    <hr style = "width:100%; height: 1">
     <div id = "ec_help_banner1" style = "text-align:left; display:block;"></div>
-    <hr width = 100% size = 1 />
+    <hr style = "width:100%; height: 1">
   </div>
 {else}
Index: /extensions/event_cats/admin/template/header.inc.tpl
===================================================================
--- /extensions/event_cats/admin/template/header.inc.tpl	(revision 10455)
+++ /extensions/event_cats/admin/template/header.inc.tpl	(revision 10456)
@@ -29,5 +29,5 @@
 {if !isset($ec_help_banner_in_foot)}
   <span id = "ec_help_banner0">
-    <hr width = 100% size = 1 />
+    <hr style = "width:100%; height: 1">
     <div style = "text-align:right; font-style:italic;">
       {'Help banner'|@translate}&nbsp;
@@ -43,5 +43,5 @@
     </div>
     <span id = "ec_help_banner1" style = "text-align:left; display:block;"></span>
-    <hr width = 100% size = 1 />
+    <hr style = "width:100%; height: 1">
   </span>
 {/if}
