summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/ic.pl32
-rwxr-xr-xbin/io.pl12
-rwxr-xr-xbin/ir.pl2
-rwxr-xr-xbin/is.pl2
-rwxr-xr-xbin/jc.pl14
5 files changed, 31 insertions, 31 deletions
diff --git a/bin/ic.pl b/bin/ic.pl
index 02befd5a..255696e5 100755
--- a/bin/ic.pl
+++ b/bin/ic.pl
@@ -1133,10 +1133,10 @@ sub search {
<tr><td colspan=4><hr size=3 noshade></td></tr>
</table>
-<input type=hidden name=nextsub value=generate_report>
+<input type="hidden" name="nextsub" value="generate_report">
<br>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">|;
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>|;
$form->hide_form(qw(path login sessionid));
@@ -1525,19 +1525,19 @@ sub generate_report {
$i = 1;
if ($form->{searchitems} eq 'part') {
- $button{'Goods & Services--Add Part'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Part').qq|"> |;
+ $button{'Goods & Services--Add Part'}{code} = qq|<button class="submit" type="submit" name="action" value="add_part">|.$locale->text('Add Part').qq|</button> |;
$button{'Goods & Services--Add Part'}{order} = $i++;
}
if ($form->{searchitems} eq 'service') {
- $button{'Goods & Services--Add Service'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Service').qq|"> |;
+ $button{'Goods & Services--Add Service'}{code} = qq|<button class="submit" type="submit" name="action" value="add_service">|.$locale->text('Add Service').qq|</button> |;
$button{'Goods & Services--Add Service'}{order} = $i++;
}
if ($form->{searchitems} eq 'assembly') {
- $button{'Goods & Services--Add Assembly'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Assembly').qq|"> |;
+ $button{'Goods & Services--Add Assembly'}{code} = qq|<button class="submit" type="submit" name="action" value="add_assembly">|.$locale->text('Add Assembly').qq|</button> |;
$button{'Goods & Services--Add Assembly'}{order} = $i++;
}
if ($form->{searchitems} eq 'labor') {
- $button{'Goods & Services--Add Labor/Overhead'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Labor/Overhead').qq|"> |;
+ $button{'Goods & Services--Add Labor/Overhead'}{code} = qq|<button class="submit" type="submit" name="action" value="add_labor_overhead">|.$locale->text('Add Labor/Overhead').qq|</button> |;
$button{'Goods & Services--Add Labor/Overhead'}{order} = $i++;
}
@@ -1956,11 +1956,11 @@ sub requirements {
</tr>
</table>
-<input type=hidden name=nextsub value=requirements_report>
-<input type=hidden name=sort value=partnumber>
+<input type="hidden" name="nextsub" value="requirements_report">
+<input type="hidden" name="sort" value="partnumber">
<br>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">|;
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>|;
$form->hide_form(qw(path login sessionid));
@@ -2501,7 +2501,7 @@ sub assembly_row {
} else {
- $column_data{partnumber} = qq|<td><input class=submit type=submit name=action value="$spc$form->{"partnumber_$i"}"></td>
+ $column_data{partnumber} = qq|<td><button class="submit" type="submit" name="action" value="$spc$form->{"partnumber_$i"}">$spc$form->{"partnumber_$i"}</button></td>
<input type=hidden name="partnumber_$i" value="$form->{"partnumber_$i"}">|;
$column_data{runningnumber} = qq|<td><input name="runningnumber_$i" size=3 value="$i"></td>|;
@@ -2850,7 +2850,7 @@ sub select_name {
<input type=hidden name=nextsub value=name_selected>
<input type=hidden name=vc value=$table>
<br>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
</body>
@@ -3084,10 +3084,10 @@ sub stock_assembly {
$form->hide_form(qw(path login sessionid));
print qq|
-<input type=hidden name=nextsub value=list_assemblies>
+<input type="hidden" name="nextsub" value="list_assemblies">
<br>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
|;
@@ -3211,11 +3211,11 @@ sub list_assemblies {
$form->hide_form(qw(checkinventory path login sessionid callback));
print qq|
-<input type=hidden name=rowcount value="$i">
-<input type=hidden name=nextsub value=restock_assemblies>
+<input type="hidden" name="rowcount" value="$i">
+<input type="hidden" name="nextsub" value="restock_assemblies">
<br>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
diff --git a/bin/io.pl b/bin/io.pl
index fb657484..263058a8 100755
--- a/bin/io.pl
+++ b/bin/io.pl
@@ -442,10 +442,10 @@ sub select_item {
$form->hide_form;
print qq|
-<input type=hidden name=nextsub value=item_selected>
+<input type="hidden" name="nextsub" value="item_selected">
<br>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
</body>
@@ -601,7 +601,7 @@ sub new_item {
print qq|
<p>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
|;
}
@@ -1039,10 +1039,10 @@ sub e_mail {
</tr>
</table>
-<input type=hidden name=nextsub value=send_email>
+<input type="hidden" name="nextsub" value="send_email">
<br>
-<input name=action class=submit type=submit value="|.$locale->text('Continue').qq|">
+<button name="action" class="submit" type="submit" value="continue">|.$locale->text('Continue').qq|</button>
</form>
</body>
@@ -1690,7 +1690,7 @@ sub ship_to {
<hr size=3 noshade>
<br>
-<input class=submit type=submit name=action value="|.$locale->text('Continue').qq|">
+<button class="submit" type="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
</body>
diff --git a/bin/ir.pl b/bin/ir.pl
index a43cd2f5..f3f69555 100755
--- a/bin/ir.pl
+++ b/bin/ir.pl
@@ -910,7 +910,7 @@ sub delete {
<h4>|.$locale->text('Are you sure you want to delete Invoice Number').qq| $form->{invnumber}</h4>
<p>
-<input name=action class=submit type=submit value="|.$locale->text('Yes').qq|">
+<button name="action" class="submit" type="submit" value="yes">|.$locale->text('Yes').qq|</button>
</form>
|;
diff --git a/bin/is.pl b/bin/is.pl
index b1e4664c..321f1f4a 100755
--- a/bin/is.pl
+++ b/bin/is.pl
@@ -951,7 +951,7 @@ sub delete {
</h4>
<p>
-<input name=action class=submit type=submit value="|.$locale->text('Yes').qq|">
+<button name="action" class="submit" type="submit" value="yes">|.$locale->text('Yes').qq|</button>
</form>
|;
diff --git a/bin/jc.pl b/bin/jc.pl
index d80c5557..175a5df3 100755
--- a/bin/jc.pl
+++ b/bin/jc.pl
@@ -294,7 +294,7 @@ sub search {
print qq|
<br>
-<input type=submit class=submit name=action value="|.$locale->text('Continue').qq|">
+<button type="submit" class="submit" name="action" value="continue">|.$locale->text('Continue').qq|</button>
</form>
|;
@@ -1089,7 +1089,7 @@ sub resave {
<h4>$msg</h4>
-<input name=action class=submit type=submit value="|.$locale->text('Continue').qq|">
+<button name="action" class="submit" type="submit" value="continue">|.$locale->text('Continue').qq|</button>
</form>
</body>
@@ -1150,7 +1150,7 @@ sub delete_timecard {
</h4>
<p>
-<input name=action class=submit type=submit value="|.$locale->text('Yes').qq|">
+<button name="action" class="submit" type="submit" value="yes">|.$locale->text('Yes').qq|</button>
</form>
|;
@@ -1486,19 +1486,19 @@ sub list_timecard {
if ($form->{project} eq 'job') {
if ($myconfig{acs} !~ /Production--Production/) {
$i = 1;
- $button{'Production--Add Time Card'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Time Card').qq|"> |;
+ $button{'Production--Add Time Card'}{code} = qq|<button class="submit" type="submit" name="action" value="add_time_card">|.$locale->text('Add Time Card').qq|</button> |;
$button{'Production--Add Time Card'}{order} = $i++;
}
} elsif ($form->{project} eq 'project') {
if ($myconfig{acs} !~ /Projects--Projects/) {
$i = 1;
- $button{'Projects--Add Time Card'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Time Card').qq|"> |;
+ $button{'Projects--Add Time Card'}{code} = qq|<button class="submit" type="submit" name="action" value="add_time_card">|.$locale->text('Add Time Card').qq|</button> |;
$button{'Projects--Add Time Card'}{order} = $i++;
}
} else {
if ($myconfig{acs} !~ /Time Cards--Time Cards/) {
$i = 1;
- $button{'Time Cards--Add Time Card'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Time Card').qq|"> |;
+ $button{'Time Cards--Add Time Card'}{code} = qq|<button class="submit" type="submit" name="action" value="add_time_card">|.$locale->text('Add Time Card').qq|</button> |;
$button{'Time Cards--Add Time Card'}{order} = $i++;
}
}
@@ -1677,7 +1677,7 @@ sub list_storescard {
if ($form->{project} eq 'job') {
if ($myconfig{acs} !~ /Production--Production/) {
$i = 1;
- $button{'Production--Add Stores Card'}{code} = qq|<input class=submit type=submit name=action value="|.$locale->text('Add Stores Card').qq|"> |;
+ $button{'Production--Add Stores Card'}{code} = qq|<button class="submit" type="submit" name="action" value="add_stores_card">|.$locale->text('Add Stores Card').qq|</button> |;
$button{'Production--Add Stores Card'}{order} = $i++;
}
}