diff --git a/mod.php b/mod.php index f95a6f71..17871d2e 100644 --- a/mod.php +++ b/mod.php @@ -1942,7 +1942,11 @@ do_array_part($config); - $body = '
' . _('Configuration') . '' . $data . '
'; + + $body = (hasPermission($config['mod']['edit_config']) ? + '

' . + '[Edit using web editor]' : '') . + '

' . _('Configuration') . '' . $data . '
'; echo Element('page.html', Array( 'config'=>$config,