/sun/hostcaptain/trunk/webapp/WEB-INF/hostcaptain-core.tld |
---|
97,6 → 97,36 |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
</tag> |
<tag> |
<name>rights</name> |
<tagclass>ak.hostcaptain.core.taglib.RightsTag</tagclass> |
<bodycontent>JSP</bodycontent> |
<attribute> |
<name>name</name> |
<required>true</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>method</name> |
<required>true</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
</tag> |
<tag> |
<name>noRights</name> |
<tagclass>ak.hostcaptain.core.taglib.NoRightsTag</tagclass> |
<bodycontent>JSP</bodycontent> |
<attribute> |
<name>name</name> |
<required>true</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
<attribute> |
<name>method</name> |
<required>true</required> |
<rtexprvalue>true</rtexprvalue> |
</attribute> |
</tag> |
<tag> |
<name>write</name> |
/sun/hostcaptain/trunk/webapp/user/edit.jsp |
---|
45,8 → 45,19 |
</tr> |
<tr> |
<th><bean:message key="ak.hostcaptain.page.user.edit.superuser" /></th> |
<td><html:checkbox property="superuser" /> |
FIXME: don't show this checkbox for editor itself</td> |
<td> |
<core:rights name="u" method="mayChangeSuperuser"> |
<html:checkbox property="superuser" /> |
</core:rights> |
<core:noRights name="u" method="mayChangeSuperuser"> |
<logic:equal name="u" property="superuser" value="true"> |
<bean:message key="ak.hostcaptain.page.user.edit.superuser.true" /> |
</logic:equal> |
<logic:notEqual name="u" property="superuser" value="true"> |
<bean:message key="ak.hostcaptain.page.user.edit.superuser.false" /> |
</logic:notEqual> |
</core:noRights> |
</td> |
</tr> |
<tr> |
<th><bean:message key="ak.hostcaptain.page.user.edit.enabled" /></th> |
/sun/hostcaptain/trunk/webapp/user/system/list.jsp |
---|
59,7 → 59,7 |
<td> |
<core:deleteable name="u"> |
<backpath:link action="/user/system/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.system.list.delete" /></backpath:link> |
</core:deleteable> |
</core:deleteable> |
<core:notDeleteable name="u"> |
|
</core:notDeleteable> |
/sun/hostcaptain/trunk/webapp/user/list.jsp |
---|
46,8 → 46,27 |
<logic:equal name="u" property="enabled" value="true">x</logic:equal> |
<logic:notEqual name="u" property="enabled" value="true"> </logic:notEqual> |
</td> |
<td><backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.list.edit" /></backpath:link></td> |
<td><backpath:link action="/user/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.list.delete" /></backpath:link></td> |
<td> |
<core:editable name="u"> |
<backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.list.edit" /></backpath:link> |
</core:editable> |
<core:notEditable name="u"> |
<core:viewable name="u"> |
<backpath:link action="/user/edit" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.list.view" /></backpath:link> |
</core:viewable> |
<core:notViewable name="u"> |
|
</core:notViewable> |
</core:notEditable> |
</td> |
<td> |
<core:deleteable name="u"> |
<backpath:link action="/user/delete" paramId="id" paramName="u" paramProperty="id"><bean:message key="ak.hostcaptain.page.user.list.delete" /></backpath:link> |
</core:deleteable> |
<core:notDeleteable name="u"> |
|
</core:notDeleteable> |
</td> |
</tr> |
</logic:iterate> |
</table> |