Bewerk bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
(Nieuwe pagina aangemaakt met '{{Overzicht|cc9f0c9ec8f2a5e07faf1834b0ad4af1mEikIw===11bd0d336c0768e78b15c4b243acb483lQ==|2f83d6ee3ee501b11ecbbd905383aa8baQdOYXdgOY0==65bcb42cfe38af8ff5a8c0a5004a8...')
 
Regel 1: Regel 1:
{{Overzicht|cc9f0c9ec8f2a5e07faf1834b0ad4af1mEikIw===11bd0d336c0768e78b15c4b243acb483lQ==|2f83d6ee3ee501b11ecbbd905383aa8baQdOYXdgOY0==65bcb42cfe38af8ff5a8c0a5004a8143CxEgKFTYmssTzRTzWKwuC646m/x4tO5A0PUKQZp5ZdRGFmPMAkRhax2cxIO8VTBwLIjBl4kULXOHoo0GOtibKSEop7gxDw4BxowLxU8oqw2qHKklqQRXsrPS4HuNfLnKgxd9lp2NKDYiHjAP53t0ssFcClgM5rLugbH9C/OqxlcMTfy6V6uWZu1r2Y0rVNApC+Oxx32Y97edijUSFqc2zsXKmKfB9jD2zeElQi//sdPJqpSfZ71dEBGgsSPA1l1yY9dtV5TlFcqi20RF+E9e4Ad5czwlB9LZu05oWl4U7YPH5Q/mwQ54n9ae3gBkhlRrqLTvEHNAm7MUwm84bKAyDISiv0JKQ12W41n/UQsMvKuPqU9hX1z+npcqcomnAgOCvZ7okx17Y54QAEIq2PLFTkC5UNjwJJdLgRXE/87VIjA8YNUhU3alr425WCUdDiHlpeRin99Ci90NEaqMfEKO7u7m4BGOndKh+C5DBIdB4l8rPgoUucM7kuutvMXdyAWEZlAMlGdZQA86Jo/se5Bdb3rYaz4=|formid=60ae436dafe98|Pagename=Bewerk bericht|Domein=www.denhout.eu|Tag=actueel}}
+
<div class="main-wrapper">{{#vardefine:@page|{{#urldecode:{{#urlget:page}} }} }}{{#vardefine:@pageid|{{PAGEID:{{#var:@page}} }} }}{{#tool:get parameters |{{#var:@pageid}} |$params}}<!--
 +
--><wsform action="addToWiki" ><!--
 +
--><wscreate mwtemplate="Bericht" mwwrite="{{#var:@page}}" mwfollow/><!--{{#ifeq:{{#caprint:$params[Bericht][Domein]}}|{{SERVERNAME}}| |{{#widget:Redirect|url=https://{{{Domein|}}}/index.php/{{FULLPAGENAME}} }} }}-->__NOTOC__ __NOTITLE__<!--
 +
--><div class="d-flex justify-content-end align-items-center"><!--
 +
--><wsfield type="hidden"  name="Pagename" value="{{#var:@page}}"  /><!--
 +
-->{{fa|table}} {{#tag:html|<select  class="inpt mr-1" name="Layout" id="multi-select3"  onchange="$('.bericht-grid').attr('class', 'bericht-grid '+this.value);console.log(this.value)" >
 +
  {{#arraymap:layout1, layout2|,|@@@|<option value="@@@" {{#ifeq:@@@|{{#caprint:$params[Bericht][Layout]}}|selected="selected"}}>@@@</option>|}}
 +
  </select>}}<!--
 +
-->{{fa|user}} <wsfield type="text" class="inpt" name="Auteur" value="{{#if:{{#caprint:$params[Bericht][Auteur]}}|{{#caprint:$params[Bericht][Auteur]}}|{{CURRENTLOGGEDUSER}}}}" /><!--
 +
--><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="button" class="btn btn-primary pull-right" onclick="veToText()" >Opslaan</wsfield><!--
 +
--><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}}}} }}<!--
 +
--></div><!--
 +
--><div class="bericht-grid {{#caprint:$params[Bericht][Layout]}}"><!--
 +
--><div class="grid-tags"><!--
 +
    --><div class="multi-select-wrapper" >{{#arraydefine:@tags|{{#ask:[[Class::Bericht]][[Domein::{{SERVERNAME}}]]|?Tags|format=array|mainlabel=-}} }}{{#arrayunique:@tags}}<span class="out">{{#arraymap:{{#caprint:$params[Bericht][tags]}}|,|@@@|{{#tag:wsfield|@@@{{#tag:wsfield||type=hidden|name=tags[]|value=@@@}}|type=button|class=botn|onclick=this.remove()}}|}}</span>{{#tag:html|<input list="tags" name="browser" id="multi-select2" multiple>
 +
  <datalist id="tags">
 +
    {{#arraymap:{{#arrayprint:@tags}}|,|@@@|
 +
    <option value="@@@">  |}}
 +
    </datalist>}}</div><!--
 +
--></div><!--
 +
--><div class="grid-datum"><!--
 +
  --><b><wsfield type="date" class="form-control {{#ifeq:{{#caprint:$params[Bericht][Show date]}}|false|disabled}}" name="Datum" value="{{#if:{{{Datum|}}}|{{#time:Y-m-d|{{#caprint:$params[Bericht][Datum]}}}}|{{#time:Y-m-d|Now}}}}" /></b><wsfield type="button" onclick="toggleDateField(this)" class="btn">{{fa|clock}}</wsfield><wsfield type="hidden" name="Show date" value="{{#ifeq:{{#caprint:$params[Bericht][Show date]}}|false|false}}"/><!--
 +
--></div><!--
 +
--><div class="grid-titel"><!--
 +
  --><h2><wsfield type="text" class="form-control" placeholder="Titel" name="Titel" value="{{#caprint:$params[Bericht][Titel]}}"/></h2><!--
 +
--></div><!--
 +
--><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><!--
 +
--></div><!--
 +
--><!--
 +
--><div class="grid-img" style="min-height: 200px;"><!--
 +
  --><div class="image-wrapper">
 +
  <div class="upload-group">{{#vardefine:@hubimg|{{#ask:[[Class::Bericht file]][[Page::{{#var:@page}}]]|sort=Modification date|limit=1|link=none|order=desc|format=array}} }}
 +
{{#if:{{#var:@hubimg}}|[[{{#var:@hubimg}}|link=]]}}</div><br>
 +
<div class="ws-image-upload" data-filetext="<nowiki>{{Bericht file|Domein=</nowiki>{{SERVERNAME}}<nowiki>|Bericht=</nowiki>{{#var:@page}}<nowiki>}}</nowiki>" ></div>
 +
</div><!--
 +
--></div><!--
 +
--></div><!--
 +
--></wsform></div><!--

Huidige versie van 27 mei 2021 om 18:08

⧼PageID must only consist of digits.⧽