- Changed log level in RelationAtttributeImportTool to debug for all none error messages

- Fixed some typos in the Foundry documentation


git-svn-id: https://svn.libreccm.org/ccm/trunk@4047 8810af33-2d31-482b-a856-94f89814c4df
master
jensp 2016-05-04 06:10:09 +00:00
parent 3f1a1c9930
commit 5818a27d7b
3 changed files with 273 additions and 269 deletions

View File

@ -169,11 +169,11 @@ public class RelationAttributeImportTool {
return;
}
LOGGER.warn("Creating RelationAttribute entry with this values:");
LOGGER.warn(String.format("\tcurrentEnum = '%s'", currentEnum));
LOGGER.warn(String.format("\tcurrentKey = '%s'", currentKey));
LOGGER.warn(String.format("\tcurrentLang = '%s'", currentLang));
LOGGER.warn(String.format("\tcurrentValue = '%s'", currentValue));
LOGGER.debug("Creating RelationAttribute entry with this values:");
LOGGER.debug(String.format("\tcurrentEnum = '%s'", currentEnum));
LOGGER.debug(String.format("\tcurrentKey = '%s'", currentKey));
LOGGER.debug(String.format("\tcurrentLang = '%s'", currentLang));
LOGGER.debug(String.format("\tcurrentValue = '%s'", currentValue));
final RelationAttribute entry = new RelationAttribute();
if ((currentId != null) && !currentId.isEmpty()) {

View File

@ -74,7 +74,7 @@
<code>mode</code> set to <code>detail</code> or without the
attribute inserts the HTML representation of the detail view of
the current content item. The content item can either be the
greeting item or normal item.
greeting item or a normal item.
</p>
<p>
The HTML representation of a content item is defined using
@ -852,7 +852,7 @@
<p>
Generic tag for showing date properties. The format of the
date is configured using one or more <code>date-element</code>
inside this tag.
tags inside this tag.
</p>
</foundry:doc-desc>
<foundry:doc-see-also>
@ -905,7 +905,7 @@
item.
</p>
<p>
To use this feature put the following snippet like the following into the
To use this feature put something following snippet into the
templates for the content items in your theme:
</p>
<pre>

View File

@ -28,8 +28,8 @@
<foundry:doc-file-title>Data tags</foundry:doc-file-title>
<foundry:doc-file-desc>
<p>
These tags can be used to display several informations from the
XML provided by CCM.
These tags can be used to display several informations provided
by CCM.
</p>
</foundry:doc-file-desc>
</foundry:doc-file>
@ -37,9 +37,11 @@
<foundry:doc section="user"
type="template-tag">
<foundry:doc-desc>
Outputs the title of the current page. For a content item, this is
the title of the content item. For more details please refer to
the documentation of the <code>foundry:title</code> function.
<p>
Outputs the title of the current page. For a content item, this
is the title of the content item. For more details please refer
to the documentation of the <code>foundry:title</code> function.
</p>
</foundry:doc-desc>
<foundry:doc-see-also>
<foundry:doc-link href="#foundry:title">
@ -64,6 +66,7 @@
<foundry:doc section="user"
type="template-tag">
<foundry:doc-desc>
<p>
Outputs a static text which is retrieved from a file in the
<code>texts</code> directory. If the <code>module</code> attribute
is not present, the <code>texts/global.xml</code> file is used.
@ -72,6 +75,7 @@
<code>id</code>, <code>class</code> or <code>with-colorset</code> is
present at the attribute, the text is wrapped in a
<code>span</code> element.
</p>
</foundry:doc-desc>
<foundry:doc-attributes>
<foundry:doc-attribute name="id">