Showing "view full size" is now configurable

This commit is contained in:
Michael Vogel 2014-02-11 23:44:45 +01:00
parent 66f4e09baa
commit 8c1d31decc

View File

@ -826,6 +826,10 @@ function add_fcontact($arr,$update = false) {
function scale_external_images($srctext, $include_link = true, $scale_replace = false) {
// Suppress "view full size"
if (intval(get_config('system','no_view_full_size')))
$include_link = false;
$a = get_app();
// Picture addresses can contain special characters