Index: modules/customerprint.php =================================================================== RCS file: /cvsroot/lms/modules/customerprint.php,v retrieving revision 1.24 diff -u -r1.24 customerprint.php --- modules/customerprint.php 14 Oct 2011 16:08:58 -0000 1.24 +++ modules/customerprint.php 6 Dec 2011 19:56:30 -0000 @@ -72,12 +72,12 @@ $SMARTY->assign('customerlist', $LMS->GetCustomerList($_POST['order'].','.$_POST['direction'], $_POST['filter'], $_POST['network'], $_POST['customergroup'], $search, $date, 'AND', $_POST['nodegroup'])); break; case 1: - $layout['pagetitle'] = trans('Interested Customers List'); - $SMARTY->assign('customerlist', $LMS->GetCustomerList($_POST['order'].','.$_POST['direction'], $_POST['filter'], NULL, NULL, $search, $date)); + $layout['pagetitle'] = trans('Interested Customers List $a',($_POST['customergroup'] ? trans('(Group: $a)',$LMS->CustomergroupGetName($_POST['customergroup'])) : ''));; + $SMARTY->assign('customerlist', $LMS->GetCustomerList($_POST['order'].','.$_POST['direction'], $_POST['filter'], NULL, $_POST['customergroup'], $search, $date)); break; case 2: - $layout['pagetitle'] = trans('List of awaiting customers'); - $SMARTY->assign('customerlist', $LMS->GetCustomerList($_POST['order'].','.$_POST['direction'], $_POST['filter'], NULL, NULL, $search, $date)); + $layout['pagetitle'] = trans('List of awaiting customers $a',($_POST['customergroup'] ? trans('(Group: $a)',$LMS->CustomergroupGetName($_POST['customergroup'])) : '')); + $SMARTY->assign('customerlist', $LMS->GetCustomerList($_POST['order'].','.$_POST['direction'], $_POST['filter'], NULL, $_POST['customergroup'], $search, $date)); break; case 3: $layout['pagetitle'] = trans('List of Connected Customers $a$b',($_POST['network'] ? trans(' (Net: $a)',$LMS->GetNetworkName($_POST['network'])) : ''),($_POST['customergroup'] ? trans('(Group: $a)',$LMS->CustomergroupGetName($_POST['customergroup'])) : '')); Index: lib/locale/pl/strings.php =================================================================== RCS file: /cvsroot/lms/lib/locale/pl/strings.php,v retrieving revision 1.407 diff -u -r1.407 strings.php --- lib/locale/pl/strings.php 6 Dec 2011 19:28:08 -0000 1.407 +++ lib/locale/pl/strings.php 6 Dec 2011 19:56:30 -0000 @@ -171,7 +171,7 @@ $_LANG['Attachments:'] = 'Załączniki:'; $_LANG['Avg. monthly income:'] = 'Śr. mies. przychód:'; $_LANG['awaiting'] = 'oczekujący'; -$_LANG['List of awaiting customers'] = 'Lista klientów oczekujących'; +$_LANG['List of awaiting customers $a'] = 'Lista klientów oczekujących $a'; $_LANG['$a'] = '$a'; $_LANG['Backup Delete'] = 'Backup Delete'; $_LANG['Backups'] = 'Kopie zapasowe'; @@ -689,7 +689,7 @@ $_LANG['interested'] = 'zainteresowani'; $_LANG['interested'] = 'zainteresowany'; $_LANG['Interested:'] = 'Zainteresowani:'; -$_LANG['Interested Customers List'] = 'Lista zainteresowanych klientów'; +$_LANG['Interested Customers List $a'] = 'Lista zainteresowanych klientów $a'; $_LANG['Interface:'] = 'Interfejs:'; $_LANG['Invalid chars in group name!'] = 'Niedozwolone znaki w nazwie grupy!'; $_LANG['Invalid date format!'] = 'Nieprawidłowy format daty!';