|
@ -18,7 +18,7 @@ var link = document.createElement('a'); |
|
|
link.href = catalog_url; |
|
|
link.href = catalog_url; |
|
|
|
|
|
|
|
|
if (pages) { |
|
|
if (pages) { |
|
|
link.textContent = 'Catalog'; |
|
|
link.textContent = _('Catalog'); |
|
|
link.style.color = '#F10000'; |
|
|
link.style.color = '#F10000'; |
|
|
link.style.padding = '4px'; |
|
|
link.style.padding = '4px'; |
|
|
link.style.paddingLeft = '9px'; |
|
|
link.style.paddingLeft = '9px'; |
|
@ -29,7 +29,7 @@ if (pages) { |
|
|
pages.appendChild(link) |
|
|
pages.appendChild(link) |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
link.textContent = '[Catalog]'; |
|
|
link.textContent = '['+_('Catalog').']'; |
|
|
link.style.paddingLeft = '10px'; |
|
|
link.style.paddingLeft = '10px'; |
|
|
link.style.textDecoration = "underline"; |
|
|
link.style.textDecoration = "underline"; |
|
|
document.body.insertBefore(link, bottom); |
|
|
document.body.insertBefore(link, bottom); |
|
@ -37,7 +37,7 @@ else { |
|
|
|
|
|
|
|
|
if (subtitle) { |
|
|
if (subtitle) { |
|
|
var link2 = document.createElement('a'); |
|
|
var link2 = document.createElement('a'); |
|
|
link2.textContent = 'Catalog'; |
|
|
link2.textContent = _('Catalog'); |
|
|
link2.href = catalog_url; |
|
|
link2.href = catalog_url; |
|
|
|
|
|
|
|
|
var br = document.createElement('br'); |
|
|
var br = document.createElement('br'); |
|
@ -46,4 +46,5 @@ if (subtitle) { |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
$(document).ready(catalog); |
|
|
$(document).ready(catalog); |
|
|