Sjabloon:Bericht: verschil tussen versies

Uit Dorpsbelang Den Hout
Ga naar:navigatie, zoeken
Regel 2: Regel 2:
 
--><div class="d-flex justify-content-end align-items-center">{{#ifeq:{{#urlget:mode}}|edit|<!--  
 
--><div class="d-flex justify-content-end align-items-center">{{#ifeq:{{#urlget:mode}}|edit|<!--  
 
--><wsfield type="hidden"  name="Pagename" value="{{FULLPAGENAME}}"  /><!--  
 
--><wsfield type="hidden"  name="Pagename" value="{{FULLPAGENAME}}"  /><!--  
--><!--
 
 
  -->Layout {{#tag:html|<select  name="Layout" id="multi-select3"  onchange="$('.bericht-grid').attr('class', 'bericht-grid '+this.value);console.log(this.value)" >
 
  -->Layout {{#tag:html|<select  name="Layout" id="multi-select3"  onchange="$('.bericht-grid').attr('class', 'bericht-grid '+this.value);console.log(this.value)" >
 
   {{#arraymap:layout1, layout2|,|@@@|<option value="@@@" {{#ifeq:@@@|{{{Layout|}}}|selected="selected"}}>@@@</option>|}}
 
   {{#arraymap:layout1, layout2|,|@@@|<option value="@@@" {{#ifeq:@@@|{{{Layout|}}}|selected="selected"}}>@@@</option>|}}
   </select>}} Auteur <wsfield type="text"  name="Auteur" value="{{#if:{{{Auteur|}}}|{{{Auteur|}}}|{{CURRENTLOGGEDUSER}}}}" /><!--  
+
   </select>}}<!--
  --><wsfield type="hidden"  name="Prefix" value="{{#explode:{{FULLPAGENAME}}|/|0}}"  /><wsfield type="hidden" name="Domein" value="{{#if:{{{Domein|}}}|{{{Domein|}}}|{{SERVERNAME}}}}" placeholder="domein"  /><wsfield type="button" class="btn pull-right" onclick="document.querySelector('textarea').value = document.querySelector('.__editor').innerHTML;uploadFiles()" >Opslaan</wsfield><wsfield type="button" class="btn pull-right d-none" onclick="postBericht(this, 'Bericht')" id="real-submit" >Opslaan</wsfield>{{#widget:link|type=a|class=btn flex-end|text={{fa|arrow-left}}|href={{fullurl:{{FULLPAGENAME}}}} }}|{{#widget:link|type=a|class=btn float-right|text={{fa|edit}}|href={{fullurl:{{FULLPAGENAME}}|mode=edit}} }} }}</div><!-- uploadFiles(event)
+
--> Auteur <wsfield type="text"  name="Auteur" value="{{#if:{{{Auteur|}}}|{{{Auteur|}}}|{{CURRENTLOGGEDUSER}}}}" /><!--  
 +
  --><wsfield type="hidden"  name="Prefix" value="{{#explode:{{FULLPAGENAME}}|/|0}}"  /><!--
 +
--><wsfield type="hidden" name="Domein" value="{{#if:{{{Domein|}}}|{{{Domein|}}}|{{SERVERNAME}}}}" placeholder="domein"  /><!--
 +
--><wsfield type="button" class="btn pull-right" onclick="document.querySelector('textarea').value = document.querySelector('.__editor').innerHTML;uploadFiles()" >Opslaan</wsfield><!--
 +
--><wsfield type="button" class="btn pull-right d-none" onclick="postBericht(this, 'Bericht')" id="real-submit" >Opslaan</wsfield><!--
 +
-->{{#widget:link|type=a|class=btn flex-end|text={{fa|arrow-left}}|href={{fullurl:{{FULLPAGENAME}}}} }}<!--
 +
-->|<!--
 +
-->{{#widget:link|type=a|class=btn float-right|text={{fa|edit}}|href={{fullurl:{{FULLPAGENAME}}|mode=edit}} }}<!--
 +
--> }}</div><!--  
 
  --><div class="bericht-grid {{{Layout|}}}"><!--  
 
  --><div class="bericht-grid {{{Layout|}}}"><!--  
 
  --><div class="grid-tags"><!--  
 
  --><div class="grid-tags"><!--  

Versie van 6 nov 2020 13:18

Aanvullende informatie: