Edit article: verschil tussen versies
Uit Auditpedia
Regel 18: | Regel 18: | ||
<wslabel><h2>{{int: ws-portal}}:</h2>You can add more than 1 portals, separating them with comma. (e.g. Portal/Founding fathers, Portal/Vormgeving)</wslabel> | <wslabel><h2>{{int: ws-portal}}:</h2>You can add more than 1 portals, separating them with comma. (e.g. Portal/Founding fathers, Portal/Vormgeving)</wslabel> | ||
<wsfield type="textarea" rows="2" class="form-control" name="Portal" >{{#caprint:$desc[Article][Portal]}}</wsfield> | <wsfield type="textarea" rows="2" class="form-control" name="Portal" >{{#caprint:$desc[Article][Portal]}}</wsfield> | ||
− | + | <!-- | |
<wsedit target="{{#var:@id}}" template="Article" formfield="Author article" /> | <wsedit target="{{#var:@id}}" template="Article" formfield="Author article" /> | ||
− | <wsfield type="hidden" value="Auteur/{{CURRENTLOGGEDUSER}}" name="Author article" >{{#caprint:$desc[Article][Author article]}}</wsfield> | + | <wsfield type="hidden" value="Auteur/{{CURRENTLOGGEDUSER}}" name="Author article" >{{#caprint:$desc[Article][Author article]}}</wsfield>--> |
− | |||
+ | <wsfield type="hidden" name="Author article[]" value="{{CURRENTLOGGEDUSER}}"> | ||
+ | {{#arraymap:{{{Author article|}}}|,|@@@| | ||
+ | {{#ifeq:@@@|{{CURRENTLOGGEDUSER}}| |<wsfield type="hidden" name="Author article[]" value="@@@">}} | ||
+ | |}} | ||
+ | |||
<!-- | <!-- | ||
<wsedit target="{{#var:@id}}" template="Article" formfield="Author article" /> | <wsedit target="{{#var:@id}}" template="Article" formfield="Author article" /> |