*much* more usage of App::get_baseurl() instead of $a->get_baseurl() (coding convention applied)
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
97c507e763
commit
f8a213e23b
19 changed files with 226 additions and 196 deletions
|
|
@ -31,8 +31,7 @@ function group_post(App &$a) {
|
|||
if ($r) {
|
||||
goaway(App::get_baseurl() . '/group/' . $r);
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
notice( t('Could not create group.') . EOL );
|
||||
}
|
||||
goaway(App::get_baseurl() . '/group');
|
||||
|
|
@ -92,7 +91,7 @@ function group_content(App &$a) {
|
|||
'$submit' => t('Save Group'),
|
||||
);
|
||||
|
||||
if(($a->argc == 2) && ($a->argv[1] === 'new')) {
|
||||
if (($a->argc == 2) && ($a->argv[1] === 'new')) {
|
||||
|
||||
return replace_macros($tpl, $context + array(
|
||||
'$title' => t('Create a group of contacts/friends.'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue