- Timestamp:
- Jan 3, 2017 8:08:16 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/ValidationKit/testmanager/webui/wuibase.py
r65051 r65086 211 211 + webutils.escapeElem(asSubItem[0]) + '</a></li>\n'; 212 212 else: 213 sSideMenuItems += '<li class="subheader_item">' + webutils.escapeElem(asSubItem[0]) + '</ a></li>';213 sSideMenuItems += '<li class="subheader_item">' + webutils.escapeElem(asSubItem[0]) + '</li>'; 214 214 return (sTopMenuItems, sSideMenuItems); 215 215 … … 295 295 self._sDebug += self._debugRenderPanel(); 296 296 if self._sDebug != '': 297 dReplacements['@@DEBUG@@'] = '<div id="debug"><br><br><hr/>' + \ 298 unicode(self._sDebug, errors='ignore') if isinstance(self._sDebug, str) else self._sDebug + '</div>'; 297 dReplacements['@@DEBUG@@'] = u'<div id="debug"><br><br><hr/>' \ 298 + (unicode(self._sDebug, errors='ignore') if isinstance(self._sDebug, str) 299 else self._sDebug) \ 300 + u'</div>\n'; 299 301 300 302 # … … 335 337 336 338 # The final chunk. 337 if offStart < offCur:339 if offStart < len(sTmpl): 338 340 self._oSrvGlue.write(sTmpl[offStart:]); 339 341 … … 764 766 [self.ksParamDbgSqlTrace, self._fDbgSqlTrace, 'SQL trace'], 765 767 [self.ksParamDbgSqlExplain, self._fDbgSqlExplain, 'SQL explain'], ): 766 sHtml += ' <input type="checkbox" name="%s" value="1"%s >%s</input>\n' \768 sHtml += ' <input type="checkbox" name="%s" value="1"%s />%s\n' \ 767 769 % (aoCheckBox[0], ' checked' if aoCheckBox[1] else '', aoCheckBox[2]); 768 770
Note:
See TracChangeset
for help on using the changeset viewer.