Add the export button and div.

This commit is contained in:
Colin Kuskie 2008-03-23 21:35:52 +00:00
parent 2f351c7101
commit 825f6e2503
2 changed files with 11 additions and 3 deletions

View file

@ -402,14 +402,16 @@ sub www_manage {
##YUI JSON handler
$style->setScript($url->extras('yui/build/json/json-min.js'), {type => 'text/javascript'});
##Default CSS
$style->setRawHeadTags('<style type="text/css"> #paging a { color: #0000de; } #search form { display: inline; } </style>');
$style->setRawHeadTags('<style type="text/css"> #paging a { color: #0000de; } #search, #export form { display: inline; } </style>');
my $i18n=WebGUI::International->new($session, 'Tax');
my $output =<<EODIV;
my $output =sprintf <<EODIV, $i18n->get(364, 'WebGUI'), $i18n->get('export');
<div class=" yui-skin-sam">
<div id="search"><form id="keywordSearchForm"><input type="text" name="keywords" id="keywordsField" /><input type="submit" value="Search" /></form></div>
<div id="search"><form id="keywordSearchForm"><input type="text" name="keywords" id="keywordsField" /><input type="submit" value="%s" /></form></div>
<div id="paging"></div>
<div id="dt"></div>
<div id="import"></div>
<div id="export"><form id="exportForm"><input type="submit" value="%s" /></form></div>
</div>
<script type="text/javascript">

View file

@ -33,6 +33,12 @@ our $I18N = {
context => q|The amount that a person is charged to buy something, a percentage of the price.|,
},
'export' => {
message => q|Export|,
lastUpdated => 1206307669,
context => q|To ship a copy of the tax data out of the server.|,
},
};
1;