aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-26 18:43:38 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-26 18:43:38 +0100
commita50706317435d09cacb95cad0a6ccaf8ae5b5f6c (patch)
treeb97b9ca3d74ddc1b70b390ec37f3eb132c742256 /mod
parent0a14ac1f60b70fe038cf714ac1e856c2bc66a92d (diff)
downloadvolse-hubzilla-a50706317435d09cacb95cad0a6ccaf8ae5b5f6c.tar.gz
volse-hubzilla-a50706317435d09cacb95cad0a6ccaf8ae5b5f6c.tar.bz2
volse-hubzilla-a50706317435d09cacb95cad0a6ccaf8ae5b5f6c.zip
move link to /locs to settings menu if we have more than one location and some template work on locs
Diffstat (limited to 'mod')
-rw-r--r--mod/locs.php11
-rw-r--r--mod/manage.php4
2 files changed, 7 insertions, 8 deletions
diff --git a/mod/locs.php b/mod/locs.php
index 9f66e3263..8452f62d1 100644
--- a/mod/locs.php
+++ b/mod/locs.php
@@ -110,11 +110,12 @@ function locs_content(&$a) {
$o = replace_macros(get_markup_template('locmanage.tpl'), array(
'$header' => t('Manage Channel Locations'),
- '$loc' => t('Location (address)'),
- '$mkprm' => t('Primary Location'),
- '$drop' => t('Drop location'),
+ '$loc' => t('Location'),
+ '$addr' => t('Address'),
+ '$mkprm' => t('Primary'),
+ '$drop' => t('Drop'),
'$submit' => t('Submit'),
- '$sync' => t('Sync now'),
+ '$sync' => t('Sync Now'),
'$sync_text' => t('Please wait several minutes between consecutive operations.'),
'$drop_text' => t('When possible, drop a location by logging into that website/hub and removing your channel.'),
'$last_resort' => t('Use this form to drop the location if the hub is no longer operating.'),
@@ -122,4 +123,4 @@ function locs_content(&$a) {
));
return $o;
-} \ No newline at end of file
+}
diff --git a/mod/manage.php b/mod/manage.php
index cb845befe..d769f0393 100644
--- a/mod/manage.php
+++ b/mod/manage.php
@@ -167,9 +167,7 @@ function manage_content(&$a) {
'$intros_format' => t('%d new introductions'),
'$channel_usage_message' => $channel_usage_message,
'$delegated_desc' => t('Delegated Channel'),
- '$delegates' => $delegates,
- '$locs' => t('Manage locations')
-
+ '$delegates' => $delegates
));
return $o;