~xibo-maintainers/xibo/tempel

« back to all changes in this revision

Viewing changes to lib/Middleware/Theme.php

  • Committer: Dan Garner
  • Date: 2018-06-12 16:03:43 UTC
  • mto: This revision was merged to the branch mainline in revision 652.
  • Revision ID: git-v1:3e32ca8d0f06b15d65c344f8c60936e9dec848db
Look at replacing bootstrap-select with select2 to solve paging and searching in lists.
xibosignage/xibo#1539

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
                'locale' => Translate::GetLocale(),
81
81
                'jsLocale' => Translate::GetJsLocale(),
82
82
                'jsShortLocale' => ((strlen(Translate::GetJsLocale()) > 2) ? substr(Translate::GetJsLocale(), 0, 2) : Translate::GetJsLocale()),
83
 
                'calendarLanguage' => ((strlen(Translate::GetJsLocale()) <= 2) ? Translate::GetJsLocale() . '-' . strtoupper(Translate::GetJsLocale()) : Translate::GetJsLocale()),
84
 
                'boostrapSelectLanguage' => ((strlen(Translate::GetJsLocale()) <= 2) ? Translate::GetJsLocale() . '_' . strtoupper(Translate::GetJsLocale()) : Translate::GetLocale())
 
83
                'calendarLanguage' => ((strlen(Translate::GetJsLocale()) <= 2) ? Translate::GetJsLocale() . '-' . strtoupper(Translate::GetJsLocale()) : Translate::GetJsLocale())
85
84
            ],
86
85
            'translations' => '{}',
87
86
            'libraryUpload' => [