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 <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
1b5ae3aea5
commit
57f25c3dad
6 changed files with 3 additions and 6 deletions
|
@ -56,3 +56,6 @@
|
|||
<!-- TMPL_IF NAME="login" --><link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/login.css" /><!-- /TMPL_IF -->
|
||||
<!-- TMPL_IF NAME="wizard" --><link rel="stylesheet" type="text/css" href="<!-- TMPL_VAR NAME="themelang" -->/css/wizard.css" />
|
||||
<!-- /TMPL_IF -->
|
||||
<script type="text/javascript">
|
||||
function _(s) { return s } // dummy function for gettext
|
||||
</script>
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
function _(s) { return s } // dummy function for gettext
|
||||
|
||||
function confirmnotdup(){
|
||||
document.getElementById("confirm_not_duplicate").value = 1;
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
<script type="text/javascript">
|
||||
//<![CDATA[
|
||||
function _(s) { return s } // dummy function for gettext
|
||||
function active(numlayer)
|
||||
{
|
||||
for (i=10; i < 11 ; i++ ) {
|
||||
|
|
|
@ -5,7 +5,6 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
<!--
|
||||
function _(s) { return s } // dummy function for gettext
|
||||
|
||||
// the english words used in display purposes
|
||||
var text = new Array(_('Number'),_('Volume'),_('Issue'),_('Month'),_('Week'),_('Starting with:'),_('Rollover at:'),_('Choose Hemisphere:'),_('Northern'),_('Southern'),
|
||||
|
|
|
@ -3,7 +3,6 @@
|
|||
<!-- TMPL_INCLUDE NAME="doc-head-close.inc" -->
|
||||
<script type="text/javascript" language="javascript">
|
||||
<!--
|
||||
function _(s) { return s } // dummy function for gettext
|
||||
|
||||
// the english words used in display purposes
|
||||
var text = new Array(_('Number'),_('Volume'),_('Issue'),_('Month'),_('Week'),_('Starting with:'),_('Rollover at:'),_('Choose Hemisphere:'),_('Northern'),_('Southern',
|
||||
|
|
Loading…
Reference in a new issue