提交 cd03f992 编写于 作者: H Harald Albers

use <f:helpLink> in several tags

上级 787186f9
......@@ -51,18 +51,7 @@ THE SOFTWARE.
<d:invokeBody/>
</select>
</td>
<j:choose>
<j:when test="${attrs.help!=null}">
<td class="setting-help">
<a href="#" class="help-button" helpURL="${rootURL}${attrs.help}"><img src="${imagesURL}/16x16/help.png"
alt="Help for feature: ${title}"
height="16" width="16"/></a>
</td>
</j:when>
<j:otherwise>
<td/>
</j:otherwise>
</j:choose>
<f:helpLink url="${attrs.help}" featureName="${title}"/>
</tr>
<!-- generate the actual form entries -->
......
......@@ -72,16 +72,7 @@ THE SOFTWARE.
<td class="setting-main">
<d:invokeBody />
</td>
<j:choose>
<j:when test="${attrs.help!=null}">
<td class="setting-help">
<a href="#" class="help-button" helpURL="${rootURL}${attrs.help}"><img src="${imagesURL}/16x16/help.png" alt="Help for feature: ${title}" height="16" width="16" /></a>
</td>
</j:when>
<j:otherwise>
<td />
</j:otherwise>
</j:choose>
<f:helpLink url="${attrs.help}" featureName="${title}"/>
</tr>
<!-- used to display the form validation error -->
<tr class="validation-error-area"><td colspan="2" /><td /><td /></tr>
......
......@@ -81,16 +81,7 @@ THE SOFTWARE.
<b>${descriptor.displayName}</b>
</div>
</td>
<j:choose>
<j:when test="${help!=null}">
<td>
<a href="#" class="help-button" helpURL="${rootURL}${help}"><img src="${imagesURL}/16x16/help.png" alt="[help]" height="16" width="16"/></a>
</td>
</j:when>
<j:otherwise>
<td />
</j:otherwise>
</j:choose>
<f:helpLink url="${help}"/>
</tr>
<!-- TODO: help support is unintuitive; people should be able to see help from drop-down menu -->
<j:if test="${help!=null}">
......
......@@ -71,16 +71,7 @@ THE SOFTWARE.
<f:checkbox name="${attrs.name}" onclick="javascript:updateOptionalBlock(this,true)"
negative="${attrs.negative}" checked="${attrs.checked}" field="${attrs.field}" title="${title}" />
</td>
<j:choose>
<j:when test="${attrs.help!=null}">
<td>
<a href="#" class="help-button" helpURL="${rootURL}${attrs.help}"><img src="${imagesURL}/16x16/help.png" alt="Help for feature: ${title}" height="16" width="16" /></a>
</td>
</j:when>
<j:otherwise>
<td />
</j:otherwise>
</j:choose>
<f:helpLink url="${attrs.help}" featureName="${title}"/>
</tr>
<j:if test="${attrs.help!=null}">
<f:helpArea />
......
......@@ -62,16 +62,7 @@ THE SOFTWARE.
${title}
</label>
</td>
<j:choose>
<j:when test="${attrs.help!=null}">
<td class="setting-help">
<a href="#" class="help-button" helpURL="${rootURL}${help}"><img src="${imagesURL}/16x16/help.png" alt="Help for feature: ${title}" height="16" width="16" /></a>
</td>
</j:when>
<j:otherwise>
<td />
</j:otherwise>
</j:choose>
<f:helpLink url="${help}" featureName="${title}" />
</tr>
<j:if test="${attrs.help!=null}">
<f:helpArea />
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册