Plugin Directory

Changeset 2105404


Ignore:
Timestamp:
06/13/2019 09:29:58 AM (7 years ago)
Author:
sabbir1991
Message:

deploy version 2.9.17

Location:
dokan-lite/trunk
Files:
1 added
8 edited

Legend:

Unmodified
Added
Removed
  • dokan-lite/trunk/assets/css/style.css

    r2103681 r2105404  
    19321932  background-color: #242424;
    19331933}
    1934 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu {
     1934.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu {
    19351935  background: #242424;
    19361936  list-style: none;
     
    19381938  padding: 0;
    19391939}
    1940 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li {
     1940.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li {
    19411941  margin: 0;
    19421942  border-bottom: 1px solid #454545;
    19431943  position: relative;
    19441944}
    1945 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li a {
     1945.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a {
    19461946  padding: 10px 0 10px 18px;
    19471947  display: block;
     
    19511951  text-decoration: none;
    19521952}
    1953 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li a i {
     1953.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li a i {
    19541954  font-size: 17px;
    19551955  padding-right: 15px;
    19561956}
    1957 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li:hover {
     1957.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li:hover {
    19581958  background: #f05025;
    19591959  color: #fff;
    19601960}
    1961 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.dokan-common-links:hover {
     1961.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links:hover {
    19621962  background: none !important;
    19631963}
    1964 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.dokan-common-links a {
     1964.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a {
    19651965  display: inline-block !important;
    19661966  width: 33.333333%;
     
    19691969  border-right: 1px solid #454545;
    19701970}
    1971 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.dokan-common-links a:hover {
     1971.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:hover {
    19721972  background: #f05025;
    19731973  color: #fff;
    19741974}
    1975 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.dokan-common-links a:last-child {
     1975.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.dokan-common-links a:last-child {
    19761976  border-right: none;
    19771977}
    1978 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.active {
     1978.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active {
    19791979  position: relative;
    19801980  background: #f05025;
    19811981}
    1982 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.active:after {
     1982.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.active:after {
    19831983  left: 93%;
    19841984  top: 50%;
     
    19941994  margin-top: -16px;
    19951995}
    1996 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li ul.sub-menu {
     1996.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu {
    19971997  background: #fff;
    19981998  margin: 0;
     
    20092009  border-bottom: 1px solid #ECECEC;
    20102010}
    2011 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li ul.sub-menu a {
     2011.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu a {
    20122012  padding: 2px 0 2px 10px;
    20132013  font-size: 13px;
     
    20152015  font-weight: normal;
    20162016}
    2017 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li ul.sub-menu a:hover {
     2017.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu a:hover {
    20182018  background: #f37655;
    20192019  color: #fff;
    20202020}
    2021 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li ul.sub-menu li {
     2021.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu li {
    20222022  border-bottom: 1px solid #ccc;
    20232023}
    2024 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li ul.sub-menu li:last-child {
     2024.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li ul.sub-menu li:last-child {
    20252025  border-bottom: none;
    20262026}
    2027 .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu li.settings i.pull-right {
     2027.dokan-dashboard .dokan-dash-sidebar ul.dokan-dashboard-menu li.settings i.pull-right {
    20282028  padding-top: 5px;
    20292029}
     
    20312031  display: none;
    20322032}
    2033 #dokan-navigation > label {
    2034   display: block;
     2033.dokan-dashboard .dokan-dash-sidebar #dokan-navigation #mobile-menu-icon {
     2034  display: none;
     2035}
     2036.dokan-dashboard .dokan-dash-sidebar #dokan-navigation > #mobile-menu-icon {
    20352037  font-size: 17px;
    20362038  color: #fff;
     
    20392041  right: 15px;
    20402042  width: 33px;
     2043  z-index: 99999;
    20412044  cursor: pointer;
    20422045  -webkit-touch-callout: none;
     
    20502053  padding: 3px 8px;
    20512054}
    2052 #dokan-navigation > input:checked + ul.dokan-dashboard-menu {
     2055.dokan-dashboard .dokan-dash-sidebar #dokan-navigation > input:checked + ul.dokan-dashboard-menu {
    20532056  display: block !important;
    2054   clear: both;
    2055   top: 48px;
    2056   position: absolute;
    20572057  background: #000;
    20582058  color: #fff;
    2059   z-index: 9999;
    20602059  animation: showNav 350ms ease-in-out both;
    20612060}
     
    20692068}
    20702069@media only screen and (max-width: 450px) {
    2071   #dokan-navigation {
    2072     display: #303030;
     2070  .dokan-dashboard .dokan-dash-sidebar #dokan-navigation {
    20732071    background: #000;
    20742072    height: 48px;
    2075   }
    2076   #dokan-navigation #toggle-mobile-menu {
    2077     display: block;
    2078   }
    2079   #dokan-navigation ul.dokan-dashboard-menu {
     2073    position: relative;
     2074  }
     2075  .dokan-dashboard .dokan-dash-sidebar #dokan-navigation #mobile-menu-icon {
     2076    display: block !important;
     2077  }
     2078  .dokan-dashboard .dokan-dash-sidebar #dokan-navigation #toggle-mobile-menu {
     2079    display: none !important;
     2080  }
     2081  .dokan-dashboard .dokan-dash-sidebar #dokan-navigation ul.dokan-dashboard-menu {
    20802082    display: none;
    20812083    height: auto !important;
     2084    padding-top: 48px !important;
    20822085  }
    20832086}
  • dokan-lite/trunk/assets/js/dokan.js

    r2103681 r2105404  
    574574            $('body, #dokan-product-images').on('click', 'a.add-product-images', this.gallery.addImages );
    575575            $('body, #dokan-product-images').on( 'click', 'a.action-delete', this.gallery.deleteImage );
    576             $('body, #dokan-product-images').on( 'click', 'a.delete', this.gallery.deleteImage );
    577576            this.gallery.sortable();
    578577
  • dokan-lite/trunk/dokan.php

    r2103681 r2105404  
    44Plugin URI: https://wordpress.org/plugins/dokan-lite/
    55Description: An e-commerce marketplace plugin for WordPress. Powered by WooCommerce and weDevs.
    6 Version: 2.9.16
     6Version: 2.9.17
    77Author: weDevs, LLC
    88Author URI: https://wedevs.com/
     
    7979     * @var string
    8080     */
    81     public $version = '2.9.16';
     81    public $version = '2.9.17';
    8282
    8383    /**
  • dokan-lite/trunk/includes/class-theme-support.php

    r1997957 r2105404  
    3232     */
    3333    private function include_support() {
    34         switch ( $this->theme ) {
    35             case 'storefront':
    36                 require_once __DIR__ . '/theme-support/class-' . $this->theme . '.php';
    37                 break;
     34        $themes = apply_filters( 'dokan_load_theme_support_files', [
     35            'storefront',
     36            'flatsome',
     37            'divi',
     38            'rehub'
     39        ] );
    3840
    39             case 'flatsome':
    40                 require_once __DIR__ . '/theme-support/class-' . $this->theme . '.php';
    41                 break;
    42 
    43             case 'divi':
    44                 require_once __DIR__ . '/theme-support/class-' . $this->theme . '.php';
    45                 break;
    46         }
     41        return in_array( $this->theme, $themes ) ? $this->load_file( $this->theme ) : false;
    4742    }
    4843
     44    /**
     45     * Load file classes
     46     *
     47     * @param string $file
     48     *
     49     * @since 2.9.17
     50     *
     51     * @return string|null on failure
     52     */
     53    private function load_file( $file ) {
     54        $file = __DIR__ . '/theme-support/class-' . $file . '.php';
     55
     56        if ( ! file_exists( $file ) ) {
     57            return;
     58        }
     59
     60        require_once $file;
     61    }
    4962}
  • dokan-lite/trunk/includes/template-tags.php

    r2103681 r2105404  
    471471    }
    472472
    473     $menu = '<ul class="dokan-dashboard-menu">';
     473    $menu           = '';
     474    $hamburger_menu = apply_filters( 'dokan_load_hamburger_menu', true );
     475
     476    if ( $hamburger_menu ) {
     477        $menu .= '<div id="dokan-navigation" area-label="Menu">';
     478        $menu .= '<label id="mobile-menu-icon" for="toggle-mobile-menu" aria-label="Menu">&#9776;</label>';
     479        $menu .= '<input id="toggle-mobile-menu" type="checkbox" />';
     480    }
     481
     482    $menu .= '<ul class="dokan-dashboard-menu">';
    474483
    475484    foreach ( $urls as $key => $item ) {
     
    487496
    488497    $menu .= '</ul>';
     498
     499    if ( $hamburger_menu ) {
     500        $menu .= '</div>';
     501    }
    489502
    490503    return $menu;
  • dokan-lite/trunk/languages/dokan-lite.pot

    r2103681 r2105404  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Dokan 2.9.16\n"
     5"Project-Id-Version: Dokan 2.9.17\n"
    66"Report-Msgid-Bugs-To: https://wedevs.com/contact/\n"
    7 "POT-Creation-Date: 2019-06-11 03:21:00+00:00\n"
     7"POT-Creation-Date: 2019-06-13 09:18:57+00:00\n"
    88"MIME-Version: 1.0\n"
    99"Content-Type: text/plain; charset=utf-8\n"
     
    41324132msgstr ""
    41334133
    4134 #: includes/template-tags.php:481 templates/settings/header.php:13
     4134#: includes/template-tags.php:490 templates/settings/header.php:13
    41354135#: templates/store-lists-loop.php:71
    41364136msgid "Visit Store"
    41374137msgstr ""
    41384138
    4139 #: includes/template-tags.php:482 templates/global/header-menu.php:48
     4139#: includes/template-tags.php:491 templates/global/header-menu.php:48
    41404140msgid "Edit Account"
    41414141msgstr ""
    41424142
    4143 #: includes/template-tags.php:483
     4143#: includes/template-tags.php:492
    41444144msgid "Log out"
    41454145msgstr ""
  • dokan-lite/trunk/readme.txt

    r2103681 r2105404  
    275275== Changelog ==
    276276
     277v2.9.17 -> June 13, 2019
     278------------------------------------
     279-   **Fix***   Remove unwanted code to fix conflict with yith plugin
     280-   **Tweak*** Dokan theme support and responsive menu
     281
    277282v2.9.16 -> June 11, 2019
    278283------------------------------------
  • dokan-lite/trunk/templates/global/dashboard-nav.php

    r2103681 r2105404  
    55
    66<div class="dokan-dash-sidebar">
    7     <nav id="dokan-navigation" area-label="Menu">
    8         <label for="toggle-mobile-menu" aria-label="Menu">&#9776;</label>
    9         <input id="toggle-mobile-menu" type="checkbox" />
    10 
    11         <?php echo dokan_dashboard_nav( $active_menu ); ?>
    12     </nav>
     7    <?php echo dokan_dashboard_nav( $active_menu ); ?>
    138</div>
Note: See TracChangeset for help on using the changeset viewer.