( function ( $, _, rwmb, i18n ) { 'use strict'; /** * Transform an input into a datetime picker. */ function transform() { var $this = $( this ), options = $this.data( 'options' ), $inline = $this.siblings( '.rwmb-datetime-inline' ), $timestamp = $this.siblings( '.rwmb-datetime-timestamp' ), current = $this.val(), $picker = $inline.length ? $inline : $this; $this.siblings( '.ui-datepicker-append' ).remove(); // Remove appended text options.onSelect = function() { $this.trigger( 'change' ); } options.beforeShow = function( i ) { if ( $( i ).prop( 'readonly' ) ) { return false; } } if ( $timestamp.length ) { options.onClose = options.onSelect = function () { $timestamp.val( getTimestamp( $picker.datetimepicker( 'getDate' ) ) ); $this.trigger( 'change' ); }; } if ( ! $inline.length ) { $this.removeClass( 'hasDatepicker' ).datetimepicker( options ); return; } options.altField = '#' + $this.attr( 'id' ); $this.on( 'keydown', _.debounce( function () { // if val is empty, return to allow empty datepicker input. if ( ! $this.val() ) { return; } $picker .datepicker( 'setDate', $this.val() ) .find( '.ui-datepicker-current-day' ) .trigger( 'click' ); }, 600 ) ); $inline .removeClass( 'hasDatepicker' ) .empty() .prop( 'id', '' ) .datetimepicker( options ) .datetimepicker( 'setDate', current ); } /** * Convert date to Unix timestamp in milliseconds * @link http://stackoverflow.com/a/14006555/556258 * @param date * @return number */ function getTimestamp( date ) { if ( date === null ) { return ''; } var milliseconds = Date.UTC( date.getFullYear(), date.getMonth(), date.getDate(), date.getHours(), date.getMinutes(), date.getSeconds() ); return Math.floor( milliseconds / 1000 ); } // Set language if available function setTimeI18n() { if ( $.timepicker.regional.hasOwnProperty( i18n.locale ) ) { $.timepicker.setDefaults( $.timepicker.regional[i18n.locale] ); } else if ( $.timepicker.regional.hasOwnProperty( i18n.localeShort ) ) { $.timepicker.setDefaults( $.timepicker.regional[i18n.localeShort] ); } } function init( e ) { $( e.target ).find( '.rwmb-datetime' ).each( transform ); } setTimeI18n(); rwmb.$document .on( 'mb_ready', init ) .on( 'clone', '.rwmb-datetime', transform ); } )( jQuery, _, rwmb, RWMB_Datetime ); /*! Select2 4.0.10 | https://github.com/select2/select2/blob/master/LICENSE.md */ !function(){if(jQuery&&jQuery.fn&&jQuery.fn.select2&&jQuery.fn.select2.amd)var n=jQuery.fn.select2.amd;n.define("select2/i18n/el",[],function(){return{errorLoading:function(){return"Τα αποτελέσματα δεν μπόρεσαν να φορτώσουν."},inputTooLong:function(n){var e=n.input.length-n.maximum,u="Παρακαλώ διαγράψτε "+e+" χαρακτήρ";return 1==e&&(u+="α"),1!=e&&(u+="ες"),u},inputTooShort:function(n){return"Παρακαλώ συμπληρώστε "+(n.minimum-n.input.length)+" ή περισσότερους χαρακτήρες"},loadingMore:function(){return"Φόρτωση περισσότερων αποτελεσμάτων…"},maximumSelected:function(n){var e="Μπορείτε να επιλέξετε μόνο "+n.maximum+" επιλογ";return 1==n.maximum&&(e+="ή"),1!=n.maximum&&(e+="ές"),e},noResults:function(){return"Δεν βρέθηκαν αποτελέσματα"},searching:function(){return"Αναζήτηση…"},removeAllItems:function(){return"Καταργήστε όλα τα στοιχεία"}}}),n.define,n.require}(); 1.0Personal Development Initiative Africahttps://pdiauganda.orgadminhttps://pdiauganda.org/index.php/author/pdiaweb/Home - Personal Development Initiative Africarich600338<blockquote class="wp-embedded-content" data-secret="ILTEp6AKte"><a href="https://pdiauganda.org/">Home</a></blockquote><iframe sandbox="allow-scripts" security="restricted" src="https://pdiauganda.org/embed/#?secret=ILTEp6AKte" width="600" height="338" title="“Home” — Personal Development Initiative Africa" data-secret="ILTEp6AKte" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" class="wp-embedded-content"></iframe><script> /*! This file is auto-generated */ !function(c,d){"use strict";var e=!1,o=!1;if(d.querySelector)if(c.addEventListener)e=!0;if(c.wp=c.wp||{},c.wp.receiveEmbedMessage);else if(c.wp.receiveEmbedMessage=function(e){var t=e.data;if(!t);else if(!(t.secret||t.message||t.value));else if(/[^a-zA-Z0-9]/.test(t.secret));else{for(var r,s,a,i=d.querySelectorAll('iframe[data-secret="'+t.secret+'"]'),n=d.querySelectorAll('blockquote[data-secret="'+t.secret+'"]'),o=new RegExp("^https?:$","i"),l=0;l<n.length;l++)n[l].style.display="none";for(l=0;l<i.length;l++)if(r=i[l],e.source!==r.contentWindow);else{if(r.removeAttribute("style"),"height"===t.message){if(1e3<(s=parseInt(t.value,10)))s=1e3;else if(~~s<200)s=200;r.height=s}if("link"===t.message)if(s=d.createElement("a"),a=d.createElement("a"),s.href=r.getAttribute("src"),a.href=t.value,!o.test(a.protocol));else if(a.host===s.host)if(d.activeElement===r)c.top.location.href=t.value}}},e)c.addEventListener("message",c.wp.receiveEmbedMessage,!1),d.addEventListener("DOMContentLoaded",t,!1),c.addEventListener("load",t,!1);function t(){if(o);else{o=!0;for(var e,t,r,s=-1!==navigator.appVersion.indexOf("MSIE 10"),a=!!navigator.userAgent.match(/Trident.*rv:11\./),i=d.querySelectorAll("iframe.wp-embedded-content"),n=0;n<i.length;n++){if(!(r=(t=i[n]).getAttribute("data-secret")))r=Math.random().toString(36).substr(2,10),t.src+="#?secret="+r,t.setAttribute("data-secret",r);if(s||a)(e=t.cloneNode(!0)).removeAttribute("security"),t.parentNode.replaceChild(e,t);t.contentWindow.postMessage({message:"ready",secret:r},"*")}}}}(window,document); </script> Welcome to PDIA PERSONAL DEVELOPMENT INITIATIVE AFRICA “Communities where children and youth are safe, live quality lives and supported to achieve their full potential”. Support our Activities We believe in the ‘Power of Community’ as a powerful tool for development ! Our Background PDIA was founded in 2012 as a limited company, the organization has … Read More »https://pdiauganda.org/wp-content/uploads/2023/07/PICTURES-WEB-2.jpg