Commit 08435b77 authored by Carsten  Rose's avatar Carsten Rose
Browse files

BuildFormBootstrap: DebugButton (eye) shows decoded SIP as ToolTip

parent 757ec754
......@@ -182,12 +182,12 @@ class BuildFormBootstrap extends AbstractBuildForm {
private function buildButtons() {
$sipParamString = OnArray::toString($this->store->getStore(STORE_SIP), ':', ', ', "'");
$sipParamString = OnArray::toString($this->store->getStore(STORE_SIP), ' = ', PHP_EOL, "'");
$formEditUrl = $this->createFormEditUrl();
$debugButtons = <<<BUTTONS
<div class="btn-group" role="group">
<button id="debug-button" type="button" class="btn btn-default navbar-btn" title="not used at the moment"><span class="glyphicon glyphicon-eye-open"></span></button>
<button id="debug-button" type="button" class="btn btn-default navbar-btn" title="$sipParamString"><span class="glyphicon glyphicon-eye-open"></span></button>
<a href="$formEditUrl" id="form-edit-button" class="btn btn-default navbar-btn" title="Edit form"><span class="glyphicon glyphicon-wrench"></span></a>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment