From cbf09026778d3ec77b33d64e72bef793f92c050b Mon Sep 17 00:00:00 2001 From: ghost Date: Sat, 23 Sep 2023 20:06:59 +0300 Subject: [PATCH] add edit history menu item #15 --- src/app/controller/module/profile.php | 1 + .../view/theme/default/module/profile.phtml | 25 +++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/src/app/controller/module/profile.php b/src/app/controller/module/profile.php index 60226c0..7858fcd 100644 --- a/src/app/controller/module/profile.php +++ b/src/app/controller/module/profile.php @@ -17,6 +17,7 @@ class AppControllerModuleProfile $views = $this->_user->getUserPageViewsTotal(); $downloads = $this->_user->getUserPageDownloadsTotal(); $comments = $this->_user->getUserPageCommentsTotal(); + $editions = $this->_user->getUserPageEditionsTotal(); include __DIR__ . '../../../view/theme/default/module/profile.phtml'; } diff --git a/src/app/view/theme/default/module/profile.phtml b/src/app/view/theme/default/module/profile.phtml index 7dfcfc5..b102482 100644 --- a/src/app/view/theme/default/module/profile.phtml +++ b/src/app/view/theme/default/module/profile.phtml @@ -137,4 +137,29 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file