Bewerk bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
 
(6 tussenliggende versies door 3 gebruikers niet weergegeven)
Regel 10: Regel 10:
 
  --><wsfield type="hidden"  name="Prefix" value="{{#explode:{{#var:@page}}|/|0}}"  /><!--  
 
  --><wsfield type="hidden"  name="Prefix" value="{{#explode:{{#var:@page}}|/|0}}"  /><!--  
 
  --><wsfield type="hidden" name="Domein" value="{{#if:{{#caprint:$params[Bericht][Domein]}}|{{#caprint:$params[Bericht][Domein]}}|{{SERVERNAME}}}}" placeholder="domein"  /><!--  
 
  --><wsfield type="hidden" name="Domein" value="{{#if:{{#caprint:$params[Bericht][Domein]}}|{{#caprint:$params[Bericht][Domein]}}|{{SERVERNAME}}}}" placeholder="domein"  /><!--  
  --><wsfield type="button" class="btn pull-right" onclick="veToText()" >Opslaan</wsfield><!-- uploadFiles()
+
  --><wsfield type="button" class="btn btn-primary pull-right" onclick="veToText()" >Opslaan</wsfield><!--  
  --><wsfield type="submit" class="btn pull-right d-none" id="real-submit" value="save" /><!--  
+
  --><wsfield type="submit" class="btn btn-primary pull-right d-none" id="real-submit" value="save" /><!--  
 
  -->{{#widget:link|type=a|class=btn flex-end|text={{fa|arrow-left}}|href={{fullurl:{{#var:@page}}}} }}<!--  
 
  -->{{#widget:link|type=a|class=btn flex-end|text={{fa|arrow-left}}|href={{fullurl:{{#var:@page}}}} }}<!--  
 
  --></div><!--  
 
  --></div><!--  
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 class="ws-image-upload" data-filetext="<nowiki>{{Bericht file|Domein=</nowiki>{{SERVERNAME}}<nowiki>|Bericht=</nowiki>{{#var:@page}}<nowiki>}}</nowiki>" ></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><!--

Huidige versie van 27 mei 2021 om 18:08

⧼PageID must only consist of digits.⧽