summaryrefslogtreecommitdiff
path: root/bin/jc.pl
diff options
context:
space:
mode:
authortetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-21 16:53:27 +0000
committertetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46>2006-10-21 16:53:27 +0000
commit344729ef6bc9da615e2dc11ee378e8da03b0319b (patch)
tree4d98cf041399b59c4fe298bbac105a34bcf53c81 /bin/jc.pl
parent91907e5b1e2fb857e86a7744b29d3f6d7b17f05a (diff)
Third batch of files prepared for RFTL removal
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@254 4979c152-3d1c-0410-bac9-87ea11338e46
Diffstat (limited to 'bin/jc.pl')
-rwxr-xr-xbin/jc.pl14
1 files changed, 7 insertions, 7 deletions
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++;
}
}