summaryrefslogtreecommitdiffstats
path: root/modules-available/locations/page.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2016-06-09 17:58:48 +0200
committerSimon Rettberg2016-06-09 17:58:48 +0200
commitaa22a5a5b655df0cd5b79d849c76551982a9854f (patch)
tree47b51e126a990b0956b95e3ee9795694e796515f /modules-available/locations/page.inc.php
parent[property] Increate ML list download timeout (diff)
downloadslx-admin-aa22a5a5b655df0cd5b79d849c76551982a9854f.tar.gz
slx-admin-aa22a5a5b655df0cd5b79d849c76551982a9854f.tar.xz
slx-admin-aa22a5a5b655df0cd5b79d849c76551982a9854f.zip
Fix some translations and page titles
Diffstat (limited to 'modules-available/locations/page.inc.php')
-rw-r--r--modules-available/locations/page.inc.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules-available/locations/page.inc.php b/modules-available/locations/page.inc.php
index 9de5e521..84bc11a9 100644
--- a/modules-available/locations/page.inc.php
+++ b/modules-available/locations/page.inc.php
@@ -80,9 +80,9 @@ class Page_Locations extends Page
$this->deleteLocation($location);
}
// Update subnets
- $this->updateLocationSubnets($location);
+ $this->updateLocationSubnets();
// Insert subnets
- $this->addNewLocationSubnets($location); // TODO
+ $this->addNewLocationSubnets($location);
// Update location!
$this->updateLocationData($location);
Util::redirect('?do=Locations');
@@ -148,9 +148,8 @@ class Page_Locations extends Page
}
}
- private function updateLocationSubnets($location)
+ private function updateLocationSubnets()
{
- $locationId = (int)$location['locationid'];
// Deletion first
$dels = Request::post('deletesubnet', false);
if (is_array($dels)) {
@@ -240,7 +239,6 @@ class Page_Locations extends Page
protected function doRender()
{
- //Render::setTitle(Dictionary::translate('lang_titleBackup'));
$getAction = Request::get('action');
if (empty($getAction)) {
// Until we have a main landing page?