選單:關於

「關於」頁面提供此 IPT 裝置的資訊,包含所在機構(若已註冊的話)。透過編輯 IPT 資料目錄中 config 目錄的 about.ftl 檔案,此頁面用來提供個別 IPT 裝置的客製化內容(請見「管理」選單一節中有關「IPT 設定」一項)。about.ftl 是 FreeMarker 範本,其中包含許多 HTML 標籤及 ${host.variable!"alternate value if null"} 變數。在修改 about.ftl 檔案之後,「關於」頁面將會反映所做的變更。預設的 about.ftl 中提供可用變數的範例。

IPTAbout

這裡是上面所顯示 about.ftl 的檔案內容。

<h1>About this IPT installation</h1>
<#if host.name??>
<p>This is a default IPT hosted by ${host.name}</p>

<p>You can use the following variables about the hosting organization:</p>
<ul>
  <li>description = ${host.description!}</li>
  <li>name = ${host.name!}</li>
  <li>alias = ${host.alias!}</li>
  <li>homepageURL = ${host.homepageURL!}</li>
  <li>primaryContactType = ${host.primaryContactType!}</li>
  <li>primaryContactName = ${host.primaryContactName!}</li>
  <li>primaryContactDescription = ${host.primaryContactDescription!}</li>
  <li>primaryContactAddress = ${host.primaryContactAddress!}</li>
  <li>primaryContactEmail = ${host.primaryContactEmail!}</li>
  <li>primaryContactPhone = ${host.primaryContactPhone!}</li>
  <li>nodeKey = ${host.nodeKey!}</li>
  <li>nodeName = ${host.nodeName!}</li>
  <li>nodeContactEmail = ${host.nodeContactEmail!}</li>
</ul>
<#else>
This IPT installation has not been registered yet.
</#if>