diff --git a/application/controllers/Qso.php b/application/controllers/Qso.php
index 1f6256526..dc34ef929 100644
--- a/application/controllers/Qso.php
+++ b/application/controllers/Qso.php
@@ -2,7 +2,7 @@
class QSO extends CI_Controller {
- const LAST_QSOS_COUNT = 5; // max number of most recent qsos to be displayed on a qso page
+ const LAST_QSOS_COUNT = 5; // max number of most recent qsos to be displayed on a qso page
function __construct()
{
@@ -86,6 +86,8 @@ class QSO extends CI_Controller {
$data['user_dok_to_qso_tab'] = 0;
}
+ $data['qso_count'] = self::LAST_QSOS_COUNT;
+
$this->load->library('form_validation');
$this->form_validation->set_rules('start_date', 'Date', 'required');
diff --git a/application/views/qso/index.php b/application/views/qso/index.php
index 0b416dc84..0f873e5fc 100644
--- a/application/views/qso/index.php
+++ b/application/views/qso/index.php
@@ -776,7 +776,7 @@
- = __("Max. 5 previous contacts are shown"); ?>
+ = sprintf(__("Max. %s previous contacts are shown"), $qso_count); ?>