mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 23:29:31 +01:00
Add langs and cleanup html for export page
This commit is contained in:
parent
e7a1d41f95
commit
45c2ab1cba
@ -255,7 +255,7 @@
|
||||
echo parse_navbar();
|
||||
|
||||
set_time_limit(0);
|
||||
|
||||
|
||||
$this->template->set_file(array('export' => 'export.tpl'));
|
||||
|
||||
$dir_handle = opendir(PHPGW_APP_INC. SEP . 'export');
|
||||
@ -278,6 +278,8 @@
|
||||
|
||||
$this->template->set_var('lang_cancel',lang('Cancel'));
|
||||
$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('cancel_url',$GLOBALS['phpgw']->link('/addressbook/index.php'));
|
||||
$this->template->set_var('navbar_bg',$GLOBALS['phpgw_info']['theme']['navbar_bg']);
|
||||
|
@ -55,6 +55,7 @@ delete a single entry by passing the id. addressbook en Delete a single entry by
|
||||
department common en Department
|
||||
domestic addressbook en Domestic
|
||||
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 fields admin en Edit Custom Fields
|
||||
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 owner addressbook en Record owner
|
||||
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
|
||||
show birthday reminders on main screen addressbook en Show birthday reminders on main screen
|
||||
startrecord addressbook en Startrecord
|
||||
|
@ -1,44 +1,43 @@
|
||||
|
||||
<!-- BEGIN import -->
|
||||
<CENTER>
|
||||
<TABLE WIDTH=90%>
|
||||
<TR BGCOLOR="{navbar_bg}">
|
||||
<TD><B><FONT SIZE=+2 COLOR="{navbar_text}"><CENTER>{export_text}</CENTER></FONT></B>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<FORM ENCTYPE="multipart/form-data" action="{action_url}" method="POST">
|
||||
<OL>
|
||||
<LI>Select the type of conversion:
|
||||
<SELECT NAME="conv_type">
|
||||
<OPTION VALUE="none"><none></OPTION>
|
||||
{conv} </SELECT><P></LI>
|
||||
<LI>{filename}:<INPUT NAME="tsvfilename" VALUE="export.txt"></LI>
|
||||
<LI>{lang_cat}:{cat_link}</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>
|
||||
</OL>
|
||||
<!-- BEGIN export -->
|
||||
<center>
|
||||
<table width="90%">
|
||||
<tr bgcolor="{navbar_bg}">
|
||||
<td><b><center>{export_text}</center></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form enctype="multipart/form-data" action="{action_url}" method="post">
|
||||
<ol>
|
||||
<li>{lang_select}
|
||||
<select name="conv_type">
|
||||
<option value="none"><none></option>
|
||||
{conv} </select><p></li>
|
||||
<li>{filename}:<input name="tsvfilename" value="export.txt"></li>
|
||||
<li>{lang_cat}:{cat_link}</li>
|
||||
<li><input name="download" type="checkbox" checked>{lang_export_instructions}</li>
|
||||
<li><input name="convert" type="submit" value="{download}"></li>
|
||||
</ol>
|
||||
<input type="hidden" name="sort" value="{sort}">
|
||||
<input type="hidden" name="order" value="{order}">
|
||||
<input type="hidden" name="filter" value="{filter}">
|
||||
<input type="hidden" name="query" value="{query}">
|
||||
<input type="hidden" name="start" value="{start}">
|
||||
</FORM>
|
||||
</TD>
|
||||
</TR>
|
||||
<TR>
|
||||
<TD>
|
||||
<FORM action="{cancel_url}" method="post">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<form action="{cancel_url}" method="post">
|
||||
<input type="hidden" name="sort" value="{sort}">
|
||||
<input type="hidden" name="order" value="{order}">
|
||||
<input type="hidden" name="filter" value="{filter}">
|
||||
<input type="hidden" name="query" value="{query}">
|
||||
<input type="hidden" name="start" value="{start}">
|
||||
<INPUT type="submit" name="Cancel" value="{lang_cancel}">
|
||||
</FORM>
|
||||
</TD>
|
||||
</TR>
|
||||
</TABLE>
|
||||
</CENTER>
|
||||
<!-- END import -->
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<!-- END export -->
|
||||
|
Loading…
Reference in New Issue
Block a user