Add langs and cleanup html for export page

This commit is contained in:
Miles Lott 2004-01-01 23:17:19 +00:00
parent e7a1d41f95
commit 45c2ab1cba
3 changed files with 37 additions and 34 deletions

View File

@ -278,6 +278,8 @@
$this->template->set_var('lang_cancel',lang('Cancel')); $this->template->set_var('lang_cancel',lang('Cancel'));
$this->template->set_var('lang_cat',lang('Select Category')); $this->template->set_var('lang_cat',lang('Select Category'));
$this->template->set_var('lang_export_instructions',lang('Download export file (Uncheck to debug output in browser)'));
$this->template->set_var('lang_select',lang('Select the type of conversion:'));
$this->template->set_var('cat_link',$this->cat_option($this->cat_id,False,False)); $this->template->set_var('cat_link',$this->cat_option($this->cat_id,False,False));
$this->template->set_var('cancel_url',$GLOBALS['phpgw']->link('/addressbook/index.php')); $this->template->set_var('cancel_url',$GLOBALS['phpgw']->link('/addressbook/index.php'));
$this->template->set_var('navbar_bg',$GLOBALS['phpgw_info']['theme']['navbar_bg']); $this->template->set_var('navbar_bg',$GLOBALS['phpgw_info']['theme']['navbar_bg']);

View File

@ -55,6 +55,7 @@ delete a single entry by passing the id. addressbook en Delete a single entry by
department common en Department department common en Department
domestic addressbook en Domestic domestic addressbook en Domestic
download addressbook en Download download addressbook en Download
download export file (uncheck to debug output in browser) addressbook en Download export file (Uncheck to debug output in browser)
edit custom field addressbook en Edit Custom Field edit custom field addressbook en Edit Custom Field
edit custom fields admin en Edit Custom Fields edit custom fields admin en Edit Custom Fields
empty for all addressbook en empty for all empty for all addressbook en empty for all
@ -120,6 +121,7 @@ read a single entry by passing the id and fieldlist. addressbook en Read a singl
record access addressbook en Record Access record access addressbook en Record Access
record owner addressbook en Record owner record owner addressbook en Record owner
retrieve contacts admin en retrieve contacts retrieve contacts admin en retrieve contacts
select the type of conversion: addressbook en Select the type of conversion:
select where you want to store admin en Select where you want to store select where you want to store admin en Select where you want to store
show birthday reminders on main screen addressbook en Show birthday reminders on main screen show birthday reminders on main screen addressbook en Show birthday reminders on main screen
startrecord addressbook en Startrecord startrecord addressbook en Startrecord

View File

@ -1,44 +1,43 @@
<!-- BEGIN export -->
<!-- BEGIN import --> <center>
<CENTER> <table width="90%">
<TABLE WIDTH=90%> <tr bgcolor="{navbar_bg}">
<TR BGCOLOR="{navbar_bg}"> <td><b><center>{export_text}</center></b>
<TD><B><FONT SIZE=+2 COLOR="{navbar_text}"><CENTER>{export_text}</CENTER></FONT></B> </td>
</TD> </tr>
</TR> <tr>
<TR> <td>
<TD> <form enctype="multipart/form-data" action="{action_url}" method="post">
<FORM ENCTYPE="multipart/form-data" action="{action_url}" method="POST"> <ol>
<OL> <li>{lang_select}
<LI>Select the type of conversion: <select name="conv_type">
<SELECT NAME="conv_type"> <option value="none">&lt;none&gt;</option>
<OPTION VALUE="none">&lt;none&gt;</OPTION> {conv} </select><p></li>
{conv} </SELECT><P></LI> <li>{filename}:<input name="tsvfilename" value="export.txt"></li>
<LI>{filename}:<INPUT NAME="tsvfilename" VALUE="export.txt"></LI> <li>{lang_cat}:{cat_link}</li>
<LI>{lang_cat}:{cat_link}</LI> <li><input name="download" type="checkbox" checked>{lang_export_instructions}</li>
<LI><INPUT NAME="download" TYPE="checkbox" checked>Download export file (Uncheck to debug output in browser)</LI> <li><input name="convert" type="submit" value="{download}"></li>
<LI><INPUT NAME="convert" TYPE="submit" VALUE="{download}"></LI> </ol>
</OL>
<input type="hidden" name="sort" value="{sort}"> <input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}"> <input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}"> <input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="query" value="{query}"> <input type="hidden" name="query" value="{query}">
<input type="hidden" name="start" value="{start}"> <input type="hidden" name="start" value="{start}">
</FORM> </form>
</TD> </td>
</TR> </tr>
<TR> <tr>
<TD> <td>
<FORM action="{cancel_url}" method="post"> <form action="{cancel_url}" method="post">
<input type="hidden" name="sort" value="{sort}"> <input type="hidden" name="sort" value="{sort}">
<input type="hidden" name="order" value="{order}"> <input type="hidden" name="order" value="{order}">
<input type="hidden" name="filter" value="{filter}"> <input type="hidden" name="filter" value="{filter}">
<input type="hidden" name="query" value="{query}"> <input type="hidden" name="query" value="{query}">
<input type="hidden" name="start" value="{start}"> <input type="hidden" name="start" value="{start}">
<INPUT type="submit" name="Cancel" value="{lang_cancel}"> <INPUT type="submit" name="Cancel" value="{lang_cancel}">
</FORM> </form>
</TD> </td>
</TR> </tr>
</TABLE> </table>
</CENTER> </center>
<!-- END import --> <!-- END export -->