Bewerk bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 29: Regel 29:
 
  --></div><!--
 
  --></div><!--
 
  --><div class="grid-bericht"><!--   
 
  --><div class="grid-bericht"><!--   
  --><wsfield type="textarea"  name="Samenvatting"  class="inptext" placeholder="Samenvatting" >{{#caprint:$params[Bericht][Samenvatting]}}</wsfield><span class="ve-area-wrapper"><wsfield name="Bericht" type="textarea" class="toolbarOnTop">{{#caprint:$params[Bericht][Bericht]||noparse,nowiki }}</wsfield></span>
+
  --><wsfield type="textarea"  name="Samenvatting"  class="inptext" placeholder="Samenvatting" >{{#caprint:$params[Bericht][Samenvatting]}}</wsfield><span class="ve-area-wrapper"><wsfield name="Bericht" type="textarea" class="toolbarOnTop">{{#caprint:$params[Bericht][Bericht]||noparse,nowiki }}</wsfield></span><!--  
<!--  
 
 
  --></div><!--
 
  --></div><!--
 
  --><!--  
 
  --><!--  
 
  --><div class="grid-img" style="min-height: 200px;"><!--  
 
  --><div class="grid-img" style="min-height: 200px;"><!--  
   --><div class="image-wrapper">{{#vardefine:@img|{{#ask:[[Class::Bericht file]][[Page::{{#var:@page}}]]|link=none|limit=1}} }}{{#if:{{#var:@img}}|[[{{#var:@img}}|link=]]}}{{#widget:File upload
+
   --><div class="image-wrapper">
|preview=true
+
  <div class="upload-group">{{#vardefine:@hubimg|{{#ask:[[Class::Bericht file]][[Page::{{#var:@page}}]]|sort=Modification date|limit=1|link=none|order=desc|format=array}} }}
|caption=false
+
{{#if:{{#var:@hubimg}}|[[{{#var:@hubimg}}|link=]]}}</div><br>
|type=png
+
<div id="ws-image-upload" data-bericht="{{#var:@page}}" data-domein="{{SERVERNAME}}" ></div>
|drop=true
+
</div><!--  
|button=<div class="btn">{{fa|upload}}</div>
 
|filepagetemplate=Bericht file
 
|filepageparameters=Class:Bericht file;Domein:{{SERVERNAME}};Bericht:{{#var:@page}}
 
|filename={{#if:{{#var:@img}}|{{#explode:{{#explode:{{#var:@img}}|:|1}}|.|0}}|{{#time:U|now}}<FILENAME>}}
 
}}{{#if:{{#var:@img}}|<wsfield type="button" onclick="removeFile(this, '{{#var:@img}}')" class="btn remove-img" >{{fa|times}}</wsfield> }} </div><!--  
 
 
  --></div><!--
 
  --></div><!--
 
--></div><!--  
 
--></div><!--  
 
--></wsform></div><!--
 
--></wsform></div><!--

Versie van 12 jan 2021 09:18

⧼PageID must only consist of digits.⧽