This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% do twig.noTemplate().addHeader('Content-type: application/json;') %} | |
{% trim %} | |
{% if socialprofile.getConnectedProviders %} | |
{% set profiles = [] %} | |
{% for p in socialprofile.getConnectedProviders %} | |
{% set profiles = profiles|merge({ (p) : socialprofile.getProfile(p) }) %} | |
{% endfor %} | |
{{ { | |
msg : 'hasProviders', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% if param.post.id %} | |
{# Callback from Mollie? #} | |
{% do api.IO_staticFile('mollie.txt').set(api.Payment_Mollie.getPayment(param.post.id)|print_r) %} | |
{% endif %} | |
<h4>Betalen via Mollie</h4> | |
{% set payAmount = 1.50 %} | |
{% if rest.get.pay and api.Payment_Mollie.getMethods[rest.get.pay] %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(".searchselect").each(function(){ | |
if($(this).attr('required')){ | |
$(this).before( | |
'<input required="required" class="'+$(this).attr('class')+' fake-field" tabindex="-1" type="text" name="'+$(this).attr('name')+'" id="'+$(this).attr('id')+'" />' | |
); | |
$(this).attr('d-name', $(this).attr('name')); | |
$(this).removeAttr('name'); | |
} | |
$(this).select2().on('change', function(){ | |
if($(this).attr('d-name')){ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>QR Reader</h1> | |
{% if param.files(true).foto.data %} | |
{#{% set data = api.IO_staticFile('qr/test.png').get() %}#} | |
{{ api.Barcode_QR(param.files(true).foto.data)|pre }} | |
{% else %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>FTP</h1> | |
{% set ftp = api.IO_ftpClient('10.20.213.20', 'ipub', 'yYBg') %} | |
{{ ftp.ls('Scanner/')|pre }} | |
{{ ftp.mkdir('Scanner/bla/')|pre }} | |
{{ ftp.set('Scanner/test.txt', 'Hallo :D Groeten van Wietse')|pre }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
auth = "Autorisatie" | |
login = "Inloggen" | |
pwchange = "Wachtwoord wijzigen" | |
logout = "Uitloggen" | |
noaccess = "Geen toegang" | |
loggedinwelcome = "Je bent ingelogd!" | |
noaccessdesc = "Je bent niet ingelogd. Om toegang te krijgen tot deze pagina dien je eerst in te loggen." | |
relogin = "Je bent reeds ingelogd. Om opnieuw in te loggen dien je eerst uit te loggen." | |
pwchangelogin = "Om je wachtwoord te wijzigen dien je eerst in te loggen." | |
logoutok = "Je bent met succes uitgelogd." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[general] | |
; ... | |
baselocation_fb = 'https://my-project.nodum.io/' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>Lekker uploaden</h1> | |
{{ param.files(true)|pre }} | |
<form method="post" enctype="multipart/form-data" action="{{ index }}"> | |
<input type="file" name="file[]" /> | |
<button type="submit">Verstuur</button> | |
</form> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set data = [ | |
{ naam : "Wietse", leeftijd: 12 }, | |
{ naam : "Tosca", leeftijd: 23 }, | |
{ naam : "Trinko", leeftijd: 28 }, | |
{ naam : "Wietse", leeftijd: 5 } | |
] %} | |
{% set newdata = [] %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Nodum CLI, version: {{ config.getVersion() }} | |
Ophalen uit Profit: | |
{% set raw_data = profit.get('I4U_Producten') %} | |
{{ raw_data|length }} resultaten. | |
{% set data = [] %} | |
{% for d in raw_data %} | |
{% set zoekinfo = (d.artcode ~ ' ' ~ d.artikel ~ ' ' ~ d.pdoms)|lower|preg_replace("@[^a-z0-9]@", " ")|preg_replace("@[ ]+@", " ")|trim %} |
OlderNewer