CINXE.COM

Log in to Koha › Koha

<!DOCTYPE html> <!-- TEMPLATE FILE: auth.tt --> <html lang="nb-NO"> <head> <title>Log in to Koha &rsaquo; Koha</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <style id="antiClickjack">body{display:none !important;}</style> <link rel="shortcut icon" href="/intranet-tmpl/prog/img/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" type="text/css" href="/intranet-tmpl/lib/jquery/jquery-ui-1.13.2.min_23.1106000.css"> <link href="/intranet-tmpl/lib/bootstrap/bootstrap.min_23.1106000.css" rel="stylesheet" type="text/css"> <link href="/intranet-tmpl/lib/bootstrap/bootstrap-theme.min_23.1106000.css" rel="stylesheet" type="text/css"> <link type="text/css" rel="stylesheet" href="/intranet-tmpl/lib/fontawesome/css/fontawesome.min_23.1106000.css"> <link href="/intranet-tmpl/lib/fontawesome/css/brands.min_23.1106000.css" type="text/css" rel="stylesheet"> <link type="text/css" rel="stylesheet" href="/intranet-tmpl/lib/fontawesome/css/solid.min_23.1106000.css"> <link href="/intranet-tmpl/lib/datatables/datatables.min_23.1106000.css" type="text/css" rel="stylesheet"> <link media="print" rel="stylesheet" type="text/css" href="/intranet-tmpl/prog/css/print_23.1106000.css"> <link type="text/css" rel="stylesheet" href="/intranet-tmpl/prog/css/staff-global_23.1106000.css"> <!-- local colors --> <script> var Koha = {}; var CAN_user_parameters_manage_column_config = 0; </script> <script src="/intranet-tmpl/prog/nb-NO/js/locale_data_23.1106000.js"></script> <script src="/intranet-tmpl/js/Gettext_23.1106000.js"></script> <script src="/intranet-tmpl/js/i18n_23.1106000.js"></script> <link type="text/css" rel="stylesheet" href="/intranet-tmpl/prog/css/login_23.1106000.css"> </head> <body id="main_auth" class="main_main-auth"> <div class="main container-fluid"> <div id="login"> <h1><a href="http://koha-community.org">Koha</a></h1> <div id="login_instructions"><p><b><center><img src="https://pngimg.com/uploads/book/book_PNG51090.png" height="25" width="30"><font color="Red" size="3"> Your college Name</font></div> <!-- login prompt time--> <form action="/cgi-bin/koha/mainpage.pl" method="post" name="loginform" id="loginform" class="validated"> <input type="hidden" name="koha_login_context" value="intranet" /> <p><label for="userid">Brukernavn:</label> <input type="text" name="userid" id="userid" class="input focus" value="" size="20" tabindex="1" autocomplete="off" /> </p> <p><label for="password">Passord:</label> <input type="password" name="password" id="password" class="input" value="" size="20" tabindex="2" autocomplete="off" /> </p> <p> <label for="branch">Bibliotek:</label> <select name="branch" id="branch" class="input" tabindex="3"> <option value="">Mitt bibliotek</option> <option value="KNOTT">Kn酶ttevik filial</option> <option value="LILLE">Lillevik bibliotek</option> <option value="BIB">Storevik bibliotek</option> </select> </p> <p> <label for="desk">Skranke:</label> <select name="desk_id" id="desk_id" class="input" tabindex="3"> <option id="nodesk" value="">---</option> <option class="BIB" value="1" disabled >Hovedutl氓net</option> <option class="BIB" value="2" disabled >Barneavdelingen</option> </select> </p> <p> <label for="register_id">Kassaapparat:</label> <select name="register_id" id="register_id" class="input" tabindex="4"> <option id="noregister" value="" selected="selected">Bibliotek-standard</option> <option class="BIB" value="1" disabled style="display: none">Hovedskranken</option> </select> </p> <!-- <p><label><input name="rememberme" type="checkbox" id="rememberme" value="forever" tabindex="3" />Remember me</label></p> --> <p class="submit"><input class="btn btn-primary" id="submit-button" tabindex="4" type="submit" value="Logg p氓" /></p> </form> <!--<ul> --> <!-- <li><a href="/cgi-bin/koha/lostpassword.pl" title="Password lost and found">Lost your password?</a></li> --> <!-- </ul> --> </div> <!-- the main div is closed in intranet-bottom.inc --> </div> <div id="changelanguage" class="navbar navbar-default navbar-fixed-bottom"> <div class="container-fluid"> <ul id="i18nMenu" class="nav navbar-nav"> <li class="navbar-text"> <span class="currentlanguage">Norsk bokm氓l</span> </li> <li><a href="/cgi-bin/koha/changelanguage.pl?language=en"> English </a></li> <li><a href="/cgi-bin/koha/changelanguage.pl?language=sv-SE"> Svenska </a></li> </ul> </div> </div> <span id="audio-alert"></span> <script> if (self === top) { var antiClickjack = document.getElementById("antiClickjack"); antiClickjack.parentNode.removeChild(antiClickjack); } else { top.location = self.location; } </script> <script src="/intranet-tmpl/lib/jquery/jquery-3.6.0.min_23.1106000.js"></script> <script src="/intranet-tmpl/lib/jquery/jquery-migrate-3.3.2.min_23.1106000.js"></script> <script src="/intranet-tmpl/lib/jquery/jquery-ui-1.13.2.min_23.1106000.js"></script> <script src="/intranet-tmpl/lib/shortcut/shortcut_23.1106000.js"></script> <script src="/intranet-tmpl/lib/js-cookie/js.cookie-2.2.1.min_23.1106000.js"></script> <script src="/intranet-tmpl/lib/jquery/plugins/jquery.highlight-5_23.1106000.js"></script> <script src="/intranet-tmpl/lib/bootstrap/bootstrap.min_23.1106000.js"></script> <script src="/intranet-tmpl/lib/jquery/plugins/jquery.validate.min_23.1106000.js"></script> <!-- koha core js --> <script src="/intranet-tmpl/prog/js/staff-global_23.1106000.js"></script> <script src="/intranet-tmpl/lib/dayjs/dayjs.min_23.1106000.js"></script> <script src="/intranet-tmpl/lib/dayjs/plugin/utc_23.1106000.js"></script> <script src="/intranet-tmpl/lib/dayjs/plugin/timezone_23.1106000.js"></script> <script src="/intranet-tmpl/lib/dayjs/plugin/customParseFormat_23.1106000.js"></script> <script> dayjs.extend(window.dayjs_plugin_utc); dayjs.extend(window.dayjs_plugin_timezone); dayjs.extend(window.dayjs_plugin_customParseFormat); </script> <!-- js-date-format.inc --> <script> (function() { var def_date_format = 'metric'; var def_time_format = '24hr'; var def_tz = 'Europe/Berlin'; var get_date_pattern = function(format) { var date_pattern = 'YYYY-MM-DD'; if(format == 'us') date_pattern = 'MM/DD/YYYY'; if(format == 'metric') date_pattern = 'DD/MM/YYYY'; if(format == 'dmydot') date_pattern = 'DD.MM.YYYY'; return date_pattern; }; var get_time_pattern = function(format) { var time_pattern = 'HH:mm'; if(format == '12hr') time_pattern = 'hh:mm a'; return time_pattern; }; /** * A JS equivilent of the KohaDates TT Plugin. Passed an rfc3339 formatted date string, * or JS Date, the function will return a date string formatted as per the koha instance config. * @param {String|Date} value rfc3339 formatted date string or a JS Date object. * @param {Object} [options] Optional set of switches for changing date handling * @property {String} [options.tz] String representing the timezone of the passed date * @property {Boolean} [options.no_tz_adjust] Enable/Disable timezone adjustment * @property {String} [options.dateformat] * @property {Boolean} [options.withtime] Enable/Disable appearance of time in returned string * @property {String} [options.timeformat] * @property {Boolean} [options.as_due_date] Enable/Disable due date output format * @returns {String} A date string formatted as per the koha instance configuration. */ window.$date = function(value, options) { if(!value) return ''; let tz = (options&&options.tz)||def_tz; let no_tz_adjust = (options&&options.no_tz_adjust)||false; var m = dayjs(value); if ( !no_tz_adjust && ! value.match(/^\d{4}-\d{2}-\d{2}$/ ) ) { m = m.tz(tz); } var dateformat = (options&&options.dateformat)||def_date_format; var withtime = (options&&options.withtime)||false; if(dateformat=='rfc3339' && withtime) return m.format(); var timeformat = (options&&options.timeformat)||def_time_format; var date_pattern = get_date_pattern(dateformat); let as_due_date = (options&&options.as_due_date); if (as_due_date) { withtime = !( m.hour() == 23 && m.minute() == 59 ); } var time_pattern = !withtime?'':' '+get_time_pattern(timeformat); return m.format(date_pattern+time_pattern); } window.$datetime = function(value, options) { options = options||{}; options.withtime = true; return $date(value, options); }; window.$time = function(value, options) { if(!value) return ''; var tz = (options&&options.tz)||def_tz; var m = dayjs(value); if(tz) m = m.tz(tz); var dateformat = (options&&options.dateformat); var timeformat = (dateformat=='rfc3339'&&'24hr')||(options&&options.timeformat)||def_time_format; return m.format(get_time_pattern(timeformat)+(dateformat=='rfc3339'?':ss'+(!m.isUTC()?'Z':''):''))+(dateformat=='rfc3339' && m.isUTC()?'Z':''); } window.$date_to_rfc3339 = function(value, options) { var dateformat = (options&&options.dateformat)||def_date_format; let m = dayjs(value, get_date_pattern(dateformat)); return m.format("YYYY-MM-DD"); } })(); </script> <!-- / js-date-format.inc --> <!-- js-patron-get-age.inc --> <script> (function() { const tz = 'Europe/Berlin'; window.$get_age = function(dob, options) { if(!dob) return ''; let today = new Date(); dob = new Date(dob); if ( tz ) { let today_tz = new Date(today.toLocaleString('en-US', {timeZone: tz})); let diff = today.getTime() - today_tz.getTime(); today = new Date(today.getTime() - diff); let dob_tz = new Date(dob.toLocaleString('en-US', {timeZone: tz})); diff = dob.getTime() - dob_tz.getTime(); dob = new Date(dob.getTime() - diff); } let age = today.getFullYear() - dob.getFullYear(); let m = today.getMonth() - dob.getMonth(); if (m < 0 || (m === 0 && today.getDate() < dob.getDate())) { age--; } return age; } })(); </script> <!-- / js-patron-get-age.inc --> <!-- js-patron-format-address.inc --> <script> (function() { const roadtypes = []; let roadtypes_map = roadtypes.reduce((map, r) => { map[r.authorised_value] = r.lib; return map; }, {}); function member_display_address_style_us(data, line_break, include_li) { let address = ""; if ( data.address || data.address2 ) { if ( data.address ) { let roadtype_desc = ''; if ( data.street_type ) { roadtype_desc = roadtypes_map[data.street_type] ? roadtypes_map[data.street_type] : data.street_type; } address += include_li ? '<li class="patronaddress1">' : ''; address += escape_str(data.street_number) + ' ' + escape_str(data.address) + ' ' + escape_str(roadtype_desc); address += include_li ? '</li>' : ''; } } if ( data.address2 ) { address += include_li ? '<li class="patronaddress2">' : ' '; address += escape_str(data.address2); address += include_li ? '</li>' : ''; } if ( data.city || data.postal_code || data.state || data.country ) { address += include_li ? '<li class="patroncity">' : ' '; address += escape_str(data.city); if ( data.state ) { if ( data.city ) { address += ', '; } address += escape_str(data.state); } if ( data.postal_code ) { address += " " + escape_str(data.postal_code); } if ( data.country ) { if ( data.postal_code || data.state || data.city ) { address += ', '; } address += escape_str(data.country) } address += include_li ? '</li>' : ''; } return address; } function member_display_address_style_de(data, line_break, include_li) { let address = ""; if ( data.address || data.address2 ) { if ( data.address ) { let roadtype_desc = ''; if ( data.street_type ) { roadtype_desc = roadtypes_map[data.street_type] ? roadtypes_map[data.street_type] : data.street_type; } address += include_li ? '<li class="patronaddress1">' : ' '; address += escape_str(data.address) + ' ' + escape_str(roadtype_desc) + ' ' + escape_str(data.street_number); address += include_li ? '</li>' : ''; } } if ( data.address2 ) { address += include_li ? '<li class="patronaddress2">' : ' '; address += escape_str(data.address2); address += include_li ? '</li>' : ''; } if ( data.city || data.postal_code || data.state || data.country ) { address += include_li ? '<li class="patroncity">' : ' '; address += escape_str(data.postal_code) + ' ' + escape_str(data.city); address += data.state ? line_break + escape_str(data.state) : ''; address += data.country ? line_break + escape_str(data.country) : ''; address += include_li ? '</li>' : ''; } return address; } function member_display_address_style_fr(data, line_break, include_li) { let address = ""; if ( data.address || data.address2 ) { if ( data.address ) { let roadtype_desc = ''; if ( data.street_type ) { roadtype_desc = roadtypes_map[data.street_type] ? roadtypes_map[data.street_type] : data.street_type; } address += include_li ? '<li class="patronaddress1">' : ''; address += escape_str(data.street_number) + ' ' + escape_str(roadtype_desc) + ' ' + escape_str(data.address); address += include_li ? '</li>' : ''; } } if ( data.address2 ) { address += include_li ? '<li class="patronaddress2">' : ' '; address += escape_str(data.address2); address += include_li ? '</li>' : ''; } if ( data.city || data.postal_code || data.state || data.country ) { address += include_li ? '<li class="patroncity">' : ' '; address += escape_str(data.postal_code) + ' ' + escape_str(data.city); address += data.state ? line_break + escape_str(data.state) : ''; address += data.country ? line_break + escape_str(data.country) : ''; address += include_li ? '</li>' : ''; } return address; } window.$format_address = function(data, options) { let line_break = options && options.no_line_break ? ' ' : '<br/>'; let include_li = options && options.include_li;return member_display_address_style_us(data, line_break, include_li);} })(); </script> <!-- / js-patron-format-address.inc --> <!-- validator-strings.inc --> <script> $(document).ready(function(){ jQuery.extend(jQuery.validator.messages, { required: _("Dette feltet er obligatorisk."), remote: _("Korriger dette feltet."), email: _("Legg inn en gyldig e-postadresse."), url: _("Legg inn en gyldig URL-adresse."), date: _("Legg inn en gyldig dato."), dateISO: _("Legg inn en gyldig dato (ISO)."), number: _("Legg inn et gyldig tall."), digits: _("Legg kun inn sifre."), equalTo: _("Legg inn den samme verdien p氓 nytt."), number: _("Legg inn bel酶p i gyldig format: 0,00"), maxlength: $.validator.format(_("Ikke legg inn mer enn {0} tegn.")), minlength: $.validator.format(_("Legg inn minst {0} tegn.")), rangelength: $.validator.format(_("Legg inn en verdi med en lengde p氓 mellom {0} og {1} tegn.")), range: $.validator.format(_("Legg inn en verdi mellom {0} og {1}.")), max: $.validator.format(_("Legg inn en verdi som er mindre enn eller lik {0}.")), min: $.validator.format(_("Legg inn en verdi som er st酶rre enn eller lik {0}.")), phone: $.validator.format(_("Legg inn et gyldig telefonnummer.")) }); }); </script> <!-- / validator-strings.inc --> <!-- js_includes.inc: IntranetUserJS --> <script> $(document).ready(function(){ $( '[id^="tag_260_subfield_a"]' ).autocomplete({ source: function(request, response) { $.ajax({ url: "/cgi-bin/koha/cataloguing/ysearch.pl", dataType: "json", data: { term: request.term, table: "biblioitems", field: "place" }, success: function(data) { response( $.map( data, function( item ) { return { label: item.fieldvalue, value: item.fieldvalue }; })); } }); }, minLength: 1, }); $( '[id^="tag_020_subfield_a"]' ).autocomplete({ source: function(request, response) { $.ajax({ url: "/cgi-bin/koha/cataloguing/ysearch.pl", dataType: "json", data: { term: request.term, table: "biblioitems", field: "ISBN" }, success: function(data) { response( $.map( data, function( item ) { return { label: item.fieldvalue, value: item.fieldvalue }; })); } }); }, minLength: 1, }); $( '[id^="tag_260_subfield_b"]' ).autocomplete({ source: function(request, response) { $.ajax({ url: "/cgi-bin/koha/cataloguing/ysearch.pl", dataType: "json", data: { term: request.term, table: "biblioitems", field: "publishercode" }, success: function(data) { response( $.map( data, function( item ) { return { label: item.fieldvalue, value: item.fieldvalue }; })); } }); }, minLength: 1, }); $( '[id^="tag_250_subfield_a"]' ).autocomplete({ source: function(request, response) { $.ajax({ url: "/cgi-bin/koha/cataloguing/ysearch.pl", dataType: "json", data: { term: request.term, table: "biblioitems", field: "Editionstatement" }, success: function(data) { response( $.map( data, function( item ) { return { label: item.fieldvalue, value: item.fieldvalue }; })); } }); }, minLength: 1, }); }); </script> <!-- / js_includes.inc: IntranetUserJS --> <!-- js_includes.inc --> <script src="/intranet-tmpl/prog/js/basket_23.1106000.js"></script> <script> var defaultPatronSearchFields = "firstname|middle_name|surname|othernames|cardnumber|userid"; var defaultPatronSearchMethod = "starts_with"; var extendedPatronAttributes = "0"; var loggedInLibrary = ''; var singleBranchMode = ''; </script> <!-- / js_includes.inc --> <script src="/intranet-tmpl/prog/js/desk_selection_23.1106000.js"></script> <script src="/intranet-tmpl/prog/js/register_selection_23.1106000.js"></script> <script> $(document).ready( function() { if ( document.location.hash ) { const input = $('<input name="auth_forwarded_hash" type="hidden">') input.val(document.location.hash); $( '#loginform' ).append( input ); } // Clear last borrowers, rememberd sql reports, carts, etc. logOut(); $("#send_otp").on("click", function(e){ e.preventDefault(); alert("Cannot send the notice, you don't have an email address defined.") }); if( $("#registration-form").length ) { $.ajax({ data: {}, type: 'POST', url: '/api/v1/auth/two-factor/registration', success: function (data) { $("#qr_code").attr('src', data.qr_code); $("#secret32").val(data.secret32); $("#issuer").html(data.issuer); $("#key_id").html(data.key_id); $("#key_secret").html(data.secret32); $("#registration-form").show(); }, error: function (data) { alert(data); }, }); }; $("#register-2FA").on("click", function(e){ e.preventDefault(); const data = { secret32: $("#secret32").val(), pin_code: $("#pin_code").val(), }; if (!data.pin_code) return; $.ajax({ data: data, type: 'POST', url: '/api/v1/auth/two-factor/registration/verification', success: function (data) { return; }, error: function (data) { const error = data.responseJSON.error; if ( error == 'Invalid pin' ) { $("#errors").html(_("Ugyldig PIN-kode")).show(); } else { alert(error); } }, }).then(function(){ alert(_("Tofaktorautentisering er konfigurert. Du vil sendes videre til innlogging.")); window.location = "/cgi-bin/koha/mainpage.pl"; }); }); }); </script> <!-- Cookie consent --> <!-- CookieConsentedJS code that may run --> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10