Plugin Directory

Changeset 2463819


Ignore:
Timestamp:
01/27/2021 07:31:29 PM (5 years ago)
Author:
skyroom
Message:

Add edit the user and access it

Location:
skyroom-wp
Files:
307 added
3 deleted
21 edited

Legend:

Unmodified
Added
Removed
  • skyroom-wp/trunk/admin/js/script.js

    r2445851 r2463819  
    2525    }
    2626
     27    if (pagenow.indexOf('page_skyroom-users') !== -1) {
     28        $('.wp-list-table .show-details').on('click', function (e) {
     29            e.preventDefault();
     30            var data = $(this).data('user');
     31            var product_id = $(this).data('product');
     32
     33            var $table = $('<table>').addClass('widefat striped');
     34            var $tbody = $('<tbody>').appendTo($table);
     35            var $tr = $('<tr>');
     36            $tr.append('<td style="width: 50%">دسترسی</td>');
     37            $tr.append('<td style="width: 50%"><select id="access-level"></select></td>');
     38            $tr.appendTo($tbody);
     39
     40            $.ajax({
     41                url: ajaxurl,
     42                type: 'POST',
     43                dataType: 'json',
     44                data: {
     45                    action: 'skyroom_get_user_data',
     46                    nonce: skyroom_user_data.get_data,
     47                    user_id: data,
     48                    product_id: product_id
     49                },
     50                success: function (result) {
     51                    $("#access-level").html(result.data);
     52                }
     53            });
     54
     55            alertify.confirm($table.get(0).outerHTML, function () {
     56                $.ajax({
     57                    url: ajaxurl,
     58                    type: 'POST',
     59                    dataType: 'json',
     60                    data: {
     61                        action: 'skyroom_set_user_data',
     62                        nonce: skyroom_user_data.set_data,
     63                        user_id: data,
     64                        product_id: product_id,
     65                        access_level: $('#access-level').val(),
     66                        access: data,
     67                    },
     68                    success: function (result) {
     69                        if (result.success) {
     70                            alertify.success(result.data.message);
     71                        } else {
     72                            alertify.error(result.data.message);
     73                        }
     74                    },
     75                    error: function (e) {
     76                        alertify.error('خطایی در سایت شما رخ داده، لطفا مجددا امتحان کنید.');
     77                    }
     78                });
     79            }).set({
     80                title: skyroom_data.user_access,
     81                labels: {
     82                    ok: skyroom_data.save,
     83                    cancel: skyroom_data.cancel
     84                },
     85                padding: false
     86            }).show();
     87        });
     88    }
     89
    2790    // Synchronize actions
    2891    if (pagenow.indexOf('page_skyroom-maintenance') !== -1) {
  • skyroom-wp/trunk/config.php

    r2445851 r2463819  
    3939$parameters = [
    4040    'name' => 'skyroom',
    41     'version' => '1.6.0',
     41    'version' => '1.6.1',
    4242    'plugin.path' => plugin_dir_path(__FILE__),
    4343    'plugin.url' => plugin_dir_url(__FILE__),
  • skyroom-wp/trunk/languages/skyroom-fa_IR.po

    r2445855 r2463819  
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/skyroom\n"
    77"POT-Creation-Date: 2020-06-19 21:05+0430\n"
    8 "PO-Revision-Date: 2020-12-25 14:54+0330\n"
     8"PO-Revision-Date: 2021-01-25 16:16+0330\n"
    99"Last-Translator: \n"
    1010"Language-Team: \n"
     
    1313"Content-Type: text/plain; charset=UTF-8\n"
    1414"Content-Transfer-Encoding: 8bit\n"
    15 "X-Generator: Poedit 2.2\n"
     15"X-Generator: Poedit 2.4.2\n"
    1616"Plural-Forms: nplurals=2; plural=(n > 1);\n"
    1717"X-Poedit-Basepath: ..\n"
    18 "X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;_n_noop:1,2;_c,"
    19 "_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;esc_attr__;esc_attr_e;"
    20 "esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
     18"X-Poedit-KeywordsList: __;_e;__ngettext:1,2;_n:1,2;__ngettext_noop:1,2;"
     19"_n_noop:1,2;_c,_nc:4c,1,2;_x:1,2c;_nx:4c,1,2;_nx_noop:4c,1,2;_ex:1,2c;"
     20"esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c\n"
    2121"X-Poedit-SearchPath-0: src/Skyroom\n"
    2222"X-Poedit-SearchPath-1: views\n"
     
    5454msgstr "عنوان اتاق"
    5555
    56 #: src/Skyroom/Adapter/WooCommerceAdapter.php:444 views/woocommerce-add-to-cart.php:31
     56#: src/Skyroom/Adapter/WooCommerceAdapter.php:444
     57#: views/woocommerce-add-to-cart.php:31
    5758msgid "Enter room"
    5859msgstr "ورود به اتاق"
     
    7677
    7778#: src/Skyroom/Controller/SkyroomController.php:103
    78 msgid "Seems there is a problem on our side. Please contact support to resolve issue."
    79 msgstr "به نظر می‌رسد مشکلی سمت ما وجود دارد. برای حل مشکل با پشتیبانی سایت تماس بگیرید."
     79msgid ""
     80"Seems there is a problem on our side. Please contact support to resolve issue."
     81msgstr ""
     82"به نظر می‌رسد مشکلی سمت ما وجود دارد. برای حل مشکل با پشتیبانی سایت تماس بگیرید."
    8083
    8184#: src/Skyroom/Entity/Room.php:88 src/Skyroom/Entity/User.php:91
     
    112115msgstr "یکپارچه‌سازی اسکای‌روم"
    113116
    114 #: src/Skyroom/Menu/MainMenu.php:26 src/Skyroom/WooCommerce/SkyroomProductRegistrar.php:72
     117#: src/Skyroom/Menu/MainMenu.php:26
     118#: src/Skyroom/WooCommerce/SkyroomProductRegistrar.php:72
    115119#: src/Skyroom/WooCommerce/SkyroomProductRegistrar.php:100
    116120msgid "Skyroom"
     
    163167#, php-format
    164168msgid ""
    165 "<strong>Skyroom</strong> plugin activated successfully but it's not configured yet. "
    166 "Please go to <a href=\"%s\">skyroom settings</a> page and configure it to start working."
    167 msgstr ""
    168 "پلاگین <strong>اسکای‌روم</strong> با موفقیت فعال شد اما هنوز پیکربندی نشده‌است. لطفا به "
    169 "صفحه <a href=\"%s\">تنظیمات اسکای‌روم</a> بروید و پیکربندی را انجام دهید تا شروع به کار "
    170 "کند."
     169"<strong>Skyroom</strong> plugin activated successfully but it's not configured "
     170"yet. Please go to <a href=\"%s\">skyroom settings</a> page and configure it to "
     171"start working."
     172msgstr ""
     173"پلاگین <strong>اسکای‌روم</strong> با موفقیت فعال شد اما هنوز پیکربندی نشده‌است. "
     174"لطفا به صفحه <a href=\"%s\">تنظیمات اسکای‌روم</a> بروید و پیکربندی را انجام دهید "
     175"تا شروع به کار کند."
    171176
    172177#: src/Skyroom/Repository/UserRepository.php:133
     
    452457#: src/Skyroom/Util/AssetManager.php:74
    453458msgid ""
    454 "This will delete all data related to skyroom from your wordpress. Are you sure what you "
    455 "are doing?"
    456 msgstr ""
    457 "این عملیات همه‌ی اطلاعات مربوط به اسکای‌روم را از وردپرس شما پاک می‌کند. آیا مطمئن هستید چه "
    458 "کاری انجام می‌دهید؟"
     459"This will delete all data related to skyroom from your wordpress. Are you sure "
     460"what you are doing?"
     461msgstr ""
     462"این عملیات همه‌ی اطلاعات مربوط به اسکای‌روم را از وردپرس شما پاک می‌کند. آیا مطمئن "
     463"هستید چه کاری انجام می‌دهید؟"
    459464
    460465#: src/Skyroom/WooCommerce/SkyroomProductRegistrar.php:205
     
    488493#: views/maintenance.php:22
    489494msgid ""
    490 "If you have had some data before installing skyroom plugin or something bad happened for "
    491 "plugin while contacting with skyroom server, It's the place to synchronize your data "
    492 "with server."
    493 msgstr ""
    494 "اگر قبل از نصب پلاگین اسکای‌روم داده‌ای داشته‌اید یا در هنگام ارتباط با سرور برای پلاگین "
    495 "خطایی رخ داده‌است، اینجا جایی برای همگام‌سازی داده‌های شما با سرور است."
     495"If you have had some data before installing skyroom plugin or something bad "
     496"happened for plugin while contacting with skyroom server, It's the place to "
     497"synchronize your data with server."
     498msgstr ""
     499"اگر قبل از نصب پلاگین اسکای‌روم داده‌ای داشته‌اید یا در هنگام ارتباط با سرور برای "
     500"پلاگین خطایی رخ داده‌است، اینجا جایی برای همگام‌سازی داده‌های شما با سرور است."
    496501
    497502#: views/maintenance.php:27
     
    514519#: views/maintenance.php:46
    515520msgid ""
    516 "Clear all skyroom data (user ids, room ids and enrollments) from your wordpress database."
    517 msgstr ""
    518 "پاکسازی همه اطلاعات اسکای‌روم (شناسه کاربران، شناسه اتاق‌ها و ثبت‌نام‌ها) از دیتابیس وردپرس."
     521"Clear all skyroom data (user ids, room ids and enrollments) from your wordpress "
     522"database."
     523msgstr ""
     524"پاکسازی همه اطلاعات اسکای‌روم (شناسه کاربران، شناسه اتاق‌ها و ثبت‌نام‌ها) از "
     525"دیتابیس وردپرس."
    519526
    520527#: views/maintenance.php:52
     
    604611
    605612#: src/Skyroom/Entity/SkyroomWidget.php:15
    606 msgid "This widget skyroom for wplms courses and and it does not work in any other plugins"
    607 msgstr ""
    608 "این ابزارک اسکای روم برای WPLMS است و برای افزونه های دیگر کاربردی ندارد و فقط برای دوره "
    609 "های WPLMS قابل استفاده است"
     613msgid ""
     614"This widget skyroom for wplms courses and and it does not work in any other "
     615"plugins"
     616msgstr ""
     617"این ابزارک اسکای روم برای WPLMS است و برای افزونه های دیگر کاربردی ندارد و فقط "
     618"برای دوره های WPLMS قابل استفاده است"
    610619
    611620#: src/Skyroom/Entity/SkyroomWidget.php:53
     
    613622msgstr "ورود به اتاق دوره"
    614623
    615 msgid "Room entry link expiration time (scound) :"
    616 msgstr "مدت زمان انقضای لینک ورود به اتاق (ثانیه) :"
    617 
    618 msgid ""
    619 "ttl or Time To Live is the validity period of the link in seconds, which in the example "
    620 "above is 60 seconds is equivalent to one minute. After this period, the generated link "
    621 "is not valid and if used, the user will encounter an error invalidating the link."
    622 msgstr ""
    623 "ttl یا Time To Live مدت زمان اعتبار لینک به ثانیه است که در مثال بالا این مدت 60 ثانیه "
    624 "معادل یک دقیقه می‌باشد. پس از این مدت، لینک تولید شده معتبر نیست و در صورت استفاده، کاربر "
    625 "با خطای عدم اعتبار لینک روبرو می‌شود."
     624msgid "Room entry link expiration time :"
     625msgstr "مدت زمان انقضای لینک ورود به اتاق :"
     626
     627msgid ""
     628"ttl or Time To Live is the validity period of the link. After this period, the "
     629"generated link is not valid and if used, the user will encounter an error "
     630"invalidating the link."
     631msgstr ""
     632"ttl یا Time To Live مدت زمان اعتبار لینک است. پس از این مدت، لینک تولید شده "
     633"معتبر نیست و در صورت استفاده، کاربر با خطای عدم اعتبار لینک روبرو می‌شود."
    626634
    627635msgid "Edit user"
     
    631639msgstr "ویرایش"
    632640
     641msgid "Access edit"
     642msgstr "ویرایش دسترسی کاربر"
     643
     644msgid "Normal role"
     645msgstr "کاربر عادی"
     646
     647msgid "Presenter role"
     648msgstr "ارایه کننده"
     649
     650msgid "Operator role"
     651msgstr "اپراتور"
     652
     653msgid "Your changes save failed"
     654msgstr "ذخیره تغییرات با خطا مواجه شد"
     655
     656msgid "Cancel"
     657msgstr "لغو"
     658
     659msgid "Second"
     660msgstr "ثانیه"
     661
     662msgid "Minute"
     663msgstr "دقیقه"
     664
    633665#: views/woocommerce-skyroom-order.php:3
    634666msgid ""
    635667"You successfully enrolled in purchased courses. To attend classes, on announced "
    636 "schedules navigate to course page and click on 'Enter room' button. (Remember you should "
    637 "be logged in to site)"
    638 msgstr ""
    639 "ثبت‌نام شما در دوره‌های خریداری شده با موفقیت انجام شد. برای شرکت در کلاس‌ها در زمان‌های "
    640 "اعلام شده وارد صفحه دوره شده و روی دکمه 'ورود به کلاس' کلیک نمایید. (لطفا توجه کنید که "
    641 "باید وارد سایت شده باشید)"
     668"schedules navigate to course page and click on 'Enter room' button. (Remember "
     669"you should be logged in to site)"
     670msgstr ""
     671"ثبت‌نام شما در دوره‌های خریداری شده با موفقیت انجام شد. برای شرکت در کلاس‌ها در "
     672"زمان‌های اعلام شده وارد صفحه دوره شده و روی دکمه 'ورود به کلاس' کلیک نمایید. "
     673"(لطفا توجه کنید که باید وارد سایت شده باشید)"
    642674
    643675#~ msgid "Skyroom Synchronization"
  • skyroom-wp/trunk/languages/skyroom.pot

    r2445851 r2463819  
    613613msgstr ""
    614614
    615 msgid "Room entry link expiration time (scound) :"
    616 msgstr ""
    617 
    618 msgid "ttl or Time To Live is the validity period of the link in seconds, which in the example above is 60 seconds is equivalent to one minute. After this period, the generated link is not valid and if used, the user will encounter an error invalidating the link."
     615msgid "Room entry link expiration time :"
     616msgstr ""
     617
     618msgid "ttl or Time To Live is the validity period of the link. After this period, the generated link is not valid and if used, the user will encounter an error invalidating the link."
    619619msgstr ""
    620620
     
    623623
    624624msgid "Edit"
     625msgstr ""
     626
     627msgid "Access edit"
     628msgstr ""
     629
     630msgid "Normal role"
     631msgstr ""
     632
     633msgid "Presenter role"
     634msgstr ""
     635
     636msgid "Operator role"
     637msgstr ""
     638
     639msgid "Your changes save failed"
     640msgstr ""
     641
     642msgid "Cancel"
     643msgstr ""
     644
     645msgid "Second"
     646msgstr ""
     647
     648msgid "Minute"
    625649msgstr ""
    626650
  • skyroom-wp/trunk/readme.txt

    r2445856 r2463819  
    55Requires at least: 4.7
    66Tested up to: 5.6
    7 Stable tag: 1.6.0
     7Stable tag: 1.6.1
    88Requires PHP: 7.0
    99License: GPLv2 or later
     
    3636== Changelog ==
    3737
     38= 1.6.1 =
     39* اضافه شدن تنظیم دسترسی کاربران در اتاق
     40
    3841= 1.6.0 =
    3942* اضافه شدن تنظیم مدت اعتبار لینک اتاق در تنظیمات افزونه
     
    4750== Upgrade Notice ==
    4851
     52= 1.6.1 =
     53* اضافه شدن دسترسی کاربران در اتاق
     54
    4955= 1.5.0 =
    5056* اضافه شدن ابزارک wplms
  • skyroom-wp/trunk/skyroom.php

    r2445851 r2463819  
    77 * Plugin URI:        https://skyroom.online/pages/wordpress-integration
    88 * Description:       A plugin to integrate skyroom with your wordpress site
    9  * Version:           1.6.0
     9 * Version:           1.6.1
    1010 * Author:            Skyroom
    1111 * Author URI:        https://skyroom.online/
  • skyroom-wp/trunk/src/Skyroom/Controller/SkyroomController.php

    r2445851 r2463819  
    5555    {
    5656        $matches = $this->matchRequestPath();
     57        $product_id = $matches['id'];
    5758        if ($matches) {
    5859            $product = wc_get_product($matches['id']);
    59             if($product->get_type() === "skyroom") {
     60            if ($product->get_type() === "skyroom") {
    6061                $product = $this->pluginAdapter->wrapProduct($product);
    6162
     
    7172                    $userData = wp_get_current_user();
    7273
    73                     $username = $userData->data->user_login;
     74                    $userId = $userData->data->ID;
    7475                    $nickname = $userData->data->display_name;
    7576
    7677                    $ttl = get_option('skyroom_link_ttl');
    77                     if(!$ttl){
     78                    $ttlUnit = get_option('skyroom_link_ttl_unit');
     79                    if (!$ttlUnit) {
     80                        $ttlUnit = 1;
     81                    } elseif ($ttlUnit == 'sec') {
     82                        $ttlUnit = 1;
     83                    } elseif ($ttlUnit == 'min') {
     84                        $ttlUnit = 60;
     85                    }
     86                    if (!$ttl) {
    7887                        $ttl = 60;
     88                    }
     89                    $ttl = $ttl * $ttlUnit;
     90
     91                    $user_data = get_user_meta($userId, '_skyroom_access', true);
     92                    $access_level = 1;
     93
     94                    if ($user_data) {
     95                        $accesses = unserialize($user_data);
     96                        foreach ($accesses as $access) {
     97                            if ($access['product_id'] == $product_id) {
     98                                $access_level = $access['access_level'];
     99                            }
     100                        }
    79101                    }
    80102
    81103                    $url = $this->client->request('createLoginUrl', [
    82104                        'room_id' => $skyroomRoomId,
    83                         'user_id' => $username,
     105                        'user_id' => $userId,
    84106                        'nickname' => $nickname,
    85                         'access' => 1,
     107                        'access' => $access_level,
    86108                        'concurrent' => 1,
    87109                        'ttl' => $ttl,
     
    111133                    wp_die('<h1>' . $title . '</h1>' . '<p>' . $message . '</p>', $title);
    112134                }
    113             }else{
     135            } else {
    114136                $title = __('Error product type', 'skyroom');
    115137                $message = __('This product is not skyroom type.', 'skyroom');
  • skyroom-wp/trunk/src/Skyroom/Menu/SettingSubmenu.php

    r2445851 r2463819  
    5858            $skyroomApiKey = $_POST['skyroom_api_key'];
    5959            $skyroomLinkTtl = $_POST['skyroom_link_ttl'];
     60            $skyroomLinkTtlUnit = $_POST['skyroom_link_ttl_unit'];
    6061            $skyroomIntegratedPlugin = $_POST['skyroom_integrated_plugin'];
    6162
     
    7172                update_option('skyroom_api_key', $skyroomApiKey);
    7273                update_option('skyroom_link_ttl', $skyroomLinkTtl);
     74                update_option('skyroom_link_ttl_unit', $skyroomLinkTtlUnit);
    7375                update_option('skyroom_integrated_plugin', $skyroomIntegratedPlugin);
    7476            } catch (\Exception $exception) {
     
    8082            $skyroomApiKey = get_option('skyroom_api_key');
    8183            $skyroomLinkTtl = get_option('skyroom_link_ttl');
     84            $skyroomLinkTtlUnit = get_option('skyroom_link_ttl_unit');
    8285            $skyroomIntegratedPlugin = get_option('skyroom_integrated_plugin');
     86        }
     87
     88        if(!$skyroomLinkTtlUnit){
     89            $skyroomLinkTtlUnit = 'sec';
    8390        }
    8491
     
    8996            'skyroomApiKey' => $skyroomApiKey,
    9097            'skyroomLinkTtl' => $skyroomLinkTtl,
     98            'skyroomLinkTtlUnit' => $skyroomLinkTtlUnit,
    9199            'skyroomIntegratedPlugin' => $skyroomIntegratedPlugin,
    92100        ];
  • skyroom-wp/trunk/src/Skyroom/Menu/UserSubmenu.php

    r2445851 r2463819  
    5050    {
    5151        $this->usersTable->prepare_items();
    52 
    5352        $context = [
    5453            'table' => $this->usersTable,
    5554        ];
    56 
    5755        $this->viewer->view('users.php', $context);
    5856    }
  • skyroom-wp/trunk/src/Skyroom/Plugin.php

    r2445851 r2463819  
    1111use Skyroom\Controller\MaintenanceController;
    1212use Skyroom\Controller\SkyroomController;
     13use Skyroom\Controller\UserController;
    1314use Skyroom\Entity\SkyroomWidget;
    1415use Skyroom\Menu\EventSubmenu;
     
    139140    {
    140141        $syncTaskController = $this->container->get(MaintenanceController::class);
     142        $userController = $this->container->get(UserController::class);
    141143        add_action('wp_ajax_' . MaintenanceController::startActionIdentifier, [$syncTaskController, 'startSyncTask']);
    142144        add_action('wp_ajax_' . MaintenanceController::statusActionIdentifier, [$syncTaskController, 'getSyncStatus']);
    143145        add_action('wp_ajax_' . MaintenanceController::purgeActionIdentifier, [$syncTaskController, 'purgeData']);
     146        add_action('wp_ajax_' . UserController::setUserData, [$userController, 'setData']);
     147        add_action('wp_ajax_' . UserController::getUserData, [$userController, 'getData']);
    144148    }
    145149
  • skyroom-wp/trunk/src/Skyroom/Tables/UsersTable.php

    r2445851 r2463819  
    100100
    101101    /**
     102     * Render user access edit column
     103     *
     104     * @param $item
     105     * @return string
     106     */
     107    public function column_edit($item)
     108    {
     109        $url = menu_page_url('skyroom-users', $echo = false).'&user_id='.$item['user_id'];
     110        return '<a href="#" data-user="'.$item['user_id'].'"  data-product="'.$item['product_id'].'" class="show-details btn">'. __('Access edit', 'skyroom') .'</a>';
     111    }
     112
     113    /**
    102114     * Get table columns
    103115     *
     
    110122            'username' => __('Username', 'skyroom'),
    111123            'product' => __('Product', 'skyroom'),
     124            'edit' => __('Edit', 'skyroom'),
    112125        );
    113126    }
  • skyroom-wp/trunk/src/Skyroom/Util/AssetManager.php

    r2445851 r2463819  
    6464            [
    6565                'ok' => __('OK', 'skyroom'),
     66                'save' => __('Save Changes', 'skyroom'),
     67                'cancel' => __('Cancel', 'skyroom'),
    6668                'event_details' => __('Event details', 'skyroom'),
    6769                'error_code' => __('Error code', 'skyroom'),
     
    7173                'user_id' => __('User ID', 'skyroom'),
    7274                'room_id' => __('Room ID', 'skyroom'),
     75                'user_access' => __('Access edit', 'skyroom'),
    7376                'skyroom_user_id' => __('Skyroom User ID', 'skyroom'),
    7477                'purge_data_confirm' => __('This will delete all data related to skyroom from your wordpress. Are you sure'
  • skyroom-wp/trunk/vendor/autoload.php

    r2445851 r2463819  
    55require_once __DIR__ . '/composer/autoload_real.php';
    66
    7 return ComposerAutoloaderInit44f8ef299988f8fafec197d39b5bd921::getLoader();
     7return ComposerAutoloaderInit072e2fdf508d7aadd09ef509707b34fd::getLoader();
  • skyroom-wp/trunk/vendor/composer/ClassLoader.php

    r2445851 r2463819  
    3838 * @author Fabien Potencier <[email protected]>
    3939 * @author Jordi Boggiano <[email protected]>
    40  * @see    https://www.php-fig.org/psr/psr-0/
    41  * @see    https://www.php-fig.org/psr/psr-4/
     40 * @see    http://www.php-fig.org/psr/psr-0/
     41 * @see    http://www.php-fig.org/psr/psr-4/
    4242 */
    4343class ClassLoader
  • skyroom-wp/trunk/vendor/composer/autoload_classmap.php

    r2445851 r2463819  
    77
    88return array(
    9     'Composer\\InstalledVersions' => $vendorDir . '/composer/InstalledVersions.php',
    109);
  • skyroom-wp/trunk/vendor/composer/autoload_real.php

    r2445851 r2463819  
    33// autoload_real.php @generated by Composer
    44
    5 class ComposerAutoloaderInit44f8ef299988f8fafec197d39b5bd921
     5class ComposerAutoloaderInit072e2fdf508d7aadd09ef509707b34fd
    66{
    77    private static $loader;
     
    2323        }
    2424
    25         require __DIR__ . '/platform_check.php';
    26 
    27         spl_autoload_register(array('ComposerAutoloaderInit44f8ef299988f8fafec197d39b5bd921', 'loadClassLoader'), true, true);
     25        spl_autoload_register(array('ComposerAutoloaderInit072e2fdf508d7aadd09ef509707b34fd', 'loadClassLoader'), true, true);
    2826        self::$loader = $loader = new \Composer\Autoload\ClassLoader();
    29         spl_autoload_unregister(array('ComposerAutoloaderInit44f8ef299988f8fafec197d39b5bd921', 'loadClassLoader'));
     27        spl_autoload_unregister(array('ComposerAutoloaderInit072e2fdf508d7aadd09ef509707b34fd', 'loadClassLoader'));
    3028
    3129        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
    3230        if ($useStaticLoader) {
    33             require __DIR__ . '/autoload_static.php';
     31            require_once __DIR__ . '/autoload_static.php';
    3432
    35             call_user_func(\Composer\Autoload\ComposerStaticInit44f8ef299988f8fafec197d39b5bd921::getInitializer($loader));
     33            call_user_func(\Composer\Autoload\ComposerStaticInit072e2fdf508d7aadd09ef509707b34fd::getInitializer($loader));
    3634        } else {
    3735            $map = require __DIR__ . '/autoload_namespaces.php';
     
    5452
    5553        if ($useStaticLoader) {
    56             $includeFiles = Composer\Autoload\ComposerStaticInit44f8ef299988f8fafec197d39b5bd921::$files;
     54            $includeFiles = Composer\Autoload\ComposerStaticInit072e2fdf508d7aadd09ef509707b34fd::$files;
    5755        } else {
    5856            $includeFiles = require __DIR__ . '/autoload_files.php';
    5957        }
    6058        foreach ($includeFiles as $fileIdentifier => $file) {
    61             composerRequire44f8ef299988f8fafec197d39b5bd921($fileIdentifier, $file);
     59            composerRequire072e2fdf508d7aadd09ef509707b34fd($fileIdentifier, $file);
    6260        }
    6361
     
    6664}
    6765
    68 function composerRequire44f8ef299988f8fafec197d39b5bd921($fileIdentifier, $file)
     66function composerRequire072e2fdf508d7aadd09ef509707b34fd($fileIdentifier, $file)
    6967{
    7068    if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
  • skyroom-wp/trunk/vendor/composer/autoload_static.php

    r2445851 r2463819  
    55namespace Composer\Autoload;
    66
    7 class ComposerStaticInit44f8ef299988f8fafec197d39b5bd921
     7class ComposerStaticInit072e2fdf508d7aadd09ef509707b34fd
    88{
    99    public static $files = array (
     
    7474    );
    7575
    76     public static $classMap = array (
    77         'Composer\\InstalledVersions' => __DIR__ . '/..' . '/composer/InstalledVersions.php',
    78     );
    79 
    8076    public static function getInitializer(ClassLoader $loader)
    8177    {
    8278        return \Closure::bind(function () use ($loader) {
    83             $loader->prefixLengthsPsr4 = ComposerStaticInit44f8ef299988f8fafec197d39b5bd921::$prefixLengthsPsr4;
    84             $loader->prefixDirsPsr4 = ComposerStaticInit44f8ef299988f8fafec197d39b5bd921::$prefixDirsPsr4;
    85             $loader->classMap = ComposerStaticInit44f8ef299988f8fafec197d39b5bd921::$classMap;
     79            $loader->prefixLengthsPsr4 = ComposerStaticInit072e2fdf508d7aadd09ef509707b34fd::$prefixLengthsPsr4;
     80            $loader->prefixDirsPsr4 = ComposerStaticInit072e2fdf508d7aadd09ef509707b34fd::$prefixDirsPsr4;
    8681
    8782        }, null, ClassLoader::class);
  • skyroom-wp/trunk/vendor/composer/installed.json

    r2445851 r2463819  
    1 {
    2     "packages": [
    3         {
    4             "name": "container-interop/container-interop",
    5             "version": "1.2.0",
    6             "version_normalized": "1.2.0.0",
    7             "source": {
    8                 "type": "git",
    9                 "url": "https://github.com/container-interop/container-interop.git",
    10                 "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8"
     1[
     2    {
     3        "name": "container-interop/container-interop",
     4        "version": "1.2.0",
     5        "version_normalized": "1.2.0.0",
     6        "source": {
     7            "type": "git",
     8            "url": "https://github.com/container-interop/container-interop.git",
     9            "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8"
     10        },
     11        "dist": {
     12            "type": "zip",
     13            "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8",
     14            "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8",
     15            "shasum": ""
     16        },
     17        "require": {
     18            "psr/container": "^1.0"
     19        },
     20        "time": "2017-02-14T19:40:03+00:00",
     21        "type": "library",
     22        "installation-source": "dist",
     23        "autoload": {
     24            "psr-4": {
     25                "Interop\\Container\\": "src/Interop/Container/"
     26            }
     27        },
     28        "notification-url": "https://packagist.org/downloads/",
     29        "license": [
     30            "MIT"
     31        ],
     32        "description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
     33        "homepage": "https://github.com/container-interop/container-interop",
     34        "abandoned": "psr/container"
     35    },
     36    {
     37        "name": "downshiftorg/wp-event-emitter",
     38        "version": "6.0.0",
     39        "version_normalized": "6.0.0.0",
     40        "source": {
     41            "type": "git",
     42            "url": "https://github.com/downshiftorg/wp-event-emitter.git",
     43            "reference": "c9e799d7464375d39d9bcd2894903d7c64c577de"
     44        },
     45        "dist": {
     46            "type": "zip",
     47            "url": "https://api.github.com/repos/downshiftorg/wp-event-emitter/zipball/c9e799d7464375d39d9bcd2894903d7c64c577de",
     48            "reference": "c9e799d7464375d39d9bcd2894903d7c64c577de",
     49            "shasum": ""
     50        },
     51        "require": {
     52            "php": ">=5.4.0"
     53        },
     54        "require-dev": {
     55            "phpunit/phpunit": "^4.6",
     56            "symfony/var-dumper": "~2.6.0"
     57        },
     58        "time": "2018-01-15T17:42:40+00:00",
     59        "type": "library",
     60        "installation-source": "dist",
     61        "autoload": {
     62            "psr-4": {
     63                "DownShift\\WordPress\\": "src/"
     64            }
     65        },
     66        "license": [
     67            "MIT"
     68        ],
     69        "authors": [
     70            {
     71                "name": "Brian Scaturro",
     72                "email": "[email protected]"
     73            }
     74        ],
     75        "description": "An object oriented event emitter for WordPress actions",
     76        "support": {
     77            "source": "https://github.com/downshiftorg/wp-event-emitter/tree/6.0.0",
     78            "issues": "https://github.com/downshiftorg/wp-event-emitter/issues"
     79        }
     80    },
     81    {
     82        "name": "php-di/invoker",
     83        "version": "1.3.3",
     84        "version_normalized": "1.3.3.0",
     85        "source": {
     86            "type": "git",
     87            "url": "https://github.com/PHP-DI/Invoker.git",
     88            "reference": "1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7"
     89        },
     90        "dist": {
     91            "type": "zip",
     92            "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7",
     93            "reference": "1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7",
     94            "shasum": ""
     95        },
     96        "require": {
     97            "container-interop/container-interop": "~1.1"
     98        },
     99        "require-dev": {
     100            "athletic/athletic": "~0.1.8",
     101            "phpunit/phpunit": "~4.5"
     102        },
     103        "time": "2016-07-14T13:09:58+00:00",
     104        "type": "library",
     105        "installation-source": "dist",
     106        "autoload": {
     107            "psr-4": {
     108                "Invoker\\": "src/"
     109            }
     110        },
     111        "notification-url": "https://packagist.org/downloads/",
     112        "license": [
     113            "MIT"
     114        ],
     115        "description": "Generic and extensible callable invoker",
     116        "homepage": "https://github.com/PHP-DI/Invoker",
     117        "keywords": [
     118            "callable",
     119            "dependency",
     120            "dependency-injection",
     121            "injection",
     122            "invoke",
     123            "invoker"
     124        ]
     125    },
     126    {
     127        "name": "php-di/php-di",
     128        "version": "5.4.6",
     129        "version_normalized": "5.4.6.0",
     130        "source": {
     131            "type": "git",
     132            "url": "https://github.com/PHP-DI/PHP-DI.git",
     133            "reference": "3f9255659595f3e289f473778bb6c51aa72abbbd"
     134        },
     135        "dist": {
     136            "type": "zip",
     137            "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/3f9255659595f3e289f473778bb6c51aa72abbbd",
     138            "reference": "3f9255659595f3e289f473778bb6c51aa72abbbd",
     139            "shasum": ""
     140        },
     141        "require": {
     142            "container-interop/container-interop": "~1.2",
     143            "php": ">=5.5.0",
     144            "php-di/invoker": "^1.3.2",
     145            "php-di/phpdoc-reader": "^2.0.1",
     146            "psr/container": "~1.0"
     147        },
     148        "provide": {
     149            "container-interop/container-interop-implementation": "^1.0",
     150            "psr/container-implementation": "^1.0"
     151        },
     152        "replace": {
     153            "mnapoli/php-di": "*"
     154        },
     155        "require-dev": {
     156            "doctrine/annotations": "~1.2",
     157            "doctrine/cache": "~1.4",
     158            "mnapoli/phpunit-easymock": "~0.2.0",
     159            "ocramius/proxy-manager": "~1.0|~2.0",
     160            "phpbench/phpbench": "@dev",
     161            "phpunit/phpunit": "~4.5"
     162        },
     163        "suggest": {
     164            "doctrine/annotations": "Install it if you want to use annotations (version ~1.2)",
     165            "doctrine/cache": "Install it if you want to use the cache (version ~1.4)",
     166            "ocramius/proxy-manager": "Install it if you want to use lazy injection (version ~1.0 or ~2.0)"
     167        },
     168        "time": "2017-12-03T08:20:27+00:00",
     169        "type": "library",
     170        "installation-source": "dist",
     171        "autoload": {
     172            "psr-4": {
     173                "DI\\": "src/DI/"
    11174            },
    12             "dist": {
    13                 "type": "zip",
    14                 "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8",
    15                 "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8",
    16                 "shasum": ""
    17             },
    18             "require": {
    19                 "psr/container": "^1.0"
    20             },
    21             "time": "2017-02-14T19:40:03+00:00",
    22             "type": "library",
    23             "installation-source": "dist",
    24             "autoload": {
    25                 "psr-4": {
    26                     "Interop\\Container\\": "src/Interop/Container/"
    27                 }
    28             },
    29             "notification-url": "https://packagist.org/downloads/",
    30             "license": [
    31                 "MIT"
    32             ],
    33             "description": "Promoting the interoperability of container objects (DIC, SL, etc.)",
    34             "homepage": "https://github.com/container-interop/container-interop",
    35             "abandoned": "psr/container",
    36             "install-path": "../container-interop/container-interop"
    37         },
    38         {
    39             "name": "downshiftorg/wp-event-emitter",
    40             "version": "6.0.0",
    41             "version_normalized": "6.0.0.0",
    42             "source": {
    43                 "type": "git",
    44                 "url": "https://github.com/downshiftorg/wp-event-emitter.git",
    45                 "reference": "c9e799d7464375d39d9bcd2894903d7c64c577de"
    46             },
    47             "dist": {
    48                 "type": "zip",
    49                 "url": "https://api.github.com/repos/downshiftorg/wp-event-emitter/zipball/c9e799d7464375d39d9bcd2894903d7c64c577de",
    50                 "reference": "c9e799d7464375d39d9bcd2894903d7c64c577de",
    51                 "shasum": ""
    52             },
    53             "require": {
    54                 "php": ">=5.4.0"
    55             },
    56             "require-dev": {
    57                 "phpunit/phpunit": "^4.6",
    58                 "symfony/var-dumper": "~2.6.0"
    59             },
    60             "time": "2018-01-15T17:42:40+00:00",
    61             "type": "library",
    62             "installation-source": "dist",
    63             "autoload": {
    64                 "psr-4": {
    65                     "DownShift\\WordPress\\": "src/"
    66                 }
    67             },
    68             "license": [
    69                 "MIT"
    70             ],
    71             "authors": [
    72                 {
    73                     "name": "Brian Scaturro",
    74                     "email": "[email protected]"
    75                 }
    76             ],
    77             "description": "An object oriented event emitter for WordPress actions",
    78             "support": {
    79                 "source": "https://github.com/downshiftorg/wp-event-emitter/tree/6.0.0",
    80                 "issues": "https://github.com/downshiftorg/wp-event-emitter/issues"
    81             },
    82             "install-path": "../downshiftorg/wp-event-emitter"
    83         },
    84         {
    85             "name": "php-di/invoker",
    86             "version": "1.3.3",
    87             "version_normalized": "1.3.3.0",
    88             "source": {
    89                 "type": "git",
    90                 "url": "https://github.com/PHP-DI/Invoker.git",
    91                 "reference": "1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7"
    92             },
    93             "dist": {
    94                 "type": "zip",
    95                 "url": "https://api.github.com/repos/PHP-DI/Invoker/zipball/1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7",
    96                 "reference": "1f4ca63b9abc66109e53b255e465d0ddb5c2e3f7",
    97                 "shasum": ""
    98             },
    99             "require": {
    100                 "container-interop/container-interop": "~1.1"
    101             },
    102             "require-dev": {
    103                 "athletic/athletic": "~0.1.8",
    104                 "phpunit/phpunit": "~4.5"
    105             },
    106             "time": "2016-07-14T13:09:58+00:00",
    107             "type": "library",
    108             "installation-source": "dist",
    109             "autoload": {
    110                 "psr-4": {
    111                     "Invoker\\": "src/"
    112                 }
    113             },
    114             "notification-url": "https://packagist.org/downloads/",
    115             "license": [
    116                 "MIT"
    117             ],
    118             "description": "Generic and extensible callable invoker",
    119             "homepage": "https://github.com/PHP-DI/Invoker",
    120             "keywords": [
    121                 "callable",
    122                 "dependency",
    123                 "dependency-injection",
    124                 "injection",
    125                 "invoke",
    126                 "invoker"
    127             ],
    128             "install-path": "../php-di/invoker"
    129         },
    130         {
    131             "name": "php-di/php-di",
    132             "version": "5.4.6",
    133             "version_normalized": "5.4.6.0",
    134             "source": {
    135                 "type": "git",
    136                 "url": "https://github.com/PHP-DI/PHP-DI.git",
    137                 "reference": "3f9255659595f3e289f473778bb6c51aa72abbbd"
    138             },
    139             "dist": {
    140                 "type": "zip",
    141                 "url": "https://api.github.com/repos/PHP-DI/PHP-DI/zipball/3f9255659595f3e289f473778bb6c51aa72abbbd",
    142                 "reference": "3f9255659595f3e289f473778bb6c51aa72abbbd",
    143                 "shasum": ""
    144             },
    145             "require": {
    146                 "container-interop/container-interop": "~1.2",
    147                 "php": ">=5.5.0",
    148                 "php-di/invoker": "^1.3.2",
    149                 "php-di/phpdoc-reader": "^2.0.1",
    150                 "psr/container": "~1.0"
    151             },
    152             "provide": {
    153                 "container-interop/container-interop-implementation": "^1.0",
    154                 "psr/container-implementation": "^1.0"
    155             },
    156             "replace": {
    157                 "mnapoli/php-di": "*"
    158             },
    159             "require-dev": {
    160                 "doctrine/annotations": "~1.2",
    161                 "doctrine/cache": "~1.4",
    162                 "mnapoli/phpunit-easymock": "~0.2.0",
    163                 "ocramius/proxy-manager": "~1.0|~2.0",
    164                 "phpbench/phpbench": "@dev",
    165                 "phpunit/phpunit": "~4.5"
    166             },
    167             "suggest": {
    168                 "doctrine/annotations": "Install it if you want to use annotations (version ~1.2)",
    169                 "doctrine/cache": "Install it if you want to use the cache (version ~1.4)",
    170                 "ocramius/proxy-manager": "Install it if you want to use lazy injection (version ~1.0 or ~2.0)"
    171             },
    172             "time": "2017-12-03T08:20:27+00:00",
    173             "type": "library",
    174             "installation-source": "dist",
    175             "autoload": {
    176                 "psr-4": {
    177                     "DI\\": "src/DI/"
    178                 },
    179                 "files": [
    180                     "src/DI/functions.php"
    181                 ]
    182             },
    183             "notification-url": "https://packagist.org/downloads/",
    184             "license": [
    185                 "MIT"
    186             ],
    187             "description": "The dependency injection container for humans",
    188             "homepage": "http://php-di.org/",
    189             "keywords": [
    190                 "container",
    191                 "dependency injection",
    192                 "di"
    193             ],
    194             "install-path": "../php-di/php-di"
    195         },
    196         {
    197             "name": "php-di/phpdoc-reader",
    198             "version": "2.1.0",
    199             "version_normalized": "2.1.0.0",
    200             "source": {
    201                 "type": "git",
    202                 "url": "https://github.com/PHP-DI/PhpDocReader.git",
    203                 "reference": "7d0de60b9341933c8afd172a6255cd7557601e0e"
    204             },
    205             "dist": {
    206                 "type": "zip",
    207                 "url": "https://api.github.com/repos/PHP-DI/PhpDocReader/zipball/7d0de60b9341933c8afd172a6255cd7557601e0e",
    208                 "reference": "7d0de60b9341933c8afd172a6255cd7557601e0e",
    209                 "shasum": ""
    210             },
    211             "require": {
    212                 "php": ">=5.4.0"
    213             },
    214             "require-dev": {
    215                 "phpunit/phpunit": "~4.6"
    216             },
    217             "time": "2018-02-18T17:39:01+00:00",
    218             "type": "library",
    219             "installation-source": "dist",
    220             "autoload": {
    221                 "psr-4": {
    222                     "PhpDocReader\\": "src/PhpDocReader"
    223                 }
    224             },
    225             "notification-url": "https://packagist.org/downloads/",
    226             "license": [
    227                 "MIT"
    228             ],
    229             "description": "PhpDocReader parses @var and @param values in PHP docblocks (supports namespaced class names with the same resolution rules as PHP)",
    230             "keywords": [
    231                 "phpdoc",
    232                 "reflection"
    233             ],
    234             "install-path": "../php-di/phpdoc-reader"
    235         },
    236         {
    237             "name": "php-ds/php-ds",
    238             "version": "v1.2.0",
    239             "version_normalized": "1.2.0.0",
    240             "source": {
    241                 "type": "git",
    242                 "url": "https://github.com/php-ds/polyfill.git",
    243                 "reference": "27bed3897f9c801604f5bdcb65b71eb61ec80099"
    244             },
    245             "dist": {
    246                 "type": "zip",
    247                 "url": "https://api.github.com/repos/php-ds/polyfill/zipball/27bed3897f9c801604f5bdcb65b71eb61ec80099",
    248                 "reference": "27bed3897f9c801604f5bdcb65b71eb61ec80099",
    249                 "shasum": ""
    250             },
    251             "require": {
    252                 "php": ">=7.0.0"
    253             },
    254             "require-dev": {
    255                 "php-ds/tests": "^1.2"
    256             },
    257             "suggest": {
    258                 "ext-ds": "to improve performance and reduce memory usage"
    259             },
    260             "time": "2017-08-03T02:03:34+00:00",
    261             "type": "library",
    262             "installation-source": "dist",
    263             "autoload": {
    264                 "psr-4": {
    265                     "Ds\\": "src"
    266                 }
    267             },
    268             "notification-url": "https://packagist.org/downloads/",
    269             "license": [
    270                 "MIT"
    271             ],
    272             "authors": [
    273                 {
    274                     "name": "Rudi Theunissen",
    275                     "email": "[email protected]"
    276                 }
    277             ],
    278             "keywords": [
    279                 "data structures",
    280                 "ds",
    281                 "php",
    282                 "polyfill"
    283             ],
    284             "install-path": "../php-ds/php-ds"
    285         },
    286         {
    287             "name": "psr/container",
    288             "version": "1.0.0",
    289             "version_normalized": "1.0.0.0",
    290             "source": {
    291                 "type": "git",
    292                 "url": "https://github.com/php-fig/container.git",
    293                 "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
    294             },
    295             "dist": {
    296                 "type": "zip",
    297                 "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
    298                 "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
    299                 "shasum": ""
    300             },
    301             "require": {
    302                 "php": ">=5.3.0"
    303             },
    304             "time": "2017-02-14T16:28:37+00:00",
    305             "type": "library",
    306             "extra": {
    307                 "branch-alias": {
    308                     "dev-master": "1.0.x-dev"
    309                 }
    310             },
    311             "installation-source": "dist",
    312             "autoload": {
    313                 "psr-4": {
    314                     "Psr\\Container\\": "src/"
    315                 }
    316             },
    317             "notification-url": "https://packagist.org/downloads/",
    318             "license": [
    319                 "MIT"
    320             ],
    321             "authors": [
    322                 {
    323                     "name": "PHP-FIG",
    324                     "homepage": "http://www.php-fig.org/"
    325                 }
    326             ],
    327             "description": "Common Container Interface (PHP FIG PSR-11)",
    328             "homepage": "https://github.com/php-fig/container",
    329             "keywords": [
    330                 "PSR-11",
    331                 "container",
    332                 "container-interface",
    333                 "container-interop",
    334                 "psr"
    335             ],
    336             "install-path": "../psr/container"
    337         }
    338     ],
    339     "dev": true,
    340     "dev-package-names": []
    341 }
     175            "files": [
     176                "src/DI/functions.php"
     177            ]
     178        },
     179        "notification-url": "https://packagist.org/downloads/",
     180        "license": [
     181            "MIT"
     182        ],
     183        "description": "The dependency injection container for humans",
     184        "homepage": "http://php-di.org/",
     185        "keywords": [
     186            "container",
     187            "dependency injection",
     188            "di"
     189        ]
     190    },
     191    {
     192        "name": "php-di/phpdoc-reader",
     193        "version": "2.1.0",
     194        "version_normalized": "2.1.0.0",
     195        "source": {
     196            "type": "git",
     197            "url": "https://github.com/PHP-DI/PhpDocReader.git",
     198            "reference": "7d0de60b9341933c8afd172a6255cd7557601e0e"
     199        },
     200        "dist": {
     201            "type": "zip",
     202            "url": "https://api.github.com/repos/PHP-DI/PhpDocReader/zipball/7d0de60b9341933c8afd172a6255cd7557601e0e",
     203            "reference": "7d0de60b9341933c8afd172a6255cd7557601e0e",
     204            "shasum": ""
     205        },
     206        "require": {
     207            "php": ">=5.4.0"
     208        },
     209        "require-dev": {
     210            "phpunit/phpunit": "~4.6"
     211        },
     212        "time": "2018-02-18T17:39:01+00:00",
     213        "type": "library",
     214        "installation-source": "dist",
     215        "autoload": {
     216            "psr-4": {
     217                "PhpDocReader\\": "src/PhpDocReader"
     218            }
     219        },
     220        "notification-url": "https://packagist.org/downloads/",
     221        "license": [
     222            "MIT"
     223        ],
     224        "description": "PhpDocReader parses @var and @param values in PHP docblocks (supports namespaced class names with the same resolution rules as PHP)",
     225        "keywords": [
     226            "phpdoc",
     227            "reflection"
     228        ]
     229    },
     230    {
     231        "name": "php-ds/php-ds",
     232        "version": "v1.2.0",
     233        "version_normalized": "1.2.0.0",
     234        "source": {
     235            "type": "git",
     236            "url": "https://github.com/php-ds/polyfill.git",
     237            "reference": "27bed3897f9c801604f5bdcb65b71eb61ec80099"
     238        },
     239        "dist": {
     240            "type": "zip",
     241            "url": "https://api.github.com/repos/php-ds/polyfill/zipball/27bed3897f9c801604f5bdcb65b71eb61ec80099",
     242            "reference": "27bed3897f9c801604f5bdcb65b71eb61ec80099",
     243            "shasum": ""
     244        },
     245        "require": {
     246            "php": ">=7.0.0"
     247        },
     248        "require-dev": {
     249            "php-ds/tests": "^1.2"
     250        },
     251        "suggest": {
     252            "ext-ds": "to improve performance and reduce memory usage"
     253        },
     254        "time": "2017-08-03T02:03:34+00:00",
     255        "type": "library",
     256        "installation-source": "dist",
     257        "autoload": {
     258            "psr-4": {
     259                "Ds\\": "src"
     260            }
     261        },
     262        "notification-url": "https://packagist.org/downloads/",
     263        "license": [
     264            "MIT"
     265        ],
     266        "authors": [
     267            {
     268                "name": "Rudi Theunissen",
     269                "email": "[email protected]"
     270            }
     271        ],
     272        "keywords": [
     273            "data structures",
     274            "ds",
     275            "php",
     276            "polyfill"
     277        ]
     278    },
     279    {
     280        "name": "psr/container",
     281        "version": "1.0.0",
     282        "version_normalized": "1.0.0.0",
     283        "source": {
     284            "type": "git",
     285            "url": "https://github.com/php-fig/container.git",
     286            "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f"
     287        },
     288        "dist": {
     289            "type": "zip",
     290            "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
     291            "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f",
     292            "shasum": ""
     293        },
     294        "require": {
     295            "php": ">=5.3.0"
     296        },
     297        "time": "2017-02-14T16:28:37+00:00",
     298        "type": "library",
     299        "extra": {
     300            "branch-alias": {
     301                "dev-master": "1.0.x-dev"
     302            }
     303        },
     304        "installation-source": "dist",
     305        "autoload": {
     306            "psr-4": {
     307                "Psr\\Container\\": "src/"
     308            }
     309        },
     310        "notification-url": "https://packagist.org/downloads/",
     311        "license": [
     312            "MIT"
     313        ],
     314        "authors": [
     315            {
     316                "name": "PHP-FIG",
     317                "homepage": "http://www.php-fig.org/"
     318            }
     319        ],
     320        "description": "Common Container Interface (PHP FIG PSR-11)",
     321        "homepage": "https://github.com/php-fig/container",
     322        "keywords": [
     323            "PSR-11",
     324            "container",
     325            "container-interface",
     326            "container-interop",
     327            "psr"
     328        ]
     329    }
     330]
  • skyroom-wp/trunk/views/settings.php

    r2445855 r2463819  
    4040            <tr>
    4141                <th scope="row">
    42                     <label for="skyroom_site_url"><?php _e('Room entry link expiration time (scound) :', 'skyroom') ?></label>
     42                    <label for="skyroom_site_url"><?php _e('Room entry link expiration time :', 'skyroom') ?></label>
    4343                </th>
    4444                <td>
     
    4646                           value="<?php echo ($skyroomLinkTtl ? esc_attr($skyroomLinkTtl) : '60') ?>"
    4747                           placeholder="<?php echo esc_attr(sprintf(__('e.g: %s', 'skyroom'), '60')) ?>">
     48                    <select name="skyroom_link_ttl_unit" id="skyroom_link_ttl_unit">
     49                        <option value="sec"<?php echo $skyroomLinkTtlUnit === 'sec' ? ' selected' : '' ?>>
     50                            <?php _e('Second', 'skyroom') ?>
     51                        </option>
     52                        <option value="min"<?php echo $skyroomLinkTtlUnit === 'min' ? ' selected' : '' ?>>
     53                            <?php _e('Minute', 'skyroom') ?>
     54                        </option>
     55                    </select>
    4856                    <p id="skyroom_link_ttl_desc">
    49                         <?php _e('ttl or Time To Live is the validity period of the link in seconds, which in the example above is 60 seconds is equivalent to one minute. After this period, the generated link is not valid and if used, the user will encounter an error invalidating the link.', 'skyroom') ?>
     57                        <?php _e('ttl or Time To Live is the validity period of the link. After this period, the generated link is not valid and if used, the user will encounter an error invalidating the link.', 'skyroom') ?>
    5058                    </p>
    5159                </td>
  • skyroom-wp/trunk/views/users.php

    r2445851 r2463819  
     1<?php
     2
     3use \Skyroom\Controller\UserController;
     4
     5?>
     6
     7<script type="application/javascript">
     8    var skyroom_user_data = {
     9        'set_data': '<?php echo wp_create_nonce(UserController::setUserData) ?>',
     10        'get_data': '<?php echo wp_create_nonce(UserController::getUserData) ?>',
     11    };
     12</script>
    113<div class="wrap">
    214    <h1><?php _e('Users', 'skyroom') ?></h1>
Note: See TracChangeset for help on using the changeset viewer.