From 57f25c3dad707168942b20b6c92882ca4b85994f Mon Sep 17 00:00:00 2001 From: Paul POULAIN Date: Fri, 5 Oct 2007 04:39:36 -0500 Subject: [PATCH] moving _( function to header This function is used to extract strings for translator tool. It must be available everywhere, moving it to head-close.inc & removing it elsewhere Signed-off-by: Chris Cormack Signed-off-by: Joshua Ferraro --- koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc | 3 +++ koha-tmpl/intranet-tmpl/prog/en/js/members.js | 2 -- .../intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl | 1 - .../intranet-tmpl/prog/en/modules/cataloguing/additem.tmpl | 1 - .../prog/en/modules/serials/subscription-add.tmpl | 1 - .../prog/en/modules/serials/subscription-detail.tmpl | 1 - 6 files changed, 3 insertions(+), 6 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc index d9aedf45de..ae53513815 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/doc-head-close.inc @@ -56,3 +56,6 @@ /css/login.css" /> /css/wizard.css" /> + diff --git a/koha-tmpl/intranet-tmpl/prog/en/js/members.js b/koha-tmpl/intranet-tmpl/prog/en/js/members.js index a09220562d..d8657c772a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/js/members.js +++ b/koha-tmpl/intranet-tmpl/prog/en/js/members.js @@ -1,5 +1,3 @@ -function _(s) { return s } // dummy function for gettext - // this function checks id date is like DD/MM/YYYY function CheckDate(field) { var d = field.value; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl index dfac267550..c95f99c886 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/addbiblio.tmpl @@ -3,7 +3,6 @@