Plugin Directory

Changeset 2241596


Ignore:
Timestamp:
02/10/2020 09:06:33 AM (6 years ago)
Author:
hitcode
Message:

4.5.8

Location:
shiftcontroller/trunk
Files:
1 added
21 edited

Legend:

Unmodified
Added
Removed
  • shiftcontroller/trunk/hc3/_wordpress/abstract/plugin.php

    r2154014 r2241596  
    7171        $lang = $settings->get('lang');
    7272
     73        if( function_exists('pll_current_language') ){
     74            $lang = pll_current_language( 'locale' );
     75        }
     76
    7377        // $langDomain = $this->translate;
    7478        // $dir = dirname($this->file);
    75         // $langDir = plugin_basename($dir) . '/languages';
     79        // $langDir = plugin_basename($dir) . '/languages'; 
    7680        // $langFullDir = $dir . '/languages';
    7781        // load_plugin_textdomain( $langDomain, '', $langDir );
  • shiftcontroller/trunk/hc3/time.php

    r2221157 r2241596  
    576576    }
    577577
     578    public function getWeeksMatrix( $weeks = 4, $skipWeekdays = array() )
     579    {
     580        $matrix = array();
     581        $currentMonthDay = 0;
     582
     583        $this->setStartWeek();
     584        $startDate = $this->formatDateDb();
     585
     586// echo "END DATE = $endDate<br>";
     587        $this->modify( '+' . $weeks . ' weeks' )->modify('-1 day');
     588        $endDate = $this->formatDateDb();
     589// echo "START/END DATE = $startDate/$endDate<br>";
     590
     591        $rexDate = $startDate;
     592
     593// echo "START DATE = $startDate, END DATE = $endDate, REX DATE = $rexDate<br>";
     594
     595        $this->setDateDb( $rexDate );
     596        while( $rexDate <= $endDate ){
     597            $week = array();
     598            $weekSet = FALSE;
     599            for( $weekDay = 0; $weekDay <= 6; $weekDay++ ){
     600                $thisWeekday = $this->getWeekday();
     601                $setDate = $rexDate;
     602
     603                // $week[ $thisWeekday ] = $setDate;
     604
     605                if( (! $skipWeekdays) OR (! in_array($thisWeekday, $skipWeekdays)) ){
     606                    $week[] = $setDate;
     607                    if( NULL !== $setDate ){
     608                        $weekSet = TRUE;
     609                    }
     610                }
     611
     612                $this->modify('+1 day');
     613                $rexDate = $this->formatDateDb();
     614
     615                // if( $exact && ($rexDate >= $endDate) ){
     616                    // break;
     617                // }
     618            }
     619
     620            if( $weekSet )
     621                $matrix[] = $week;
     622        }
     623        return $matrix;
     624    }
     625
    578626    public function getParts()
    579627    {
  • shiftcontroller/trunk/hc3/ui/filter/color.php

    r1851180 r2241596  
    2727        if( $color != 'color' ){
    2828            if( substr($color, 0, 1) == '#' ){
    29                 $element->addAttr('style', 'color: ' . $color);
     29                $element->addAttr('style', 'color: ' . $color . ';');
    3030            }
    3131            else {
  • shiftcontroller/trunk/languages/shiftcontroller-nl_NL.po

    r2196245 r2241596  
    88"Content-Type: text/plain; charset=UTF-8\n"
    99"Content-Transfer-Encoding: 8bit\n"
    10 "X-Generator: Poedit 1.8.8\n"
     10"X-Generator: Poedit 2.2.4\n"
    1111"Last-Translator: Sebastiaan Moltmaker (Failed@Design)\n"
    1212"Plural-Forms: nplurals=2; plural=(n != 1);\n"
     
    1414
    1515msgid "-Custom Time-"
    16 msgstr ""
     16msgstr "-Aangepaste tijd-"
    1717
    1818msgid "About"
     
    3535
    3636msgid "Add New User"
    37 msgstr ""
     37msgstr "Nieuwe gebruiker toevoegen"
    3838
    3939msgid "Add To Managers"
     
    7777
    7878msgid "Apr"
    79 msgstr ""
     79msgstr "apr"
    8080
    8181msgid "Archive"
     
    9595
    9696msgid "Aug"
    97 msgstr ""
     97msgstr "aug"
    9898
    9999msgid "Automatically Create Pickup Request For Open Published Shift"
    100 msgstr ""
     100msgstr "Creëer automatisch een overnameverzoek voor een open gepubliceerde dienst"
    101101
    102102msgid "Availability"
     
    137137
    138138msgid "Calendar Updated"
    139 msgstr "Agenda aangepast"
     139msgstr "Agenda bijgewerkt"
    140140
    141141msgid "Calendars"
     
    146146
    147147msgid "Cancel Pickup Request"
    148 msgstr "Oppakverzoek annuleren"
     148msgstr "Overnameverzoek annuleren"
    149149
    150150msgid "Cancel Pickup Request For Own Shifts"
    151 msgstr "Oppakverzoek van eigen dienst annuleren"
     151msgstr "Overnameverzoek voor eigen dienst annuleren"
    152152
    153153msgid "Change Employee"
     
    155155
    156156msgid "Change Password"
    157 msgstr ""
     157msgstr "Wachtwoord veranderen"
    158158
    159159msgid "Change Time"
     
    179179
    180180msgid "Confirm Password"
    181 msgstr ""
     181msgstr "Wachtwoord bevestigen"
    182182
    183183msgid "Conflicts"
     
    188188
    189189msgid "Create Draft"
    190 msgstr "Ontwerp maken"
     190msgstr "Maak ontwerp"
    191191
    192192msgid "Create Own Draft Shifts"
    193 msgstr "Maak eigen dienstontwerp"
     193msgstr "Maak eigen dienstenontwerp"
    194194
    195195msgid "Create Own Published Shifts"
    196 msgstr "Ontwerp eigen gepubliceerde dienst"
     196msgstr "Maak eigen gepubliceerde diensten"
    197197
    198198msgid "Create Own Shifts With Conflicts"
    199 msgstr ""
     199msgstr "Maak eigen diensten met conflicten"
    200200
    201201msgid "Create Pickup Request For Own Shifts"
    202 msgstr "Maak een oppakverzoek voor eigen dienst"
     202msgstr "Maak een overnameverzoek voor eigen diensten"
    203203
    204204msgid "Create Published"
     
    212212
    213213msgid "Custom Field Updated"
    214 msgstr "Aangepast veld geüpdated"
     214msgstr "Aangepast veld bijgewerkt"
    215215
    216216msgid "Custom Fields"
     
    242242
    243243msgid "Days"
    244 msgstr "Dagen"
     244msgstr "dagen"
    245245
    246246msgid "Days Of Week Disabled"
     
    248248
    249249msgid "Dec"
    250 msgstr ""
     250msgstr "dec"
    251251
    252252msgid "Default"
    253 msgstr ""
     253msgstr "Standaard"
    254254
    255255msgid "Delete"
     
    266266
    267267msgid "Display Name"
    268 msgstr ""
     268msgstr "Naam weergeven"
    269269
    270270msgid "Download"
     
    272272
    273273msgid "Draft"
    274 msgstr "Concept"
     274msgstr "Ontwerp"
    275275
    276276msgid "Draft Shift Created"
    277 msgstr "Concept dienst gecreëerd"
     277msgstr "Dienstontwerp gecreëerd"
    278278
    279279msgid "Drop Down"
     
    293293
    294294msgid "Email Address"
    295 msgstr ""
     295msgstr "E-mailadres"
    296296
    297297msgid "Email Format"
     
    347347
    348348msgid "Enter a simple string of numbers separated by commas. Positive numbers denote work days, negative numbers denote off days."
    349 msgstr ""
     349msgstr "Voer een eenvoudige rij getallen in, gescheiden door komma's. Positieve getallen stellen werkdagen voor en negatieve getallen vrije dagen."
    350350
    351351msgid "Error"
    352 msgstr ""
     352msgstr "Fout"
    353353
    354354msgid "Every 2 Weeks"
    355 msgstr ""
     355msgstr "Iedere 2 weken"
    356356
    357357msgid "Every 3 Weeks"
    358 msgstr ""
     358msgstr "Iedere 3 weken"
    359359
    360360msgid "Every 4 Weeks"
    361 msgstr ""
     361msgstr "Iedere 4 weken"
    362362
    363363msgid "Everyone Schedule"
     
    365365
    366366msgid "Feb"
    367 msgstr ""
     367msgstr "feb"
    368368
    369369msgid "Filter"
     
    371371
    372372msgid "Fri"
    373 msgstr "Vrij"
     373msgstr "vr"
    374374
    375375msgid "From Date"
     
    377377
    378378msgid "Full Day Counts As"
    379 msgstr "Volledige dag tellen als"
     379msgstr "Volledige dag telt als"
    380380
    381381msgid "Get New Password"
    382 msgstr ""
     382msgstr "Vraag nieuw wachtwoord aan"
    383383
    384384msgid "Group By"
     
    386386
    387387msgid "Here is the automatic CSV feed of the shifts that can be used with other 3rd party applications."
    388 msgstr ""
     388msgstr "Hier zijn de automatische CSV-feeds van de diensten die kunnen worden gebruikt met applicaties van derden."
    389389
    390390msgid "Hide Hours Reports In Schedule View"
     
    395395
    396396msgid "Hours"
    397 msgstr "Uren"
     397msgstr "uren"
    398398
    399399msgid "How Many"
     
    416416
    417417msgid "Jan"
    418 msgstr ""
     418msgstr "jan"
    419419
    420420msgid "Jul"
    421 msgstr ""
     421msgstr "jul"
    422422
    423423msgid "Jun"
    424 msgstr ""
     424msgstr "jun"
    425425
    426426msgid "Label"
     
    428428
    429429msgid "Language"
    430 msgstr ""
     430msgstr "Taal"
    431431
    432432msgid "Link Employee To User Account"
     
    458458
    459459msgid "Logged In"
    460 msgstr ""
     460msgstr "Ingelogd"
    461461
    462462msgid "Logged Out"
    463 msgstr ""
     463msgstr "Uitgelogd"
    464464
    465465msgid "Login"
    466 msgstr ""
     466msgstr "Inloggen"
    467467
    468468msgid "Logout"
    469 msgstr ""
     469msgstr "Uitloggen"
    470470
    471471msgid "Lost Your Password?"
    472 msgstr ""
     472msgstr "Wachtwoord vergeten?"
    473473
    474474msgid "Lunch Break"
     
    476476
    477477msgid "Lunch break should be within shift hours."
    478 msgstr "Middagpauze moet binnen de dienst vallen."
     478msgstr "Middagpauze moet binnen de diensttijd vallen."
    479479
    480480msgid "Make sure you change it after first login!"
    481 msgstr ""
     481msgstr "Let erop dat je het aanpast na de eerste keer inloggen!"
    482482
    483483msgid "Managed Calendars"
     
    485485
    486486msgid "Manager"
    487 msgstr "Beheer"
     487msgstr "Beheerder"
    488488
    489489msgid "Manager Added To Calendar"
     
    497497
    498498msgid "Mar"
    499 msgstr ""
     499msgstr "mrt"
    500500
    501501msgid "Max"
     
    508508msgstr "Max. waarde kan niet groter zijn dan min. waarde"
    509509
     510msgid "Time Increment"
     511msgstr "Tijdincrement"
     512
     513msgid "Minutes"
     514msgstr "minuten"
     515
     516msgid "Default Timezone"
     517msgstr "Standaard tijdzone"
     518
     519msgid "Timezone"
     520msgstr "Tijdzone"
     521
    510522msgid "May"
    511 msgstr ""
     523msgstr "mei"
    512524
    513525msgid "Menu"
     
    515527
    516528msgid "Message"
    517 msgstr ""
     529msgstr "Bericht"
    518530
    519531msgid "Message Sent"
    520 msgstr ""
     532msgstr "Bericht verzonden"
    521533
    522534msgid "Min"
    523 msgstr "Min"
     535msgstr "Min."
    524536
    525537msgid "Min Start Time"
    526 msgstr "Min starttijd"
     538msgstr "Min. starttijd"
    527539
    528540msgid "Mon"
    529 msgstr "Maa"
     541msgstr "ma"
    530542
    531543msgid "Month"
     
    550562msgstr "N/B"
    551563
     564msgid "Edit WordPress User"
     565msgstr "Bewerk Wordpress-gebruiker"
     566
    552567msgid "Name"
    553568msgstr "Naam"
     
    566581
    567582msgid "New Password"
    568 msgstr ""
     583msgstr "Nieuw wachtwoord"
    569584
    570585msgid "New Shift Type Added"
    571 msgstr "Nieuwe diensttype toegevoegd"
     586msgstr "Nieuw diensttype toegevoegd"
    572587
    573588msgid "New User Added"
    574 msgstr ""
     589msgstr "Nieuwe gebruiker toegevoegd"
    575590
    576591msgid "No"
     
    602617
    603618msgid "Notification Updated"
    604 msgstr "Berichtgeving aangepast"
     619msgstr "Berichtgeving bijgewerkt"
    605620
    606621msgid "Notifications"
     
    614629
    615630msgid "Nov"
    616 msgstr ""
     631msgstr "nov"
    617632
    618633msgid "Number Of Shifts"
     
    620635
    621636msgid "Oct"
    622 msgstr ""
     637msgstr "okt"
    623638
    624639msgid "One option per line."
     
    640655msgstr "Andere medewerkers"
    641656
     657msgid "Calendar Employees"
     658msgstr "Medewerkers agenda"
     659
    642660msgid "Overlap"
    643661msgstr "Overlapping"
    644662
    645663msgid "Password"
    646 msgstr ""
     664msgstr "Wachtwoord"
    647665
    648666msgid "Password Reset Information Sent To Your Email"
    649 msgstr ""
     667msgstr "Informatie over het aanpassen van het wachtwoord is verzonden naar je e-mailadres"
    650668
    651669msgid "Password Reset Link"
    652 msgstr ""
     670msgstr "Link om wachtwoord aan te passen"
    653671
    654672msgid "Password Updated"
    655 msgstr ""
     673msgstr "Wachtwoord bijgewerkt"
    656674
    657675msgid "Passwords Differ"
    658 msgstr ""
     676msgstr "Wachtwoorden verschillen"
    659677
    660678msgid "Permissions"
     
    662680
    663681msgid "Pick Dates By Hand"
    664 msgstr ""
     682msgstr "Data handmatig overnemen"
    665683
    666684msgid "Pick Up Others Shifts"
    667 msgstr "Andermans diensten oppakken"
     685msgstr "Andermans diensten overnemen"
    668686
    669687msgid "Pickup"
    670 msgstr "Oppakken"
     688msgstr "Overnemen"
    671689
    672690msgid "Pickup Request"
    673 msgstr "Oppakverzoek"
     691msgstr "Overnameverzoek"
    674692
    675693msgid "Pickup Request Cancelled"
    676 msgstr "Oppakverzoek geannuleerd"
     694msgstr "Overnameverzoek geannuleerd"
    677695
    678696msgid "Pickup Request Created"
    679 msgstr "Oppakverzoek aangemaakt"
     697msgstr "Overnameverzoek aangemaakt"
    680698
    681699msgid "Plain Text"
     
    692710
    693711msgid "Proceed To Upgrade"
    694 msgstr "Doorgaan met upgraden"
     712msgstr "Doorgaan met bijwerken"
    695713
    696714msgid "Profile"
     
    698716
    699717msgid "Profile Updated"
    700 msgstr ""
     718msgstr "Profiel bijgewerkt"
    701719
    702720msgid "Publish"
     
    713731
    714732msgid "Remove From Managers"
    715 msgstr "Van managers verwijderd"
     733msgstr "Van managers verwijderen"
    716734
    717735msgid "Remove From Viewers"
     
    728746
    729747msgid "Request Pickup"
    730 msgstr "Verzoek om dienst op te pakken"
     748msgstr "Verzoek om dienstovername"
    731749
    732750msgid "Required Field"
    733 msgstr "Verplichte velden"
     751msgstr "Verplicht veld"
    734752
    735753msgid "Reset Password"
    736 msgstr ""
     754msgstr "Wachtwoord herstellen"
    737755
    738756msgid "Reset To Defaults"
    739 msgstr "Reset naar standaardwaarden"
     757msgstr "Herstel naar standaardwaarden"
    740758
    741759msgid "Restore"
     
    746764
    747765msgid "Sat"
    748 msgstr "Zat"
     766msgstr "za"
    749767
    750768msgid "Save"
     
    752770
    753771msgid "Schedule"
    754 msgstr "Planning"
     772msgstr "Rooster"
    755773
    756774msgid "Select"
     
    758776
    759777msgid "Select All"
    760 msgstr "Alles selecteren"
     778msgstr "Selecteer alles"
    761779
    762780msgid "Select Date"
     
    764782
    765783msgid "Select Dates"
    766 msgstr "Selecteer datums"
     784msgstr "Selecteer data"
    767785
    768786msgid "Select End Date"
     
    779797
    780798msgid "Send"
    781 msgstr ""
     799msgstr "Versturen"
    782800
    783801msgid "Send Email From Address"
     
    788806
    789807msgid "Send Test Email"
    790 msgstr ""
     808msgstr "Testmail versturen"
    791809
    792810msgid "Sep"
    793 msgstr ""
     811msgstr "sep"
    794812
    795813msgid "Settings"
    796814msgstr "Instellingen"
    797815
     816msgid "No Lunch Break"
     817msgstr "Geen lunchpauze"
     818
    798819msgid "Settings Updated"
    799 msgstr "Instellingen aangepast"
     820msgstr "Instellingen bijgewerkt"
    800821
    801822msgid "Shift"
     
    806827
    807828msgid "Shift Picked Up"
    808 msgstr "Dienst opgepakt"
     829msgstr "Dienst overgenomen"
    809830
    810831msgid "Shift Pickup Request"
    811 msgstr "Dienstoppakverzoek"
     832msgstr "Dienstovernameverzoek"
    812833
    813834msgid "Shift Pickup Request Cancelled"
    814 msgstr "Dienstoppakverzoek geannuleerd"
     835msgstr "Dienstovernameverzoek geannuleerd"
    815836
    816837msgid "Shift Pickup Request Recorded"
    817 msgstr "Dienstoppakverzoek genoteerd"
     838msgstr "Dienstovernameverzoek genoteerd"
    818839
    819840msgid "Shift Published"
     
    821842
    822843msgid "Shift Rescheduled"
    823 msgstr "Dienst hergeschikt"
     844msgstr "Dienst verschoven"
    824845
    825846msgid "Shift Type Deleted"
     
    827848
    828849msgid "Shift Type Updated"
    829 msgstr "Diensttype aangepast"
     850msgstr "Diensttype bijgewerkt"
    830851
    831852msgid "Shift Types"
    832 msgstr "Diensttype"
     853msgstr "Diensttypen"
     854
     855msgid "Shift Hours"
     856msgstr "Diensturen"
    833857
    834858msgid "Shift Unpublished"
     
    836860
    837861msgid "Shift Updated"
    838 msgstr "Dienst aangepast"
     862msgstr "Dienst bijgewerkt"
    839863
    840864msgid "Shifts"
    841 msgstr "Diensten"
     865msgstr "diensten"
    842866
    843867msgid "Shifts Feed"
     
    848872
    849873msgid "Show Shift Type Title In Calendar"
    850 msgstr "Toon titel van type dienst in agenda"
     874msgstr "Toon diensttype in agenda"
    851875
    852876msgid "Skip Notifications"
     
    863887
    864888msgid "Sun"
    865 msgstr "Zon"
     889msgstr "zo"
    866890
    867891msgid "Template Tags"
     
    884908
    885909msgid "Thu"
    886 msgstr "Don"
     910msgstr "do"
    887911
    888912msgid "Time"
     
    890914
    891915msgid "Time Format"
    892 msgstr "Tijdsnotatie"
     916msgstr "Tijdnotatie"
    893917
    894918msgid "Time Off"
     
    898922msgstr "Vrij"
    899923
    900 msgid "Timezone"
    901 msgstr "Tijdzone"
    902 
    903924msgid "Title"
    904 msgstr "Titel"
     925msgstr "Kop"
    905926
    906927msgid "To Date"
    907 msgstr "Tot datum"
     928msgstr "Tot-datum"
    908929
    909930msgid "Toggle All"
    910 msgstr ""
     931msgstr "Wissel alle"
    911932
    912933msgid "Toggle Selected"
    913 msgstr "Schakel geselecteerd"
     934msgstr "Wissel geselecteerde"
    914935
    915936msgid "Total"
     
    917938
    918939msgid "Tue"
    919 msgstr "Din"
     940msgstr "di"
    920941
    921942msgid "Turn Off Notifications"
     
    929950
    930951msgid "Unassign"
    931 msgstr "Toewijzing ongedaan maken"
     952msgstr "Toewijzing herroepen"
    932953
    933954msgid "Unlink"
    934 msgstr "Ontkoppel"
     955msgstr "Ontkoppelen"
    935956
    936957msgid "Unpublish"
    937 msgstr "Niet gepubliceerd"
     958msgstr "Publicatie herroepen"
    938959
    939960msgid "Until"
     
    941962
    942963msgid "Upgrade From 3.x"
    943 msgstr "Updaten van 3.x"
     964msgstr "Bijwerken van 3.x"
    944965
    945966msgid "Upgraded"
    946 msgstr "Updaten"
     967msgstr "Bijgewerkt"
    947968
    948969msgid "User"
     
    950971
    951972msgid "User Deleted"
    952 msgstr ""
     973msgstr "Gebruiker verwijderd"
    953974
    954975msgid "User Updated"
    955 msgstr ""
     976msgstr "Gebruiker bijgewerk"
    956977
    957978msgid "Username"
    958 msgstr ""
     979msgstr "Gebruikersnaam"
    959980
    960981msgid "Users"
     
    965986
    966987msgid "View"
    967 msgstr "Beeld"
     988msgstr "Toon"
    968989
    969990msgid "View Conflicts"
    970 msgstr "Conflicten laten zien"
     991msgstr "Toon conflicten"
    971992
    972993msgid "View Open Draft Shifts"
    973 msgstr "Bekijk open werkverschuivingen"
     994msgstr "Toon open dienstenontwerp"
    974995
    975996msgid "View Open Published Shifts"
    976 msgstr "Laat open gepubliceerde diensten zien"
     997msgstr "Toon open gepubliceerde diensten"
    977998
    978999msgid "View Others Draft Shifts"
    979 msgstr "Anderen hun open werkverschuiving laten zien"
     1000msgstr "Toon dienstenontwerp van anderen"
    9801001
    9811002msgid "View Others Published Shifts"
    982 msgstr "Anderen hun gepubliceerde diensten laten zien"
     1003msgstr "Toon gepubliceerde diensten van anderen"
    9831004
    9841005msgid "View Own Draft Shifts"
    985 msgstr "Eigen dienstverschuiving laten zien"
     1006msgstr "Toon eigen dienstenontwerp"
    9861007
    9871008msgid "View Own Published Shifts"
    988 msgstr "Eigen gepubliceerde diensten laten zien"
     1009msgstr "Toon eigen gepubliceerde diensten"
    9891010
    9901011msgid "Viewer Added To Calendar"
     
    10041025
    10051026msgid "Wed"
    1006 msgstr "Woe"
     1027msgstr "wo"
    10071028
    10081029msgid "Week"
     
    10161037
    10171038msgid "When a calendar is deleted, all its data and information is permanently removed."
    1018 msgstr ""
     1039msgstr "Als een agenda wordt gewist, worden alle bijbehorende data en informatie verwijderd."
    10191040
    10201041msgid "When an employee is deleted, all their data and information is permanently removed."
    1021 msgstr ""
     1042msgstr "Als een werknemer wordt gewist, worden alle bijbehorende data en informatie verwijderd."
    10221043
    10231044msgid "WordPress User Role"
     
    10251046
    10261047msgid "Work 1 day, off 3 days"
    1027 msgstr ""
     1048msgstr "1 dag werken, 3 dagen vrij"
    10281049
    10291050msgid "Work 3 days, off 2 days, work 4 days, off 1 day"
    1030 msgstr ""
     1051msgstr "3 dagen werken, 2 dagen vrij, 4 dagen werken, 1 dag vrij"
    10311052
    10321053msgid "Wrong Email"
    1033 msgstr ""
     1054msgstr "Verkeerd e-mailadres"
    10341055
    10351056msgid "Wrong Link"
    1036 msgstr ""
     1057msgstr "Verkeerde linbk"
    10371058
    10381059msgid "Wrong Username Or Password"
    1039 msgstr ""
     1060msgstr "Verdeerde gebruikersnaam of wachtwoord"
    10401061
    10411062msgid "X Days On / Y Days Off"
    1042 msgstr ""
     1063msgstr "X dagen op / Y dagen af"
    10431064
    10441065msgid "Yes"
     
    10511072msgstr ""
    10521073
     1074msgid "not allowed"
     1075msgstr "Geen rooster beschikbaar"
     1076
    10531077msgid "iCal Sync"
    10541078msgstr "iCal synchronisatie"
    1055 
  • shiftcontroller/trunk/readme.txt

    r2221157 r2241596  
    6060
    6161== Changelog ==
     62
     63= 4.5.8 =
     64* Added an option to filter our open shifts from a display, i.e. see assigned shifts only.
     65* Added a new 4 weeks schedule view.
     66* Added employee description to the shift details view.
     67* Added My Profile link to the schedule view on a shortcode front end page.
     68* Make it compatible with Polylang multi language plugin - if a front end page is set to a language, then we switch to that language.
    6269
    6370= 4.5.7 =
  • shiftcontroller/trunk/sh4/_wordpress/conf/html/admin/view/publish.html.php

    r1909721 r2241596  
    114114
    115115    <div class="hc-ml3">
    116         Calendar id, for example <em class="hc-italic">123</em>. You can find out the id of a location in <em class="hc-italic">Administration &gt; Locations</em>. If not supplied, it will display shifts of all locations.
     116        Calendar id, for example <em class="hc-italic">123</em>. You can find out the id of a calendar in <em class="hc-italic">Administration &gt; Calendars</em>. If not supplied, it will display shifts of all calendars.
    117117        You can also supply several ids separated by comma.
    118118    </div>
  • shiftcontroller/trunk/sh4/app/html/view/admin.php

    r1869916 r2241596  
    3131        $this->layout
    3232            ->setContent( $out )
    33             // ->setBreadcrumb( $breadcrumb )
     33            ->setBreadcrumb( $this->self->breadcrumb() )
    3434            ->setHeader( $this->self->header() )
    3535            // ->setMenu( $this->self->menu() )
     
    5151        return $out;
    5252    }
     53
     54    public function breadcrumb()
     55    {
     56        $return = array();
     57        if( defined('WPINC') && (! is_admin()) ){
     58            $return['schedule'] = array( '', '&larr; ' . '__Schedule__' );
     59        }
     60
     61        return $return;
     62    }
    5363}
  • shiftcontroller/trunk/sh4/employees/presenter.php

    r1851180 r2241596  
    1212    }
    1313
     14    public function presentDescription( SH4_Employees_Model $employee )
     15    {
     16        $return = $employee->getDescription();
     17
     18        // if( defined('WPINC') ){
     19            // $return = do_shortcode( $return );
     20        // }
     21
     22        return $return;
     23    }
     24
    1425    public function presentTitle( SH4_Employees_Model $employee )
    1526    {
  • shiftcontroller/trunk/sh4/employees/query.php

    r1954223 r2241596  
    4242            $array['id'] = 0;
    4343            $array['title'] = '-' . '__Open Shift__' . '-';
     44
     45            $return = $this->_arrayToModel( $array );
     46            return $return;
     47        }
     48
     49        if( $id == -1 ){
     50            $array = array();
     51            $array['id'] = -1;
     52            $array['title'] = '-' . '__Assigned Shift__' . '-';
    4453
    4554            $return = $this->_arrayToModel( $array );
  • shiftcontroller/trunk/sh4/schedule/html/view/common.php

    r2221157 r2241596  
    438438                break;
    439439
     440            case '4weeks':
     441                $this->t->setDateDb($startDate)->setStartWeek();
     442                $startDate = $this->t->formatDateDb();
     443                $this->request->setParam('start', $startDate);
     444
     445                $start = $this->t->formatDateTimeDb();
     446                $this->t->modify('+4 weeks')
     447                    // ->modify('-1 day')
     448                    ;
     449                $endDate = $this->t->formatDateDb();
     450                $this->request->setParam('end', $endDate);
     451
     452                $end = $this->t->formatDateTimeDb();
     453                break;
     454
    440455            case 'month':
    441456                $this->t->setDateDb($startDate)->setStartMonth();
     
    532547            $employees = $this->self->findAllEmployees();
    533548
     549            $filterEmployeeIds = $params['employee'];
    534550            $filter = array();
    535551            foreach( $employees as $employee ){
    536                 if( ! in_array($employee->getId(), $params['employee']) ){
    537                     continue;
     552                $employeeId = $employee->getId();
     553                if( ! (in_array(-1, $filterEmployeeIds) && ($employeeId > 0)) ){
     554                    if( ! in_array($employeeId, $filterEmployeeIds) ){
     555                        continue;
     556                    }
    538557                }
    539558                $filter = $filter + $this->appQuery->findCalendarsForEmployee( $employee );
     
    559578        if( $params['employee'] ){
    560579            $filterIds = $params['employee'];
     580
     581            $ids = array_keys($return);
     582            foreach( $ids as $id ){
     583                if( in_array(-1, $filterIds) && ($id > 0) ){
     584                    continue;
     585                }
     586
     587                if( ! in_array($id, $filterIds) ){
     588                    unset( $return[$id] );
     589                }
     590            }
     591        }
     592
     593        if( $params['calendar'] ){
     594            $calendars = $this->self->findAllCalendars();
     595
     596            $filter = array();
     597            foreach( $calendars as $calendar ){
     598                if( ! in_array($calendar->getId(), $params['calendar']) ){
     599                    continue;
     600                }
     601                $filter = $filter + $this->appQuery->findEmployeesForCalendar( $calendar );
     602            }
     603            $filterIds = array_keys( $filter );
     604
    561605            $ids = array_keys($return);
    562606            foreach( $ids as $id ){
     
    567611        }
    568612
    569         if( $params['calendar'] ){
    570             $calendars = $this->self->findAllCalendars();
    571 
    572             $filter = array();
    573             foreach( $calendars as $calendar ){
    574                 if( ! in_array($calendar->getId(), $params['calendar']) ){
    575                     continue;
    576                 }
    577                 $filter = $filter + $this->appQuery->findEmployeesForCalendar( $calendar );
    578             }
    579             $filterIds = array_keys( $filter );
    580 
    581             $ids = array_keys($return);
    582             foreach( $ids as $id ){
    583                 if( ! in_array($id, $filterIds) ){
    584                     unset( $return[$id] );
    585                 }
    586             }
    587         }
    588 
    589613        return $return;
    590614    }
  • shiftcontroller/trunk/sh4/schedule/html/view/controldates.php

    r2164188 r2241596  
    3636                $out = $this->self->renderMonth();
    3737                break;
     38            case '4weeks':
     39                $out = $this->self->renderFourWeeks();
     40                break;
    3841            case 'week':
    3942                $out = $this->self->renderWeek();
     
    295298        return $out;
    296299    }
     300
     301    public function renderFourWeeks()
     302    {
     303        $slug = $this->request->getSlug();
     304        $params = $this->request->getParams('withoutDefault');
     305
     306        $params['end'] = NULL;
     307
     308        $startDate = $params['start'];
     309        $endDate = $this->t->setDateDb($startDate)->setStartWeek()->modify('+4 weeks')->modify('-1 day')->formatDateDb();
     310
     311        $this->t->setDateDb($startDate)->setStartWeek();
     312        $next = $this->t->modify('+4 weeks')->formatDateDb();
     313        $prev = $this->t->modify('-8 weeks')->formatDateDb();
     314
     315        $this_params = $params;
     316        $this_params['start'] = $next;
     317        $nextLink = $this->ui->makeAhref( array($slug, $this_params), '&raquo;' )
     318            ->tag('secondary')
     319            ->tag('block')
     320            ->tag('align', 'center')
     321            ;
     322
     323        $this_params = $params;
     324        $this_params['start'] = $prev;
     325
     326        $prevLink = $this->ui->makeAhref( array($slug, $this_params), '&laquo;' )
     327            ->tag('secondary')
     328            ->tag('block')
     329            ->tag('align', 'center')
     330            ;
     331
     332    // label
     333        $this->t->setDateDb( $startDate );
     334        $label = $this->t->formatDateRange( $startDate, $endDate );
     335
     336        $quickJumpForm = $this->ui->makeForm(
     337            'schedule/dates',
     338            $this->ui->makeListInline()
     339                ->add( $this->ui->makeInputDatepicker( 'start', NULL, $startDate ) )
     340                ->add(
     341                    $this->ui->makeInputSubmit( '&rarr;' )
     342                        ->tag('primary')
     343                        ->tag('block')
     344                    )
     345                ->gutter(1)
     346            );
     347
     348        $label = $this->ui->makeBlock( $label )
     349            ->tag('font-size', 5)
     350            ;
     351
     352        $quickJumpForm = $this->ui->makeCollapse( $label, $quickJumpForm );
     353
     354        $controls = $this->ui->makeGrid( array($prevLink, $nextLink) );
     355
     356        $out = $this->ui->makeGrid()
     357            ->add( $quickJumpForm, 8, 12 )
     358            ->add( $controls, 4, 12 )
     359            ;
     360
     361        return $out;
     362    }
     363
    297364}
  • shiftcontroller/trunk/sh4/schedule/html/view/controloptions.php

    r2118158 r2241596  
    2121        HC3_Time $t,
    2222
     23        SH4_Employees_Query $employeesQuery,
    2324        SH4_Schedule_Html_View_Common $viewCommon
    2425        )
     
    3132
    3233        $this->viewCommon = $hooks->wrap( $viewCommon );
     34        $this->employeesQuery = $hooks->wrap( $employeesQuery );
    3335    }
    3436
     
    143145        $all = $this->viewCommon->findAllEmployees();
    144146
     147        $assignedShiftEmployee = $this->employeesQuery->findById( -1 );
     148        if( isset($all[0]) ){
     149            $openShiftEmployee = $all[0];
     150            $all[ $assignedShiftEmployee->getId() ] = $assignedShiftEmployee;
     151            unset( $all[0] );
     152            $all = array(
     153                $openShiftEmployee->getId() => $openShiftEmployee,
     154                $assignedShiftEmployee->getId() => $assignedShiftEmployee
     155                ) + $all;
     156        }
     157
    145158        if( count($all) < 2 && (! $toParams['employee']) ){
    146159            return $return;
    147160        }
    148161
    149         $all_ids = array_keys($all);
     162        $allIds = array_keys($all);
    150163        $selectedEmployees = array();
    151         foreach( $all_ids as $id ){
     164        foreach( $allIds as $id ){
    152165            if( in_array($id, $toParams['employee']) ){
    153166                $selectedEmployees[$id] = $all[$id];
     
    185198
    186199            $thisParams['employee'][] = $e->getId();
    187 
    188200            $label = $e->getTitle();
    189201            $eView = $this->ui->makeAhref( array($slug, $thisParams), $label )
    190202                ->tag('tab-link')
    191203                ;
    192 
    193204            $toSelectView[] = $eView;
     205
     206            // if( 0 == $e->getId() ){
     207                // $thisParams = $toParams;
     208                // $thisParams['employee'][] = $assignedShiftEmployee->getId();
     209
     210                // $label = $assignedShiftEmployee->getTitle();
     211                // $eView = $this->ui->makeAhref( array($slug, $thisParams), $label )
     212                    // ->tag('tab-link')
     213                    // ;
     214                // $toSelectView[] = $eView;
     215            // }
    194216        }
    195217
     
    252274        }
    253275
    254         $all_ids = array_keys($all);
     276        $allIds = array_keys($all);
    255277        $selectedCalendars = array();
    256278
    257         foreach( $all_ids as $id ){
     279        foreach( $allIds as $id ){
    258280            if( in_array($id, $toParams['calendar']) ){
    259281                $selectedCalendars[$id] = $all[$id];
     
    487509            'week'  => '__Week__',
    488510            'month' => '__Month__',
     511            '4weeks'    => '__4 Weeks__',
    489512            'list'  => '__List__',
    490513            'report'    => '__Report__'
  • shiftcontroller/trunk/sh4/schedule/html/view/day.php

    r2182610 r2241596  
    152152                );
    153153            if( array_key_exists('employee', $params) && (count($params['employee']) == 1) ){
    154                 $toParams['employee'] = $params['employee'][0];
     154                if( ! in_array(-1, $params['employee']) ){
     155                    $toParams['employee'] = $params['employee'][0];
     156                }
    155157            }
    156158            $to = array( $to, $toParams );
     
    216218            $calendarId = $calendar->getId();
    217219            // $calendarView = $this->calendarsPresenter->presentTitle( $calendar );
    218             $calendarView = $calendar->getTitle();
    219 
     220
     221            $label = $calendar->getTitle();
     222
     223            $title = htmlspecialchars( $label );
    220224            $description = $calendar->getDescription();
    221             $description = htmlspecialchars( $description );
    222 
    223             $calendarView = $this->ui->makeSpan( $calendarView )
    224                 // ->tag('font-size', 4)
    225                 ->addAttr( 'title', $description )
    226                 ;
    227 
    228             $viewCalendars[ $calendarId ] = $calendarView;
     225            if( strlen($description) ){
     226                $description = htmlspecialchars( $description );
     227                $title .= "\n" . $description;
     228            }
     229
     230            $label = $this->ui->makeSpan( $label )
     231                ->addAttr( 'title', $title )
     232                ;
     233
     234            $viewCalendars[ $calendarId ] = $label;
    229235        }
    230236
     
    327333                    );
    328334                if( array_key_exists('employee', $params) && (count($params['employee']) == 1) ){
    329                     $toParams['employee'] = $params['employee'][0];
     335                    if( ! in_array(-1, $params['employee']) ){
     336                        $toParams['employee'] = $params['employee'][0];
     337                    }
    330338                }
    331339                $to = array( $to, $toParams );
     
    400408            $label = $employee->getTitle();
    401409
     410            $title = htmlspecialchars( $label );
    402411            $description = $employee->getDescription();
    403             $description = htmlspecialchars( $description );
     412            if( strlen($description) ){
     413                $description = htmlspecialchars( $description );
     414                $title .= "\n" . $description;
     415            }
    404416
    405417            $label = $this->ui->makeSpan( $label )
    406                 ->tag('font-size', 4)
    407                 ->addAttr( 'title', $description )
    408                 ;
     418                ->tag( 'font-size', 4 )
     419                ->addAttr( 'title', $title )
     420                ;
     421
    409422            $viewEmployees[ $employee->getId() ] = $label;
    410423        }
     
    538551
    539552        if( array_key_exists('employee', $params) && (count($params['employee']) == 1) ){
    540             $iknow[] = 'employee';
     553            if( ! in_array(-1, $params['employee']) ){
     554                $iknow[] = 'employee';
     555            }
    541556        }
    542557        if( array_key_exists('calendar', $params) && (count($params['calendar']) == 1) ){
  • shiftcontroller/trunk/sh4/schedule/html/view/index.php

    r2221157 r2241596  
    2626        SH4_Schedule_Html_View_Day $viewDay,
    2727        SH4_Schedule_Html_View_Week $viewWeek,
     28        SH4_Schedule_Html_View_FourWeeks $viewFourWeeks,
    2829        SH4_Schedule_Html_View_Month $viewMonth,
    2930        SH4_Schedule_Html_View_Report $viewReport,
     
    5657        $this->viewWeek = $viewWeek;
    5758        $this->viewMonth = $viewMonth;
     59        $this->viewFourWeeks = $viewFourWeeks;
    5860        $this->viewReport = $viewReport;
    5961        $this->viewDownload = $viewDownload;
     
    178180        else {
    179181            switch( $type ){
     182                case '4weeks':
     183                    $view = $this->viewFourWeeks;
     184                    break;
    180185                case 'month':
    181186                    $view = $this->viewMonth;
     
    477482        else {
    478483            switch( $type ){
     484                case '4weeks':
     485                    $view = $this->viewFourWeeks;
     486                    break;
    479487                case 'month':
    480488                    $view = $this->viewMonth;
     
    570578    // is wp?
    571579        if( defined('WPINC') && (! is_admin()) ){
    572             $toCheck = 'admin';
    573             if( $this->acl->check('get:' . $toCheck) ){
    574                 $label = '__Administration__';
    575                 $headerLink = $this->ui->makeAhref( $toCheck, $label )
     580            $tos = array(
     581                array( 'admin', '__Administration__' ),
     582                array( 'user/profile', '__Profile__' ),
     583                );
     584
     585            $headerLinks = array();
     586            foreach( $tos as $to ){
     587                if( ! $this->acl->check('get:' . $to[0]) ){
     588                    continue;
     589                }
     590
     591                $headerLinks[] = $this->ui->makeAhref( $to[0], $to[1] )
    576592                    ->tag('secondary')
    577593                    ;
    578 
    579                 $out = $this->ui->makeList( array($headerLink, $out) )
     594            }
     595
     596            if( $headerLinks ){
     597                $headerLinks = $this->ui->makeListInline( $headerLinks )
     598                    ->gutter(2)
     599                    ;
     600                $out = $this->ui->makeList( array($headerLinks, $out) )
    580601                    ->gutter(3)
    581602                    ;
  • shiftcontroller/trunk/sh4/schedule/html/view/list.php

    r2134277 r2241596  
    391391
    392392        if( array_key_exists('employee', $params) && (count($params['employee']) == 1) ){
    393             $iknow[] = 'employee';
     393            if( ! in_array(-1, $params['employee']) ){
     394                $iknow[] = 'employee';
     395            }
    394396        }
    395397        if( array_key_exists('calendar', $params) && (count($params['calendar']) == 1) ){
  • shiftcontroller/trunk/sh4/schedule/html/view/month.php

    r2182610 r2241596  
    170170                    );
    171171                if( array_key_exists('employee', $params) && (count($params['employee']) == 1) ){
    172                     $toParams['employee'] = $params['employee'][0];
     172                    if( ! in_array(-1, $params['employee']) ){
     173                        $toParams['employee'] = $params['employee'][0];
     174                    }
    173175                }
    174176                $to = array( $to, $toParams );
     
    235237        $viewCalendars = array();
    236238        foreach( $calendars as $calendar ){
    237             // $label = $this->calendarsPresenter->presentTitle( $calendar );
    238239            $label = $calendar->getTitle();
    239240
     241            $title = htmlspecialchars( $label );
    240242            $description = $calendar->getDescription();
    241             $description = htmlspecialchars( $description );
     243            if( strlen($description) ){
     244                $description = htmlspecialchars( $description );
     245                $title .= "\n" . $description;
     246            }
    242247
    243248            $label = $this->ui->makeSpan( $label )
    244                 // ->tag('font-size', 4)
    245                 ->addAttr( 'title', $description )
     249                ->addAttr( 'title', $title )
    246250                ;
    247251
     
    404408                    );
    405409                if( array_key_exists('employee', $params) && (count($params['employee']) == 1) ){
    406                     $toParams['employee'] = $params['employee'][0];
     410                    if( ! in_array(-1, $params['employee']) ){
     411                        $toParams['employee'] = $params['employee'][0];
     412                    }
    407413                }
    408414                $to = array( $to, $toParams );
     
    475481            $label = $employee->getTitle();
    476482
     483            $title = htmlspecialchars( $label );
    477484            $description = $employee->getDescription();
    478             $description = htmlspecialchars( $description );
     485            if( strlen($description) ){
     486                $description = htmlspecialchars( $description );
     487                $title .= "\n" . $description;
     488            }
    479489
    480490            $label = $this->ui->makeSpan( $label )
    481                 ->tag('font-size', 4)
    482                 ->addAttr( 'title', $description )
     491                ->tag( 'font-size', 4 )
     492                ->addAttr( 'title', $title )
    483493                ;
     494
    484495            $viewEmployees[ $employee->getId() ] = $label;
    485496        }
     
    692703
    693704        if( array_key_exists('employee', $params) && (count($params['employee']) == 1) ){
    694             $iknow[] = 'employee';
     705            if( ! in_array(-1, $params['employee']) ){
     706                $iknow[] = 'employee';
     707            }
    695708        }
    696709        if( array_key_exists('calendar', $params) && (count($params['calendar']) == 1) ){
  • shiftcontroller/trunk/sh4/schedule/html/view/week.php

    r2182610 r2241596  
    203203                );
    204204            if( array_key_exists('employee', $params) && (count($params['employee']) == 1) ){
    205                 $toParams['employee'] = $params['employee'][0];
     205                if( ! in_array(-1, $params['employee']) ){
     206                    $toParams['employee'] = $params['employee'][0];
     207                }
    206208            }
    207209
     
    265267        foreach( $calendars as $calendar ){
    266268            $calendarId = $calendar->getId();
    267             // $calendarView = $this->calendarsPresenter->presentTitle( $calendar );
    268             $calendarView = $calendar->getTitle();
    269 
     269
     270            $label = $calendar->getTitle();
     271
     272            $title = htmlspecialchars( $label );
    270273            $description = $calendar->getDescription();
    271             $description = htmlspecialchars( $description );
    272 
    273             $calendarView = $this->ui->makeSpan( $calendarView )
    274                 // ->tag('font-size', 4)
    275                 ->addAttr( 'title', $description )
    276                 ;
    277 
    278             $view_calendars[ $calendarId ] = $calendarView;
     274            if( strlen($description) ){
     275                $description = htmlspecialchars( $description );
     276                $title .= "\n" . $description;
     277            }
     278
     279            $label = $this->ui->makeSpan( $label )
     280                ->addAttr( 'title', $title )
     281                ;
     282
     283            $view_calendars[ $calendarId ] = $label;
    279284        }
    280285
     
    449454                    );
    450455                if( array_key_exists('employee', $params) && (count($params['employee']) == 1) ){
    451                     $toParams['employee'] = $params['employee'][0];
     456                    if( ! in_array(-1, $params['employee']) ){
     457                        $toParams['employee'] = $params['employee'][0];
     458                    }
    452459                }
    453460                $to = array( $to, $toParams );
     
    512519        $view_employees = array();
    513520        foreach( $employees as $employee ){
     521            $label = $employee->getTitle();
     522
     523            $title = htmlspecialchars( $label );
    514524            $description = $employee->getDescription();
    515             $description = htmlspecialchars( $description );
    516 
    517             $label = $employee->getTitle();
     525            if( strlen($description) ){
     526                $description = htmlspecialchars( $description );
     527                $title .= "\n" . $description;
     528            }
     529
    518530            $label = $this->ui->makeSpan( $label )
    519                 ->tag('font-size', 4)
    520                 ->addAttr( 'title', $description )
     531                ->tag( 'font-size', 4 )
     532                ->addAttr( 'title', $title )
    521533                ;
    522534
     
    740752
    741753        if( array_key_exists('employee', $params) && (count($params['employee']) == 1) ){
    742             $iknow[] = 'employee';
     754            if( ! in_array(-1, $params['employee']) ){
     755                $iknow[] = 'employee';
     756            }
    743757        }
    744758        if( array_key_exists('calendar', $params) && (count($params['calendar']) == 1) ){
  • shiftcontroller/trunk/sh4/shifts/view/widget.php

    r2178321 r2241596  
    286286    public function renderPrepared( SH4_Shifts_Model $model, $out, $iknow = array(), $hori = FALSE, $noLink = FALSE, $groupedQty = NULL )
    287287    {
     288        $colorFont = TRUE;
     289        $colorFont = FALSE;
     290
    288291        $id = $model->getId();
    289292        $calendar = $model->getCalendar();
     
    348351                ->addAttr('class', 'sh4-widget-loader')
    349352                ;
     353
     354            if( $colorFont ){
     355                if( ! $calendar->isAvailability() ){
     356                    $out[$firstKey]
     357                        ->tag('color', $color)
     358                        ->addAttr( 'class', 'hc-underline' );
     359                        ;
     360                }
     361            }
    350362        }
    351363
     
    424436                ->tag('bgcolor', $color)
    425437                ;
     438
     439            if( $colorFont ){
     440                $out
     441                    ->tag('color', $color)
     442                    ;
     443            }
    426444        }
    427445
     
    437455        }
    438456
     457
     458        $title = $this->self->renderTitle( $model );
     459        $out
     460            ->addAttr('title', $title)
     461            ;
     462
    439463        return $out;
    440464    }
  • shiftcontroller/trunk/sh4/shifts/view/zoom.php

    r2149207 r2241596  
    217217            ;
    218218
     219        $employeeDescription = $this->employeesPresenter->presentDescription( $employee );
     220        if( strlen($employeeDescription) ){
     221            $thisView = $this->ui->makeList( array($thisView, $employeeDescription) )
     222                ->gutter(0)
     223                ;
     224        }
     225
    219226        if( isset($menu['employee']) ){
    220227            $thisMenu = $this->ui->helperActionsFromArray( $menu['employee'] );
  • shiftcontroller/trunk/sh4/users/html/user/view/profile.php

    r1851180 r2241596  
    4343        $return = array();
    4444        $return['roles'] = array( 'user/profile/roles', '__My Roles__' );
     45        if( ! defined('WPINC') ){
     46            $return['profile'] = array( 'user/profile/edit', '__Edit My Details__' );
     47        }
    4548        return $return;
    4649    }
     
    5659        $return = array();
    5760        // $return['admin'] = array( 'admin', '__Administration__' );
     61        if( defined('WPINC') && (! is_admin()) ){
     62            $return['schedule'] = array( '', '&larr; ' . '__Schedule__' );
     63        }
     64
    5865        return $return;
    5966    }
  • shiftcontroller/trunk/shiftcontroller4.php

    r2221157 r2241596  
    44 * Plugin URI: http://www.shiftcontroller.com/
    55 * Description: Staff scheduling plugin
    6  * Version: 4.5.7
     6 * Version: 4.5.8
    77 * Author: hitcode.com
    88 * Author URI: http://www.shiftcontroller.com/
     
    1111*/
    1212
    13 define( 'SH4_VERSION', 457 );
     13define( 'SH4_VERSION', 458 );
    1414
    1515if (! defined('ABSPATH')) exit; // Exit if accessed directly
Note: See TracChangeset for help on using the changeset viewer.