Revize 489
Přidáno uživatelem Michal Kliment před asi 15 roky(ů)
freenetis/trunk/kohana/application/i18n/cs_CZ/texts.php | ||
---|---|---|
'id' => 'ID',
|
||
'identified payment' => 'Identifikovaná platba',
|
||
'ignore' => 'Ignorovat',
|
||
'import dhcp export from mikrotik' => 'Import exportu DHCP z Mikrotiku',
|
||
'import has been successfully finished' => 'Import byl úspěšně dokončen.',
|
||
'import new invoice' => 'Import nové faktury',
|
||
'import results' => 'Výsledky importu',
|
||
'information' => 'Informace',
|
freenetis/trunk/kohana/application/controllers/devices.php | ||
---|---|---|
$parser->set_callback(array(get_class($this),'synchronize_device'));
|
||
|
||
$parser->parse($filename);
|
||
|
||
echo url_lang::lang('texts.Import has been successfully finished.');
|
||
die();
|
||
}
|
||
|
||
}
|
||
|
||
$view = new View('main');
|
||
$view->title = url_lang::lang('texts.Import from Mikrotik export');
|
||
$view->title = url_lang::lang('texts.Import DHCP export from Mikrotik');
|
||
$view->content = new View('devices_import');
|
||
$view->render(TRUE);
|
||
}
|
freenetis/trunk/kohana/application/views/devices_import.php | ||
---|---|---|
<h2><?php echo url_lang::lang('texts.Import from mikrotik export') ?></h2><br />
|
||
<h2><?php echo url_lang::lang('texts.Import DHCP export from Mikrotik') ?></h2><br />
|
||
<?php echo html::anchor(url_lang::base().'devices/show_all',url_lang::lang('texts.Back to list of all devices')) ?>
|
||
<br /><br />
|
||
|
||
<?php echo form::open_multipart(url_lang::base().'devices/import_mikrotik_export') ?>
|
||
<?php echo form::open_multipart(url_lang::base().'devices/import_dhcp_export_from_mikrotik') ?>
|
||
<table cellspacing="3" class="form">
|
||
<tr>
|
||
<th><?php echo form::label('file',url_lang::lang('texts.File').':') ?></th>
|
Také k dispozici: Unified diff
Vyladeny dalsi chyby na skriptu pro synchronizaci Freenetisu s mikrotiky.