Actions générales :
Connexion
Inscription
Accueil ▼: Annuaire des Wikis
»
Espace: AppWithinMinutes
»
Page: Title
default
Actions relatives à la page :
Exporter ▼: Exporter en PDF Exporter en RTF Exporter en HTML
Plus d'actions ▼: Prévisualisation Voir le code source
Welcome to bytebang » App Within Minutes » FormField Class » Titre

# Code source wiki de Titre

Modifié par Administrator le 2014/06/29 19:29
Montrer les numéros de lignes {{velocity}} #if ($type == 'edit') #set ($className = $object.getxWikiClass().name) #if ($doc.fullName == $className) ## We are editing the class so the title must be read from / written to the template document. #set ($name = 'templateTitle') #set ($value = $xwiki.getDocument("$stringtool.removeEnd($className, 'Class')Template").title) #else ## We are editing an application entry so the title must be read from / written to the current document. #set ($name = 'title') #set ($value = $tdoc.title) #end {{html clean="false"}} <input type="text" name="$name" value="$!escapetool.xml($value)" #if ($xwiki.getXWikiPreference('xwiki.title.mandatory') == 1)class="required"#end/> {{/html}} #elseif ("$!type" != '') ## Render the title of the current document. {{html}}$tdoc.getRenderedTitle('xhtml/1.0'){{/html}} #else The display mode is not specified! #end {{/velocity}}

(c) 2026, by bytebang e.U. - Impressum - Datenschutz / Nutzungsbedingungen
-