Merge pull request #1000 from dremerb/master

Fixed bug in parent column in DHCP list view
This commit is contained in:
Jamie Cameron
2018-12-13 21:44:30 -08:00
committed by GitHub
25 changed files with 67 additions and 65 deletions

View File

@@ -1,4 +1,4 @@
#!/usr/local/bin/perl
#!/usr/bin/perl
# $Id: index.cgi,v 1.6 2005/04/16 14:30:21 jfranken Exp $
# * List all subnets and shared networks
#
@@ -595,6 +595,8 @@ print &ui_columns_start([ "", $text{'index_hostgroup'},
for ($i = $_[1]; $i < $_[2]; $i++) {
local @cols;
local $firstcol;
$parent = "";
$par_type = "";
$h = $_[0]->[$i];
if ($h->{'name'} eq 'host') {
$firstcol .= $sp;
@@ -625,7 +627,7 @@ for ($i = $_[1]; $i < $_[2]; $i++) {
if ($config{'desc_name'} && $par{$h}->{'comment'}) {
$parent = $par{$h}->{'comment'};
}
push(@cols, "$par_type: $parent");
push(@cols, "$par_type $parent");
push(@cols, $_[3]->[$i] ? &hardware($h) : "");
push(@cols, $_[3]->[$i] ? &fixedaddr($h) : "");
print &ui_checked_columns_row(\@cols, \@tds, "d", $_[5]->[$i]);

6
dhcpd/lang/ca Normal file → Executable file
View File

@@ -40,9 +40,9 @@ index_horder1=Estructura de fitxers
index_horder2=Nom
index_horder3=Adreça del maquinari
index_horder4=Adreça IP
index_togroup=Grup
index_tosubnet=Subxarxa
index_toshared=Xarxa
index_togroup=Grup:
index_tosubnet=Subxarxa:
index_toshared=Xarxa:
index_ndisplay=Mostra les xarxes i subxarxes per:
index_norder0=Assignació
index_norder1=Estructura de fitxers

6
dhcpd/lang/cz Normal file → Executable file
View File

@@ -251,9 +251,9 @@ index_subtitle=Pods
index_subtoomany=Moc podsítí pro zobrazení.
index_text=Editace konfiguračního souboru v textovém editoru (POZOR!)
index_title=DHCP Server
index_togroup=Skupina
index_toshared=Síť
index_tosubnet=Podsíť
index_togroup=Skupina:
index_toshared=Síť:
index_tosubnet=Podsíť:
index_version=ISC DHCPd verze $1
index_zone=Zóna
keys_alg=Algoritmus

0
dhcpd/lang/da Normal file → Executable file
View File

6
dhcpd/lang/de Normal file → Executable file
View File

@@ -257,9 +257,9 @@ index_subtitle=Subnetze und freigegebene Netzwerke
index_subtoomany=Es gibt zu viele Subnetze zum anzeigen.
index_text=Konfigurationsdatei im Texteditor manuell bearbeiten
index_title=DHCP-Server
index_togroup=Gruppe
index_toshared=Netzwerk
index_tosubnet=Subnetz
index_togroup=Gruppe:
index_toshared=Netzwerk:
index_tosubnet=Subnetz:
index_version=ISC DHCPd Version $1
index_zone=Zone
keys_alg=Algorithmus

6
dhcpd/lang/en Normal file → Executable file
View File

@@ -40,9 +40,9 @@ index_horder1=File structure
index_horder2=Name
index_horder3=Hardware address
index_horder4=IP address
index_togroup=Group
index_tosubnet=Subnet
index_toshared=Network
index_togroup=Group:
index_tosubnet=Subnet:
index_toshared=Network:
index_ndisplay=Display nets and subnets by:
index_norder0=Assignment
index_norder1=File structure

6
dhcpd/lang/es Normal file → Executable file
View File

@@ -113,7 +113,7 @@ plib_chname=Nombre de m&#225;quina cliente
secs=segs
plib_swapserv=Servidores de intercambio
plib_invaliddom=$1 no es un nombre v&#225;lido de dominio
index_tosubnet=Subred
index_tosubnet=Subred:
eacl_psn=seleccionar red compartida
plib_dnsserv=Servidores DNS
listl_active=activos
@@ -188,7 +188,7 @@ esh_crheader=Crear Red Compartida
esub_retshar=red compartida
esub_nmask=M&#225;scara de Red
index_234memb=$1 miembros
index_toshared=Red
index_toshared=Red:
plib_leformat=Fecha de fin de arrendamiento debe de estar en formato W YYYY/MM/DD HH:MM:SS
plib_bfname=Nombre de archivo de Boot
esub_tabhdr=Detalles de Subred
@@ -203,7 +203,7 @@ esh_netname=Nombre de red
eopt_ntpserv=Servidores NTP
plib_invalidlt=no es un tiempo de arrendamiento v&#225;lido
plib_forever=Para siempre
index_togroup=Grupo
index_togroup=Grupo:
acl_paranoic=paranoico
index_ndisplay=Mostrar redes y subredes por:
eopt_dnsserv=Servidores DNS

6
dhcpd/lang/fa Normal file → Executable file
View File

@@ -40,9 +40,9 @@ index_horder1=ساختار پرونده
index_horder2=نام
index_horder3=نشاني سخت‌افزاري
index_horder4=نشاني IP
index_togroup=گروه
index_tosubnet=زير‌شبکه
index_toshared=شبکه
index_togroup=گروه:
index_tosubnet=زير‌شبکه:
index_toshared=شبکه:
index_ndisplay=نمايش شبکه‌ها و زير‌شبکه‌ها توسط:
index_norder0=انتساب
index_norder1=ساختار پرونده

6
dhcpd/lang/fr Normal file → Executable file
View File

@@ -116,7 +116,7 @@ plib_chname=Nom de machine du client
secs=secondes
plib_swapserv=Serveur de m&#233;moire temporaire
plib_invaliddom=$1 n'est pas un nom de domaine valide
index_tosubnet=Sous-r&#233;seau
index_tosubnet=Sous-r&#233;seau:
eacl_psn=selectionner le r&#233;seau partag&#233;
plib_dnsserv=Serveurs de nom de domaine
listl_active=active
@@ -195,7 +195,7 @@ esh_crheader=Cr&#233;er un r&#233;seau partag&#233;
esub_retshar=r&#233;seau partag&#233;
esub_nmask=Masque de sous-r&#233;seau
index_234memb=$1 membres
index_toshared=R&#233;seau
index_toshared=R&#233;seau:
plib_leformat=La date de fin d'attribution doit &#234;tre dans le format W AAAA/MM/JJ HH:MM:SS
plib_bfname=Fichier de d&#233;marrage
esub_tabhdr=D&#233;tails du sous-r&#233;seau
@@ -210,7 +210,7 @@ esh_netname=Nom du r&#233;seau
eopt_ntpserv=Serveurs NTP
plib_invalidlt=n'est pas un temps d'attribution valide
plib_forever=Infini
index_togroup=Groupe
index_togroup=Groupe:
acl_paranoic=parano&#239;aque
index_ndisplay=Afficher r&#233;seaux et sous-r&#233;seaux par :
eopt_dnsserv=Serveurs de nom de domaine

6
dhcpd/lang/ja_JP.euc Normal file → Executable file
View File

@@ -222,9 +222,9 @@ index_start=
index_subtitle=サブネットと共有ネットワーク
index_subtoomany=サブネットの数が多すぎて表示できません
index_title=DHCP サーバ
index_togroup=グループ
index_toshared=ネットワーク
index_tosubnet=サブネット
index_togroup=グループ:
index_toshared=ネットワーク:
index_tosubnet=サブネット:
index_version=ISC DHCPd バージョン $1
listl_active=アクティブ
listl_all=アクティブおよび期限切れのリースをすべて表示

6
dhcpd/lang/ja_JP.jis Normal file → Executable file
View File

@@ -35,9 +35,9 @@ index_horder1=
index_horder2=名前
index_horder3=ハードウェア アドレス
index_horder4=IP アドレス
index_togroup=グループ
index_tosubnet=サブネット
index_toshared=ネットワーク
index_togroup=グループ:
index_tosubnet=サブネット:
index_toshared=ネットワーク:
index_ndisplay=ネットワークとサブネットを次の項目別に表示:
index_norder0=割り当て
index_norder1=ファイル構造

6
dhcpd/lang/ko_KR.euc Normal file → Executable file
View File

@@ -35,9 +35,9 @@ index_horder1=
index_horder2=이름
index_horder3=하드웨어 주소
index_horder4=IP 주소
index_togroup=그룹
index_tosubnet=서브넷
index_toshared=네트워크
index_togroup=그룹:
index_tosubnet=서브넷:
index_toshared=네트워크:
index_ndisplay=넷 및 서브넷 표시 기준:
index_norder0=할당
index_norder1=파일 구조

6
dhcpd/lang/nl Normal file → Executable file
View File

@@ -256,9 +256,9 @@ index_subtitle=Subnetten en Gedeelde Netwerken
index_subtoomany=Er zijn teveel subnetten om te laten zien.
index_text=Bewerk de configuratie tekst file handmatig
index_title=DHCP Server
index_togroup=Groep
index_toshared=Netwerk
index_tosubnet=Subnet
index_togroup=Groep:
index_toshared=Netwerk:
index_tosubnet=Subnet:
index_version=ISC DHCPd versie $1
index_zone=Zone
keys_alg=Algoritme

6
dhcpd/lang/no Normal file → Executable file
View File

@@ -257,9 +257,9 @@ index_subtitle=Subnett og delte nettverk
index_subtoomany=Det er for mange subnett &#229; vise.
index_text=Rediger konfigurasjonsfil manuelt tekst
index_title=DHCP tjener
index_togroup=Gruppe
index_toshared=Nettverk
index_tosubnet=Subnett
index_togroup=Gruppe:
index_toshared=Nettverk:
index_tosubnet=Subnett:
index_version=ISC DHCPd versjon $1
index_zone=Sone
keys_alg=Algoritme

6
dhcpd/lang/pl Normal file → Executable file
View File

@@ -257,9 +257,9 @@ index_subtitle=Podsieci i&nbsp;sieci wsp
index_subtoomany=Istnieje zbyt wiele współdzielonych sieci, aby je wyświetlić.
index_text=Ręczna edycja pliku konfiguracyjnego
index_title=Serwer DHCP
index_togroup=grupy
index_toshared=sieci
index_tosubnet=podsieci
index_togroup=grupy:
index_toshared=sieci:
index_tosubnet=podsieci:
index_version=Wersja ISC DHCPd $1
index_zone=Strefa
keys_alg=Algorytm

0
dhcpd/lang/pt Normal file → Executable file
View File

6
dhcpd/lang/pt_BR Normal file → Executable file
View File

@@ -208,9 +208,9 @@ index_group=Grupo:
index_nameip=Nome de computador ou IP
index_net=Rede
index_netmask=Máscara de rede
index_togroup=Grupo
index_tosubnet=Subrede
index_toshared=Rede
index_togroup=Grupo:
index_tosubnet=Subrede:
index_toshared=Rede:
index_version=ISC DHCPd versão $1
index_subtoomany=Há muitas subredes para mostrar
index_shatoomany=Há muitas redes compartilhadas para mostrar

6
dhcpd/lang/ru_RU Normal file → Executable file
View File

@@ -210,7 +210,7 @@ pool_deny=
esh_groups=Группы точно внутри разделяемой сети
cdel_group=группа
eacl_psg=выбор группы
index_togroup=Группа
index_togroup=Группа:
eacl_psh=выбор узла
eacl_pdg=удаление группы
sshared_nosubnet=Разделяемая сеть '$1' не содержит никакой подсети.
@@ -288,7 +288,7 @@ log_options_group=
index_norder0=Назначение
index_norder1=Структура файла
index_norder2=Имя/Адрес IP
index_tosubnet=Подсеть
index_tosubnet=Подсеть:
log_delete_group=Удалена группа из $1 узлов
index_parent=Родитель
eopt_custom=Отдельные параметры
@@ -314,7 +314,7 @@ acl_r=
ehost_retsubn=подсеть
acl_w=запись
index_hostgroup=Узел/Группа
index_toshared=Сеть
index_toshared=Сеть:
log_create_host=Создан узел $1
ssub_nosubnet=Разделяемая сеть '$1' не содержит никакой подсети.
ehost_retgroup=группа

6
dhcpd/lang/ru_SU Normal file → Executable file
View File

@@ -41,9 +41,9 @@ index_return=
index_start=Нажмите на эту кнопку для запуска сервера DHCP с использованием текущих настроек.
index_subtitle=Подсети и разделяемые сети
index_title=Сервер DHCP
index_togroup=Группа
index_toshared=Сеть
index_tosubnet=Подсеть
index_togroup=Группа:
index_toshared=Сеть:
index_tosubnet=Подсеть:
index_version=ISC DHCPd версии $1
butt_save=Сохранение

6
dhcpd/lang/sk Normal file → Executable file
View File

@@ -135,9 +135,9 @@ index_net=Sie
index_netmask=Sie»ová maska
index_stop=Zastavi» server
index_title=DHCP Server
index_togroup=Skupina
index_toshared=Sie»
index_tosubnet=Subnet
index_togroup=Skupina:
index_toshared=Sie»:
index_tosubnet=Subnet:
index_zone=Zóna
keys_alg=Algoritmus
keys_create=Vytvori» TSIG kµúèe

6
dhcpd/lang/sv Normal file → Executable file
View File

@@ -35,9 +35,9 @@ index_horder1=Filstruktur
index_horder2=Namn
index_horder3=Hårdvaruadress
index_horder4=IP-adress
index_togroup=Grupp
index_tosubnet=Delnät
index_toshared=Nätverk
index_togroup=Grupp:
index_tosubnet=Delnät:
index_toshared=Nätverk:
index_ndisplay=Ordna nät och delnät efter:
index_norder0=Nivå
index_norder1=Filstruktur

0
dhcpd/lang/tr Normal file → Executable file
View File

6
dhcpd/lang/uk_UA Normal file → Executable file
View File

@@ -210,7 +210,7 @@ pool_deny=
esh_groups=Групи точно усередині поділюваної мережі
cdel_group=група
eacl_psg=вибір групи
index_togroup=Група
index_togroup=Група
:
eacl_psh=вибір вузла
eacl_pdg=видалення групи
@@ -288,7 +288,7 @@ log_options_group=
log_options_group=Змінені параметри групи з $1 вузлів
index_norder0=Призначення
index_norder1=Структура файлу
index_tosubnet=Підмережа
index_norder2=Ім'я/Адреса IP
index_tosubnet=Підмережа
:
log_delete_group=Вилучена група з $1 вузлів
@@ -314,7 +314,7 @@ acl_r=
esh_hosts=Вузли точно усередині поділюваної мережі
acl_r=читання
ehost_retsubn=підмережа
index_toshared=Мережа
acl_w=запис
index_hostgroup=Вузол/Група
index_toshared=Мережа
:

6
dhcpd/lang/zh_CN Normal file → Executable file
View File

@@ -35,9 +35,9 @@ index_horder1=
index_horder2=名称
index_horder3=硬件地址
index_horder4=IP地址
index_togroup=组
index_tosubnet=子网
index_toshared=网络
index_togroup=组:
index_tosubnet=子网:
index_toshared=网络:
index_ndisplay=显示网络和子网通过:
index_norder0=任务
index_norder1=文件结构

6
dhcpd/lang/zh_TW.Big5 Normal file → Executable file
View File

@@ -40,9 +40,9 @@ index_horder1=
index_horder2=名稱
index_horder3=硬體位址
index_horder4=IP位址
index_togroup=群組
index_tosubnet=子網路
index_toshared=網路
index_togroup=群組:
index_tosubnet=子網路:
index_toshared=網路:
index_ndisplay=顯示網路和子網路:
index_norder0=任務
index_norder1=檔案結構