This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- rozšíření schématu solru o specifické pole - | |
pro funkčnost není nutné, ale pokud se nepoužije, je třeba odpovídajícím | |
způsobem upravit šablonu | |
--> | |
<!-- Zakony pro lidi --> | |
<field name="law_doctype" type="string" indexed="true" stored="true" multiValued="true"/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* predvyplneni formulare v editaci dosleho periodika */ | |
/* set item type for newspaper */ | |
$("#ser_serials-edit #serials_edit input[name='subscriptionid'][value='4'], #ser_serials-edit #serials_edit input[name='subscriptionid'][value='5'], #ser_serials-edit #serials_edit input[name='subscriptionid'][value='6'], #ser_serials-edit #serials_edit input[name='subscriptionid'][value='7'], #ser_serials-edit #serials_edit input[name='subscriptionid'][value='8'], #ser_serials-edit #serials_edit input[name='subscriptionid'][value='9']").parent().find("[id^='subfield'][id$='y'] select").first().val("NO"); | |
/* set human readable date to text date field for newspaper */ | |
today = new Date(); | |
todayHuman = today.getDate() + '. ' + (today.getMonth() + 1) + '. ' + today.getFullYear(); | |
$("#ser_serials-edit #serials_edit input[name='subscriptionid'][value='4'], #ser_serials-edit #serials_edit input[name='subscriptionid'][value='5'], #ser_serials-edit #serials_edit input[name='subscriptionid'][value='6'], #ser_serials- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // templates/RecordTab/holdingsils.phtml ?> | |
<? if (count($holdings)): ?> | |
<? if (($this->ils()->getHoldsMode() == 'driver' && !empty($holdings)) || $this->ils()->getTitleHoldsMode() == 'driver'): ?> | |
<? if ($account->loginEnabled() && $offlineMode != 'ils-offline'): ?> | |
<? if (!$user): ?> | |
<div class="alert alert-info"> | |
<?=$this->translate("hold_profile_html2", array('%%url%%' => $this->currentPath() . '?catalogLogin=true'))?> | |
</div> | |
<? elseif (!$user->cat_username): ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getSerie() | |
{ | |
$ret = []; | |
$fields = $this->getMarcRecord()->getFields('787'); | |
foreach ($fields as $field) { | |
if (strpos($field->getSubfield('i')->getData(), 'Z cyklu') !== false) { | |
$subfield_g = $field->getSubfield('g'); | |
$subfield_t = $field->getSubfield('t'); | |
$ret[] = [ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8" ?> | |
<config xmlns="http://github.com/wimmuskee/shell-harvester/"> | |
<!-- default record save location --> | |
<recordpath>/root/shell-oaiharvester/harvested</recordpath> | |
<!-- temporary files are stored here --> | |
<temppath>/tmp/shell-oaiharvester</temppath> | |
<!-- location of log file --> | |
<logfile>/root/shell-oaiharvester/oaiharvester-log.csv</logfile> | |
<!-- type of logging: | |
"combined" putting all instance logs in one file (default), or |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#cover_obalkyknih, #catalogue_detail_biblio { | |
float:left; | |
} | |
#cover_obalkyknih { | |
margin-right: 10px; | |
margin-top: 5px; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Get and normalize EAN code (from ISBN) | |
* | |
* @param Record record | |
* @return String EAN code | |
*/ | |
private String getEAN(Record record) { | |
DataField isbn = (DataField) record.getVariableField("020"); | |
if(isbn != null) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function getSerie() | |
{ | |
$ret = []; | |
$fields = $this->getMarcRecord()->getFields('787'); | |
foreach ($fields as $field) { | |
if ($subfield_i = $field->getSubfield('i')) { | |
if (strpos($subfield_i->getData(), 'Z cyklu') !== false) { | |
$subfield_g = $field->getSubfield('g'); | |
$subfield_t = $field->getSubfield('t'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
# Copyright 2010 BibLibre SARL | |
# | |
# This file is part of Koha. | |
# | |
# Koha is free software; you can redistribute it and/or modify it | |
# under the terms of the GNU General Public License as published by | |
# the Free Software Foundation; either version 3 of the License, or | |
# (at your option) any later version. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/perl | |
use Modern::Perl; | |
use DateTime; | |
use Getopt::Long; | |
use Koha::Database; | |
use Koha::DateUtils; |