1 <div class="line<%=!$this->display_directive ? ' hide' : '';%>">
2 <div class="text"><com:TActiveLabel ID="Label" ActiveControl.EnableUpdate="false" Visible="<%=$this->display_directive%>" />:</div>
3 <div class="field directive_value">
7 Visible="<%=$this->display_directive%>"
8 OnCheckedChanged="saveValue"
9 ActiveControl.EnableUpdate="false"
11 <img src="<%=$this->getPage()->getTheme()->getBaseUrl()%>/switch.png" class="reset_btn" onclick="document.getElementById('<%=$this->Directive->ClientID%>').checked = <%=$this->getDefaultValue() ? 'true' : 'false'%>;" alt="<%[ Reset to default value ]%>" title="<%[ Reset to default value ]%>" />