View | Details | Raw Unified | Return to bug 12137
Collapse All | Expand All

(-)a/C4/Auth.pm (-2 lines)
Lines 395-401 sub get_template_and_user { Link Here
395
            AmazonCoverImages                                                          => C4::Context->preference("AmazonCoverImages"),
395
            AmazonCoverImages                                                          => C4::Context->preference("AmazonCoverImages"),
396
            AutoLocation                                                               => C4::Context->preference("AutoLocation"),
396
            AutoLocation                                                               => C4::Context->preference("AutoLocation"),
397
            "BiblioDefaultView" . C4::Context->preference("IntranetBiblioDefaultView") => 1,
397
            "BiblioDefaultView" . C4::Context->preference("IntranetBiblioDefaultView") => 1,
398
            CalendarFirstDayOfWeek                                                     => C4::Context->preference("CalendarFirstDayOfWeek"),
399
            CircAutocompl                                                              => C4::Context->preference("CircAutocompl"),
398
            CircAutocompl                                                              => C4::Context->preference("CircAutocompl"),
400
            FRBRizeEditions                                                            => C4::Context->preference("FRBRizeEditions"),
399
            FRBRizeEditions                                                            => C4::Context->preference("FRBRizeEditions"),
401
            IndependentBranches                                                        => C4::Context->preference("IndependentBranches"),
400
            IndependentBranches                                                        => C4::Context->preference("IndependentBranches"),
Lines 469-475 sub get_template_and_user { Link Here
469
            AuthorisedValueImages                 => C4::Context->preference("AuthorisedValueImages"),
468
            AuthorisedValueImages                 => C4::Context->preference("AuthorisedValueImages"),
470
            BranchesLoop                          => GetBranchesLoop($opac_name),
469
            BranchesLoop                          => GetBranchesLoop($opac_name),
471
            BranchCategoriesLoop                  => GetBranchCategories( 'searchdomain', 1, $opac_name ),
470
            BranchCategoriesLoop                  => GetBranchCategories( 'searchdomain', 1, $opac_name ),
472
            CalendarFirstDayOfWeek                => C4::Context->preference("CalendarFirstDayOfWeek"),
473
            LibraryName                           => "" . C4::Context->preference("LibraryName"),
471
            LibraryName                           => "" . C4::Context->preference("LibraryName"),
474
            LibraryNameTitle                      => "" . $LibraryNameTitle,
472
            LibraryNameTitle                      => "" . $LibraryNameTitle,
475
            LoginBranchname                       => C4::Context->userenv ? C4::Context->userenv->{"branchname"} : "",
473
            LoginBranchname                       => C4::Context->userenv ? C4::Context->userenv->{"branchname"} : "",
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/calendar.inc (-1 / +2 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
<script type="text/javascript">
2
<script type="text/javascript">
2
//<![CDATA[
3
//<![CDATA[
3
4
Lines 66-72 jQuery(function($){ Link Here
66
        dayNamesMin: [_("Su"),_("Mo"),_("Tu"),_("We"),_("Th"),_("Fr"),_("Sa")],
67
        dayNamesMin: [_("Su"),_("Mo"),_("Tu"),_("We"),_("Th"),_("Fr"),_("Sa")],
67
        weekHeader: _("Wk"),
68
        weekHeader: _("Wk"),
68
        dateFormat: "[% IF ( dateformat == "us" ) %]mm/dd/yy[% ELSIF ( dateformat == "metric" ) %]dd/mm/yy[% ELSE %]yy-mm-dd[% END %]",
69
        dateFormat: "[% IF ( dateformat == "us" ) %]mm/dd/yy[% ELSIF ( dateformat == "metric" ) %]dd/mm/yy[% ELSE %]yy-mm-dd[% END %]",
69
        firstDay: [% CalendarFirstDayOfWeek %],
70
        firstDay: [% Koha.Preference('CalendarFirstDayOfWeek') %],
70
        isRTL: [% IF ( bidi ) %]true[% ELSE %]false[% END %],
71
        isRTL: [% IF ( bidi ) %]true[% ELSE %]false[% END %],
71
        showMonthAfterYear: false,
72
        showMonthAfterYear: false,
72
        yearSuffix: ''};
73
        yearSuffix: ''};
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/calendar.inc (-2 / +2 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
<script type="text/javascript">
2
<script type="text/javascript">
2
    //<![CDATA[
3
    //<![CDATA[
3
        var debug    = "[% debug %]";
4
        var debug    = "[% debug %]";
Lines 37-43 Link Here
37
                dayNamesMin: [_("Su"),_("Mo"),_("Tu"),_("We"),_("Th"),_("Fr"),_("Sa")],
38
                dayNamesMin: [_("Su"),_("Mo"),_("Tu"),_("We"),_("Th"),_("Fr"),_("Sa")],
38
                weekHeader: _("Wk"),
39
                weekHeader: _("Wk"),
39
                dateFormat: '[% IF ( dateformat == "us" ) %]mm/dd/yy[% ELSIF ( dateformat == "metric" ) %]dd/mm/yy[% ELSE %]yy-mm-dd[% END %]',
40
                dateFormat: '[% IF ( dateformat == "us" ) %]mm/dd/yy[% ELSIF ( dateformat == "metric" ) %]dd/mm/yy[% ELSE %]yy-mm-dd[% END %]',
40
                firstDay: [% CalendarFirstDayOfWeek %],
41
                firstDay: [% Koha.Preference('CalendarFirstDayOfWeek') %],
41
                isRTL: [% IF ( bidi ) %]true[% ELSE %]false[% END %],
42
                isRTL: [% IF ( bidi ) %]true[% ELSE %]false[% END %],
42
                showMonthAfterYear: false,
43
                showMonthAfterYear: false,
43
                yearSuffix: ''};
44
                yearSuffix: ''};
44
- 

Return to bug 12137