Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/HuasoFoundries/phpPgAdmin6.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelipe Figueroa <amenadiel@gmail.com>2018-05-11 00:33:45 +0300
committerFelipe Figueroa <amenadiel@gmail.com>2018-05-11 00:33:45 +0300
commit74f8dcf7961f4543874a30268e1fd869e1fbfd90 (patch)
tree2c2eac6dd6c04c9b79a2c9a018f9041272287d64 /src/controllers/DataimportController.php
parentf4fff1d90777778576174c46338fd9f87869f6a5 (diff)
parametrize controller title to reduce duplication when calling printHeader
Diffstat (limited to 'src/controllers/DataimportController.php')
-rw-r--r--src/controllers/DataimportController.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/controllers/DataimportController.php b/src/controllers/DataimportController.php
index 2e5b5c06..b07386c5 100644
--- a/src/controllers/DataimportController.php
+++ b/src/controllers/DataimportController.php
@@ -13,6 +13,7 @@ namespace PHPPgAdmin\Controller;
*/
class DataimportController extends BaseController
{
+ public $controller_title = 'strimport';
/**
* Default method to render the controller according to the action parameter.
*/
@@ -23,7 +24,7 @@ class DataimportController extends BaseController
// Prevent timeouts on large exports
set_time_limit(0);
- $this->printHeader($this->lang['strimport']);
+ $this->printHeader();
$this->printTrail('table');
$this->printTabs('table', 'import');