From 63293bd09e429d55265aa2a2fdb968af353f62ea Mon Sep 17 00:00:00 2001 From: Mohammad Fathi Date: Mon, 29 Jul 2024 17:47:20 +0330 Subject: [PATCH] Change the file directory to the asset --- view/part/bar-menu.php | 10 +++++----- view/part/footer.php | 2 +- view/part/main-menu.php | 38 +++++++++++++++++++------------------- view/part/service.php | 12 ++++++------ view/part/side-menu.php | 38 +++++++++++++++++++------------------- 5 files changed, 50 insertions(+), 50 deletions(-) diff --git a/view/part/bar-menu.php b/view/part/bar-menu.php index f28bfd8..c7b9811 100644 --- a/view/part/bar-menu.php +++ b/view/part/bar-menu.php @@ -1,11 +1,11 @@ Items = array( - array("Name"=>"Menu","Link"=>"","Image"=>getFullUrl("/file/symbol/menu.png"), "Attributes"=>"onclick='viewSideMenu()'"), - array("Name"=>"POSTS", "Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/content/posts","Image"=>getFullUrl("/file/symbol/document.png")), - array("Name"=>"HOME", "Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/home","Image"=>getFullUrl("/file/symbol/home.png")), - array("Name"=>"USERS", "Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/user/users","Image"=>getFullUrl("/file/symbol/user.png")), - array("Name"=>"SYSTEMS", "Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/system/information","Image"=>getFullUrl("/file/symbol/operation.png")), + array("Name"=>"Menu","Link"=>"","Image"=>getFullUrl("/asset/symbol/menu.png"), "Attributes"=>"onclick='viewSideMenu()'"), + array("Name"=>"POSTS", "Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/content/posts","Image"=>getFullUrl("/asset/symbol/document.png")), + array("Name"=>"HOME", "Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/home","Image"=>getFullUrl("/asset/symbol/home.png")), + array("Name"=>"USERS", "Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/user/users","Image"=>getFullUrl("/asset/symbol/user.png")), + array("Name"=>"SYSTEMS", "Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/system/information","Image"=>getFullUrl("/asset/symbol/operation.png")), ); $module->Draw(); ?> \ No newline at end of file diff --git a/view/part/footer.php b/view/part/footer.php index d4afc32..ebb1e3e 100644 --- a/view/part/footer.php +++ b/view/part/footer.php @@ -9,7 +9,7 @@ array("Name"=>"Telegram","Link"=>"https://t.me/aseqbase","Icon"=> "fa fa-telegram"), array("Name"=>"Email","Link"=>"mailto:aseqbase@mimfa.net","Icon"=> "fa fa-envelope"), array("Name"=>"Github","Link"=>"http://github.com/aseqbase","Icon"=> "fa fa-github"), - array("Name"=>"Forum","Link"=>"/chat","Image"=>"/file/symbol/chat.png","Icon"=> "fa fa-comments") + array("Name"=>"Forum","Link"=>"/chat","Image"=>"/asset/symbol/chat.png","Icon"=> "fa fa-comments") ); $module->Draw(); MODULE("TemplateButton"); diff --git a/view/part/main-menu.php b/view/part/main-menu.php index 573f6ef..6a60bac 100644 --- a/view/part/main-menu.php +++ b/view/part/main-menu.php @@ -4,30 +4,30 @@ $module->Description = \_::$INFO->Owner; $module->Image = \_::$INFO->LogoPath; $module->Items = array( - array("Name"=>"DASHBOARD","Link"=>"/home", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/home.png"), - array("Name"=>"CONTENTS","Link"=>"/content/posts", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/document.png", "Items"=> array( - array("Name"=>"POSTS","Link"=>"/content/posts", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/document.png"), - array("Name"=>"TAGS","Link"=>"/content/tags", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/directory.png"), - array("Name"=>"CATEGORIES","Link"=>"/content/categories", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/category.png") + array("Name"=>"DASHBOARD","Link"=>"/home", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/home.png"), + array("Name"=>"CONTENTS","Link"=>"/content/posts", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/document.png", "Items"=> array( + array("Name"=>"POSTS","Link"=>"/content/posts", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/document.png"), + array("Name"=>"TAGS","Link"=>"/content/tags", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/directory.png"), + array("Name"=>"CATEGORIES","Link"=>"/content/categories", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/category.png") )), - array("Name"=>"USERS","Link"=>"/user/users", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/user.png", "Items"=> array( - array("Name"=>"USERS","Link"=>"/user/users", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/user.png"), - array("Name"=>"GROUPS","Link"=>"/user/groups", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/team.png") + array("Name"=>"USERS","Link"=>"/user/users", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/user.png", "Items"=> array( + array("Name"=>"USERS","Link"=>"/user/users", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/user.png"), + array("Name"=>"GROUPS","Link"=>"/user/groups", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/team.png") )), - array("Name"=>"PLUGINS","Link"=>"/plugin/plugins", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/plugin.png", "Items"=> array( - array("Name"=>"PLUGINS","Link"=>"/plugin/plugins", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/plugin.png"), - array("Name"=>"MARKET","Link"=>"http://github.com/aseqbase", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/market.png") + array("Name"=>"PLUGINS","Link"=>"/plugin/plugins", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/plugin.png", "Items"=> array( + array("Name"=>"PLUGINS","Link"=>"/plugin/plugins", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/plugin.png"), + array("Name"=>"MARKET","Link"=>"http://github.com/aseqbase", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/market.png") )), - array("Name"=>"APPEARANCES","Link"=>"/system/template", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/dashboard.png", "Items"=> array( - array("Name"=>"TEMPLATES","Link"=>"/system/templates", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/package.png"), - array("Name"=>"EDIT","Link"=>"/system/template", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/info.png") + array("Name"=>"APPEARANCES","Link"=>"/system/template", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/dashboard.png", "Items"=> array( + array("Name"=>"TEMPLATES","Link"=>"/system/templates", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/package.png"), + array("Name"=>"EDIT","Link"=>"/system/template", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/info.png") )), - array("Name"=>"SYSTEMS","Link"=>"/system/information", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/operation.png", "Items"=> array( - array("Name"=>"INFORMATIONS","Link"=>"/system/information", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/info.png"), - array("Name"=>"TRANSLATIONS","Link"=>"/system/translation", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/web.png"), - array("Name"=>"CONFIGURATIONS","Link"=>"/system/configuration", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/operation.png") + array("Name"=>"SYSTEMS","Link"=>"/system/information", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/operation.png", "Items"=> array( + array("Name"=>"INFORMATIONS","Link"=>"/system/information", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/info.png"), + array("Name"=>"TRANSLATIONS","Link"=>"/system/translation", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/web.png"), + array("Name"=>"CONFIGURATIONS","Link"=>"/system/configuration", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/operation.png") )), - array("Name"=>"ABOUT","Link"=>"/about", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/about.png") + array("Name"=>"ABOUT","Link"=>"/about", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/about.png") ); $module->Draw(); ?> \ No newline at end of file diff --git a/view/part/service.php b/view/part/service.php index 75c34e6..4a3b74a 100644 --- a/view/part/service.php +++ b/view/part/service.php @@ -3,12 +3,12 @@ $module = new \MiMFa\Module\RingSlide(); $module->Image = \_::$INFO->FullLogoPath; $module->Items = array( - array("Name"=>"USERS","Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/user/users","Image"=>"/file/symbol/user.png"), - array("Name"=>"POSTS","Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/content/posts","Image"=>"/file/symbol/document.png"), - array("Name"=>"TAGS", "Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/content/tags","Image"=>"/file/symbol/directory.png"), - array("Name"=>"TEMPLATE","Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/system/template","Image"=>"/file/symbol/info.png"), - array("Name"=>"TRANSLATIONS","Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/system/translation","Image"=>"/file/symbol/web.png"), - array("Name"=>"SYSTEMS","Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/system/information","Image"=>"/file/symbol/operation.png") + array("Name"=>"USERS","Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/user/users","Image"=>"/asset/symbol/user.png"), + array("Name"=>"POSTS","Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/content/posts","Image"=>"/asset/symbol/document.png"), + array("Name"=>"TAGS", "Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/content/tags","Image"=>"/asset/symbol/directory.png"), + array("Name"=>"TEMPLATE","Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/system/template","Image"=>"/asset/symbol/info.png"), + array("Name"=>"TRANSLATIONS","Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/system/translation","Image"=>"/asset/symbol/web.png"), + array("Name"=>"SYSTEMS","Access"=>\_::$CONFIG->AdminAccess,"Link"=>"/system/information","Image"=>"/asset/symbol/operation.png") ); $module->Draw(); ?> \ No newline at end of file diff --git a/view/part/side-menu.php b/view/part/side-menu.php index 8f46ca0..776862b 100644 --- a/view/part/side-menu.php +++ b/view/part/side-menu.php @@ -3,30 +3,30 @@ $module->Title = \_::$INFO->Product; $module->Description = \_::$INFO->Owner; $module->Items = array( - array("Name"=>"DASHBOARD","Link"=>"/home", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/home.png"), - array("Name"=>"CONTENTS","Link"=>"/content/posts", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/document.png", "Items"=> array( - array("Name"=>"POSTS","Link"=>"/content/posts", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/document.png"), - array("Name"=>"TAGS","Link"=>"/content/tags", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/directory.png"), - array("Name"=>"CATEGORIES","Link"=>"/content/categories", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/category.png") + array("Name"=>"DASHBOARD","Link"=>"/home", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/home.png"), + array("Name"=>"CONTENTS","Link"=>"/content/posts", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/document.png", "Items"=> array( + array("Name"=>"POSTS","Link"=>"/content/posts", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/document.png"), + array("Name"=>"TAGS","Link"=>"/content/tags", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/directory.png"), + array("Name"=>"CATEGORIES","Link"=>"/content/categories", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/category.png") )), - array("Name"=>"USERS","Link"=>"/user/users", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/user.png", "Items"=> array( - array("Name"=>"USERS","Link"=>"/user/users", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/user.png"), - array("Name"=>"GROUPS","Link"=>"/user/groups", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/team.png") + array("Name"=>"USERS","Link"=>"/user/users", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/user.png", "Items"=> array( + array("Name"=>"USERS","Link"=>"/user/users", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/user.png"), + array("Name"=>"GROUPS","Link"=>"/user/groups", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/team.png") )), - array("Name"=>"PLUGINS","Link"=>"/plugin/plugins", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/plugin.png", "Items"=> array( - array("Name"=>"PLUGINS","Link"=>"/plugin/plugins", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/plugin.png"), - array("Name"=>"MARKET","Link"=>"http://github.com/aseqbase", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/market.png") + array("Name"=>"PLUGINS","Link"=>"/plugin/plugins", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/plugin.png", "Items"=> array( + array("Name"=>"PLUGINS","Link"=>"/plugin/plugins", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/plugin.png"), + array("Name"=>"MARKET","Link"=>"http://github.com/aseqbase", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/market.png") )), - array("Name"=>"APPEARANCES","Link"=>"/system/template", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/dashboard.png", "Items"=> array( - array("Name"=>"TEMPLATES","Link"=>"/system/templates", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/package.png"), - array("Name"=>"EDIT","Link"=>"/system/template", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/info.png") + array("Name"=>"APPEARANCES","Link"=>"/system/template", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/dashboard.png", "Items"=> array( + array("Name"=>"TEMPLATES","Link"=>"/system/templates", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/package.png"), + array("Name"=>"EDIT","Link"=>"/system/template", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/info.png") )), - array("Name"=>"SYSTEMS","Link"=>"/system/information", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/operation.png", "Items"=> array( - array("Name"=>"INFORMATIONS","Link"=>"/system/information", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/info.png"), - array("Name"=>"TRANSLATIONS","Link"=>"/system/translation", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/web.png"), - array("Name"=>"CONFIGURATIONS","Link"=>"/system/configuration", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/operation.png") + array("Name"=>"SYSTEMS","Link"=>"/system/information", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/operation.png", "Items"=> array( + array("Name"=>"INFORMATIONS","Link"=>"/system/information", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/info.png"), + array("Name"=>"TRANSLATIONS","Link"=>"/system/translation", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/web.png"), + array("Name"=>"CONFIGURATIONS","Link"=>"/system/configuration", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/operation.png") )), - array("Name"=>"ABOUT","Link"=>"/about", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/file/symbol/about.png") + array("Name"=>"ABOUT","Link"=>"/about", "Access"=>\_::$CONFIG->AdminAccess, "Image"=>"/asset/symbol/about.png") ); $module->Image = \_::$INFO->LogoPath; $module->Shortcuts = [];