Ver Fonte

new settings section

andre há 6 meses atrás
pai
commit
c2b4760be9
2 ficheiros alterados com 3 adições e 3 exclusões
  1. 1 1
      app/Config/sidebars.yml
  2. 2 2
      app/UI/Client/Home/Pages/Dashboard.php

+ 1 - 1
app/Config/sidebars.yml

@@ -16,7 +16,7 @@ management:
     uri: 'clientarea.php?action=productdetails&id={$hostingId}&modop=custom&a=management&mg-page=domainAlias'
     uri: 'clientarea.php?action=productdetails&id={$hostingId}&modop=custom&a=management&mg-page=domainAlias'
   settings:
   settings:
     order: 750
     order: 750
-    uri: 'clientarea.php?action=productdetails&id={$hostingId}&modop=custom&a=management&mg-page=settings'
+    uri: 'clientarea.php?action=productdetails&id={$hostingId}&modop=custom&a=management&mg-page=setting'
   goWebmail:
   goWebmail:
     order: 760
     order: 760
     uri: 'clientarea.php?action=productdetails&id={$hostingId}&modop=custom&a=management&mg-page=webmail" target="_blank'
     uri: 'clientarea.php?action=productdetails&id={$hostingId}&modop=custom&a=management&mg-page=webmail" target="_blank'

+ 2 - 2
app/UI/Client/Home/Pages/Dashboard.php

@@ -100,8 +100,8 @@ class Dashboard extends BaseContainer implements ClientArea
          * check if settings page is enabled
          * check if settings page is enabled
          */
          */
         if($productManager->isControllerAccessible(ControllerEnums::SETTINGS_PAGE)) {
         if($productManager->isControllerAccessible(ControllerEnums::SETTINGS_PAGE)) {
-            $feature = new FeatureField('settings');
-            $feature->setUrl(BuildUrlExtended::getProvisioningUrl('settings'));
+            $feature = new FeatureField('setting');
+            $feature->setUrl(BuildUrlExtended::getProvisioningUrl('setting'));
             $this->addFeature($feature);
             $this->addFeature($feature);
         }
         }