fix $noloc state in mod editwebpages

This commit is contained in:
Mario Vavti 2015-04-29 16:45:05 +02:00
parent f987fc3e6f
commit e56b8fdfaf

View File

@ -188,7 +188,7 @@ function editwebpage_content(&$a) {
'$video' => t('Insert Vorbis [.ogg] video'),
'$audio' => t('Insert Vorbis [.ogg] audio'),
'$setloc' => t('Set your location'),
'$noloc' => t('Clear browser location'),
'$noloc' => ((get_pconfig($uid, 'system', 'use_browser_location')) ? t('Clear browser location') : ''),
'$wait' => t('Please wait'),
'$permset' => t('Permission settings'),
'$ptyp' => $itm[0]['type'],