Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7972cef8

Von Moritz Bunkus vor fast 12 Jahren hinzugefügt

  • ID 7972cef8c2b55f120a7386c81facfa44e05ccd41
  • Vorgänger 56ed2f99
  • Nachfolger 4b97efc1

"Erfassen" als normale Links anstelle von Buttons darstellen

"Erfassen" sollte als GET-Request erfolgen und nicht als POST.

Unterschiede anzeigen:

templates/webpages/am/buchungsgruppe_list.html
51 51
</table>
52 52

  
53 53
<br>
54
<form method=post action=am.pl>
55

  
56
<input name=callback type=hidden value="[% callback | html %]">
57

  
58
<input type=hidden name=type value=buchungsgruppe>
59

  
60
<input class=submit type=submit name=action value="[% 'Add' | $T8 %]">
61

  
62
  </form>
63 54

  
55
<a href="am.pl?action=add&type=buchungsgruppe&callback=[% HTML.url(callback) %]">[%- LxERP.t8('Add') %]</a>
templates/webpages/am/lead_list.html
22 22
</table>
23 23

  
24 24
<br>
25
<form method=post action=am.pl>
26

  
27
<input name=callback type=hidden value="[% callback | html %]">
28
<input type=hidden name=type value=lead>
29
<input class=submit type=submit name=action value="[% 'Add' | $T8 %]">
30

  
31
  </form>
32 25

  
26
  <a href="am.pl?action=add&type=lead&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
templates/webpages/am/list_price_factors.html
33 33
 <hr height="3">
34 34

  
35 35
 <p>
36
  <form method="post" action="am.pl">
37
   <input type="hidden" name="type" value="price_factor">
38
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
39

  
40
   <input type="submit" class="submit" name="action" value="[% 'Add' | $T8 %]">
41
  </form>
36
  <a href="am.pl?action=add&type=price_factor&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
42 37
 </p>
43 38

  
44 39
 [% L.sortable_element('#price_factor_list tbody', url => 'controller.pl?action=PriceFactor/reorder', with => 'price_factor_id') %]
45

  
templates/webpages/am/list_tax.html
24 24
 </table>
25 25

  
26 26
 <p>
27
  <form method="post" action="am.pl">
28

  
29
   <input name="callback" type="hidden" value="[% HTML.escape(callback) %]">
30
   <input type="hidden" name="type" value="tax">
31
   <input class="submit" type="submit" name="action" value="[% 'Add' | $T8 %]">
32
  </form>
27
  <a href="am.pl?action=add&type=tax&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
33 28
 </p>
34

  
35

  
templates/webpages/am/list_warehouses.html
31 31
 <hr height="3">
32 32

  
33 33
 <p>
34
  <form method="post" action="am.pl">
35
   <input type="hidden" name="type" value="warehouse">
36

  
37
   <input type="submit" class="submit" name="action" value="[% 'Add' | $T8 %]">
38
  </form>
34
  <a href="am.pl?action=add&type=warehouse&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
39 35
 </p>
40 36

  
41 37
 [% L.sortable_element('#warehouse_list tbody', url => 'controller.pl?action=Warehouse/reorder', with => 'warehouse_id') %]
42

  
templates/webpages/amcvar/list_cvar_configs.html
88 88
  <hr height="3">
89 89

  
90 90
  <p>
91
   <input type="submit" class="submit" name="action_add_cvar_config" value="[% 'Add' | $T8 %]">
91
   <a href="amcvar.pl?action=add_cvar_config&callback=[% HTML.url(callback) %]">[%- 'Add' | $T8 %]</a>
92 92
  </p>
93 93
 </form>
94 94

  
95 95
 [% L.sortable_element('#cvarcfg_list tbody', url => 'controller.pl?action=CustomVariableConfig/reorder', with => 'cvarcfg_id') %]
96

  
templates/webpages/bankaccounts/bank_account_list_bottom.html
1 1
[% USE T8 %][% USE HTML %]
2
 <form action="dispatcher.pl?M=bankaccounts" method="post">
3
  <p>
4
   [%- 'New bank account' | $T8 %]<br>
5
   <input type="submit" name="A_bank_account_add" value="[%- 'Add' | $T8 %]">
6
  </p>
7

  
8
  <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
9
 </form>
10

  
2
 <p>
3
  <a href="dispatcher.pl?M=bankaccounts&A=bank_account_add&callback=[% HTML.url(callback) %]">[%- 'New bank account' | $T8 %]</a>
4
 </p>
templates/webpages/pe/search.html
1 1
[%- USE T8 %]
2 2
[%- USE LxERP %]
3
[%- USE HTML %]
3 4

  
4 5
<form method=post action="[% script %]">
5 6

  
......
40 41

  
41 42
<br>
42 43
<input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
44
|
45
<a href="pe.pl?action=add&type=[% HTML.url(type) %]">[%- LxERP.t8('Add') %]</a>
43 46
</form>
44

  
45

  

Auch abrufbar als: Unified diff