Bugzilla – Attachment 15176 Details for
Bug 9555
Template files contain single quote strings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9555: Template files contain single quote strings
Bug-9555-Template-files-contain-single-quote-strin.patch (text/plain), 5.37 KB, created by
Kyle M Hall (khall)
on 2013-02-08 16:55:08 UTC
(
hide
)
Description:
Bug 9555: Template files contain single quote strings
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2013-02-08 16:55:08 UTC
Size:
5.37 KB
patch
obsolete
>From 6d1eb4a8a20598c5d12c3b0b978db79b2ec7a51c Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@biblibre.com> >Date: Wed, 6 Feb 2013 16:34:34 +0100 >Subject: [PATCH] Bug 9555: Template files contain single quote strings > >Test plan: >- launch the test xt/single_quotes.t, there are 3 occurrences >- apply this patch >- launch the test. It will pass with success >- Check that there is no regression on the 2 modified intranet files and > the calendar still works at the OPAC. > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > .../prog/en/modules/acqui/orderreceive.tt | 2 +- > .../prog/en/modules/serials/serials-search.tt | 2 +- > koha-tmpl/opac-tmpl/prog/en/includes/calendar.inc | 26 ++++++++++---------- > 3 files changed, 15 insertions(+), 15 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >index 7ae9a01..910844d 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/orderreceive.tt >@@ -46,7 +46,7 @@ function IEEventHandler_KeyDown() { > } > > if(check_additem('[% UniqueItemFields %]') == false){ >- alert(_('Duplicate values detected. Please correct the errors and resubmit.') ); >+ alert(_("Duplicate values detected. Please correct the errors and resubmit.") ); > return false; > }; > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >index cc25c68..6435f90 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt >@@ -237,7 +237,7 @@ > </td> > <td> > [% UNLESS subscription.cannotedit %] >- <a href="/cgi-bin/koha/serials/serials-search.pl?subscriptionid=[% subscription.subscriptionid %]&op=reopen&routing=[% subscription.routing %]&searched=1&title_filter=[% title_filter %]&ISSN_filter=[% ISSN_filter %]&EAN_filter=[% EAN_filter %]&published_filter=[% publisher_filter %]&bookseller_filter=[% bookseller_filter %]&branch_filter=[% branch_filter %]" onclick="return confirm(_('Are you sure you want to reopen this subscription?'));">Reopen</a> >+ <a href="/cgi-bin/koha/serials/serials-search.pl?subscriptionid=[% subscription.subscriptionid %]&op=reopen&routing=[% subscription.routing %]&searched=1&title_filter=[% title_filter %]&ISSN_filter=[% ISSN_filter %]&EAN_filter=[% EAN_filter %]&published_filter=[% publisher_filter %]&bookseller_filter=[% bookseller_filter %]&branch_filter=[% branch_filter %]" onclick="return confirm(_("Are you sure you want to reopen this subscription?"));">Reopen</a> > [% ELSE %] > Cannot edit > [% END %] >diff --git a/koha-tmpl/opac-tmpl/prog/en/includes/calendar.inc b/koha-tmpl/opac-tmpl/prog/en/includes/calendar.inc >index 2f30c9c..8a70550 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/includes/calendar.inc >+++ b/koha-tmpl/opac-tmpl/prog/en/includes/calendar.inc >@@ -25,18 +25,18 @@ function Date_from_syspref(dstring) { > jQueryUI we expose the localization strings in the default configuration */ > jQuery(function($){ > $.datepicker.regional[''] = { >- closeText: _('Done'), >- prevText: _('Prev'), >- nextText: _('Next'), >- currentText: _('Today'), >- monthNames: [_('January'),_('February'),_('March'),_('April'),_('May'),_('June'), >- _('July'),_('August'),_('September'),_('October'),_('November'),_('December')], >- monthNamesShort: [_('Jan'), _('Feb'), _('Mar'), _('Apr'), _('May'), _('Jun'), >- _('Jul'), _('Aug'), _('Sep'), _('Oct'), _('Nov'), _('Dec')], >- dayNames: [_('Sunday'), _('Monday'), _('Tuesday'), _('Wednesday'), _('Thursday'), _('Friday'), _('Saturday')], >- dayNamesShort: [_('Sun'), _('Mon'), _('Tue'), _('Wed'), _('Thu'), _('Fri'), _('Sat')], >- dayNamesMin: [_('Su'),_('Mo'),_('Tu'),_('We'),_('Th'),_('Fr'),_('Sa')], >- weekHeader: _('Wk'), >+ closeText: _("Done"), >+ prevText: _("Prev"), >+ nextText: _("Next"), >+ currentText: _("Today"), >+ monthNames: [_("January"),_("February"),_("March"),_("April"),_("May"),_("June"), >+ _("July"),_("August"),_("September"),_("October"),_("November"),_("December")], >+ monthNamesShort: [_("Jan"), _("Feb"), _("Mar"), _("Apr"), _("May"), _("Jun"), >+ _("Jul"), _("Aug"), _("Sep"), _("Oct"), _("Nov"), _("Dec")], >+ dayNames: [_("Sunday"), _("Monday"), _("Tuesday"), _("Wednesday"), _("Thursday"), _("Friday"), _("Saturday")], >+ dayNamesShort: [_("Sun"), _("Mon"), _("Tue"), _("Wed"), _("Thu"), _("Fri"), _("Sat")], >+ dayNamesMin: [_("Su"),_("Mo"),_("Tu"),_("We"),_("Th"),_("Fr"),_("Sa")], >+ weekHeader: _("Wk"), > dateFormat: '[% IF ( dateformat_us ) %]mm/dd/yy[% ELSIF ( dateformat_metric ) %]dd/mm/yy[% ELSE %]yy-mm-dd[% END %]', > firstDay: [% CalendarFirstDayOfWeek %], > isRTL: [% IF ( bidi ) %]true[% ELSE %]false[% END %], >@@ -74,4 +74,4 @@ $.datepicker.setDefaults({ > }); > }); > //]]> >-</script> >\ No newline at end of file >+</script> >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9555
:
15107
|
15176
|
15525
|
15720
|
15963
|
15988
|
16015