Improved formatting of options and help.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@3229 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
08a5256cf4
commit
5203205680
|
@ -330,6 +330,10 @@ div.clear {
|
|||
padding: 4px;
|
||||
}
|
||||
|
||||
#content p.textblock br {
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
/*
|
||||
#contentDiv {
|
||||
margin: 0 auto 8px;
|
||||
|
|
|
@ -67,8 +67,8 @@ var popupSizes = {
|
|||
'monitorprobe': { 'width': 500, 'height': 240 },
|
||||
'monitorselect':{ 'width': 160, 'height': 200 },
|
||||
'montage': { 'width': -1, 'height': -1 },
|
||||
'optionhelp': { 'width': 320, 'height': 330 },
|
||||
'options': { 'width': 840, 'height': 620 },
|
||||
'optionhelp': { 'width': 400, 'height': 320 },
|
||||
'options': { 'width': 920, 'height': 620 },
|
||||
'preset': { 'width': 300, 'height': 120 },
|
||||
'settings': { 'width': 200, 'height': 225 },
|
||||
'state': { 'width': 240, 'height': 124 },
|
||||
|
|
|
@ -20,6 +20,8 @@
|
|||
|
||||
$optionHelpIndex = preg_replace( '/^ZM_/', '', $_REQUEST['option'] );
|
||||
$optionHelpText = !empty($OLANG[$optionHelpIndex])?$OLANG[$optionHelpIndex]:$config[$_REQUEST['option']]['Help'];
|
||||
$optionHelpText = validHtmlStr($optionHelpText);
|
||||
$optionHelpText = preg_replace( "/~~/", "<br/>", $optionHelpText );
|
||||
|
||||
$focusWindow = true;
|
||||
|
||||
|
@ -35,7 +37,7 @@ xhtmlHeaders(__FILE__, $SLANG['OptionHelp'] );
|
|||
</div>
|
||||
<div id="content">
|
||||
<h3><?= validHtmlStr($_REQUEST['option']) ?></h3>
|
||||
<p class="textblock"><?= validHtmlStr($optionHelpText) ?></p>
|
||||
<p class="textblock"><?= $optionHelpText ?></p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue