deploy optionhelp to option view
This commit is contained in:
parent
d2b2291721
commit
26cefda712
|
@ -762,7 +762,7 @@ function getOptionHelpHTML($optionHelpIndex, $OLANG) {
|
||||||
if ( !empty($OLANG[$optionHelpIndex]) ) {
|
if ( !empty($OLANG[$optionHelpIndex]) ) {
|
||||||
$optionHelpText = $OLANG[$optionHelpIndex]['Help'];
|
$optionHelpText = $OLANG[$optionHelpIndex]['Help'];
|
||||||
} else {
|
} else {
|
||||||
$optionHelpText = dbFetchOne('SELECT Help FROM Config WHERE Name=?', 'Help', array($ZMoptionHelpIndex));
|
$optionHelpText = dbFetchOne('SELECT Help FROM Config WHERE Name=?', 'Help', array($optionHelpIndex));
|
||||||
}
|
}
|
||||||
$optionHelpText = validHtmlStr($optionHelpText);
|
$optionHelpText = validHtmlStr($optionHelpText);
|
||||||
$optionHelpText = preg_replace('/~~/', '<br/>', $optionHelpText );
|
$optionHelpText = preg_replace('/~~/', '<br/>', $optionHelpText );
|
||||||
|
|
|
@ -512,7 +512,7 @@ foreach ( array_map('basename', glob('skins/'.$skin.'/css/*', GLOB_ONLYDIR)) as
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
<span class="form-text form-control-sm"><?php echo validHtmlStr($optionPromptText) ?> (<?php echo makePopupLink( '?view=optionhelp&option='.$name, 'zmOptionHelp', 'optionhelp', '?' ) ?>)</span>
|
<span class="form-text form-control-sm"><?php echo validHtmlStr($optionPromptText); echo makeHelpLink($name) ?></span>
|
||||||
</div><!-- End .col-sm-9 -->
|
</div><!-- End .col-sm-9 -->
|
||||||
</div><!-- End .form-group -->
|
</div><!-- End .form-group -->
|
||||||
<?php
|
<?php
|
||||||
|
|
Loading…
Reference in New Issue