Commit 684d7cb7 authored by Clare Lenihan's avatar Clare Lenihan Committed by Clare Lenihan
Browse files

making submit/cancel buttons more descriptive and making cancel work

parent 4406c641
......@@ -50,7 +50,8 @@ $form = pieform(array(
),
'submit' => array(
'type' => 'submitcancel',
'value' => array(get_string('denyfriendrequestlower', 'group'), get_string('cancel'))
'value' => array(get_string('denyfriendrequestlower', 'group'), get_string('cancel')),
'goto' => get_config('wwwroot') . 'user/view.php?id=' . $id,
)
)
));
......
......@@ -49,7 +49,8 @@ $form = pieform(array(
),
'submit' => array(
'type' => 'submitcancel',
'value' => array(get_string('removefriend', 'group'), get_string('cancel'))
'value' => array(get_string('removefriend', 'group'), get_string('cancel')),
'goto' => get_config('wwwroot') , 'user/view.php?id=' . $id
)
)
));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment