Imporoved isTrue function to get rid of PHP warnings.
[timetracker.git] / WEB-INF / templates / user_edit.tpl
index b1026f2..3294754 100644 (file)
@@ -62,8 +62,10 @@ function handleClientControl() {
       var isClient = roles[i][1];
       if (isClient == 1)
         clientControl.style.visibility = "visible";
-      else
+      else {
+        clientControl.value = '';
         clientControl.style.visibility = "hidden";
+      }
       break;
     }
   }
@@ -117,8 +119,8 @@ function handleClientControl() {
     </tr>
 {if $show_quota}
     <tr>
-      <td align="right">{$i18n.form.quota.quota}&nbsp;(%):</td>
-      <td>{$forms.userForm.quota_percent.control}</td>
+      <td align="right">{$i18n.label.quota}&nbsp;(%):</td>
+      <td>{$forms.userForm.quota_percent.control} <a href="https://www.anuko.com/lp/tt_27.htm" target="_blank">{$i18n.label.what_is_it}</a></td>
     </tr>
 {/if}
 {if $show_projects}