Spell-check new db backup function

This commit is contained in:
Miles Lott 2004-10-26 12:59:15 +00:00
parent a5f83f44ed
commit e69b1c0f96
5 changed files with 34 additions and 34 deletions

View File

@ -58,11 +58,11 @@
'T_footer' => 'footer.tpl', 'T_footer' => 'footer.tpl',
'T_db_backup' => 'db_backup.tpl', 'T_db_backup' => 'db_backup.tpl',
)); ));
$setup_tpl->set_block('T_db_backup','shedule_row','shedule_rows'); $setup_tpl->set_block('T_db_backup','schedule_row','schedule_rows');
$setup_tpl->set_block('T_db_backup','set_row','set_rows'); $setup_tpl->set_block('T_db_backup','set_row','set_rows');
$setup_tpl->set_var('stage_title',$stage_title = lang('DB backup and restore')); $setup_tpl->set_var('stage_title',$stage_title = lang('DB backup and restore'));
$setup_tpl->set_var('stage_desc',lang('This program lets you backup your database, shedule a backup or restore it.')); $setup_tpl->set_var('stage_desc',lang('This program lets you backup your database, schedule a backup or restore it.'));
$setup_tpl->set_var('error_msg',''); $setup_tpl->set_var('error_msg','');
$bgcolor = array('#DDDDDD','#EEEEEE'); $bgcolor = array('#DDDDDD','#EEEEEE');
@ -149,18 +149,18 @@
$setup_tpl->set_var('error_msg',$f); $setup_tpl->set_var('error_msg',$f);
} }
} }
// create a new shedulted backup // create a new scheduled backup
if ($_POST['shedule']) if ($_POST['schedule'])
{ {
$asyncservice->set_timer($_POST['times'],'db_backup-'.implode(':',$_POST['times']),'admin.admin_db_backup.do_backup',''); $asyncservice->set_timer($_POST['times'],'db_backup-'.implode(':',$_POST['times']),'admin.admin_db_backup.do_backup','');
} }
// cancel a shedulted backup // cancel a scheduled backup
if (is_array($_POST['cancel'])) if (is_array($_POST['cancel']))
{ {
list($id) = each($_POST['cancel']); list($id) = each($_POST['cancel']);
$asyncservice->cancel_timer($id); $asyncservice->cancel_timer($id);
} }
// list sheduled backups // list scheduled backups
if (($jobs = $asyncservice->read('db_backup-%'))) if (($jobs = $asyncservice->read('db_backup-%')))
{ {
foreach($jobs as $job) foreach($jobs as $job)
@ -168,17 +168,17 @@
$setup_tpl->set_var($job['times']); $setup_tpl->set_var($job['times']);
$setup_tpl->set_var('next_run',date('Y-m-d H:i',$job['next'])); $setup_tpl->set_var('next_run',date('Y-m-d H:i',$job['next']));
$setup_tpl->set_var('actions','<input type="submit" name="cancel['.$job['id'].']" value="'.htmlspecialchars(lang('delete')).'" />'); $setup_tpl->set_var('actions','<input type="submit" name="cancel['.$job['id'].']" value="'.htmlspecialchars(lang('delete')).'" />');
$setup_tpl->parse('shedule_rows','shedule_row',true); $setup_tpl->parse('schedule_rows','schedule_row',true);
} }
} }
// input-fields to create a new sheduled backup // input-fields to create a new scheduled backup
foreach($times=array('year'=>'*','month'=>'*','day'=>'*','dow'=>'2-6','hour'=>3,'minute'=>0) as $name => $default) foreach($times=array('year'=>'*','month'=>'*','day'=>'*','dow'=>'2-6','hour'=>3,'minute'=>0) as $name => $default)
{ {
$setup_tpl->set_var($name,'<input name="times['.$name.']" size="5" value="'.$default.'" />'); $setup_tpl->set_var($name,'<input name="times['.$name.']" size="5" value="'.$default.'" />');
} }
$setup_tpl->set_var('next_run','&nbsp;'); $setup_tpl->set_var('next_run','&nbsp;');
$setup_tpl->set_var('actions','<input type="submit" name="shedule" value="'.htmlspecialchars(lang('shedule')).'" />'); $setup_tpl->set_var('actions','<input type="submit" name="schedule" value="'.htmlspecialchars(lang('schedule')).'" />');
$setup_tpl->parse('shedule_rows','shedule_row',true); $setup_tpl->parse('schedule_rows','schedule_row',true);
// listing the availible backup sets // listing the availible backup sets
$setup_tpl->set_var('backup_dir',$db_backup->backup_dir); $setup_tpl->set_var('backup_dir',$db_backup->backup_dir);
@ -213,7 +213,7 @@
} }
$setup_tpl->set_var(array( $setup_tpl->set_var(array(
'lang_sheduled_backups' => lang('sheduled backups'), 'lang_scheduled_backups'=> lang('scheduled backups'),
'lang_year' => lang('year'), 'lang_year' => lang('year'),
'lang_month' => lang('month'), 'lang_month' => lang('month'),
'lang_day' => lang('day'), 'lang_day' => lang('day'),

View File

@ -390,8 +390,8 @@ setup demo accounts in ldap setup de Demo-Benutzer in LDAP einrichten
setup main menu setup de Setup-Hauptmenü setup main menu setup de Setup-Hauptmenü
setup the database setup de Datenbank einzurichten setup the database setup de Datenbank einzurichten
setup/config admin login setup de Setup-/Konfigurationsadmin-Login setup/config admin login setup de Setup-/Konfigurationsadmin-Login
shedule setup de planen schedule setup de planen
sheduled backups setup de Regelmäßige Datensicherungen scheduled backups setup de Regelmäßige Datensicherungen
show 'powered by' logo on setup de Zeige "powered by" Logo show 'powered by' logo on setup de Zeige "powered by" Logo
size setup de Größe size setup de Größe
some or all of its tables are missing setup de Einige oder alle Tabellen fehlen some or all of its tables are missing setup de Einige oder alle Tabellen fehlen
@ -427,7 +427,7 @@ there was a problem trying to connect to your ldap server. <br> setup de Es gab
there was a problem trying to connect to your ldap server. <br>please check your ldap server configuration setup de Es gab ein Problem eine Verbindung zu Ihrem LDAP-Server herzustellen.<br>Bitte überprüfen Sie die Konfiguration Ihres LDAP-Servers. there was a problem trying to connect to your ldap server. <br>please check your ldap server configuration setup de Es gab ein Problem eine Verbindung zu Ihrem LDAP-Server herzustellen.<br>Bitte überprüfen Sie die Konfiguration Ihres LDAP-Servers.
this has to be outside the webservers document-root!!! setup de Muss au&szlig;erhalb des Wurzelverzeichnisses (document root) des Webservers sein!!! this has to be outside the webservers document-root!!! setup de Muss au&szlig;erhalb des Wurzelverzeichnisses (document root) des Webservers sein!!!
this might take a while, please wait ... setup de Dieser Test braucht einige Zeit, bitte warten ... this might take a while, please wait ... setup de Dieser Test braucht einige Zeit, bitte warten ...
this program lets you backup your database, shedule a backup or restore it. setup de Mit diesem Programm können Sie Ihre Datenbank sichern, eine regelmäßige Datensicherung planen oder sie zurücksichern. this program lets you backup your database, schedule a backup or restore it. setup de Mit diesem Programm können Sie Ihre Datenbank sichern, eine regelmäßige Datensicherung planen oder sie zurücksichern.
this program will convert your database to a new system-charset. setup de Dieses Programm wird Ihre Datenbank in einen neuen Systemzeichensatz konvertieren. this program will convert your database to a new system-charset. setup de Dieses Programm wird Ihre Datenbank in einen neuen Systemzeichensatz konvertieren.
this program will help you upgrade or install different languages for egroupware setup de Dieses Programm wird Ihnen bei der Aktualisierung oder Installation verschiedender Sprachen für eGroupWare behilflich sein this program will help you upgrade or install different languages for egroupware setup de Dieses Programm wird Ihnen bei der Aktualisierung oder Installation verschiedender Sprachen für eGroupWare behilflich sein
this section will help you export users and groups from egroupware's account tables into your ldap tree setup de Dieser Abschnitt wird Ihnen beim Exportieren von Benutzern/Gruppen aus eGroupWare's Account-Tabellen in Ihren LDAP-Baum behilflich sein this section will help you export users and groups from egroupware's account tables into your ldap tree setup de Dieser Abschnitt wird Ihnen beim Exportieren von Benutzern/Gruppen aus eGroupWare's Account-Tabellen in Ihren LDAP-Baum behilflich sein

View File

@ -387,8 +387,8 @@ setup demo accounts in ldap setup en Setup demo accounts in LDAP
setup main menu setup en Setup Main Menu setup main menu setup en Setup Main Menu
setup the database setup en Setup the database setup the database setup en Setup the database
setup/config admin login setup en Setup/Config Admin Login setup/config admin login setup en Setup/Config Admin Login
shedule setup en shedule schedule setup en schedule
sheduled backups setup en sheduled backups scheduled backups setup en scheduled backups
show 'powered by' logo on setup en Show 'powered by' logo on show 'powered by' logo on setup en Show 'powered by' logo on
size setup en size size setup en size
some or all of its tables are missing setup en Some or all of its tables are missing some or all of its tables are missing setup en Some or all of its tables are missing
@ -423,7 +423,7 @@ there was a problem trying to connect to your ldap server. <br> setup en There w
there was a problem trying to connect to your ldap server. <br>please check your ldap server configuration setup en There was a problem trying to connect to your LDAP server. <br>please check your LDAP server configuration there was a problem trying to connect to your ldap server. <br>please check your ldap server configuration setup en There was a problem trying to connect to your LDAP server. <br>please check your LDAP server configuration
this has to be outside the webservers document-root!!! setup en This has to be outside the webservers document-root!!! this has to be outside the webservers document-root!!! setup en This has to be outside the webservers document-root!!!
this might take a while, please wait ... setup en This might take a while, please wait ... this might take a while, please wait ... setup en This might take a while, please wait ...
this program lets you backup your database, shedule a backup or restore it. setup en This program lets you backup your database, shedule a backup or restore it. this program lets you backup your database, schedule a backup or restore it. setup en This program lets you backup your database, schedule a backup or restore it.
this program will convert your database to a new system-charset. setup en This program will convert your database to a new system-charset. this program will convert your database to a new system-charset. setup en This program will convert your database to a new system-charset.
this program will help you upgrade or install different languages for egroupware setup en This program will help you upgrade or install different languages for eGroupWare this program will help you upgrade or install different languages for egroupware setup en This program will help you upgrade or install different languages for eGroupWare
this section will help you export users and groups from egroupware's account tables into your ldap tree setup en This section will help you export users and groups from eGroupWare's account tables into your LDAP tree this section will help you export users and groups from egroupware's account tables into your ldap tree setup en This section will help you export users and groups from eGroupWare's account tables into your LDAP tree

View File

@ -391,8 +391,8 @@ setup demo accounts in ldap setup es-es Instalar cuentas de demostraci
setup main menu setup es-es Menú principal de la instalación setup main menu setup es-es Menú principal de la instalación
setup the database setup es-es Instalar la base de datos setup the database setup es-es Instalar la base de datos
setup/config admin login setup es-es Usuario administrador para Instalación/Configuración setup/config admin login setup es-es Usuario administrador para Instalación/Configuración
shedule setup es-es planificar schedule setup es-es planificar
sheduled backups setup es-es copias de seguridad planificadas scheduled backups setup es-es copias de seguridad planificadas
show 'powered by' logo on setup es-es Mostrar el logo en show 'powered by' logo on setup es-es Mostrar el logo en
size setup es-es tamaño size setup es-es tamaño
some or all of its tables are missing setup es-es Algunas o todas de sus tablas no se encuentran some or all of its tables are missing setup es-es Algunas o todas de sus tablas no se encuentran
@ -430,7 +430,7 @@ there was a problem trying to connect to your ldap server. <br> setup es-es Hubo
there was a problem trying to connect to your ldap server. <br>please check your ldap server configuration setup es-es Hubo un problema intentando conecar al servidor LDAP.<br>Por favor, compruebe la configuración del servidor LDAP there was a problem trying to connect to your ldap server. <br>please check your ldap server configuration setup es-es Hubo un problema intentando conecar al servidor LDAP.<br>Por favor, compruebe la configuración del servidor LDAP
this has to be outside the webservers document-root!!! setup es-es ¡Tiene que estar fuera de la raíz de documentos del servidor web! this has to be outside the webservers document-root!!! setup es-es ¡Tiene que estar fuera de la raíz de documentos del servidor web!
this might take a while, please wait ... setup es-es Esto puede tardar un poco. Por favor, espere... this might take a while, please wait ... setup es-es Esto puede tardar un poco. Por favor, espere...
this program lets you backup your database, shedule a backup or restore it. setup es-es Este programa permite hacer copia de seguridad de la base de datos, planificar una copia o restaurarla. this program lets you backup your database, schedule a backup or restore it. setup es-es Este programa permite hacer copia de seguridad de la base de datos, planificar una copia o restaurarla.
this program will convert your database to a new system-charset. setup es-es Este programa convertirá la base de datos a un nuevo juego de caracteres del sistema. this program will convert your database to a new system-charset. setup es-es Este programa convertirá la base de datos a un nuevo juego de caracteres del sistema.
this program will help you upgrade or install different languages for egroupware setup es-es Este programa le ayudará a actualizar o instalar los distintos idiomas para eGroupWare this program will help you upgrade or install different languages for egroupware setup es-es Este programa le ayudará a actualizar o instalar los distintos idiomas para eGroupWare
this section will help you export users and groups from egroupware's account tables into your ldap tree setup es-es Esta sección intentará exportar los usuarios y grupos de la cuenta de las tablas de eGroupWare en el árbol LDAP this section will help you export users and groups from egroupware's account tables into your ldap tree setup es-es Esta sección intentará exportar los usuarios y grupos de la cuenta de las tablas de eGroupWare en el árbol LDAP

View File

@ -17,7 +17,7 @@
<!-- END setup_header --> <!-- END setup_header -->
<tr bgcolor="#e6e6e6"> <tr bgcolor="#e6e6e6">
<td> <td>
<b>{lang_sheduled_backups}</b> <b>{lang_scheduled_backups}</b>
</td> </td>
<td align="right"> <td align="right">
{backup_now_button} {backup_now_button}
@ -36,7 +36,7 @@
<td>{lang_next_run}</td> <td>{lang_next_run}</td>
<td>{lang_actions}</td> <td>{lang_actions}</td>
</tr> </tr>
<!-- BEGIN shedule_row --> <!-- BEGIN schedule_row -->
<tr align="center"> <tr align="center">
<td>{year}</td> <td>{year}</td>
<td>{month}</td> <td>{month}</td>
@ -47,7 +47,7 @@
<td>{next_run}</td> <td>{next_run}</td>
<td>{actions}</td> <td>{actions}</td>
</tr> </tr>
<!-- END shedule_row --> <!-- END schedule_row -->
</table> </table>
</td> </td>
</tr> </tr>