diff options
author | Thomas ZILLIOX <thomas@zilliox.me> | 2013-05-30 23:42:25 +0400 |
---|---|---|
committer | Thomas ZILLIOX <thomas@zilliox.me> | 2013-05-30 23:42:25 +0400 |
commit | 5e39f1cebcf7453047cb7b7712342f0dd4ae7be2 (patch) | |
tree | d6af25da76d681a14a2f51d367bd89df203dc7e5 /plugins/MobileMessaging | |
parent | 4d3b77ed8e2498c5fd4eb6eb35a6dd1a08d6f7d1 (diff) |
Rename template file names
Diffstat (limited to 'plugins/MobileMessaging')
-rw-r--r-- | plugins/MobileMessaging/Controller.php | 2 | ||||
-rw-r--r-- | plugins/MobileMessaging/MobileMessaging.php | 2 | ||||
-rw-r--r-- | plugins/MobileMessaging/templates/index.twig (renamed from plugins/MobileMessaging/templates/Settings.twig) | 0 | ||||
-rw-r--r-- | plugins/MobileMessaging/templates/reportParametersPDFReports.twig (renamed from plugins/MobileMessaging/templates/ReportParameters.twig) | 0 |
4 files changed, 2 insertions, 2 deletions
diff --git a/plugins/MobileMessaging/Controller.php b/plugins/MobileMessaging/Controller.php index b4e99c3242..01c3d731e0 100644 --- a/plugins/MobileMessaging/Controller.php +++ b/plugins/MobileMessaging/Controller.php @@ -28,7 +28,7 @@ class Piwik_MobileMessaging_Controller extends Piwik_Controller_Admin { Piwik::checkUserIsNotAnonymous(); - $view = new Piwik_View('@MobileMessaging/Settings'); + $view = new Piwik_View('@MobileMessaging/index'); $view->isSuperUser = Piwik::isUserIsSuperUser(); diff --git a/plugins/MobileMessaging/MobileMessaging.php b/plugins/MobileMessaging/MobileMessaging.php index 7d56fe14f2..1235be46c3 100644 --- a/plugins/MobileMessaging/MobileMessaging.php +++ b/plugins/MobileMessaging/MobileMessaging.php @@ -273,7 +273,7 @@ class Piwik_MobileMessaging extends Piwik_Plugin } $out =& $notification->getNotificationObject(); - $view = Piwik_View::factory('ReportParameters'); + $view = new Piwik_View('@MobileMessaging/reportParametersPDFReports'); $view->reportType = self::MOBILE_TYPE; $view->phoneNumbers = Piwik_MobileMessaging_API::getInstance()->getActivatedPhoneNumbers(); $out .= $view->render(); diff --git a/plugins/MobileMessaging/templates/Settings.twig b/plugins/MobileMessaging/templates/index.twig index adbd93d2bf..adbd93d2bf 100644 --- a/plugins/MobileMessaging/templates/Settings.twig +++ b/plugins/MobileMessaging/templates/index.twig diff --git a/plugins/MobileMessaging/templates/ReportParameters.twig b/plugins/MobileMessaging/templates/reportParametersPDFReports.twig index 13f89c752a..13f89c752a 100644 --- a/plugins/MobileMessaging/templates/ReportParameters.twig +++ b/plugins/MobileMessaging/templates/reportParametersPDFReports.twig |