r219 - in trunk/src/main/webapp: jsp/inc template/simple
Author: vbriand Date: 2011-02-25 15:00:15 +0100 (Fri, 25 Feb 2011) New Revision: 219 Url: http://chorem.org/repositories/revision/bow/219 Log: Added modified template of "<a>" tag. Fixed the bookmarks.jsp for i18n plugin. Added: trunk/src/main/webapp/template/simple/a-close.ftl Modified: trunk/src/main/webapp/jsp/inc/bookmark.jsp Modified: trunk/src/main/webapp/jsp/inc/bookmark.jsp =================================================================== --- trunk/src/main/webapp/jsp/inc/bookmark.jsp 2011-02-25 13:33:27 UTC (rev 218) +++ trunk/src/main/webapp/jsp/inc/bookmark.jsp 2011-02-25 14:00:15 UTC (rev 219) @@ -88,9 +88,9 @@ </s:a> </s:if> <s:else> - <a name="<s:property value='%{#wikittyId}' />" style="display:none; text-decoration: none;" href="<s:property value='%{#deleteTag}' />"> + <s:a name="%{#wikittyId}" cssStyle="display:none; text-decoration: none;" href="%{#deleteTag}"> <img style="border:none;" src="img/delete.png" alt="Delete tag" title="Delete" /> - </a> + </s:a> </s:else> <s:url var="search" action="search"> <s:param name="searchLine"><s:property /></s:param> Added: trunk/src/main/webapp/template/simple/a-close.ftl =================================================================== --- trunk/src/main/webapp/template/simple/a-close.ftl (rev 0) +++ trunk/src/main/webapp/template/simple/a-close.ftl 2011-02-25 14:00:15 UTC (rev 219) @@ -0,0 +1,48 @@ +<#-- +/* + * $Id: a-close.ftl 753015 2009-03-12 21:00:23Z musachy $ + * + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + */ +--> +<a<#rt/> +<#if parameters.id?if_exists != ""> + id="${parameters.id?html}"<#rt/> +</#if> +<#if parameters.href?if_exists != ""> + href="${parameters.href}"<#rt/> +</#if> +<#if parameters.tabindex??> + tabindex="${parameters.tabindex?html}"<#rt/> +</#if> +<#if parameters.cssClass??> + class="${parameters.cssClass?html}"<#rt/> +</#if> +<#if parameters.cssStyle??> + style="${parameters.cssStyle?html}"<#rt/> +</#if> +<#if parameters.title??> + title="${parameters.title?html}"<#rt/> +</#if> +<#if parameters.name??> + name="${parameters.name?html}"<#rt/> +</#if> +<#include "/${parameters.templateDir}/simple/scripting-events.ftl" /> +<#include "/${parameters.templateDir}/simple/common-attributes.ftl" /> +<#include "/${parameters.templateDir}/simple/dynamic-attributes.ftl" /> +>${parameters.body}</a>
participants (1)
-
vbriand@users.chorem.org