All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.resources.admin.view_templates.jsp Maven / Gradle / Ivy

There is a newer version: 5.0.146
Show newest version
<%--
/**
 * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
 *
 * This library is free software; you can redistribute it and/or modify it under
 * the terms of the GNU Lesser General Public License as published by the Free
 * Software Foundation; either version 2.1 of the License, or (at your option)
 * any later version.
 *
 * This library is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
 * details.
 */
--%>

<%@ include file="/admin/init.jsp" %>

<%
String orderByCol = ParamUtil.getString(request, "orderByCol", "title");
String orderByType = ParamUtil.getString(request, "orderByType", "asc");

PortletURL portletURL = renderResponse.createRenderURL();

portletURL.setParameter("mvcPath", "/admin/view_templates.jsp");
portletURL.setParameter("orderBycol", orderByCol);
portletURL.setParameter("orderByType", orderByType);

portletDisplay.setShowBackIcon(true);
portletDisplay.setURLBack(redirect);

renderResponse.setTitle(LanguageUtil.get(request, "templates"));
%>


	
		
			
		

		
	

	
		
			
		

		
			

			
				
			
		
	


<%
String keywords = ParamUtil.getString(request, "keywords");
%>


	

		<%
		PortletURL displayStyleURL = PortletURLUtil.clone(portletURL, liferayPortletResponse);
		%>

		
			
		

		<%
		PortletURL navigationPortletURL = PortletURLUtil.clone(portletURL, liferayPortletResponse);
		%>

		
			

			<%
			PortletURL sortURL = renderResponse.createRenderURL();

			sortURL.setParameter("mvcPath", "/admin/view_templates.jsp");
			%>

			
		
	

	
		
	


<%@ include file="/admin/template_search_results.jspf" %> <% Date modifiedDate = kbTemplate.getModifiedDate(); String modifiedDateDescription = LanguageUtil.getTimeDescription(request, System.currentTimeMillis() - modifiedDate.getTime(), true); %>

<%= kbTemplate.getTitle() %>

function deleteKBTemplates() { if (confirm('<%= UnicodeLanguageUtil.get(request, "are-you-sure-you-want-to-delete-the-selected-templates") %>')) { document.fm.method = 'post'; document.fm.kbTemplateIds.value = Liferay.Util.listCheckedExcept(document.fm, 'allRowIds'); submitForm(document.fm, ''); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy