CINXE.COM

Register a new account › IUB Library OPAC catalog

<!DOCTYPE html> <!-- TEMPLATE FILE: opac-memberentry.tt --> <html lang="en" class="no-js"> <head> <title>Register a new account &rsaquo; IUB Library OPAC catalog</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta name="generator" content="Koha 23.0506000" /> <!-- leave this for stats --> <meta name="viewport" content="width=device-width, initial-scale=1" /> <link rel="stylesheet" href="/opac-tmpl/bootstrap/lib/jquery/responsive.dataTables.min_23.0506000.css" type="text/css"> <link rel="shortcut icon" href="http://www.iub.edu.bd/favicon.ico" type="image/x-icon" /> <link rel="apple-touch-icon" href="http://www.iub.edu.bd/favicon.ico" type="image/x-icon" /> <link rel="stylesheet" type="text/css" href="/opac-tmpl/bootstrap/css/opac_23.0506000.css"> <link href="/opac-tmpl/bootstrap/css/print_23.0506000.css" type="text/css" rel="stylesheet" media="print"> <style>.no-image { display: none; } .title_summary { font-size: 1rem; } .title { font-size: 1.2rem; } .h3, h3 { font-size: 1.1rem; } .contributors, .contributors a { font-size: 1.1rem; } .results_summary { display: block; border-bottom: 1 px; }</style> <link rel="search" type="application/opensearchdescription+xml" href="https://opac.iub.edu.bd/cgi-bin/koha/opac-search.pl?format=opensearchdescription" title="Search IUB Library OPAC"> <link rel="unapi-server" type="application/xml" title="unAPI" href="https://opac.iub.edu.bd/cgi-bin/koha/unapi" /> <script> var Koha = {}; function _(s) { return s } // dummy function for gettext const is_logged_in = false </script> <script src="/opac-tmpl/bootstrap/js/Gettext_23.0506000.js"></script> <script src="/opac-tmpl/bootstrap/js/i18n_23.0506000.js"></script> <link href="/opac-tmpl/lib/font-awesome/css/font-awesome.min_23.0506000.css" type="text/css" rel="stylesheet"> </head> <body id="opac-patron-registration" class="opac"> <button id="scrolltocontent">Skip to main content</button> <div id="wrapper"> <div id="header-region" class="noprint"> <nav class="navbar navbar-expand"> <div id="logo"> <a class="navbar-brand" href="/cgi-bin/koha/opac-main.pl"> IUB Library OPAC </a> </div> <ul id="cart-list-nav" class="navbar-nav"> <li class="divider-vertical"></li> <li class="nav-item dropdown"> <a href="/cgi-bin/koha/opac-shelves.pl" title="Show lists" class="nav-link dropdown-toggle" id="listsmenu" data-toggle="dropdown" role="button" aria-label="Show dropdown with detailed list information" aria-haspopup="true" aria-expanded="false" ><i class="fa fa-list fa-icon-black" aria-hidden="true"></i> <span class="listslabel">Lists</span> </a> <div aria-labelledby="listsmenu" role="menu" class="dropdown-menu"> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;public=1" tabindex="-1" role="menuitem"><strong>Public lists</strong></a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=269&amp;sortfield=title" tabindex="-1" role="menuitem">New Arrivals July - September 2024</a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=268&amp;sortfield=title" tabindex="-1" role="menuitem">NewArrivals: April-June-2024</a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=187&amp;sortfield=title" tabindex="-1" role="menuitem">Sofware Engineering &amp; Computer Science</a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=263&amp;sortfield=title" tabindex="-1" role="menuitem">books on Japan</a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=242&amp;sortfield=title" tabindex="-1" role="menuitem">Liberation War and Mujib Books</a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=261&amp;sortfield=title" tabindex="-1" role="menuitem">Wireless and mobile communication</a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=213&amp;sortfield=title" tabindex="-1" role="menuitem">Physics</a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=212&amp;sortfield=title" tabindex="-1" role="menuitem">Management Information System</a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=211&amp;sortfield=title" tabindex="-1" role="menuitem">Religion</a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=view&amp;shelfnumber=210&amp;sortfield=title" tabindex="-1" role="menuitem">Leadership</a> <a class="dropdown-item listmenulink" href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;public=1" tabindex="-1" role="menuitem">View all</a> <div class="dropdown-divider"></div> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=list&amp;public=0" tabindex="-1" role="menuitem"><strong>Your lists</strong></a> <a class="dropdown-item" href="/cgi-bin/koha/opac-shelves.pl?op=add_form" tabindex="-1" role="menuitem">Log in to create your own lists</a> </div> <!-- / .dropdown-menu --> </li> <!-- / .nav-item.dropdown --> </ul> <!-- / .navbar-nav --> <ul id="members" class="navbar-nav"> <li class="nav-item dropdown"> <a href="/cgi-bin/koha/opac-user.pl" class="nav-link login-link loginModal-trigger"><i class="fa fa-user fa-icon-black fa-fw" aria-hidden="true"></i> <span class="userlabel">Log in to your account</span></a> </li> <li class="nav-item search_history"> <a class="nav-link login-link" href="/cgi-bin/koha/opac-search-history.pl" title="View your search history">Search history</a> </li> <li class="divider-vertical"></li> <li class="nav-item"> <a class="nav-link logout clearsh" href="/cgi-bin/koha/opac-search-history.pl?action=delete" title="Delete your search history"><i class="fa fa-trash" aria-hidden="true"></i> Clear</a> </li> </ul> </nav> <!-- /navbar --> </div> <!-- / header-region --> <div class="container-fluid"> <div class="row"> <div class="col"> <div id="opac-main-search" class="mastheadsearch"> <form name="searchform" method="get" action="/cgi-bin/koha/opac-search.pl" id="searchform"> <div class="form-row align-items-center"> <div class="col-sm-auto order-2 order-sm-2"> <select name="idx" id="masthead_search" class="form-control"> <option value="">Library catalog</option> <option value="ti">Title</option> <option value="au">Author</option> <option value="su">Subject</option> <option value="nb">ISBN</option> <option value="ns">ISSN</option> <option value="se">Series</option> <option value="callnum">Call number</option> </select> </div> <!-- /.col-sm-auto --> <div class="col order-4 order-sm-3"> <input type="text" class="transl1 form-control" id="translControl1" name="q" value="" /><span id="translControl"></span> </div> <!-- /.col --> <div class="order-5 col-sm-auto"> <button type="submit" id="searchsubmit" class="btn btn-primary" title="Search" aria-label="Search"> <i class="fa fa-search" aria-hidden="true"></i> </button> </div> </div> <!-- /.form-row --> <input type="hidden" name="weight_search" value="1"> </form> </div><!-- /#opac-main-search --> </div> <!-- /.col --> </div> <!-- /.row --> <div class="row"> <ul class="nav" id="moresearches"> <li class="nav-item"> <a href="/cgi-bin/koha/opac-search.pl">Advanced search</a> </li> <li class="nav-item"> <a href="/cgi-bin/koha/opac-course-reserves.pl">Course reserves</a> </li> <li class="nav-item"> <a href="/cgi-bin/koha/opac-browser.pl">Browse by hierarchy</a> </li> <li class="nav-item"> <a href="/cgi-bin/koha/opac-authorities-home.pl">Authority search</a> </li> <li class="nav-item"> <a href="/cgi-bin/koha/opac-tags.pl">Tag cloud</a> </li> <li class="nav-item"> <a href="/cgi-bin/koha/opac-topissues.pl">Most popular</a> </li> <li class="nav-item"> <a id="library_page" href="/cgi-bin/koha/opac-library.pl"> <span>Library</span> </a> </li> </ul> <!-- /.nav#moresearches --> </div> <!-- /.row --> </div> <!-- /.container-fluid --> <!-- Login form hidden by default, used for modal window --> <div id="loginModal" class="modal" tabindex="-1" role="dialog" aria-labelledby="modalLoginLabel" aria-hidden="true"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header"> <h2 class="modal-title" id="modalLoginLabel">Log in to your account</h2> <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">&times;</span> </button> </div> <form action="/cgi-bin/koha/opac-user.pl" method="post" name="auth" id="modalAuth"> <input type="hidden" name="has-search-query" id="has-search-query" value="" /> <div class="modal-body"> <input type="hidden" name="koha_login_context" value="opac" /> <fieldset class="brief"> <div class="local-login"> <label for="muserid">Login:</label><input type="text" id="muserid" name="userid" autocomplete="off" /> <label for="mpassword">Password:</label><input type="password" id="mpassword" name="password" autocomplete="off" /> <fieldset class="action"> <input type="submit" class="btn btn-primary" value="Log in" /> </fieldset> </div> <div id="forgotpassword-modal" class="forgotpassword"> <a href="/cgi-bin/koha/opac-password-recovery.pl">Forgot your password?</a> </div> <div id="patronregistration-modal" class="patronregistration"> <p>Don't have an account? <a href="/cgi-bin/koha/opac-memberentry.pl">Register here.</a></p> </div> </fieldset> </div> </form> <!-- /#auth --> </div> <!-- /.modal-content --> </div> <!-- /.modal-dialog --> </div> <!-- /#modalAuth --> <div class="main"> <nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumbs"> <ol class="breadcrumb"> <li class="breadcrumb-item"> <a href="/cgi-bin/koha/opac-main.pl">Home</a> </li> <li class="breadcrumb-item active"> <a href="#" aria-current="page">Register a new account</a> </li> </ol> </nav> <!-- /#breadcrumbs --> <div class="container-fluid"> <div class="row"> <div class="col col-lg-2 order-2 order-lg-1"> <div id="navigation"> <div id="usermenu"> </div> </div> </div> <div class="col-md-12 col-lg-10 order-1"> <h1>Your personal details</h1> <div id="add-account" class="maincontent"> <form method="post" action="/cgi-bin/koha/opac-memberentry.pl" id="memberentry-form" autocomplete="off"> <div class="row"> <div class="col"> <fieldset class="rows" id="memberentry_library"> <legend id="library_legend">Library</legend> <ol> <li> <label for="borrower_cardnumber" class="required">Library card number:</label> <input type="text" id="borrower_cardnumber" name="borrower_cardnumber" size="20" value="" minlength="4" maxlength="7" class="required" /> <div class="required_label required">Required</div> <div class="hint">Card number must be between 4 and 7 characters.</div> </li> <li> <label for="borrower_branchcode" class="">Home library:</label> <select id="borrower_branchcode" name="borrower_branchcode" class=""> <option value="IUBL">Library, Independent University, Bangladesh (IUB)</option> </select> <div class="required_label ">Required</div> </li> <li> <label for="borrower_categorycode" class="required"> Category:</label> <select id="borrower_categorycode" name="borrower_categorycode" class="required"> <option value="B" data-pwd-length="6" data-pwd-strong="0">Board</option> <option value="CLMHY" data-pwd-length="6" data-pwd-strong="0">Community Library Membership Half Yearly</option> <option value="CLMM" data-pwd-length="6" data-pwd-strong="0">Community Library Membership Monthly </option> <option value="CLMQ" data-pwd-length="6" data-pwd-strong="0">Community Library Membership Quarterly</option> <option value="CLMY" data-pwd-length="6" data-pwd-strong="0">Community Library Membership Yearly</option> <option value="DN" data-pwd-length="6" data-pwd-strong="0">Dean</option> <option value="T" data-pwd-length="6" data-pwd-strong="0">Faculty Member</option> <option value="MST" data-pwd-length="6" data-pwd-strong="0">Graduate Student</option> <option value="IL" data-pwd-length="6" data-pwd-strong="0">Inter-Library Loan</option> <option value="IUBM" data-pwd-length="6" data-pwd-strong="0">IUB Managers </option> <option value="O" data-pwd-length="6" data-pwd-strong="0">IUB Officer</option> <option value="LP-UG" data-pwd-length="6" data-pwd-strong="0">Law and Pharmacy Undergraduate (Bi-Semester)</option> <option value="LS " data-pwd-length="6" data-pwd-strong="0">Library Staff</option> <option value="CHECK" data-pwd-length="6" data-pwd-strong="0">mem-check</option> <option value="OL" data-pwd-length="6" data-pwd-strong="0">Officers Left IUB</option> <option value="PRO-VC" data-pwd-length="6" data-pwd-strong="0">Pro Vice Chancellor</option> <option value="SA" data-pwd-length="6" data-pwd-strong="0">Special Administrator</option> <option value="SM" data-pwd-length="6" data-pwd-strong="0">Special Member</option> <option value="TL" data-pwd-length="6" data-pwd-strong="0">Teacher Left</option> <option value="GST" data-pwd-length="6" data-pwd-strong="0" selected="selected">Undergraduate Student</option> <option value="VC" data-pwd-length="6" data-pwd-strong="0">Vice Chancellor</option> </select> <div class="required_label required">Required</div> </li> </ol> </fieldset> </div> <!-- /.col --> </div> <!-- /.row --> <div class="row"> <div class="col"> <fieldset class="rows" id="memberentry_identity"> <legend id="identity_legend">Identity</legend> <ol> <li> <label for="borrower_surname" class="required">Surname:</label> <input type="text" id="borrower_surname" name="borrower_surname" value="" class="required" /> <div class="required_label required">Required</div> </li> <li> <label for="borrower_firstname" class="required">First name:</label> <input type="text" id="borrower_firstname" name="borrower_firstname" value="" class="required" /> <div class="required_label required">Required</div> </li> <li> <label for="borrower_middle_name" class="">Middle name:</label> <input type="text" id="borrower_middle_name" name="borrower_middle_name" value="" class="" /> <div class="required_label ">Required</div> </li> <li> <label for="borrower_dateofbirth" class="required">Date of birth:</label> <input type="text" id="borrower_dateofbirth" name="borrower_dateofbirth" value="" size="10" class="required flatpickr pastdate" /> <div class="required_label required">Required</div> </li> <li> <label for="borrower_pronouns" class="">Pronouns:</label> <input type="text" id="borrower_pronouns" name="borrower_pronouns" value="" class="" /> <div class="required_label ">Required</div> </li> <li class="lradio"> <div class="label"></div> <label for="sex-female" class="radio inline"><span class="patronsex-female">Female:</span></label> <input type="radio" name="borrower_sex" id="sex-female" value="F" /> <label for="sex-male" class="radio inline"><span class="patronsex-male">Male:</span></label> <input type="radio" name="borrower_sex" id="sex-male" value="M" /> <label for="sex-other" class="radio inline"><span class="patronsex-other">Other:</span></label> <input type="radio" name="borrower_sex" id="sex-other" value="O" /> <label for="sex-none" class="radio inline"><span class="patronsex-none">None specified:</span></label> <input type="radio" name="borrower_sex" id="sex-none" value="" checked="checked" /> </li> </ol> </fieldset> </div> <!-- /.col --> </div> <!-- /.row --> <div class="row"> <div class="col"> <fieldset class="rows" id="memberentry_mainaddress"> <legend id="mainaddress_legend">Main address</legend> <ol> <li> <label for="borrower_address" class="required">Address:</label> <input type="text" id="borrower_address" name="borrower_address" value="" class="required" /> <div class="required_label required">Required</div> </li> <li> <label for="borrower_address2" class="required">Address 2:</label> <input type="text" id="borrower_address2" name="borrower_address2" value="" class="required" /> <div class="required_label required">Required</div> </li> <li> <label for="borrower_city" class="required">City:</label> <input type="text" id="borrower_city" name="borrower_city" value="" class="required" /> <div class="required_label required">Required</div> </li> </ol> </fieldset> </div> <!-- /.col --> </div> <!-- /.row --> <div class="row"> <div class="col"> <fieldset class="rows" id="memberentry_contact"> <legend id="contact_legend">Contact information</legend> <ol> <li> <label for="borrower_phone" class="required">Primary phone:</label> <input type="text" id="borrower_phone" name="borrower_phone" value="" class="required" /> <div class="required_label required">Required</div> </li> <li> <label for="borrower_email" class="required">Primary email:</label> <input type="text" id="borrower_email" name="borrower_email" value="" class="required" /> <div class="required_label required">Required</div> </li> </ol> </fieldset> </div> <!-- /.col --> </div> <!-- /.row --> <div class="row"> <div class="col"> <fieldset id="aai_" class="rows patron-attributes"> <legend>Academic Information</legend> <ol class="attributes_table"> <a name="patron-attr-start-DEPT"></a> <li data-category_code=""> <label for="patron-attr-119190">Department: </label> <input type="hidden" name="patron_attribute_code" value="DEPT" /> <select id="patron-attr-119190" name="patron_attribute_value"> <option value=""></option> <option value="btbi" > Biotechnology &amp; Bioinformatics </option> <option value="bb" > Books on Bangabandhu </option> <option value="business" > Business </option> <option value="cse" > Computer Science and Engineering </option> <option value="acc" > Department of Accounting </option> <option value="ecn" > Economics </option> <option value="eee" > Electrical &amp; Electronic Engineering </option> <option value="ete" > Electrical &amp; Telecommunication Engineering </option> <option value="eng" > English </option> <option value="env" > Environmental Science </option> <option value="esm" > Environmental Science and Management </option> <option value="fin" > Finance </option> <option value="gm" > General Management </option> <option value="gsg" > Global Studies and Governance </option> <option value="hrm" > HRM </option> <option value="ib" > International Business </option> <option value="kb" > Korean book </option> <option value="law" > Law </option> <option value="ls" > Life Sciences </option> <option value="mis" > Management Information Systems </option> <option value="mkt" > Marketing </option> <option value="math" > Mathmatics </option> <option value="mc" > Media and Communication </option> <option value="mb" > microbiology </option> <option value="phr" > Pharmacy </option> <option value="ps" > Physical Science </option> <option value="ds" > Program of Development Studies </option> <option value="ph" > Public Health </option> <option value="ssh" > Social Sciences and Humanities </option> <option value="swe" > Software Engineering </option> <option value="te" > Textile Engineering </option> </select> <div class="attr-control"> <a href="#" class="btn btn-sm btn-link clear-attribute"><i class="fa fa-remove" aria-hidden="true"></i> Clear</a> </div> </li> <a name="patron-attr-start-RFID"></a> <li data-category_code=""> <label for="patron-attr-341669">RFID Number (Last 10 digit of IUB ID CARD's Back side numbers): </label> <input type="hidden" name="patron_attribute_code" value="RFID" /> <textarea rows="2" cols="30" id="patron-attr-341669" name="patron_attribute_value"></textarea> <div class="attr-control"> <a href="#" class="btn btn-sm btn-link clear-attribute"><i class="fa fa-remove" aria-hidden="true"></i> Clear</a> </div> </li> <a name="patron-attr-start-SCH"></a> <li data-category_code=""> <label for="patron-attr-186274">School: </label> <input type="hidden" name="patron_attribute_code" value="SCH" /> <select id="patron-attr-186274" name="patron_attribute_value"> <option value=""></option> <option value="" selected="selected"> Law </option> <option value="CITS" > CITS </option> <option value="LIB" > Library </option> <option value="PHR" > Pharmacy </option> <option value="SBE" > School of Business and Entrepreneurship </option> <option value="CSE" > School of engineering, Technology &amp;Sciences </option> <option value="SELS" > School of Environment </option> <option value="SLAS" > School of Liberal Arts and Social Sciences </option> <option value="SLS" > School of Life Sciences(SLS) </option> </select> <div class="attr-control"> <a href="#" class="btn btn-sm btn-link clear-attribute"><i class="fa fa-remove" aria-hidden="true"></i> Clear</a> </div> </li> </ol> </fieldset> </div> <!-- /.col --> </div> <!-- /.row --> <div class="row"> <div class="col"> <fieldset class="rows" id="memberentry_captcha"> <legend>Verification</legend> <ol> <li> <label for="captcha" class="required">Verification:</label> <input type="text" name="captcha" id="captcha" style="text-transform: uppercase;" /> <div class="required_label required">Required</div> <input type="hidden" name="captcha_digest" value="pHk8/3ZZxA/zfaw+Bo2R0g" /> <span class="hint">Please type the following characters into the preceding box: <strong>HWAZT</strong></span> </li> </ol> </fieldset> </div> <!-- /.col --> </div> <!-- /.row --> <div class="row"> <div class="col"> <fieldset class="action"> <input type="hidden" name="action" value="create" /> <input type="submit" class="btn btn-primary" value="Submit" /> </fieldset> </div> <!-- /.col --> </div> <!-- /.row --> </form> </div><!--/div#update-account --> </div> </div> </div> </div> <div class="container-fluid"> <div class="row"> <div class="col"> <div id="report-koha-url"> <div class="row justify-content-between"> <div class="col"> <div id="report_a_problem" class="noprint"> <a class="koha-url" href="/cgi-bin/koha/opac-reportproblem.pl">Report a problem</a> </div> </div> </div> <!-- /.row.justify-content-between --> </div> <!-- /#report-koha-url --> </div> <!-- /.col --> </div> <!-- /.row --> </div> <!-- /.container-fluid --> </div> <!-- / #wrapper in masthead.inc --> <!-- JavaScript includes --> <script src="/opac-tmpl/lib/jquery/jquery-3.6.0.min_23.0506000.js"></script> <script src="/opac-tmpl/lib/jquery/jquery-migrate-3.3.2.min_23.0506000.js"></script> <script src="/opac-tmpl/lib/bootstrap/js/bootstrap.bundle.min_23.0506000.js"></script> <script src="/opac-tmpl/lib/fontfaceobserver.min_23.0506000.js"></script> <script src="/opac-tmpl/lib/enquire.min_23.0506000.js"></script> <script> let logged_in_user_id = ""; </script> <script src="/opac-tmpl/bootstrap/js/global_23.0506000.js"></script> <script> var NO_AMAZON_IMAGE = _("No cover image available"); </script> <script src="/opac-tmpl/bootstrap/js/amazonimages_23.0506000.js"></script> <script> var MSG_CONFIRM_AGAIN = _("Warning: Cannot be undone. Please confirm once again") var MSG_DELETE_SEARCH_HISTORY = _("Are you sure you want to delete your search history?"); var MSG_NO_SUGGESTION_SELECTED = _("No suggestion was selected"); var MSG_SEARCHING = _("Searching %s..."); var MSG_ERROR_SEARCHING_COLLECTION = _("Error searching %s collection"); var MSG_NO_RESULTS_FOUND_IN_COLLECTION = _("No results found in the library's %s collection"); var MSG_RESULTS_FOUND_IN_COLLECTION = _("Found %s results in the library's %s collection"); var MSG_BY = _("by"); var MSG_TYPE = _("Type"); var MSG_NEXT = _("Next"); var MSG_PREVIOUS = _("Previous"); var MSG_CHECKOUTS = _("Checkouts"); var MSG_NO_CHECKOUTS = _("No checkouts"); var MSG_CHECK_OUT = _("Check out"); var MSG_CHECK_OUT_CONFIRM = _("Are you sure you want to check out this item?"); var MSG_CHECKED_OUT_UNTIL = _("Checked out until %s"); var MSG_CHECK_IN = _("Check in"); var MSG_CHECK_IN_CONFIRM = _("Are you sure you want to return this item?"); var MSG_NO_CHECKOUTS = _("No checkouts"); var MSG_DOWNLOAD = _("Download"); var MSG_HOLDS = _("Holds"); var MSG_NO_HOLDS = _("No holds"); var MSG_PLACE_HOLD = _("Place hold"); var MSG_CANCEL_HOLD = _("Cancel"); var MSG_CANCEL_HOLD_CONFIRM = _("Are you sure you want to cancel this hold?"); var MSG_ON_HOLD = _("On hold"); var MSG_TAGS_DISABLED = _("Sorry, tags are not enabled on this system."); var MSG_TAG_ALL_BAD = _("Error! Your tag was entirely markup code. It was NOT added. Please try again with plain text."); var MSG_ILLEGAL_PARAMETER = _("Error! Illegal parameter"); var MSG_TAG_SCRUBBED = _("Note: your tag contained markup code that was removed. The tag was added as "); var MSG_ADD_TAG_FAILED = _("Error! Adding tags failed at"); var MSG_ADD_TAG_FAILED_NOTE = _("Note: you can only tag an item with a given term once. Check 'My Tags' to see your current tags."); var MSG_DELETE_TAG_FAILED = _("Error! You cannot delete the tag"); var MSG_DELETE_TAG_FAILED_NOTE = _("Note: you can only delete your own tags.") var MSG_LOGIN_REQUIRED = _("You must be logged in to add tags."); var MSG_TAGS_ADDED = _("Tags added: "); var MSG_TAGS_DELETED = _("Tags added: "); var MSG_TAGS_ERRORS = _("Errors: "); var MSG_MULTI_ADD_TAG_FAILED = _("Unable to add one or more tags."); var MSG_NO_TAG_SPECIFIED = _("No tag was specified."); $(window).load(function() { verify_images(); }); $(".print-large").on("click",function(){ window.print(); return false; }); $(".addtoshelf").on("click",function(e){ e.preventDefault(); Dopop( this.href ); }); $("body").on("click", ".addtocart", function(e){ e.preventDefault(); var biblionumber = $(this).data("biblionumber"); addRecord( biblionumber ); }); $("body").on("click", ".cartRemove", function(e){ e.preventDefault(); var biblionumber = $(this).data("biblionumber"); delSingleRecord( biblionumber ); }); $(".clearsh").on("click", function(){ return confirmDelete(MSG_DELETE_SEARCH_HISTORY); }); </script> <script src="/opac-tmpl/bootstrap/js/basket_23.0506000.js"></script> <script src="/opac-tmpl/bootstrap/js/tags_23.0506000.js"></script> <script src="/opac-tmpl/bootstrap/js/localcovers_23.0506000.js"></script> <script> var NO_LOCAL_JACKET = _("No cover image available"); </script> <script src="/opac-tmpl/lib/js-cookie/js.cookie-3.0.1.min_23.0506000.js"></script> <script> $(document).ready(function() { if($('#searchsubmit').length) { $(document).on("click", '#searchsubmit', function(e) { Cookies.remove("form_serialized", { path: '/'}); Cookies.remove("form_serialized_limits", { path: '/'}); Cookies.remove("search_path_code", { path: '/'}); }); } }); </script> <!-- validator-strings.inc --> <script> $(document).ready(function(){ jQuery.extend(jQuery.validator.messages, { required: _("This field is required."), remote: _("Please fix this field."), email: _("Please enter a valid email address."), url: _("Please enter a valid URL."), date: _("Please enter a valid date."), dateISO: _("Please enter a valid date (ISO)."), number: _("Please enter a valid number."), digits: _("Please enter only digits."), equalTo: _("Please enter the same value again."), maxlength: $.validator.format(_("Please enter no more than {0} characters.")), minlength: $.validator.format(_("Please enter at least {0} characters.")), rangelength: $.validator.format(_("Please enter a value between {0} and {1} characters long.")), range: $.validator.format(_("Please enter a value between {0} and {1}.")), max: $.validator.format(_("Please enter a value less than or equal to {0}.")), min: $.validator.format(_("Please enter a value greater than or equal to {0}.")), phone: $.validator.format(_("Please enter a valid phone number.")) }); }); </script> <!-- / validator-strings.inc --> <script src="/opac-tmpl/lib/jquery/plugins/jquery.validate.min_23.0506000.js"></script> <script> var flatpickr_weekdays = { shorthand: [ "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], longhand: [ "Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday" ] }; var flatpickr_months = { shorthand: [ "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], longhand: [ "January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"] }; var debug = ""; var dateformat_pref = "metric"; var sentmsg = 0; if (debug > 1) {alert("dateformat: " + dateformat_pref + "\ndebug is on (level " + debug + ")");} var calendarFirstDayOfWeek = '0'; var flatpickr_timeformat_string = "G:i K"; var flatpickr_timeformat = false; var flatpickr_dateformat_string = ""; switch ( dateformat_pref ){ case "us": flatpickr_dateformat_string = "m/d/Y"; break; case "metric": flatpickr_dateformat_string = "d/m/Y"; break; case "dmydot": flatpickr_dateformat_string = "d.m.Y"; break; default: flatpickr_dateformat_string = "Y-m-d"; } function get_dateformat_str(dateformat) { var dateformat_str; if (dateformat == 'us') { dateformat_str = 'mm/dd/yyyy'; } else if (dateformat == 'metric') { dateformat_str = 'dd/mm/yyyy'; } else if (dateformat == 'iso') { dateformat_str = 'yyyy-mm-dd'; } else if (dateformat == 'dmydot') { dateformat_str = 'dd.mm.yyyy'; } return dateformat_str; } </script> <script src="/opac-tmpl/lib/flatpickr/flatpickr.min_23.0506000.js"></script> <script> flatpickr.l10ns.default.weekdays = flatpickr_weekdays; flatpickr.l10ns.default.months = flatpickr_months; flatpickr.setDefaults({ dateFormat: "Y-m-d", altInput: true, allowInput: true, altFormat: flatpickr_dateformat_string, altInputClass: 'flatpickr-input', nextArrow: '<i class="fa fa-fw fa-arrow-right" aria-hidden="true"></i>', prevArrow: '<i class="fa fa-fw fa-arrow-left" aria-hidden="true"></i>', time_24hr: flatpickr_timeformat, locale: { "firstDayOfWeek": calendarFirstDayOfWeek }, onReady: function( selectedDates, dateStr, instance ){ /* When flatpickr instance is created, automatically append a "clear date" link */ if( $(instance.input).hasClass("futuredate") ){ instance.set("minDate", new Date().fp_incr(1)); } if( $(instance.input).hasClass("pastdate") ){ instance.set("maxDate", new Date().fp_incr(-1)); } $(instance.input).find('~input.flatpickr:first') /* Add a wrapper element so that we can prevent the clear button from wrapping */ .wrap("<span class='flatpickr_wrapper'></span>") .after( $("<a/>") .attr("href","#") .addClass("clear_date") .on("click", function(e){ e.preventDefault(); instance.clear(); }) .addClass("fa fa-fw fa-remove") .attr("aria-hidden", true) .attr("aria-label", _("Clear date") ) ).keydown(function(e) { var key = (event.keyCode ? event.keyCode : event.which); if ( key == 40 ) { instance.set('allowInput',false); } }); }, onClose: function( selectedDates, dateText, instance) { validate_date( dateText, instance ); var thisInput = instance.input; if ( thisInput.hasAttribute('data-start_for') ) { var endPicker = document.querySelector("#"+thisInput.dataset.start_for)._flatpickr; endPicker.set('minDate', selectedDates[0]); } }, }); var MSG_PLEASE_ENTER_A_VALID_DATE = ( _("Please enter a valid date (should match %s).") ); function is_valid_date(date) { // An empty string is considered as a valid date for convenient reasons. if (date === '') return 1; var dateformat = flatpickr_dateformat_string; switch ( dateformat_pref ){ case "us": flatpickr_dateformat_string = "m/d/Y"; break; case "metric": flatpickr_dateformat_string = "d/m/Y"; break; case "dmydot": flatpickr_dateformat_string = "d.m.Y"; break; default: flatpickr_dateformat_string = "Y-m-d"; } try { flatpickr.parseDate(date, dateformat); } catch (e) { return 0; } return 1; } function validate_date(dateText, inst) { if (!is_valid_date(dateText)) { var dateformat_str = get_dateformat_str( dateformat_pref ); alert(MSG_PLEASE_ENTER_A_VALID_DATE.format(dateformat_str)); inst.clear(); } } $(document).ready(function(){ $(".flatpickr").each(function(){ let options = {}; let refresh_max_date = 0; let disable_buttons = []; if( $(this).data("flatpickr-futureinclusive") === true || $(this).data("flatpickr-futuredate") === true ) { let original_date = $(this).val(); if ( original_date ) { original_date = Date_from_syspref( original_date ).getTime(); let tomorrow = new Date().fp_incr(1).getTime(); options['enable'] = [function(date){ date = date.getTime(); if ( date == original_date ) return true; if ( date >= tomorrow) return true; }]; } else { if( $(this).data("flatpickr-futureinclusive") === true ) { options['minDate'] = new Date().setHours(00, 00, 00, 00); } else { options['minDate'] = new Date().fp_incr(1); } } disable_buttons.push(0); /* Yesterday */ if ( $(this).data("flatpickr-futuredate") === true ) { disable_buttons.push(1); /* Today */ } } if( $(this).data("flatpickr-pastinclusive") === true ) { options['maxDate'] = new Date(); /* Not today or hh:mm will be 00:00 */ refresh_max_date = 1; disable_buttons.push(2); /* Tomorrow */ } if( $(this).data("flatpickr-pastdate") === true ) { options['maxDate'] = new Date().fp_incr(-1).setHours(23, 59, 00, 00); disable_buttons.push(1); /* Today */ disable_buttons.push(2); /* Tomorrow */ } if ( $(this).data('flatpickr-enable-time') === true ) { options['enableTime'] = true; options['dateFormat'] = flatpickr_dateformat_string + " " + flatpickr_timeformat_string; } let fp = $(this).flatpickr(options); $(disable_buttons).each(function(index, value){ $(fp.calendarContainer).find(".shortcut-buttons-flatpickr-button[data-index='"+value+"']").prop("disabled", "disabled"); }); if ( refresh_max_date ) { /* Refresh the maxDate every 30 secondes to make sure the user will not be stuck with the minute passed. Adding 1 minute to not introduce a gap. Example: last update at 40s, a new minute passed at 00. Between 00 and 10s the user won't be able click 'Today'. */ setInterval(() => { let now = new Date(); fp.set("maxDate", now.setMinutes(now.getMinutes() + 1)); }, 30000); } }); }); </script> <script> $(document).ready(function() { $("#memberentry-form").validate({ rules: { borrower_email: { email: true }, borrower_repeat_email: { equalTo: '#borrower_email' }, borrower_emailpro: { email: true }, borrower_B_email: { email: true }, borrower_password: { password_strong: true, password_no_spaces: true }, borrower_password2: { password_match: true }, captcha: { required: true, } }, submitHandler: function(form) { if (form.beenSubmitted) { return false; } else { form.beenSubmitted = true; form.submit(); } } }); if ( $("input.required").length ) { $("input.required").rules("add", { required: true }); } if ( $("select.required").length ) { $("select.required").rules("add", { required: true }); } if ( $("textarea.required").length ) { $("textarea.required").rules("add", { required: true }); } $(".patron-attributes").on( 'click', '.clear-attribute', function(e) { e.preventDefault(); $(this).closest("li") .find('textarea').val("").end() .find('select').val("").end(); } ); $(".patron-attributes").on( 'click', '.clone-attribute', function() { let li = $(this).closest("li"); var clone = li.clone().insertAfter( li ); var newId = 50 + parseInt(Math.random() * 100000); $('input[type!="hidden"],select,textarea', clone).attr('id', 'patron-attr-' + newId).attr('value', ''); $("label", clone).attr('for', 'patron-attr-' + newId).attr('value', ''); return false; } ); }); var PWD_STRONG_MSG = _("Password must contain at least %s characters, including UPPERCASE, lowercase and numbers"); var PWD_WEAK_MSG = _("Password must contain at least %s characters"); var default_password_length = 6; var default_strong_password = 0; $(document).ready(function() { var setPwdMessage = function() { var require_strong = $('select#borrower_categorycode option:selected').length ? $('select#borrower_categorycode option:selected').data('pwdStrong') : default_strong_password; var min_length = $('select#borrower_categorycode option:selected').length ? $('select#borrower_categorycode option:selected').data('pwdLength') : default_password_length; $('#password_alert').html((require_strong?PWD_STRONG_MSG:PWD_WEAK_MSG).format(min_length)); }; setPwdMessage(); $('select#borrower_categorycode').change(setPwdMessage); }); </script> <script> var pwd_title = ""; var pattern_title = ""; var new_password_node_name = "borrower_password"; var category_selector = "#borrower_categorycode"; var STRONG_MSG = _("Password must contain at least %s characters, including UPPERCASE, lowercase and numbers"); var WEAK_MSG = _("Password must contain at least %s characters"); if(category_selector && $('select'+category_selector).length) { jQuery.validator.addMethod("password_strong", function(value, element){ var require_strong = $('select'+category_selector+' option:selected').data('pwdStrong'); var min_lenght = $('select'+category_selector+' option:selected').data('pwdLength'); var regex_text = require_strong?"(?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{"+min_lenght+",}":".{"+min_lenght+",}"; var pattern_regex = new RegExp(regex_text); return this.optional(element) || pattern_regex.test(value); }, function(unused, element) { var require_strong = $('select'+category_selector+' option:selected').data('pwdStrong'); var min_lenght = $('select'+category_selector+' option:selected').data('pwdLength'); return (require_strong?STRONG_MSG:WEAK_MSG).format(min_lenght) }); } else { pwd_title = WEAK_MSG.format(6); pattern_regex = /.{6,}/; jQuery.validator.addMethod("password_strong", function(value, element){ return this.optional(element) || value == '****' || pattern_regex.test(value); }, pwd_title); } jQuery.validator.addMethod("password_no_spaces", function(value, element){ return ( this.optional(element) || !value.match(/^\s/) && !value.match(/\s$/) ); }, _("Password contains leading and/or trailing spaces")); jQuery.validator.addMethod("password_match", function(value, element){ var new_password_node = $("input[name='" + new_password_node_name + "']:first"); return value == $(new_password_node).val(); }, _("Please enter the same password as above")); </script> </body> </html>

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