Focusposition nach Erneuern wählbar gemacht
[kivitendo-erp.git] / templates / webpages / am / config.html
index db766e4..27a91ad 100644 (file)
       <th align="right">[% 'E-mail' | $T8 %]</th>
       <td><input name="email" size="30" value="[% HTML.escape(myconfig_email) %]"></td>
      </tr>
-     
+
      <tr valign="top">
       <th align="right">[% 'Signature' | $T8 %]</th>
       <td><textarea id="signature" name="signature" class="toggletextarea" rows="5" cols="50">[% HTML.escape(myconfig_signature) %] </textarea>
-         <span id="full_signature" class="toggletextarea"> <textarea readonly name="full_signature" rows="10" cols="50" >[% HTML.escape(full_signature) %]</textarea> </span> 
+         <span id="full_signature" class="toggletextarea"> <textarea readonly name="full_signature" rows="10" cols="50" >[% HTML.escape(full_signature) %]</textarea> </span>
          <a href="#" class="togglelink">[% 'Check full signature' | $T8 %]</a>
          <a href="#" id="edit_signature" class="togglelink">[% 'Edit user signature' | $T8 %]</a>
           </td> </tr>
         </td>
       </tr>
 
+      <tr>
+        <th align="right">[% 'Focus position after update' | $T8 %]</th>
+        <td>
+          [% L.select_tag(
+            'focus_position',
+            [
+              ['new_description', LxERP.t8('New row, description')],
+              ['new_partnumber', LxERP.t8('New row, partnumber')],
+              ['last_description', LxERP.t8('Last row, description')],
+              ['last_partnumber', LxERP.t8('Last row, partnumber')],
+            ],
+            default => myconfig_focus_position)
+          %]
+        </td>
+      </tr>
+
     </table>
    </div>
 
 
     <table>
      <tr>
-      <th align="right">[% 'Show your TODO list after loggin in' | $T8 %]</th>
+      <th align="right">[% 'Show your TODO list after logging in' | $T8 %]</th>
       <td colspan="2">
        <input type="radio" name="todo_cfg.show_after_login" id="todo_cfg_show_after_login_1" value="1"[% IF todo_cfg.show_after_login %] checked[% END %]>
        <label for="todo_cfg_show_after_login_1">[% 'Yes' | $T8 %]</label>
       </td>
       <td>
        <input type="checkbox" name="todo_cfg.show_follow_ups_login" id="todo_cfg_show_follow_ups_login" value="1"[% IF todo_cfg.show_follow_ups_login %] checked[% END %]>
-       <label for="todo_cfg_show_follow_ups_login">[% '...after loggin in' | $T8 %]</label>
+       <label for="todo_cfg_show_follow_ups_login">[% '...after logging in' | $T8 %]</label>
       </td>
      </tr>
 
       </td>
       <td>
        <input type="checkbox" name="todo_cfg.show_overdue_sales_quotations_login" id="todo_cfg_show_overdue_sales_quotations_login" value="1"[% IF todo_cfg.show_overdue_sales_quotations_login %] checked[% END %]>
-       <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after loggin in' | $T8 %]</label>
+       <label for="todo_cfg_show_overdue_sales_quotations_login">[% '...after logging in' | $T8 %]</label>
       </td>
      </tr>
      [%- END %]
  </form>
 
  <script type="text/javascript">
-  <!-- 
+  <!--
 $(function() {
   $("#full_signature").toggle();
   $("#edit_signature").toggle();