Skip to content

Commit 184e4dc

Browse files
committed
Merge branch 'release-easyopac'
2 parents 5bec010 + a9bcbf6 commit 184e4dc

153 files changed

Lines changed: 3765 additions & 2928 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.platform.app.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,9 @@ hooks:
111111
set -e
112112
cd public
113113
drush -y updatedb
114+
drush secure-permissions-rebuild
114115
drush css-generate
116+
drush pm-enable ding_config_import
115117
drush cc all
116118
117119
# The configuration of scheduled execution.

ding2.info

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description = Install a Ding based library site.
44
core = 7.x
55
distribution_name = "Ding 2"
66
exclusive = TRUE
7-
version = 7.x-6.2.1+easy
7+
version = 7.x-6.3.2+easy
88

99
; Core modules.
1010
dependencies[] = block
@@ -22,6 +22,7 @@ dependencies[] = field_ui
2222
; Helper modules.
2323
dependencies[] = module_filter
2424
dependencies[] = menu_position
25+
dependencies[] = i18n_string
2526
dependencies[] = i18n_variable
2627
dependencies[] = eu_cookie_compliance
2728
dependencies[] = view_unpublished

ding2.install

Lines changed: 22 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1002,24 +1002,7 @@ function ding2_update_7086() {
10021002
* Remove Webtrends specific info from cookie page.
10031003
*/
10041004
function ding2_update_7087() {
1005-
// If we can find the old cookie information page make a backup, so we don't
1006-
// lose any information added by administrative users.
1007-
if ($nid = ding2_get_cookie_node_nid()) {
1008-
$node = node_load($nid);
1009-
$node->title .= ' (BACKUP)';
1010-
node_save($node);
1011-
// Delete "cookies" alias.
1012-
$path = path_load([
1013-
'source' => 'node/' . $node->nid,
1014-
'alias' => 'cookies',
1015-
]);
1016-
if ($path) {
1017-
path_delete($path['pid']);
1018-
}
1019-
}
1020-
// Set a new generic cookie information page. This time without any specific
1021-
// information about which analytics tool we use.
1022-
ding2_set_cookie_page();
1005+
ding2_update_cookie_page();
10231006
}
10241007

10251008
/**
@@ -1079,3 +1062,24 @@ function ding2_update_7092() {
10791062
function ding2_update_7093() {
10801063
ding2_translation_update();
10811064
}
1065+
1066+
/**
1067+
* Update default text on cookie page. A backup of existing will be created.
1068+
*/
1069+
function ding2_update_7094() {
1070+
ding2_update_cookie_page();
1071+
}
1072+
1073+
/**
1074+
* Update translations.
1075+
*/
1076+
function ding2_update_7095() {
1077+
ding2_translation_update();
1078+
}
1079+
1080+
/**
1081+
* Update translations.
1082+
*/
1083+
function ding2_update_7096() {
1084+
ding2_translation_update();
1085+
}

ding2.profile

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,7 @@ function ding2_set_cookie_page() {
748748
<p><strong>Funktionelle cookies</strong></p>
749749
<p>Visse stedet bruger vi cookies til at forbedre funktionalitet som f.eks. at huske dine valg, så du ikke skal trykke på samme knap om og om igen. Når du afviser cookies vil disse ikke blive indstillet, og det kan dermed betyde foringelse af brugeroplevelsen.</p>
750750
<p><strong>Statistik cookies</strong></p>
751-
<p>Vi bruger cookies til at føre statistik over trafikken på hjemmesiden. Al indsamlet statistik gemmes anonymiseret. Vi bruger dette statistik til at undersøge brugsadfærd med det formål at forbedre kvaliteten af indhold og brugeroplevelsen på hjemmesiden. Afviser du cookies vil denne tracking blive blokeret.</p>';
751+
<p>Vi bruger cookies til at forbedre den statistik, vi fører over trafikken på hjemmesiden. Al indsamlet statistik gemmes anonymiseret. Vi bruger denne statistik til at undersøge brugsadfærd med det formål at forbedre kvaliteten af indhold og brugeroplevelsen på hjemmesiden.</p>';
752752

753753
$page_lead = 'Vi vil gerne tilbyde vores brugere en overskuelig og brugervenlig hjemmeside. For at sikre os, at indholdet på siden er relevant og til at finde rundt i, benytter vi os af cookies. Cookies giver os vigtige informationer om, hvordan vores side bliver brugt, hvilke sider der bliver set mest, hvor længe vores brugere bliver på siderne osv.';
754754

@@ -788,6 +788,29 @@ function ding2_set_cookie_page() {
788788
// administer EU Cookie Compliance popup: administrators, local administrator
789789
}
790790

791+
/**
792+
* Updates cookie page and make backup of existing.
793+
*/
794+
function ding2_update_cookie_page() {
795+
// If we can find the old cookie information page make a backup, so we don't
796+
// lose any information added by administrative users.
797+
if ($nid = ding2_get_cookie_node_nid()) {
798+
$node = node_load($nid);
799+
$node->title .= ' (BACKUP)';
800+
node_save($node);
801+
// Delete "cookies" alias.
802+
$path = path_load([
803+
'source' => 'node/' . $node->nid,
804+
'alias' => 'cookies',
805+
]);
806+
if ($path) {
807+
path_delete($path['pid']);
808+
}
809+
}
810+
// Set the new cookie page.
811+
ding2_set_cookie_page();
812+
}
813+
791814
/**
792815
* Get the nid of the current node used as cookie page.
793816
*

easyopac.make

Lines changed: 13 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,14 @@ projects[bibdk_subject_hierarchy][type] = "module"
99
projects[bibdk_subject_hierarchy][subdir] = ""
1010
projects[bibdk_subject_hierarchy][download][type] = "git"
1111
projects[bibdk_subject_hierarchy][download][url] = "git@github.com:easySuite/bibdk_subject_hierarchy.git"
12-
projects[bibdk_subject_hierarchy][download][tag] = "7.x-5.0.2"
12+
projects[bibdk_subject_hierarchy][download][tag] = "7.x-6.2.1"
1313
;projects[bibdk_subject_hierarchy][download][branch] = "development"
1414

15-
projects[bibliofil_lists][type] = "module"
16-
projects[bibliofil_lists][subdir] = ""
17-
projects[bibliofil_lists][download][type] = "git"
18-
projects[bibliofil_lists][download][url] = "git@github.com:easySuite/bibliofil_lists.git"
19-
projects[bibliofil_lists][download][tag] = "7.x-6.2.1"
20-
;projects[bibliofil_lists][download][branch] = "development"
21-
2215
projects[ding_billetexpressen_import][type] = "module"
2316
projects[ding_billetexpressen_import][subdir] = ""
2417
projects[ding_billetexpressen_import][download][type] = "git"
2518
projects[ding_billetexpressen_import][download][url] = "git@github.com:easySuite/ding_billetexpressen_import.git"
26-
projects[ding_billetexpressen_import][download][tag] = "7.x-5.0.0"
19+
projects[ding_billetexpressen_import][download][tag] = "7.x-6.2.1"
2720
;projects[ding_billetexpressen_import][download][branch] = "development"
2821

2922
projects[ding_billettendk_import][type] = "module"
@@ -72,7 +65,7 @@ projects[ding_collection_reservation][type] = "module"
7265
projects[ding_collection_reservation][subdir] = ""
7366
projects[ding_collection_reservation][download][type] = "git"
7467
projects[ding_collection_reservation][download][url] = "git@github.com:easySuite/ding_collection_reservation.git"
75-
projects[ding_collection_reservation][download][tag] = "7.x-6.2.1"
68+
projects[ding_collection_reservation][download][tag] = "7.x-6.2.2"
7669
;projects[ding_collection_reservation][download][branch] = "development"
7770

7871
projects[ding_context_search][type] = "module"
@@ -142,7 +135,7 @@ projects[ding_item_list][type] = "module"
142135
projects[ding_item_list][subdir] = ""
143136
projects[ding_item_list][download][type] = "git"
144137
projects[ding_item_list][download][url] = "git@github.com:easySuite/ding_item_list.git"
145-
projects[ding_item_list][download][tag] = "7.x-6.0.1"
138+
projects[ding_item_list][download][tag] = "7.x-6.3.2"
146139
;projects[ding_item_list][download][branch] = "development"
147140

148141
projects[ding_kultunaut_import][type] = "module"
@@ -156,7 +149,7 @@ projects[ding_language][type] = "module"
156149
projects[ding_language][subdir] = ""
157150
projects[ding_language][download][type] = "git"
158151
projects[ding_language][download][url] = "git@github.com:easySuite/ding_language.git"
159-
projects[ding_language][download][tag] = "7.x-6.1.1"
152+
projects[ding_language][download][tag] = "7.x-6.2.1"
160153
;projects[ding_language][download][branch] = "development"
161154

162155
projects[ding_library_opening_hours][type] = "module"
@@ -261,7 +254,7 @@ projects[ding_video][type] = "module"
261254
projects[ding_video][subdir] = ""
262255
projects[ding_video][download][type] = "git"
263256
projects[ding_video][download][url] = "git@github.com:easySuite/ding_video.git"
264-
projects[ding_video][download][tag] = "7.x-6.2.1"
257+
projects[ding_video][download][tag] = "7.x-6.2.2"
265258
;projects[ding_video][download][branch] = "development"
266259

267260
projects[easyddb_facebookshare][type] = "module"
@@ -303,7 +296,7 @@ projects[easyddb_frontend_layout][type] = "module"
303296
projects[easyddb_frontend_layout][subdir] = ""
304297
projects[easyddb_frontend_layout][download][type] = "git"
305298
projects[easyddb_frontend_layout][download][url] = "git@github.com:easySuite/easyddb_frontend_layout.git"
306-
projects[easyddb_frontend_layout][download][tag] = "7.x-6.1.1"
299+
projects[easyddb_frontend_layout][download][tag] = "7.x-6.2.1"
307300
;projects[easyddb_frontend_layout][download][branch] = "development"
308301

309302
projects[easyddb_legend][type] = "module"
@@ -317,7 +310,7 @@ projects[easyddb_search_holdings][type] = "module"
317310
projects[easyddb_search_holdings][subdir] = ""
318311
projects[easyddb_search_holdings][download][type] = "git"
319312
projects[easyddb_search_holdings][download][url] = "git@github.com:easySuite/easyddb_search_holdings.git"
320-
projects[easyddb_search_holdings][download][tag] = "7.x-6.2.1"
313+
projects[easyddb_search_holdings][download][tag] = "7.x-6.2.2"
321314
;projects[easyddb_search_holdings][download][branch] = "development"
322315

323316
projects[easyddb_search_radios][type] = "module"
@@ -345,7 +338,7 @@ projects[easyddb_wayfinder][type] = "module"
345338
projects[easyddb_wayfinder][subdir] = ""
346339
projects[easyddb_wayfinder][download][type] = "git"
347340
projects[easyddb_wayfinder][download][url] = "git@github.com:easySuite/easyddb_wayfinder.git"
348-
projects[easyddb_wayfinder][download][tag] = "7.x-6.2.1"
341+
projects[easyddb_wayfinder][download][tag] = "7.x-6.2.2"
349342
;projects[easyddb_wayfinder][download][branch] = "development"
350343

351344
projects[easyddb_zerohit_redirect][type] = "module"
@@ -366,7 +359,7 @@ projects[easyopac_external_videos][type] = "module"
366359
projects[easyopac_external_videos][subdir] = ""
367360
projects[easyopac_external_videos][download][type] = "git"
368361
projects[easyopac_external_videos][download][url] = "git@github.com:easySuite/easyopac_external_videos.git"
369-
projects[easyopac_external_videos][download][tag] = "7.x-6.1.0"
362+
projects[easyopac_external_videos][download][tag] = "7.x-6.2.1"
370363
;projects[easyopac_external_videos][download][branch] = "development"
371364

372365
projects[easyopac_abstracts_override][type] = "module"
@@ -380,7 +373,7 @@ projects[easyddb_event_status][type] = "module"
380373
projects[easyddb_event_status][subdir] = ""
381374
projects[easyddb_event_status][download][type] = "git"
382375
projects[easyddb_event_status][download][url] = "git@github.com:easySuite/easyddb_event_status.git"
383-
projects[easyddb_event_status][download][tag] = "7.x-6.1.0"
376+
projects[easyddb_event_status][download][tag] = "7.x-6.2.1"
384377
;projects[easyddb_event_status][download][branch] = "development"
385378

386379
projects[easyopac_facets][type] = "module"
@@ -415,7 +408,7 @@ projects[emailkanon][type] = "module"
415408
projects[emailkanon][subdir] = ""
416409
projects[emailkanon][download][type] = "git"
417410
projects[emailkanon][download][url] = "git@github.com:easySuite/emailkanon.git"
418-
projects[emailkanon][download][branch] = "master"
411+
projects[emailkanon][download][tag] = "7.x-6.2.1"
419412
;projects[emailkanon][download][branch] = "development"
420413

421414
projects[kultunaut_events][type] = "module"
@@ -478,7 +471,7 @@ projects[ting_recommender][type] = "module"
478471
projects[ting_recommender][subdir] = ""
479472
projects[ting_recommender][download][type] = "git"
480473
projects[ting_recommender][download][url] = "git@github.com:easySuite/ting_recommender.git"
481-
projects[ting_recommender][download][tag] = "7.x-6.1.0"
474+
projects[ting_recommender][download][tag] = "7.x-6.2.1"
482475
;projects[ting_recommender][download][branch] = "development"
483476

484477
projects[ting_reference_advanced][type] = "module"
@@ -555,32 +548,3 @@ projects[easyddb_search_expand][download][type] = "git"
555548
projects[easyddb_search_expand][download][url] = "git@github.com:easySuite/easyddb_search_expand.git"
556549
projects[easyddb_search_expand][download][tag] = "7.x-4.6.1"
557550
;projects[easyddb_search_expand][download][branch] = "development"
558-
559-
; Bibliofil
560-
projects[bibliofil-subtheme][type] = "theme"
561-
projects[bibliofil-subtheme][subdir] = ""
562-
projects[bibliofil-subtheme][download][type] = "git"
563-
projects[bibliofil-subtheme][download][url] = "git@github.com:easySuite/bibliofil-subtheme.git"
564-
projects[bibliofil-subtheme][download][tag] = "7.x-6.2.1"
565-
;projects[bibliofil-subtheme][download][branch] = "development"
566-
567-
projects[lms][type] = "module"
568-
projects[lms][subdir] = ""
569-
projects[lms][download][type] = "git"
570-
projects[lms][download][url] = "git@github.com:easySuite/lms.git"
571-
projects[lms][download][tag] = "7.x-6.1.0"
572-
;projects[lms][download][branch] = "development"
573-
574-
projects[easyopac_nodereferences][type] = "module"
575-
projects[easyopac_nodereferences][subdir] = ""
576-
projects[easyopac_nodereferences][download][type] = "git"
577-
projects[easyopac_nodereferences][download][url] = "git@github.com:easySuite/easyopac_nodereferences.git"
578-
projects[easyopac_nodereferences][download][tag] = "7.x-6.0.2"
579-
;projects[easyopac_nodereferences][download][branch] = "development"
580-
581-
projects[easyopac_redirect][type] = "module"
582-
projects[easyopac_redirect][subdir] = ""
583-
projects[easyopac_redirect][download][type] = "git"
584-
projects[easyopac_redirect][download][url] = "git@github.com:easySuite/easyopac_redirect.git"
585-
projects[easyopac_redirect][download][tag] = "7.x-6.1.1"
586-
;projects[easyopac_redirect][download][branch] = "development"

modules/ding_adhl_frontend/templates/ding_adhl_frontend_recommendation_list_entry.tpl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
*/
1919
?>
2020
<li class="<?php print $zebra; ?>">
21-
<a href="<?php print $link['uri']; ?>" title="<?php print $link['title']; ?>">
21+
<a href="<?php print $link['uri']; ?>" title="<?php print $link['title']; ?>" aria-label="<?php print $link['title']; ?>">
2222
<span class="title"><?php print $item->title; ?></span>
2323
<?php if ($creators) : ?>
2424
<span class="creators"><?php print $creators; ?></span>

0 commit comments

Comments
 (0)