diff options
author | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-21 17:51:45 +0000 |
---|---|---|
committer | tetragon <tetragon@4979c152-3d1c-0410-bac9-87ea11338e46> | 2006-10-21 17:51:45 +0000 |
commit | aea558b1b941c8a7061f884211a6e5031e89b53c (patch) | |
tree | 56a8a764e7b24835e9df962c6d9a81f77edaa259 | |
parent | 212d423210bf58328663f00e4e856ad0b4fbc3c0 (diff) |
Fifth batch of files prepared for RFTL removal
git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@258 4979c152-3d1c-0410-bac9-87ea11338e46
-rwxr-xr-x | LedgerSMB/Form.pm | 4 | ||||
-rwxr-xr-x | bin/rc.pl | 18 | ||||
-rwxr-xr-x | bin/rp.pl | 12 |
3 files changed, 17 insertions, 17 deletions
diff --git a/LedgerSMB/Form.pm b/LedgerSMB/Form.pm index a917943e..ee1c42f9 100755 --- a/LedgerSMB/Form.pm +++ b/LedgerSMB/Form.pm @@ -1313,8 +1313,8 @@ sub add_date { sub print_button { my ($self, $button, $name) = @_; - print qq|<input class="submit" type="submit" name="action" value="$button->{$name}{value}" accesskey="$button->{$name}{key}" title="$button->{$name}{value} [Alt-$button->{$name}{key}]" />\n|; -} + print qq|<button class="submit" type="submit" name="action" value="$name" accesskey="$button->{$name}{key}" title="$button->{$name}{value} [Alt-$button->{$name}{key}]">$button->{$name}{value}</button>\n|; +} # Database routines used throughout @@ -167,7 +167,7 @@ sub reconciliation { $form->hide_form(qw(path login sessionid)); print qq| -<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> |; @@ -315,8 +315,8 @@ function check_errors(){ <input type=button name=calculate class=submit onClick="custom_calc_total()" value='Calculate'> |; - print qq|</table><input type=submit name=action value="|. - $locale->text("close_till").qq|">|; + print qq|</table><button type="submit" name="action" value="close_till">|. + $locale->text("close_till").qq|</button>|; print qq| </form> @@ -665,14 +665,14 @@ sub display_form { |; if ($form->{'pos'}){ - $close_next = qq|<input type=submit class=submit name=action - value="|.$locale->text('close_next').qq|">|; + $close_next = qq|<button type="submit" class="submit" name="action" + value="close_next">|.$locale->text('close_next').qq|</button>|; $done = ""; } else { $close_next = ""; - $done = qq|<input type=submit class=submit name=action - value="|.$locale->text('Done').qq|">|; + $done = qq|<button type="submit" class="submit" name="action" + value="done">|.$locale->text('Done').qq|</button>|; } if ($form->{'pos'}){ $difference = qq| @@ -743,8 +743,8 @@ sub display_form { print qq| <br> -<input type=submit class=submit name=action value="|.$locale->text('Update').qq|"> -<input type=submit class=submit name=action value="|.$locale->text('Select all').qq|"> +<button type="submit" class="submit" name="action" value="update">|.$locale->text('Update').qq|</button> +<button type="submit" class="submit" name="action" value="select_all">|.$locale->text('Select all').qq|</button> $done $close_next |; } @@ -769,11 +769,11 @@ $gifi </table> <br> -<input type=hidden name=path value=$form->{path}> -<input type=hidden name=login value=$form->{login}> -<input type=hidden name=sessionid value=$form->{sessionid}> +<input type="hidden" name="path" value="$form->{path}"> +<input type="hidden" name="login" value="$form->{login}"> +<input type="hidden" name="sessionid" value="$form->{sessionid}"> -<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> |; @@ -1876,10 +1876,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> |