17 Comments (0) There are no comments posted here yet Leave your comments Posting comment as a guest. Username Password Login to my account → Komento.ready(function($) { $('[data-kt-login-submit]').on('click', function() { $('[data-kt-login-form]').submit(); }); }); Name (Required) Email Website Background Attachments (0 / 3) Share Your Location Cancel Submit Comment Komento.require() .script('site/form/form') .done(function($) { $('[data-kt-form]').implement(Komento.Controller.Form, { "location": false, "location_key": "", "attachments": { "enabled": false, "upload_max_size": "2mb", "upload_max_files": "3", "extensions": "bmp,csv,doc,gif,ico,jpg,jpeg,odg,odp,ods,odt,pdf,png,ppt,rar,txt,xcf,xls,zip" }, "bbcode": Komento.bbcode, "showCode": true, "showCaptcha": false, "recaptcha": false, "recaptcha_invisible": false, "markupSet": Komento.bbcodeButtons }); }); Komento.ready(function($){ // declare master namespace variable for shared values Komento.component = "com_content"; Komento.cid = "17"; Komento.contentLink = "https://airlineflyingclub.org.nz/our-fleet"; Komento.sort = "oldest"; Komento.loadedCount = parseInt(0); Komento.totalCount = parseInt(0); Komento.bbcode = true; Komento.backgrounds = true; Komento.smileys = true; Komento.bbcodeButtons = function() { var settings = { previewParserVar: 'data', markupSet: [], resizeHandle: false, onTab: { keepDefault: false, replaceWith: ' ' } }; settings.markupSet.push({ name: "Bold", key:'B', openWith:'[b]', closeWith:'[/b]', className:'kmt-markitup-bold' }); settings.markupSet.push({ name: "Italic", key:'I', openWith:'[i]', closeWith:'[/i]', className:'kmt-markitup-italic' }); settings.markupSet.push({ name: "Underline", key:'U', openWith:'[u]', closeWith:'[/u]', className:'kmt-markitup-underline' }); settings.markupSet.push({separator:'---------------' }); settings.markupSet.push({ name: "Link", key:'L', openWith:'[url="[![Link:!:http://]!]"(!( title="[![Title]!]")!)]', closeWith:'[/url]', placeHolder: "Your text to link", className:'kmt-markitup-link' }); settings.markupSet.push({ name: "Picture", key:'P', replaceWith:'[img][![Url]!][/img]', className:'kmt-markitup-picture' }); settings.markupSet.push({ name: "Video", replaceWith: function(h) { Komento.dialog({ "content": Komento.ajax('site/views/bbcode/video', {"caretPosition": h.caretPosition, "element": $(h.textarea).attr('id') }) }); }, className: 'kmt-markitup-video' }); settings.markupSet.push({separator:'---------------' }); settings.markupSet.push({ name: "Bullet List", openWith:'[list]\n[*]', closeWith:'\n[/list]', className:'kmt-markitup-bullet' }); settings.markupSet.push({ name: "Numeric List", openWith:'[list=[![Starting number]!]]\n[*]', closeWith:'\n[/list]', className:'kmt-markitup-numeric' }); settings.markupSet.push({ name: "Bullet", openWith:'[*]', className:'kmt-markitup-list' }); settings.markupSet.push({separator:'---------------' }); settings.markupSet.push({ name: "Quote", openWith:'[quote]', closeWith:'[/quote]', className:'kmt-markitup-quote' }); settings.markupSet.push({ name: "Code", openWith:'[code type="xml"]', closeWith:'[/code]', className:'kmt-markitup-code' }); settings.markupSet.push({ name: "Gist", openWith:'[gist type="php"]', closeWith:'[/gist]', className:'kmt-markitup-gist' }); return settings; }; }); Komento .require() .script('site/comments/wrapper', 'site/comments/list') .script('site/vendors/prism') .done(function($) { // Implement the wrapper $('[data-kt-wrapper]').implement(Komento.Controller.Wrapper, { "total": parseInt("0"), "lastchecktime": '2024-10-15 06:04:46', "initList": true, "ratings": false, "prism": true }); });