Revize 638
Přidáno uživatelem Jiří Sviták před asi 14 roky(ů)
freenetis/trunk/kohana/application/i18n/cs_CZ/texts.php | ||
---|---|---|
'delete_work' => 'Smazat tuto práci',
|
||
'delete' => 'Smazat',
|
||
'delete selection' => 'Smazat výběr',
|
||
'delete whole device' => 'Smazat celé zařízení',
|
||
'delete wireless setting' => 'Smazat bezdrátové nastavení',
|
||
'deleted' => 'Smazáno',
|
||
'dependent transfer' => 'Závislý převod',
|
freenetis/trunk/kohana/application/controllers/messages.php | ||
---|---|---|
<?php
|
||
class Messages_Controller extends Controller
|
||
{
|
||
function show_all()
|
||
{
|
||
|
||
}
|
||
|
||
function edit($message_id)
|
||
{
|
||
$editor = new TextEditor();
|
||
$view = new View('main');
|
||
$view->title = url_lang::lang('texts');
|
||
$view->content = $editor;
|
||
}
|
||
}
|
||
?>
|
freenetis/trunk/kohana/application/views/devices_show.php | ||
---|---|---|
$links = array();
|
||
if ($this->acl_check_view(get_class($this), 'devices', $device->user->member_id))
|
||
$links[] = html::anchor(url_lang::base().'devices/show_by_user/'.$device->user->id, url_lang::lang('texts.Back to devices of user'));
|
||
if($this->acl_check_edit(get_class($this), 'devices'))
|
||
if ($this->acl_check_edit(get_class($this), 'devices'))
|
||
$links[] = html::anchor(url_lang::base().'devices/edit/'.$device->id, url_lang::lang('texts.Edit'));
|
||
if ($this->acl_check_delete('Devices_Controller', 'devices'))
|
||
$links[] = html::anchor(url_lang::base().'devices/delete/'.$device->id, url_lang::lang('texts.Delete'), array('onclick' => "return potvrd('".url_lang::lang('texts.Do you want to delete this device')."');"));
|
||
if ($this->acl_check_delete('Devices_Controller', 'devices'))
|
||
$links[] = html::anchor(url_lang::base().'devices/delete_whole/'.$device->id, url_lang::lang('texts.Delete whole device'), array('onclick' => "return potvrd('".url_lang::lang('texts.Do you want to delete this device including all its interfaces and IP adresses')."');"));
|
||
echo implode(' | ', $links)
|
||
?>
|
||
<br />
|
Také k dispozici: Unified diff
Pridana dalsi moznost mazani zarizeni. Pridan soubor pro evidenci zprav pro presmerovani.