diff options
author | Felipe Figueroa <amenadiel@gmail.com> | 2018-03-21 16:43:48 +0300 |
---|---|---|
committer | Felipe Figueroa <amenadiel@gmail.com> | 2018-03-21 16:43:48 +0300 |
commit | ad1beaaa0800fe776bb92e80e582be63984d3192 (patch) | |
tree | 7e6a004713cfc20f0ad00276665de4bad97179fb /src/controllers/ColpropertiesController.php | |
parent | 0cc5a0bc23dc46ad9b61dc563dab480e024a36cd (diff) |
replaces usage of php scripts in links and methods. Use slim routes instead
Diffstat (limited to 'src/controllers/ColpropertiesController.php')
-rw-r--r-- | src/controllers/ColpropertiesController.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/controllers/ColpropertiesController.php b/src/controllers/ColpropertiesController.php index 947432ab..90457ef6 100644 --- a/src/controllers/ColpropertiesController.php +++ b/src/controllers/ColpropertiesController.php @@ -160,7 +160,7 @@ class ColpropertiesController extends BaseController 'alter' => [ 'attr' => [ 'href' => [ - 'url' => 'colproperties.php', + 'url' => 'colproperties', 'urlvars' => [ 'action' => 'properties', 'server' => $_REQUEST['server'], @@ -176,7 +176,7 @@ class ColpropertiesController extends BaseController 'drop' => [ 'attr' => [ 'href' => [ - 'url' => 'tblproperties.php', + 'url' => 'tblproperties', 'urlvars' => [ 'action' => 'confirm_drop', 'server' => $_REQUEST['server'], @@ -241,7 +241,7 @@ class ColpropertiesController extends BaseController $this->printMsg($msg); echo '<script src="' . \SUBFOLDER . '/js/tables.js" type="text/javascript"></script>'; - echo '<form action="' . \SUBFOLDER . "/src/views/colproperties.php\" method=\"post\">\n"; + echo '<form action="' . \SUBFOLDER . "/src/views/colproperties\" method=\"post\">\n"; // Output table header echo "<table>\n"; |