Move Terms of Use controller & template into FreeMarker.
This commit is contained in:
parent
8a83103367
commit
fc8c9876f0
13 changed files with 109 additions and 32 deletions
|
@ -1,5 +1,7 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt -->
|
||||
|
||||
<#-- Template for the body of the About page -->
|
||||
|
||||
<h2>${title}</h2>
|
||||
|
||||
<#if aboutText??>
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- List class groups, and classes within each group. -->
|
||||
|
||||
<#if message??>
|
||||
<p>${message}</p>
|
||||
<#else>
|
|
@ -1,5 +1,7 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- List individual members of a class. -->
|
||||
|
||||
<div class="contents">
|
||||
|
||||
<div class="entityList">
|
||||
|
|
32
webapp/web/templates/freemarker/body/termsOfUse.ftl
Normal file
32
webapp/web/templates/freemarker/body/termsOfUse.ftl
Normal file
|
@ -0,0 +1,32 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<div class="staticPageBackground">
|
||||
|
||||
<h2>Terms of Use</h2>
|
||||
|
||||
<h3 class="celltopcentered">Disclaimers</h3>
|
||||
<p class="normal">This ${websiteName} website contains material—text information, publication
|
||||
citations, links, and images—provided by ${copyrightAnchor} and by various
|
||||
third parties, both individuals and organizations, commercial and otherwise. The use of this material
|
||||
is protected by copyright and unless the terms of use are clearly stated with respect to individual items,
|
||||
users must seek permission from the copyright owner for all uses that are not allowed by fair use and
|
||||
other provisions of the United States Copyright Act. Redistribution or commercial use is prohibited
|
||||
without express written permission.</p>
|
||||
|
||||
<h3>Disclaimer of Liability</h3>
|
||||
<p class="normal">${copyrightAnchor} makes no warranty, expressed or implied, including the warranties of merchantability
|
||||
and fitness for a particular purpose, or assumes any legal liability or responsibility for the accuracy,
|
||||
completeness, currency or usefulness of any material displayed or distributed through the
|
||||
${appName} website or represents that its use would not infringe privately owned rights.
|
||||
${copyrightAnchor} disclaims all warranties with regard to the information provided. Any reliance upon such information
|
||||
is at your own risk. In no event will ${copyrightAnchor} be liable to you for any damages or losses whatsoever resulting
|
||||
from or caused by the ${appName} website or its contents.</p>
|
||||
|
||||
<h3>Disclaimer of Endorsement</h3>
|
||||
<p class="normal">Reference herein to any specific commercial product, process, or service by trade name,
|
||||
trademark, manufacturer, or otherwise, does not necessarily constitute or imply its endorsement or recommendation
|
||||
by ${copyrightAnchor}. The views and opinions of authors expressed herein do not necessarily state or reflect those of
|
||||
${copyrightAnchor} and shall not be used for advertising or product endorsement purposes.</p>
|
||||
|
||||
</div> <!-- staticPageBackground -->
|
||||
|
|
@ -23,6 +23,8 @@
|
|||
|
||||
<div id="contentwrap">
|
||||
<div id="content" <#if contentClass??> class="${contentClass}" </#if>>
|
||||
<#-- We don't do title here because some pages don't get a title, or it may not be the same as the <title> text.
|
||||
<h2>${title}</h2> -->
|
||||
${body}
|
||||
</div> <!-- content -->
|
||||
</div> <!-- contentwrap -->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue