From cvs w lms.org.pl Wed Mar 3 16:38:27 2010
From: cvs w lms.org.pl (LMS CVS)
Date: Wed, 3 Mar 2010 16:38:27 +0100 (CET)
Subject: [lms-commits] CVS update of lms/templates (2 files)
Message-ID: <20100303153827.C773C3027B2B@hydra.altec.pl>
Date: Wednesday, March 3, 2010 @ 16:38:27
Author: alec
Path: /cvsroot/lms/templates
Modified: customerlist.html customersearchresults.html
- Fixed Recover action on customer lists
Diff URLs:
http://cvs.lms.org.pl/viewvc/Development/lms/templates/customerlist.html.diff?&r1=1.15&r2=1.16
http://cvs.lms.org.pl/viewvc/Development/lms/templates/customersearchresults.html.diff?&r1=1.14&r2=1.15
Index: lms/templates/customerlist.html
diff -u lms/templates/customerlist.html:1.15 lms/templates/customerlist.html:1.16
--- lms/templates/customerlist.html:1.15 Wed Aug 26 10:49:39 2009
+++ lms/templates/customerlist.html Wed Mar 3 16:38:27 2010
@@ -1,5 +1,5 @@
{include file="header.html"}
-
+
{$layout.pagetitle}
@@ -123,8 +123,12 @@
{/if}
{/if}
{/if}
+ {if $listdata.state eq 4}
+
+ {else}
+ {/if}
Index: lms/templates/customersearchresults.html
diff -u lms/templates/customersearchresults.html:1.14 lms/templates/customersearchresults.html:1.15
--- lms/templates/customersearchresults.html:1.14 Tue Aug 25 13:41:12 2009
+++ lms/templates/customersearchresults.html Wed Mar 3 16:38:27 2010
@@ -1,5 +1,5 @@
{include file="header.html"}
-
+
{$layout.pagetitle}
{literal}
+{include file="footer.html"}
Index: lms/templates/ewxchedit.html
diff -u /dev/null lms/templates/ewxchedit.html:1.1
--- /dev/null Tue Mar 9 10:23:01 2010
+++ lms/templates/ewxchedit.html Tue Mar 9 10:23:00 2010
@@ -0,0 +1,41 @@
+{include file="header.html"}
+
+{$layout.pagetitle}
+
+
+{include file="footer.html"}
Index: lms/templates/ewxchinfo.html
diff -u /dev/null lms/templates/ewxchinfo.html:1.1
--- /dev/null Tue Mar 9 10:23:01 2010
+++ lms/templates/ewxchinfo.html Tue Mar 9 10:23:00 2010
@@ -0,0 +1,98 @@
+{include file="header.html"}
+
+{$layout.pagetitle}
+
+
+
+ {$channel.name} ({$channel.id|string_format:"%04d"})
+ |
+
+
+
+ {t}Downceil:{/t}
+ |
+
+ {$channel.downceil} kbit/s
+ ({t}night:{/t} {if $channel.downceil_n}{$channel.downceil_n|default:0} kbit/s{else}{t}not defined{/t}{/if})
+ |
+
+
+
+ {t}Upceil:{/t}
+ |
+
+ {$channel.upceil} kbit/s
+ ({t}night:{/t} {if $channel.upceil_n}{$channel.upceil_n|default:0} kbit/s{else}{t}not defined{/t}{/if})
+ |
+
+
+
+ {t}Edit{/t}
+ {t}Delete{/t}
+ |
+
+
+
+
+
+
+ {t}Devices:{/t}
+ |
+
+
+
+
+
+ | {t}Name:{/t} |
+ {t}ID:{/t} |
+ {t}Location:{/t} |
+ |
+
+ {cycle values="light,lucid" print=false}
+ {foreach from=$channel.devices item=item}
+
+
+ {$item.name}
+ |
+
+ ({$item.id|string_format:"%04d"})
+ |
+
+ {$item.location}
+ |
+
+
+ |
+
+ {foreachelse}
+
+ |
+
+ {t}No devices associated with this channel.{/t}
+
+ |
+
+ {/foreach}
+ {if $channel.freedevices}
+
+ {/if}
+
+ |
+
+
+{include file="footer.html"}
Index: lms/templates/ewxchlist.html
diff -u /dev/null lms/templates/ewxchlist.html:1.1
--- /dev/null Tue Mar 9 10:23:01 2010
+++ lms/templates/ewxchlist.html Tue Mar 9 10:23:00 2010
@@ -0,0 +1,95 @@
+{include file="header.html"}
+
+{$layout.pagetitle}
+
+{include file="footer.html"}
Index: lms/templates/netdevadd.html
diff -u lms/templates/netdevadd.html:1.27 lms/templates/netdevadd.html:1.28
--- lms/templates/netdevadd.html:1.27 Sun Apr 5 11:20:11 2009
+++ lms/templates/netdevadd.html Tue Mar 9 10:23:00 2010
@@ -1,5 +1,5 @@
{include file="header.html"}
-
+
{include file="calendar_js.html"}
{$layout.pagetitle}
Index: lms/templates/netdeveditbox.html
diff -u lms/templates/netdeveditbox.html:1.30 lms/templates/netdeveditbox.html:1.31
--- lms/templates/netdeveditbox.html:1.30 Sun Apr 5 11:20:11 2009
+++ lms/templates/netdeveditbox.html Tue Mar 9 10:23:00 2010
@@ -1,4 +1,4 @@
-
+
{include file="calendar_js.html"}
|
Index: lms/templates/netdevinfobox.html
diff -u lms/templates/netdevinfobox.html:1.26 lms/templates/netdevinfobox.html:1.27
--- lms/templates/netdevinfobox.html:1.26 Sun Apr 5 11:20:11 2009
+++ lms/templates/netdevinfobox.html Tue Mar 9 10:23:00 2010
@@ -1,4 +1,4 @@
-
+
|
From cvs w lms.org.pl Tue Mar 9 10:26:42 2010
From: cvs w lms.org.pl (LMS CVS)
Date: Tue, 9 Mar 2010 10:26:42 +0100 (CET)
Subject: [lms-commits] CVS update of lms/lib/locale/pl (strings.php)
Message-ID: <20100309092643.0390F3027B29@hydra.altec.pl>
Date: Tuesday, March 9, 2010 @ 10:26:42
Author: alec
Path: /cvsroot/lms/lib/locale/pl
Modified: strings.php
- more translations
Diff URLs:
http://cvs.lms.org.pl/viewvc/Development/lms/lib/locale/pl/strings.php.diff?&r1=1.349&r2=1.350
Index: lms/lib/locale/pl/strings.php
diff -u lms/lib/locale/pl/strings.php:1.349 lms/lib/locale/pl/strings.php:1.350
--- lms/lib/locale/pl/strings.php:1.349 Tue Mar 9 10:23:00 2010
+++ lms/lib/locale/pl/strings.php Tue Mar 9 10:26:42 2010
@@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*
- * $Id: strings.php,v 1.349 2010/03/09 09:23:00 alec Exp $
+ * $Id: strings.php,v 1.350 2010/03/09 09:26:42 alec Exp $
*/
$_LANG['$0 ($1 addresses)'] = '$0 ($1 adresów)';
@@ -2329,5 +2329,12 @@
$_LANG['Removing channel $0'] = 'Usuwanie kanału $0';
$_LANG['This field must contain number greater than 8!'] = 'To pole musi zawierać liczbę większą od 8!';
$_LANG['TTL'] = 'TTL';
+$_LANG['Add device to the channel'] = 'Dodaj urządzenie do kanału';
+$_LANG['Are you sure, you want to remove this assignment?'] = 'Czy na pewno chcesz usunąć to powiązanie?';
+$_LANG['No devices associated with this channel.'] = 'Brak urządzeń w tym kanale.';
+$_LANG['Remove this device from the channel'] = 'Usuń to urządzenie z kanału';
+$_LANG['Select channel (optional)'] = 'Wybierz kanał (opcjonalnie)';
+$_LANG['select device'] = 'wybierz urządzenie';
+$_LANG['Select device to associate with the channel'] = 'Wybierz urządzenie aby przypisać je do kanału';
?>
From cvs w lms.org.pl Wed Mar 10 14:08:32 2010
From: cvs w lms.org.pl (LMS CVS)
Date: Wed, 10 Mar 2010 14:08:32 +0100 (CET)
Subject: [lms-commits] CVS update of lms/modules (6 files)
Message-ID: <20100310130832.680A73027B2C@hydra.altec.pl>
Date: Wednesday, March 10, 2010 @ 14:08:32
Author: alec
Path: /cvsroot/lms/modules
Added: recordlist.php
Modified: configlist.php recordadd.php recorddel.php recordedit.php
Removed: recordslist.php
- code cleanups and small fixes in DNS records management
Diff URLs:
http://cvs.lms.org.pl/viewvc/Development/lms/modules/configlist.php.diff?&r1=1.62&r2=1.63
http://cvs.lms.org.pl/viewvc/Development/lms/modules/recordadd.php.diff?&r1=1.10&r2=1.11
http://cvs.lms.org.pl/viewvc/Development/lms/modules/recorddel.php.diff?&r1=1.4&r2=1.5
http://cvs.lms.org.pl/viewvc/Development/lms/modules/recordedit.php.diff?&r1=1.8&r2=1.9
http://cvs.lms.org.pl/viewvc/Development/lms/modules/recordlist.php?rev=1.1
http://cvs.lms.org.pl/viewvc/Development/lms/modules/recordslist.php?rev=1.7
Index: lms/modules/configlist.php
diff -u lms/modules/configlist.php:1.62 lms/modules/configlist.php:1.63
--- lms/modules/configlist.php:1.62 Tue Mar 9 10:23:00 2010
+++ lms/modules/configlist.php Wed Mar 10 14:08:32 2010
@@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*
- * $Id: configlist.php,v 1.62 2010/03/09 09:23:00 alec Exp $
+ * $Id: configlist.php,v 1.63 2010/03/10 13:08:32 alec Exp $
*/
function GetConfigList($order='var,asc', $section='')
@@ -506,10 +506,10 @@
$config[$idx]['description'] = trans('Minimum caching time in case of failed lookups. Default 86400.');
break;
case 'default_webserver_ip':
- $config[$idx]['description'] = trans('IP address of webserver.');
+ $config[$idx]['description'] = trans('IP address of webserver');
break;
case 'default_mailserver_ip':
- $config[$idx]['description'] = trans('IP address of mailserver.');
+ $config[$idx]['description'] = trans('IP address of mailserver');
break;
Index: lms/modules/recordadd.php
diff -u lms/modules/recordadd.php:1.10 lms/modules/recordadd.php:1.11
--- lms/modules/recordadd.php:1.10 Sun Feb 21 19:12:37 2010
+++ lms/modules/recordadd.php Wed Mar 10 14:08:32 2010
@@ -30,11 +30,11 @@
$domain = $DB->GetRow('SELECT name FROM domains WHERE id = ?', array($record['domain_id']));
- $tlds=explode(".",$domain['name']);
+ $tlds = explode(".", $domain['name']);
+ //domena in-add.arpa
if ($tlds[count($tlds)-2].$tlds[count($tlds)-1] == 'in-addrarpa')
- { //domena in-add.arpa
-
+ {
if (!is_numeric($record['name']) && $record['name'] != '')
$error['name'] = trans('Wrong record name');
@@ -49,9 +49,8 @@
}
}
- else
- if ($record['type'] == 'PTR')
- $error['type'] = trans('You can\'t add PTR record to this domain');
+ else if ($record['type'] == 'PTR')
+ $error['type'] = trans('You can\'t add PTR record to this domain');
if ($record['ttl']*1 <= 0 || !is_numeric($record['ttl']))
$error['ttl'] = trans('Wrong TTL');
@@ -75,6 +74,7 @@
if (trim($record['name']) != '')
$record['name'] = trim($record['name'],'.').'.';
$record['name'] .= $domain['name'];
+
$DB->Execute('INSERT INTO records (name, type, content, ttl, prio, domain_id)
VALUES (?, ?, ?, ?, ?, ?)',
array(
@@ -88,7 +88,7 @@
update_soa_serial($record['domain_id']);
- $SESSION->redirect('?m=recordslist');
+ $SESSION->redirect('?m=recordlist');
}
}
else
@@ -96,7 +96,7 @@
$d = $_GET['d']*1;
-$layout['pagetitle'] = trans('Record add to zone');
+$layout['pagetitle'] = trans('New DNS Record');
if (empty($record['ttl']))
{
@@ -108,7 +108,7 @@
$SMARTY->assign('domain_id', $d);
$SMARTY->assign('record', $record);
-$SMARTY->assign('error',$error);
+$SMARTY->assign('error', $error);
$SMARTY->assign('domain', $domain ? $domain : $DB->GetRow('SELECT name FROM domains WHERE id = ?', array($d)));
$SMARTY->display('recordadd.html');
Index: lms/modules/recorddel.php
diff -u lms/modules/recorddel.php:1.4 lms/modules/recorddel.php:1.5
--- lms/modules/recorddel.php:1.4 Sat Feb 20 17:25:39 2010
+++ lms/modules/recorddel.php Wed Mar 10 14:08:32 2010
@@ -33,6 +33,6 @@
update_soa_serial($domainid['domain_id']);
}
-$SESSION->redirect('?m=recordslist');
+$SESSION->redirect('?m=recordlist');
?>
Index: lms/modules/recordedit.php
diff -u lms/modules/recordedit.php:1.8 lms/modules/recordedit.php:1.9
--- lms/modules/recordedit.php:1.8 Sun Feb 21 19:12:37 2010
+++ lms/modules/recordedit.php Wed Mar 10 14:08:32 2010
@@ -37,9 +37,9 @@
$tlds = explode(".",$domain['name']);
+ //domena in-add.arpa
if ($tlds[count($tlds)-2].$tlds[count($tlds)-1] == 'in-addrarpa')
- { //domena in-add.arpa
-
+ {
if (!is_numeric($record['name']) && $record['name'] != '')
$error['name'] = trans('Wrong record name');
@@ -52,11 +52,9 @@
if ($errorcontent)
$error['content'] = $errorcontent;
}
-
}
- else
- if ($record['type'] == 'PTR')
- $error['type'] = trans('You can\'t add PTR record to this domain');
+ else if ($record['type'] == 'PTR')
+ $error['type'] = trans('You can\'t add PTR record to this domain');
if ($record['ttl']*1 <= 0 || !is_numeric($record['ttl']))
$error['ttl'] = trans('Wrong TTL');
@@ -70,11 +68,10 @@
if (!$error)
{
-
if (trim($record['name']) !='')
$record['name'] = trim($record['name'],'.').'.';
-
$record['name'] .= $domain['name'];
+
$DB->Execute('UPDATE records SET name = ?, type = ?, content = ?, ttl = ?, prio = ?
WHERE id = ?',
array($record['name'],
@@ -86,7 +83,8 @@
));
update_soa_serial($domain['id']);
- $SESSION->redirect('?m=recordslist');
+
+ $SESSION->redirect('?m=recordlist');
}
}
else
@@ -95,15 +93,15 @@
$record['name'] = substr($record['name'],0,-(strlen($domain['name']) + 1));
}
-$layout['pagetitle'] = trans('Record edit for zone:');
+$layout['pagetitle'] = trans('DNS Record Edit');
$SESSION->save('backto', $_SERVER['QUERY_STRING']);
$record['content'] = htmlentities($record['content']);
-$SMARTY->assign('error',$error);
-$SMARTY->assign('record',$record);
-$SMARTY->assign('domain',$domain);
+$SMARTY->assign('error', $error);
+$SMARTY->assign('record', $record);
+$SMARTY->assign('domain', $domain);
$SMARTY->display('recordedit.html');
Index: lms/modules/recordlist.php
diff -u /dev/null lms/modules/recordlist.php:1.1
--- /dev/null Wed Mar 10 14:08:32 2010
+++ lms/modules/recordlist.php Wed Mar 10 14:08:32 2010
@@ -0,0 +1,69 @@
+restore('ald', $d);
+else
+ $d = $_GET['d'];
+$SESSION->save('ald', $d);
+
+$recordslist = $DB->GetAll('SELECT *,
+ (CASE WHEN type=\'TXT\' THEN 1
+ WHEN type=\'MX\' THEN 2
+ WHEN type=\'NS\' THEN 3
+ WHEN type=\'SOA\' THEN 4
+ ELSE 0 END) AS ord
+ FROM records WHERE domain_id = ? ORDER BY ord desc',
+ array($d));
+
+$listdata['total'] = count($recordslist);
+$listdata['domain'] = $d;
+$listdata['domainName'] = $domain['name'];
+
+if ($domain['type'] == 'SLAVE')
+ $showAddEdit = false;
+else
+ $showAddEdit = true;
+
+$page = (!isset($_GET['page']) ? 1 : $_GET['page']);
+$pagelimit = (!isset($CONFIG['phpui']['recordlist_pagelimit']) ? $listdata['total'] : $CONFIG['phpui']['recordlist_pagelimit']);
+$start = ($page - 1) * $pagelimit;
+
+$SESSION->save('alp', $page);
+
+$layout['pagetitle'] = trans('DNS Records List');
+
+$SESSION->save('backto', $_SERVER['QUERY_STRING']);
+
+$SMARTY->assign('pagelimit', $pagelimit);
+$SMARTY->assign('page', $page);
+$SMARTY->assign('start', $start);
+$SMARTY->assign('recordslist', $recordslist);
+$SMARTY->assign('listdata', $listdata);
+$SMARTY->assign('showaddedit', $showAddEdit);
+$SMARTY->assign('domainlist', $DB->GetAll('SELECT id, name FROM domains ORDER BY name'));
+$SMARTY->display('recordlist.html');
+
+?>
Index: lms/modules/recordslist.php
diff -u lms/modules/recordslist.php:1.7 lms/modules/recordslist.php:removed
--- lms/modules/recordslist.php:1.7 Sun Feb 21 19:12:37 2010
+++ lms/modules/recordslist.php Wed Mar 10 14:08:32 2010
@@ -1,71 +0,0 @@
-restore('ald', $d);
-else
- $d = $_GET['d'];
-$SESSION->save('ald', $d);
-
-$recordslist = $DB->GetAll('SELECT *,
- (CASE WHEN type=\'TXT\' THEN 1
- WHEN type=\'MX\' THEN 2
- WHEN type=\'NS\' THEN 3
- WHEN type=\'SOA\' THEN 4
- ELSE 0 END) AS ord
- FROM records WHERE domain_id = ? ORDER BY ord desc',
- array($d));
-
-$domain = $DB->GetRow('SELECT name, type FROM domains WHERE id = ?', array($d));
-
-$listdata['total'] = count($recordslist);
-$listdata['domain'] = $d;
-$listdata['domainName'] = $domain['name'];
-
-if ($domain['type'] == 'SLAVE')
- $showAddEdit=false;
-else
- $showAddEdit=true;
-
-$page = (!isset($_GET['page']) ? 1 : $_GET['page']);
-$pagelimit = (!isset($CONFIG['phpui']['recordslist_pagelimit']) ? $listdata['total'] : $CONFIG['phpui']['recordslist_pagelimit']);
-$start = ($page - 1) * $pagelimit;
-
-$SESSION->save('alp', $page);
-
-$layout['pagetitle'] = trans('Records list');
-
-$SESSION->save('backto', $_SERVER['QUERY_STRING']);
-
-$SMARTY->assign('pagelimit', $pagelimit);
-$SMARTY->assign('page', $page);
-$SMARTY->assign('start', $start);
-$SMARTY->assign('recordslist',$recordslist);
-$SMARTY->assign('listdata',$listdata);
-$SMARTY->assign('showaddedit',$showAddEdit);
-$SMARTY->assign('domainlist',$DB->GetAll('SELECT id, name FROM domains ORDER BY name'));
-$SMARTY->display('recordslist.html');
-
-?>
From cvs w lms.org.pl Wed Mar 10 14:08:32 2010
From: cvs w lms.org.pl (LMS CVS)
Date: Wed, 10 Mar 2010 14:08:32 +0100 (CET)
Subject: [lms-commits] CVS update of lms/lib (accesstable.php, config.php)
Message-ID: <20100310130832.239D43027B29@hydra.altec.pl>
Date: Wednesday, March 10, 2010 @ 14:08:32
Author: alec
Path: /cvsroot/lms/lib
Modified: accesstable.php config.php
- code cleanups and small fixes in DNS records management
Diff URLs:
http://cvs.lms.org.pl/viewvc/Development/lms/lib/accesstable.php.diff?&r1=1.129&r2=1.130
http://cvs.lms.org.pl/viewvc/Development/lms/lib/config.php.diff?&r1=1.7&r2=1.8
Index: lms/lib/accesstable.php
diff -u lms/lib/accesstable.php:1.129 lms/lib/accesstable.php:1.130
--- lms/lib/accesstable.php:1.129 Tue Mar 9 10:22:59 2010
+++ lms/lib/accesstable.php Wed Mar 10 14:08:31 2010
@@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*
- * $Id: accesstable.php,v 1.129 2010/03/09 09:22:59 alec Exp $
+ * $Id: accesstable.php,v 1.130 2010/03/10 13:08:31 alec Exp $
*/
unset($access);
@@ -32,7 +32,7 @@
$access['table'][0]['allow_reg'] = '^.*$';
$access['table'][1]['name'] = trans('read only (excluding helpdesk)');
-$access['table'][1]['allow_reg'] = '^((user|balance|db|net|node|netdev|tariff|payment|invoice|note|customer|customergroup|nodegroup|account|voipaccount|alias|domain|config|event|taxrate|document|numberplan|state|host|division|message|ewxch)(list|info|view|search|balance|infoshort)|netdevmap|eventprint|nodelistshort|number|cashsourcelist)$';
+$access['table'][1]['allow_reg'] = '^((user|balance|db|net|node|netdev|tariff|payment|invoice|note|customer|customergroup|nodegroup|account|voipaccount|alias|domain|record|config|event|taxrate|document|numberplan|state|host|division|message|ewxch)(list|info|view|search|balance|infoshort)|netdevmap|eventprint|nodelistshort|number|cashsourcelist)$';
$access['table'][2]['name'] = trans('nodes connection/disconnection');
$access['table'][2]['allow_reg'] = '^nodeset$';
@@ -62,7 +62,7 @@
$access['table'][10]['allow_reg'] = '^(rtsearch|rtqueue(list|info|view)|(rtticket|rtmessage|rtnote)(add|edit|info|view|del|print))$';
$access['table'][11]['name'] = trans('hosting management');
-$access['table'][11]['allow_reg'] = '^(accountpasswd|(account|domain|alias)(list|edit|add|del|info|search))$';
+$access['table'][11]['allow_reg'] = '^(accountpasswd|(account|domain|alias|record)(list|edit|add|del|info|search))$';
$access['table'][12]['name'] = trans('configuration');
$access['table'][12]['allow_reg'] = '^((host|config|numberplan|taxrate|state|division|cashsource)(list|edit|add|del|load))$';
Index: lms/lib/config.php
diff -u lms/lib/config.php:1.7 lms/lib/config.php:1.8
--- lms/lib/config.php:1.7 Wed Feb 3 15:43:03 2010
+++ lms/lib/config.php Wed Mar 10 14:08:31 2010
@@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*
- * $Id: config.php,v 1.7 2010/02/03 14:43:03 webvisor Exp $
+ * $Id: config.php,v 1.8 2010/03/10 13:08:31 alec Exp $
*/
function chkconfig($value, $default = FALSE)
@@ -72,7 +72,7 @@
'voipaccountlist_pagelimit' => 100,
'networkhosts_pagelimit' => 256,
'messagelist_pagelimit' => 100,
- 'recordslist_pagelimit' => 100,
+ 'recordlist_pagelimit' => 100,
'reload_type' => 'sql',
'reload_execcmd' => '/bin/true',
'reload_sqlquery' => '',
From cvs w lms.org.pl Wed Mar 10 14:08:32 2010
From: cvs w lms.org.pl (LMS CVS)
Date: Wed, 10 Mar 2010 14:08:32 +0100 (CET)
Subject: [lms-commits] CVS update of lms/lib/locale/pl (strings.php)
Message-ID: <20100310130832.3B43A3027B2B@hydra.altec.pl>
Date: Wednesday, March 10, 2010 @ 14:08:32
Author: alec
Path: /cvsroot/lms/lib/locale/pl
Modified: strings.php
- code cleanups and small fixes in DNS records management
Diff URLs:
http://cvs.lms.org.pl/viewvc/Development/lms/lib/locale/pl/strings.php.diff?&r1=1.350&r2=1.351
Index: lms/lib/locale/pl/strings.php
diff -u lms/lib/locale/pl/strings.php:1.350 lms/lib/locale/pl/strings.php:1.351
--- lms/lib/locale/pl/strings.php:1.350 Tue Mar 9 10:26:42 2010
+++ lms/lib/locale/pl/strings.php Wed Mar 10 14:08:32 2010
@@ -21,7 +21,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
* USA.
*
- * $Id: strings.php,v 1.350 2010/03/09 09:26:42 alec Exp $
+ * $Id: strings.php,v 1.351 2010/03/10 13:08:32 alec Exp $
*/
$_LANG['$0 ($1 addresses)'] = '$0 ($1 adresów)';
@@ -1085,7 +1085,6 @@
$_LANG['Receipt number must be integer!'] = 'Numer potwierdzenia musi być liczbą całkowitą!';
$_LANG['Recipients:'] = 'Odbiorcy:';
$_LANG['Recipient\'s e-mail:'] = 'E-mail odbiorcy:';
-$_LANG['Record of Network Devices'] = 'Ewidencja sprzętu sieciowego';
$_LANG['records $0 - $1 of $2'] = 'rekordy $0 - $1 z $2';
$_LANG['Registered for:'] = 'Zarejestrowano dla:';
$_LANG['Register your installation today! ;-)'] = 'Zarejestruj swoją instalację jeszcze dziś! ;-)';
@@ -2257,18 +2256,18 @@
$_LANG['(domain alias)'] = '(alias domenowy)';
$_LANG['night:'] = 'noc:';
$_LANG['not defined'] = 'brak';
-$_LANG['Records list'] = 'Lista rekordów';
-$_LANG['New record'] = 'Nowy rekord';
+$_LANG['DNS Records List'] = 'Lista rekordów DNS';
+$_LANG['New DNS Record'] = 'Nowy rekord DNS';
+$_LANG['New Record'] = 'Nowy rekord';
$_LANG['Content'] = 'Dane';
$_LANG['Type'] = 'Typ';
$_LANG['Records'] = 'Rekordy';
-$_LANG['Record Edit'] = 'Edycja Rekordu';
-$_LANG['Record Add'] = 'Dodaj Rekord';
+$_LANG['DNS Record Edit'] = 'Edycja rekordu DNS';
$_LANG['No such records in database.'] = 'Nie ma rekordów w bazie danych';
$_LANG['Domain type:'] = 'Typ domeny:';
$_LANG['Records number:'] = 'Liczba rekordów:';
$_LANG['Domain admin e-mail address.'] = 'Adres e-mail administratora domeny.';
-$_LANG['Are you sure you want to delete this record?'] = 'Jesteś pewien, że chcesz skasowac ten rekord?';
+$_LANG['Are you sure you want to delete this record?'] = 'Jesteś pewien, że chcesz usunąć ten rekord?';
$_LANG['You can\'t add PTR record to this domain'] = 'Nie możesz dodać rekordu PTR do tej domeny';
$_LANG['Enter content'] = 'Wprowadź dane';
$_LANG['Enter IP address of mailserver'] = 'Wprowadź adres IP serwera pocztowego';
@@ -2278,11 +2277,9 @@
$_LANG['Enter record name'] = 'Wprowadź nazwę rekordu';
$_LANG['Enter record TTL'] = 'Wprowadź TTL rekordu';
$_LANG['Enter TTL'] = 'Wprowadź TTL';
-$_LANG['IP address of mailserver:'] = 'Adres IP serwera pocztowego:';
-$_LANG['IP address of mailserver.'] = 'Adres IP serwera pocztowego.';
-$_LANG['IP address of master NS:'] = 'Adres IP serwera głównego serwera nazw';
-$_LANG['IP address of webserver:'] = 'Adres IP serwera www:';
-$_LANG['IP address of webserver.'] = 'Adres IP serwera www.';
+$_LANG['IP address of mailserver'] = 'Adres IP serwera pocztowego';
+$_LANG['IP address of master NS:'] = 'Adres IP głównego serwera nazw:';
+$_LANG['IP address of webserver'] = 'Adres IP serwera www';
$_LANG['Wrong Content'] = 'Nieprawidłowa zawartość';
$_LANG['Wrong record name'] = 'Nieprawidłowa nazwa rekordu';
$_LANG['Wrong record type'] = 'Nieprawidłowa typ rekordu';
From cvs w lms.org.pl Wed Mar 10 14:08:32 2010
From: cvs w lms.org.pl (LMS CVS)
Date: Wed, 10 Mar 2010 14:08:32 +0100 (CET)
Subject: [lms-commits] CVS update of lms/templates (15 files)
Message-ID: <20100310130832.BE2063027B2D@hydra.altec.pl>
Date: Wednesday, March 10, 2010 @ 14:08:32
Author: alec
Path: /cvsroot/lms/templates
Added: recordlist.html
Modified: accountadd.html accountedit.html accountinfo.html
accountsearch.html aliasadd.html aliasedit.html aliasinfo.html
domainadd.html domainedit.html domaininfo.html domainlist.html
recordadd.html recordedit.html
Removed: recordslist.html
- code cleanups and small fixes in DNS records management
Diff URLs:
http://cvs.lms.org.pl/viewvc/Development/lms/templates/accountadd.html.diff?&r1=1.43&r2=1.44
http://cvs.lms.org.pl/viewvc/Development/lms/templates/accountedit.html.diff?&r1=1.36&r2=1.37
http://cvs.lms.org.pl/viewvc/Development/lms/templates/accountinfo.html.diff?&r1=1.14&r2=1.15
http://cvs.lms.org.pl/viewvc/Development/lms/templates/accountsearch.html.diff?&r1=1.3&r2=1.4
http://cvs.lms.org.pl/viewvc/Development/lms/templates/aliasadd.html.diff?&r1=1.17&r2=1.18
http://cvs.lms.org.pl/viewvc/Development/lms/templates/aliasedit.html.diff?&r1=1.5&r2=1.6
http://cvs.lms.org.pl/viewvc/Development/lms/templates/aliasinfo.html.diff?&r1=1.7&r2=1.8
http://cvs.lms.org.pl/viewvc/Development/lms/templates/domainadd.html.diff?&r1=1.18&r2=1.19
http://cvs.lms.org.pl/viewvc/Development/lms/templates/domainedit.html.diff?&r1=1.16&r2=1.17
http://cvs.lms.org.pl/viewvc/Development/lms/templates/domaininfo.html.diff?&r1=1.6&r2=1.7
http://cvs.lms.org.pl/viewvc/Development/lms/templates/domainlist.html.diff?&r1=1.24&r2=1.25
http://cvs.lms.org.pl/viewvc/Development/lms/templates/recordadd.html.diff?&r1=1.4&r2=1.5
http://cvs.lms.org.pl/viewvc/Development/lms/templates/recordedit.html.diff?&r1=1.4&r2=1.5
http://cvs.lms.org.pl/viewvc/Development/lms/templates/recordlist.html?rev=1.1
http://cvs.lms.org.pl/viewvc/Development/lms/templates/recordslist.html?rev=1.5
Index: lms/templates/accountadd.html
diff -u lms/templates/accountadd.html:1.43 lms/templates/accountadd.html:1.44
--- lms/templates/accountadd.html:1.43 Tue Feb 23 11:14:34 2010
+++ lms/templates/accountadd.html Wed Mar 10 14:08:32 2010
@@ -1,5 +1,5 @@
{include file="header.html"}
-
+
{include file="calendar_js.html"}
{literal}
- {/literal}
-
-
+
+if (document.getElementById('domainadd[type]').value=='SLAVE')
+ showslave();
+
+{/literal}
{include file="footer.html"}
Index: lms/templates/domainedit.html
diff -u lms/templates/domainedit.html:1.16 lms/templates/domainedit.html:1.17
--- lms/templates/domainedit.html:1.16 Wed Feb 3 15:43:03 2010
+++ lms/templates/domainedit.html Wed Mar 10 14:08:32 2010
@@ -1,5 +1,5 @@
{include file="header.html"}
-
+
{$layout.pagetitle}
|