From ce20521be5116c575acdcb6fbc42c977df053d28 Mon Sep 17 00:00:00 2001 From: DanielSeifert Date: Thu, 21 Feb 2013 13:57:32 +0000 Subject: [PATCH] move smarty plugins to module folder --- .gitattributes | 3 ++- .../plugins/function.d3getArticleFromOrderArticle.php | 0 .../d3/d3_googleanalytics/d3_googleanalytics_stub.php | 5 ++++- .../modules/core/d3_oxutilsview_googleanalytics.php | 11 +++++++++++ 4 files changed, 17 insertions(+), 2 deletions(-) rename copy_this/{ => modules/d3/d3_googleanalytics}/core/smarty/plugins/function.d3getArticleFromOrderArticle.php (100%) create mode 100644 copy_this/modules/d3/d3_googleanalytics/modules/core/d3_oxutilsview_googleanalytics.php diff --git a/.gitattributes b/.gitattributes index 1232751..ccbd169 100644 --- a/.gitattributes +++ b/.gitattributes @@ -254,17 +254,18 @@ changed_full/470-/application/views/azure/tpl/page/checkout/basket.tpl -text changed_full/470-/modules/d3/d3_googleanalytics/metadata.php -text changed_full/470-/modules/d3/d3_googleanalytics/views/blocks/layout/d3_base_googleanalytics.tpl -text changed_full/470-/modules/d3/d3_googleanalytics/views/tpl/widget/d3_googleanalytics.tpl -text -copy_this/core/smarty/plugins/function.d3getArticleFromOrderArticle.php -text copy_this/modules/d3/d3_googleanalytics/controllers/admin/d3_cfg_googleanalytics.php -text copy_this/modules/d3/d3_googleanalytics/controllers/admin/d3_cfg_googleanalytics_campaigns.php -text copy_this/modules/d3/d3_googleanalytics/controllers/admin/d3_cfg_googleanalytics_licence.php -text copy_this/modules/d3/d3_googleanalytics/controllers/admin/d3_cfg_googleanalytics_list.php -text copy_this/modules/d3/d3_googleanalytics/controllers/admin/d3_cfg_googleanalytics_main.php -text +copy_this/modules/d3/d3_googleanalytics/core/smarty/plugins/function.d3getArticleFromOrderArticle.php -text copy_this/modules/d3/d3_googleanalytics/d3_googleanalytics_stub.php -text copy_this/modules/d3/d3_googleanalytics/menu.xml -text copy_this/modules/d3/d3_googleanalytics/modules/components/d3_oxcmp_utils_googleanalytics.php -text copy_this/modules/d3/d3_googleanalytics/modules/controllers/d3_order_googleanalytics.php -text copy_this/modules/d3/d3_googleanalytics/modules/controllers/d3_thankyou_googleanalytics.php -text +copy_this/modules/d3/d3_googleanalytics/modules/core/d3_oxutilsview_googleanalytics.php -text copy_this/modules/d3/d3_googleanalytics/modules/models/d3_oxorder_googleanalytics.php -text copy_this/modules/d3/d3_googleanalytics/picture.png -text copy_this/modules/d3/d3_googleanalytics/views/admin/de/d3_googleanalytics_lang.php -text diff --git a/copy_this/core/smarty/plugins/function.d3getArticleFromOrderArticle.php b/copy_this/modules/d3/d3_googleanalytics/core/smarty/plugins/function.d3getArticleFromOrderArticle.php similarity index 100% rename from copy_this/core/smarty/plugins/function.d3getArticleFromOrderArticle.php rename to copy_this/modules/d3/d3_googleanalytics/core/smarty/plugins/function.d3getArticleFromOrderArticle.php diff --git a/copy_this/modules/d3/d3_googleanalytics/d3_googleanalytics_stub.php b/copy_this/modules/d3/d3_googleanalytics/d3_googleanalytics_stub.php index 38754a1..411ba85 100644 --- a/copy_this/modules/d3/d3_googleanalytics/d3_googleanalytics_stub.php +++ b/copy_this/modules/d3/d3_googleanalytics/d3_googleanalytics_stub.php @@ -26,4 +26,7 @@ class d3_oxorder_googleanalytics_parent extends oxOrder {} class d3_thankyou_googleanalytics_parent extends thankyou {} /** */ -class d3_order_googleanalytics_parent extends order {} \ No newline at end of file +class d3_order_googleanalytics_parent extends order {} + +/** */ +class d3_oxutilsview_googleanalytics_parent extends oxUtilsView {} \ No newline at end of file diff --git a/copy_this/modules/d3/d3_googleanalytics/modules/core/d3_oxutilsview_googleanalytics.php b/copy_this/modules/d3/d3_googleanalytics/modules/core/d3_oxutilsview_googleanalytics.php new file mode 100644 index 0000000..2815de4 --- /dev/null +++ b/copy_this/modules/d3/d3_googleanalytics/modules/core/d3_oxutilsview_googleanalytics.php @@ -0,0 +1,11 @@ +plugins_dir[] = '../../modules/d3/d3_googleanalytics/core/smarty/plugins'; + } +} \ No newline at end of file