diff --git a/web/skins/classic/views/options.php b/web/skins/classic/views/options.php
index ac0507f25..d9ea74344 100644
--- a/web/skins/classic/views/options.php
+++ b/web/skins/classic/views/options.php
@@ -172,17 +172,17 @@ else
$configCat = $configCats[$tab];
foreach ( $configCat as $name=>$value )
{
- $optionPromptIndex = preg_replace( '/^ZM_/', '', $name );
- $optionPromptText = !empty($OLANG[$optionPromptIndex])?$OLANG[$optionPromptIndex]:$config[$name]['Prompt'];
+ $shortName = preg_replace( '/^ZM_/', '', $name );
+ $optionPromptText = !empty($OLANG[$shortName])?$OLANG[$shortName]:$value['Prompt'];
?>
- = $value['Name'] ?> |
- = validHtmlStr($optionPromptText) ?> (= makePopupLink( '?view=optionhelp&option='.$value['Name'], 'zmOptionHelp', 'optionhelp', '?' ) ?>) |
+ = $shortName ?> |
+ = validHtmlStr($optionPromptText) ?> (= makePopupLink( '?view=optionhelp&option='.$name, 'zmOptionHelp', 'optionhelp', '?' ) ?>) |
- checked="checked"= $canEdit?'':' disabled="disabled"' ?>/> |
+ checked="checked"= $canEdit?'':' disabled="disabled"' ?>/> |
3 )
{
?>
-