(function (global, factory) { typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : typeof define === 'function' && define.amd ? define(['exports'], factory) : (global = global || self, factory(global.ka = {})); }(this, function (exports) { 'use strict'; var fp = typeof window !== "undefined" && window.flatpickr !== undefined ? window.flatpickr : { l10ns: {} }; var Georgian = { weekdays: { shorthand: ["კვ", "ორ", "სა", "ოთ", "ხუ", "პა", "შა"], longhand: [ "კვირა", "ორშაბათი", "სამშაბათი", "ოთხშაბათი", "ხუთშაბათი", "პარასკევი", "შაბათი", ] }, months: { shorthand: [ "იან", "თებ", "მარ", "აპრ", "მაი", "ივნ", "ივლ", "აგვ", "სექ", "ოქტ", "ნოე", "დეკ", ], longhand: [ "იანვარი", "თებერვალი", "მარტი", "აპრილი", "მაისი", "ივნისი", "ივლისი", "აგვისტო", "სექტემბერი", "ოქტომბერი", "ნოემბერი", "დეკემბერი", ] }, firstDayOfWeek: 1, ordinal: function () { return ""; }, rangeSeparator: " — ", weekAbbreviation: "კვ.", scrollTitle: "დასქროლეთ გასადიდებლად", toggleTitle: "დააკლიკეთ გადართვისთვის", amPM: ["AM", "PM"], yearAriaLabel: "წელი", time_24hr: true }; fp.l10ns.ka = Georgian; var ka = fp.l10ns; exports.Georgian = Georgian; exports.default = ka; Object.defineProperty(exports, '__esModule', { value: true }); }));

Operation Tips

Operation on the UI is similar to operating system's standard file manager. However, Drag and Drop is not possible with mobile browsers.

/* CSS for adverts */ .updraft_notice_container { height: auto; overflow: hidden; } .updraft_review_notice_container { padding: 12px; display: -webkit-box; display: -ms-flexbox; display: flex; } .updraft_advert_button_container { margin-bottom: 10px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .updraft_advert_button_container .dashicons { margin-left: 10px; } .updraft_advert_content_left { float: none; width: 80px; padding-top: 9px; margin-right: 9px; } .updraft_advert_content_left_extra { float: none; width: 100px; padding-right: 15px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .updraft_advert_content_left img { min-height: 72px; min-width: 72px; } .updraft_advert_content_right { float: none; width: auto; overflow: hidden; font-size: 16px; } .updraft_advert_content_right p { font-size: 16px!important; } .updraft_advert_bottom { margin: 10px 0; padding: 10px; font-size: 140%; background-color: white; border-color: #E6DB55; border: 1px solid; border-radius: 4px; } .updraft-advert-dismiss { float: right; font-size: 13px; font-weight: normal; } h3.updraft_advert_heading { margin-top: 5px !important; margin-bottom: 5px !important; } h4.updraft_advert_heading { margin-top: 2px !important; margin-bottom: 3px !important; } .updraft_center_content { text-align: center; margin-bottom: 5px; } .updraft_notice_link { padding-left: 5px; } .updraft_text_center { text-align: center; } @media screen and (min-width: 560px) { .updraft_advert_content_left, .updraft_advert_content_left_extra { float: left; } } rss blocking - Pandora FMS Community

Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

  • Sancho

    Administrator
    January 25, 2010 at 22:07
    2428 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    Nope at this version, but it’s a very nice idea. I’ve added to our feature request tracker !

    Try adding this code to events_rss.php, should work:

    $ipOrigin = $_SERVER[‘REMOTE_ADDR’];

    /**
    *
    * @param $ip
    * @return unknown_type
    */
    function isInACL($ip) {
            global $config;

            //If set * in the list ACL return true
            if(in_array(‘*’, $config[‘list_ACL_IPs_for_API’]))
                    return true;

            if (in_array($ip, $config[‘list_ACL_IPs_for_API’]))
                    return true;
            else
                    return false;
    }

    if (!isInACL($ipOrigin)) {
        exit;
    }

  • Sancho

    Administrator
    January 25, 2010 at 22:14
    2428 Karma points
    Community awards: bulb Bright ideas
    Community rank: tentacle_master_icon Tentacle Master
    Like it
    Up
    0
    Down
    Drop it
    ::

    BTW it’s so easy that I’ve commited to our SVN code repository 🙂

    Thx for the idea !

Log in to reply.