provide a return path from settings pages

This commit is contained in:
Mario Vavti
2018-09-21 20:23:31 +02:00
parent 6f43468724
commit 9638bf2b1e
7 changed files with 13 additions and 3 deletions

View File

@@ -19,10 +19,12 @@ class Network {
function get() {
$features = self::get_features();
$rpath = (($_GET['rpath']) ? $_GET['rpath'] : '');
$tpl = get_markup_template("settings_module.tpl");
$o .= replace_macros($tpl, array(
'$rpath' => $rpath,
'$action_url' => 'settings/network',
'$form_security_token' => get_form_security_token("settings_network"),
'$title' => t('Activity Settings'),