Wiki Home » Panels » DocumentInformation

DocumentInformation

Last modified by Administrator on 2006/12/15 10:10
Name
Document Information
Panel type
edit
Category
Tools
Description

Displays and allows editing the document title, parent and inclded documents.

Content

#set($pages = $tdoc.includedPages)
#largepanelheader($msg.get("panels.documentInformation.title"))
<dl>
<dt><label for="xwikidocparentinput2">$msg.get("panels.documentInformation.parent")</label></dt> <dd><input type="text" id="xwikidocparentinput2" name="parent" value="$!tdoc.parent" size="30"/></dd>
#if(($tdoc.language=="")&&($xwiki.isMultiLingual()))
<dt><label for="xwikidoclanguageinput2">$msg.get("panels.documentInformation.defaultLanguage")</label></dt> <dd><input type="text" id="xwikidoclanguageinput2" name="defaultLanguage" value="$!tdoc.defaultLanguage" size="30"/></dd>
#end
#if($pages.size() != 0)
  #if($pages.size() == 1)
    <dt>$msg.get("panels.documentInformation.includesOne", [$pages.size()])</dt>
  #else
    <dt>$msg.get("panels.documentInformation.includesMore", [$pages.size()])</dt>
  #end
  <dd>
  <table summary="$msg.get("panels.documentInformation.includesSummary")" id="xwikiincludeddocuments">
  <tbody>
  #foreach ($page in $pages)
    <tr><td><a href="$xwiki.getURL($page, "view")">$page</a></td>
    <td class="xwikibuttonlink"><a href="$xwiki.getURL($page, "edit")">$msg.get("panels.documentInformation.editIncluded")</a></td></tr>
  #end
  </tbody>
  </table></dd>
#end
</dl>
#template("tagedit.vm")
#panelfooter()

Tags:
Created by Administrator on 2006/07/28 11:37

Copyright 2004-2025 XWiki
4.0-milestone-1