Hi,
Please find below the requested info.
/Lars
#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
##--------------------------------------------------------------------------
## Display wiki syntax combo box if there's more than one configured syntax.
##--------------------------------------------------------------------------
$xwiki.jsx.use($paneldoc.fullName)##
#if($xwiki.getConfiguredSyntaxes().size() > 1)
<dt><label for="xwikidocsyntaxinput2">Page
Syntax</label></dt>
<dd>
<select name="syntaxId" id="xwikidocsyntaxinput2">
<option
value="xwiki/1.0"#if($tdoc.getSyntaxId().equalsIgnoreCase('xwiki/1.0'))
selected="selected"#end>XWiki 1.0</option>
#set($configuredSyntaxes = $xwiki.getConfiguredSyntaxes())
#foreach($syntax in $syntaxFactory.getAvailableSyntaxes())
#if($configuredSyntaxes.contains($syntax.toIdString()) &&
!$syntax.toIdString().equalsIgnoreCase('xwiki/1.0'))
<option
value="$syntax.toIdString()"#if($tdoc.getSyntaxId().equalsIgnoreCase($syntax.toIdString()))
selected="selected"#end>$syntax.toString()</option>
#end
#end
</select>
</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> $xwiki.getURL($page, $page </td>
<td class="xwikibuttonlink"> $xwiki.getURL($page,
$msg.get("panels.documentInformation.editIncluded") </td></tr>
#end
</tbody>
</table></dd>
#end
</dl>
#template("tagedit.vm")
#panelfooter()
--
View this message in context:
http://xwiki.475771.n2.nabble.com/Clobbered-syntax-when-importing-2-1-xwiki…
Sent from the XWiki- Users mailing list archive at
Nabble.com.