diff --git a/htdocs/lib/datepicker.php b/htdocs/lib/datepicker.php index 4f7669d853a..7c17568e527 100644 --- a/htdocs/lib/datepicker.php +++ b/htdocs/lib/datepicker.php @@ -1,6 +1,6 @@ + * Copyright (C) 2005-2009 Laurent Destailleur * Copyright (C) 2005-2007 Regis Houssin * * This file is a modified version of datepicker.php from phpBSM to fix some @@ -22,10 +22,10 @@ */ /** - \file htdocs/lib/datepicker.php - \brief Fichier de gestion de la popup de selection de date eldy - \version $Id$ -*/ + * \file htdocs/lib/datepicker.php + * \brief Fichier de gestion de la popup de selection de date eldy + * \version $Id$ + */ if (! defined('NOREQUIREUSER')) define('NOREQUIREUSER','1'); //if (! defined('NOREQUIREDB')) define('NOREQUIREDB','1'); // Not disabled cause need to load personalized language @@ -37,12 +37,17 @@ set_include_path($_SERVER['DOCUMENT_ROOT'].'/htdocs'); require_once("../master.inc.php"); +if (! empty($_GET["lang"])) $langs->setDefaultLang($_GET["lang"]); // If language was forced on URL by the main.inc.php $langs->load("main"); +$right=($langs->direction=='rtl'?'left':'right'); +$left=($langs->direction=='rtl'?'right':'left'); + // URL http://mydolibarr/lib/datepicker.php?mode=test&m=10&y=2038 can be used for tests print ''."\n"; -print ''; +print ''."\n"; +print ''."\n"; if (isset($_GET["mode"]) && $_GET["mode"] == 'test') { print ''."\n"; @@ -51,24 +56,32 @@ else { print 'Calendar'; } -// Define tradMonths javascript array + +// Define tradMonths javascript array (we define this in datapicker AND in parent page to avoid errors with IE8) $tradTemp=array($langs->trans("January"), - $langs->trans("February"), - $langs->trans("March"), - $langs->trans("April"), - $langs->trans("May"), - $langs->trans("June"), - $langs->trans("July"), - $langs->trans("August"), - $langs->trans("September"), - $langs->trans("October"), - $langs->trans("November"), - $langs->trans("December") - ); +$langs->trans("February"), +$langs->trans("March"), +$langs->trans("April"), +$langs->trans("May"), +$langs->trans("June"), +$langs->trans("July"), +$langs->trans("August"), +$langs->trans("September"), +$langs->trans("October"), +$langs->trans("November"), +$langs->trans("December") +); print ''."\n"; -print ''."\n"; +print ''."\n"; + +print ''."\n"; $qualified=true; @@ -110,14 +123,14 @@ function xyzToUnixTimestamp($mysqldate){ function displayBox($selectedDate,$month,$year){ global $dolibarr_main_url_root,$langs,$conf; - + //print "$selectedDate,$month,$year"; $thedate=dol_mktime(12,0,0,$month,1,$year); //print "thedate=$thedate"; $today=mktime(); $todayArray=dol_getdate($today); if($selectedDate != "00000000") - { + { $selDate=xyzToUnixTimestamp($selectedDate); $xyz=dol_date("Ymd",$selDate); } @@ -126,26 +139,32 @@ function displayBox($selectedDate,$month,$year){ $selDate=0; $xyz=0; } -?> + ?> - + - - - - - - + + + + + - + @@ -154,69 +173,70 @@ function displayBox($selectedDate,$month,$year){ -"; + $cols=0; + for($i=0;$i< $mydate["wday"];$i++) + { + echo ""; + $cols++; + } + } + else + { + if ($mydate["wday"]==0) { echo ""; $cols=0; - for($i=0;$i< $mydate["wday"];$i++) - { - echo ""; - $cols++; - } - } - else - { - if ($mydate["wday"]==0) - { - echo ""; - $cols=0; - } - } - - $dayclass="dpReg"; - if($thedate==$selDate) $dayclass="dpSelected"; - elseif($thedate==$today) $dayclass="dpToday"; - - // Sur click dans calendrier, appelle fonction dpClickDay - echo ""; - $cols++; - - if ($mydate["wday"]==6) echo "\n"; - - //$thedate=strtotime("tomorrow",$thedate); - $day++; - $thedate=dol_mktime(12,0,0,$month,$day,$year); - if ($thedate == '') - { - $stoploop=1; - } - else - { - $mydate=dol_getdate($thedate); - if ($firstdate["month"] != $mydate["month"]) $stoploop=1; } } - - if ($cols < 7) + + $dayclass="dpReg"; + if($thedate==$selDate) $dayclass="dpSelected"; + elseif($thedate==$today) $dayclass="dpToday"; + + // Sur click dans calendrier, appelle fonction dpClickDay + echo ""; + $cols++; + + if ($mydate["wday"]==6) echo "\n"; + + //$thedate=strtotime("tomorrow",$thedate); + $day++; + $thedate=dol_mktime(12,0,0,$month,$day,$year); + if ($thedate == '') { - for($i=6; $i>=$cols; $i--) echo ""; - echo "\n"; + $stoploop=1; } + else + { + $mydate=dol_getdate($thedate); + if ($firstdate["month"] != $mydate["month"]) $stoploop=1; + } + } + + if ($cols < 7) + { + for($i=6; $i>=$cols; $i--) echo ""; + echo "\n"; + } ?> - + ?> +
- trans($selectMonth).", ".$selectYear; - ?> + ?> +
<<','','')"><','')">trans("MonthOfDay") ?>','','')">>>><<','','')"><','')">trans("MonthOfDay") ?>','','')">>>>
trans("ShortSunday") ?> trans("ShortMonday") ?> trans("ShortTuesday") ?>trans("ShortFriday") ?> trans("ShortSaturday") ?>
 
 
format_date_short_java."')\""; - echo ">".sprintf("%02s",$mydate["mday"])."
format_date_short_java."')\""; + echo ">".sprintf("%02s",$mydate["mday"])."
 
 
+
- \ No newline at end of file diff --git a/htdocs/lib/lib_head.js b/htdocs/lib/lib_head.js index 002d59d1075..d0607f9cff5 100644 --- a/htdocs/lib/lib_head.js +++ b/htdocs/lib/lib_head.js @@ -162,6 +162,7 @@ function loadMonth(base,month,year,ymd) var req=null; req=loadXMLDoc(theURL,null,false); + //alert(theURL+req.responseText); // L'url doit avoir la meme racine que la pages et elements sinon pb de securite. showDP.box.innerHTML=req.responseText; } @@ -329,76 +330,33 @@ function loadXMLDoc(url,readyStateFunction,async) return req; } -// For Boxes +// To hide/show select Boxes with IE6 (and only IE6 because IE6 has a bug and not put popup completely on the front) function hideSelectBoxes() { var brsVersion = parseInt(window.navigator.appVersion.charAt(0), 10); - if (brsVersion <= 6 && window.navigator.userAgent.indexOf("MSIE") > -1) { - for(var i = 0; i < document.all.length; i++) { + if (brsVersion <= 6 && window.navigator.userAgent.indexOf("MSIE 6") > -1) + { + for(var i = 0; i < document.all.length; i++) + { if(document.all[i].tagName) - if(document.all[i].tagName == "SELECT") - document.all[i].style.visibility="hidden"; + if(document.all[i].tagName == "SELECT") + document.all[i].style.visibility="hidden"; } } } - function displaySelectBoxes() { var brsVersion = parseInt(window.navigator.appVersion.charAt(0), 10); - if (brsVersion <= 6 && window.navigator.userAgent.indexOf("MSIE") > -1) { - for(var i = 0; i < document.all.length; i++) { - if(document.all[i].tagName) - if(document.all[i].tagName == "SELECT") - document.all[i].style.visibility="visible"; - } + if (brsVersion <= 6 && window.navigator.userAgent.indexOf("MSIE 6") > -1) + { + for(var i = 0; i < document.all.length; i++) + { + if(document.all[i].tagName) + if(document.all[i].tagName == "SELECT") + document.all[i].style.visibility="visible"; + } } } -// Afficher/cacher les champs d'un formulaire -function formDisplayHideId(baliseId,numField) -{ - //if (document.getElementById && document.getElementById(baliseId) != null) - //{ - //var balise = document.getElementById(baliseId); - - var numDiv = 1 - - if (document.formsoc.typent_id.value == 8) - { - - while ( document.getElementById( baliseId + numDiv) ) { - - var balise = document.getElementById( baliseId + numDiv); - - if (balise && balise.className == "hidden") - balise.className = "visible"; - - if (balise && balise.className == "visible") - balise.className = "hidden"; - numDiv++ - - } - } - else - { - - while ( document.getElementById( baliseId + numDiv) ) { - - var balise = document.getElementById( baliseId + numDiv); - - if (balise && balise.className == "visible") - balise.className = "hidden"; - - if (balise && balise.className == "hidden") - balise.className = "visible"; - numDiv++ - - } - } - //} -} - - - /*================================================================= Function: formatDate (javascript object Date(), format) diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php index e7b67fb3c4d..ce7cde67fd6 100644 --- a/htdocs/main.inc.php +++ b/htdocs/main.inc.php @@ -792,6 +792,29 @@ function top_htmlhead($head, $title='', $disablejs=0, $disablehead=0, $arrayofjs } } + // Define tradMonths javascript array (we define this in datapicker AND in parent page to avoid errors with IE8) + $tradTemp=array($langs->trans("January"), + $langs->trans("February"), + $langs->trans("March"), + $langs->trans("April"), + $langs->trans("May"), + $langs->trans("June"), + $langs->trans("July"), + $langs->trans("August"), + $langs->trans("September"), + $langs->trans("October"), + $langs->trans("November"), + $langs->trans("December") + ); + print ''."\n"; + print "\n"; } } @@ -939,7 +962,7 @@ function left_menu($menu_array, $helppagename='', $moresearchform='') } if ((($conf->produit->enabled && $user->rights->produit->lire) || ($conf->service->enabled && $user->rights->service->lire)) - && $conf->global->MAIN_SEARCHFORM_PRODUITSERVICE) + && $conf->global->MAIN_SEARCHFORM_PRODUITSERVICE) { $langs->load("products"); $searchform.=printSearchForm(DOL_URL_ROOT.'/product/liste.php', DOL_URL_ROOT.'/product/index.php', diff --git a/htdocs/theme/auguria/auguria.css.php b/htdocs/theme/auguria/auguria.css.php index c9b7691a8e3..978087715e1 100644 --- a/htdocs/theme/auguria/auguria.css.php +++ b/htdocs/theme/auguria/auguria.css.php @@ -1,6 +1,6 @@ - * Copyright (C) 2008 Laurent Destailleur +/* Copyright (C) 2007 Patrick raguin + * Copyright (C) 2008-2009 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,8 @@ * \version $Id$ */ -require("../../conf/conf.php"); +//require_once("../../conf/conf.php"); +require_once("../../master.inc.php"); // Define css type header('Content-type: text/css'); @@ -31,6 +32,11 @@ header('Content-type: text/css'); // each Dolibarr page access. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate'); else header('Cache-Control: no-cache'); + +if (! empty($_GET["lang"])) $langs->setDefaultLang($_GET["lang"]); // If language was forced on URL by the main.inc.php +$langs->load("main",0,1); +$right=($langs->direction=='rtl'?'left':'right'); +$left=($langs->direction=='rtl'?'right':'left'); ?> /* ============================================================================== */ @@ -104,7 +110,7 @@ select.flat { font-size: 100%; border: 0px; - background-image : url(); + background-image : url(); background-position : bottom; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -113,7 +119,7 @@ select.flat { font-size: 100%; border: 0px; - background-image : url(); + background-image : url(); background-position : bottom; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -162,7 +168,7 @@ div.tmenu padding: 0px 0px 0px 0px; margin: 0px 0px 2px 0px; font-size: 13px; - background-image : url() ; + background-image : url() ; height: 22px; } @@ -383,7 +389,7 @@ div.help /* Pour menu gauche Auguria */ div.menu_titre { - background: url(); + background: url(); padding: 0px; padding-top:7px; padding-left:0px; @@ -397,7 +403,7 @@ div.menu_titre { } div.menu_contenu { - background: url(); + background: url(); margin: 0px; padding: 1px; @@ -409,7 +415,7 @@ div.menu_contenu { } div.menu_fin { - background: url(); + background: url(); margin: 0px; padding: 0px; height:6px; @@ -465,7 +471,7 @@ div.tabBar { border-bottom: 1px solid #68ACCF; border-left: 1px solid #68ACCF; border-top: 1px solid #68ACCF; - background: #F0F0F0 url() repeat-x; + background: #F0F0F0 url() repeat-x; } div.tabsAction { @@ -1094,16 +1100,16 @@ ul.arbre strong { font-weight: normal; padding: 0 0 0 20px; margin: 0 0 0 -7px; - background-image: url(); + background-image: url(); background-repeat: no-repeat; background-position: 1px 50%; } ul.arbre strong.arbre-plier { - background-image: url(); + background-image: url(); cursor: pointer; } ul.arbre strong.arbre-deplier { - background-image: url(); + background-image: url(); cursor: pointer; } ul.arbre ul { @@ -1329,7 +1335,7 @@ form.inplaceeditor-form input[type="submit"] { /* The submit button */ font-size: 100%; font-weight:normal; border: 0px; - background-image : url(); + background-image : url(); background-position : bottom; cursor:pointer; } @@ -1339,7 +1345,7 @@ form.inplaceeditor-form a { /* The cancel link */ font-size: 11px; font-weight:normal; border: 0px; - background-image : url(); + background-image : url(); background-position : bottom; cursor:pointer; } diff --git a/htdocs/theme/bluelagoon/bluelagoon.css.php b/htdocs/theme/bluelagoon/bluelagoon.css.php index bb089464738..29439f318bb 100644 --- a/htdocs/theme/bluelagoon/bluelagoon.css.php +++ b/htdocs/theme/bluelagoon/bluelagoon.css.php @@ -24,7 +24,8 @@ * \version $Id$ */ -require("../../conf/conf.php"); +//require_once("../../conf/conf.php"); +require_once("../../master.inc.php"); // Define css type header('Content-type: text/css'); @@ -32,6 +33,11 @@ header('Content-type: text/css'); // each Dolibarr page access. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate'); else header('Cache-Control: no-cache'); + +if (! empty($_GET["lang"])) $langs->setDefaultLang($_GET["lang"]); // If language was forced on URL by the main.inc.php +$langs->load("main",0,1); +$right=($langs->direction=='rtl'?'left':'right'); +$left=($langs->direction=='rtl'?'right':'left'); ?> @@ -940,16 +946,16 @@ ul.arbre strong { font-weight: normal; padding: 0 0 0 20px; margin: 0 0 0 -7px; - background-image: url(); + background-image: url(); background-repeat: no-repeat; background-position: 1px 50%; } ul.arbre strong.arbre-plier { - background-image: url(); + background-image: url(); cursor: pointer; } ul.arbre strong.arbre-deplier { - background-image: url(); + background-image: url(); cursor: pointer; } ul.arbre ul { diff --git a/htdocs/theme/eldy/eldy.css.php b/htdocs/theme/eldy/eldy.css.php index ec02877b2f9..968b39d7547 100644 --- a/htdocs/theme/eldy/eldy.css.php +++ b/htdocs/theme/eldy/eldy.css.php @@ -47,7 +47,7 @@ $left=($langs->direction=='rtl'?'right':'left'); body { background-color: #F4F4F4; - background: #f9f9f9 url() 0 0 no-repeat; + background: #f9f9f9 url() 0 0 no-repeat; color: #101010; font-size: 12px; font-family: arial,tahoma,verdana,helvetica; @@ -111,7 +111,7 @@ select.flat font-size: 12px; font-family: helvetica, verdana, arial, sans-serif; border: 0px; - background-image: url(); + background-image: url(); background-position: bottom; padding: 0px 2px 0px 2px; margin: 0px 0px 0px 0px; @@ -121,7 +121,7 @@ select.flat font-family: helvetica, verdana, arial, sans-serif; color: #222244; border: 0px; - background-image: url(); + background-image: url(); background-position: bottom; padding: 0px 2px 0px 2px; margin: 0px 0px 0px 0px; @@ -131,7 +131,7 @@ select.flat font-size: 12px; font-family: helvetica, verdana, arial, sans-serif; border: 0px; - background-image: url(); + background-image: url(); background-position: bottom; padding: 0px 0px 0px 0px; margin: 0px 0px 0px 0px; @@ -180,7 +180,7 @@ div.tmenu font-size: 12px; height: 19px; background: #b3c5cc; - background-image: url(); + background-image: url(); color: #000000; text-decoration: none; } @@ -414,7 +414,7 @@ div.blockvmenupair padding-bottom: 3px; margin: 1px 0px 0px 0px; background: #A3BCC6; - background-image: url(); + background-image: url(); background-position:top; background-repeat:repeat-x; } @@ -434,7 +434,7 @@ div.blockvmenuimpair padding-bottom: 3px; margin: 1px 0px 0px 0px; background: #A3BCC6; - background-image: url(); + background-image: url(); background-position:top; background-repeat:repeat-x; } @@ -507,7 +507,7 @@ div.tabBar { border-bottom: 1px solid #555555; border-left: 1px solid #D0D0D0; border-top: 1px solid #D8D8D8; -/* background: #F0F0F0 url() repeat-x; */ +/* background: #F0F0F0 url() repeat-x; */ } div.tabsAction { @@ -789,11 +789,11 @@ tr.liste_titre { height: 16px; background: #91ABB3; -background-image: url(); +background-image: url(); background-repeat: repeat-y; background: #7699A9; -background-image: url(); +background-image: url(); background-repeat: repeat-x; color: #334444; @@ -804,11 +804,11 @@ white-space: nowrap; td.liste_titre { background: #91ABB3; -background-image: url(); +background-image: url(); background-repeat: repeat-x; background: #7699A9; -background-image: url(); +background-image: url(); background-repeat: repeat-x; color: #334444; @@ -821,11 +821,11 @@ td.liste_titre_sel { background: #91ABB3; -background-image: url(); +background-image: url(); background-repeat: repeat-x; background: #7699A9; -background-image: url(); +background-image: url(); background-repeat: repeat-x; color: #F5FFFF; @@ -837,11 +837,11 @@ white-space: nowrap; input.liste_titre { background: #91ABB3; -background-image: url(); +background-image: url(); background-repeat: repeat-x; background: #7699A9; -background-image: url(); +background-image: url(); background-repeat: repeat-x; border: 0px; @@ -908,11 +908,11 @@ margin: 2px; tr.box_titre { background: #91ABB3; -background-image: url(); +background-image: url(); background-repeat: repeat-y; background: #7699A9; -background-image: url(); +background-image: url(); background-repeat: repeat-x; color: #334444; @@ -1394,7 +1394,7 @@ form.inplaceeditor-form input[type="submit"] { /* The submit button */ font-size: 100%; font-weight:normal; border: 0px; - background-image : url(); + background-image : url(); background-position : bottom; cursor:pointer; } @@ -1404,7 +1404,7 @@ form.inplaceeditor-form a { /* The cancel link */ font-size: 11px; font-weight:normal; border: 0px; - background-image : url(); + background-image : url(); background-position : bottom; cursor:pointer; } @@ -1433,16 +1433,16 @@ ul.arbre strong { font-weight: normal; padding: 0 0 0 20px; margin: 0 0 0 -7px; - background-image: url(); + background-image: url(); background-repeat: no-repeat; background-position: 1px 50%; } ul.arbre strong.arbre-plier { - background-image: url(); + background-image: url(); cursor: pointer; } ul.arbre strong.arbre-deplier { - background-image: url(); + background-image: url(); cursor: pointer; } ul.arbre ul { diff --git a/htdocs/theme/freelug/freelug.css.php b/htdocs/theme/freelug/freelug.css.php index f9a322991a3..99f71c4d420 100644 --- a/htdocs/theme/freelug/freelug.css.php +++ b/htdocs/theme/freelug/freelug.css.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2008 Laurent Destailleur + * Copyright (C) 2004-2009 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,8 @@ * \version $Id$ */ -require("../../conf/conf.php"); +//require_once("../../conf/conf.php"); +require_once("../../master.inc.php"); // Define css type header('Content-type: text/css'); @@ -31,6 +32,11 @@ header('Content-type: text/css'); // each Dolibarr page access. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate'); else header('Cache-Control: no-cache'); + +if (! empty($_GET["lang"])) $langs->setDefaultLang($_GET["lang"]); // If language was forced on URL by the main.inc.php +$langs->load("main",0,1); +$right=($langs->direction=='rtl'?'left':'right'); +$left=($langs->direction=='rtl'?'right':'left'); ?> /* ============================================================================== */ @@ -39,7 +45,7 @@ else header('Cache-Control: no-cache'); body { background-color: #F8F8F8; - background-image: url(); + background-image: url(); text-decoration: none ; color: #101010; font-size: 12px; @@ -107,7 +113,7 @@ select.flat border-right: 1px solid #aaaaaa; border-top: 1px solid #dddddd; border-bottom: 1px solid #aaaaaa; - background-image: url(); + background-image: url(); background-position: bottom; background-repeat: repeat-x; } @@ -120,7 +126,7 @@ select.flat border-right: 1px solid #aaaaaa; border-top: 1px solid #dddddd; border-bottom: 1px solid #aaaaaa; - background-image: url(); + background-image: url(); background-position: bottom; background-repeat: repeat-x; } @@ -1125,16 +1131,16 @@ ul.arbre strong { font-weight: normal; padding: 0 0 0 20px; margin: 0 0 0 -7px; - background-image: url(); + background-image: url(); background-repeat: no-repeat; background-position: 1px 50%; } ul.arbre strong.arbre-plier { - background-image: url(); + background-image: url(); cursor: pointer; } ul.arbre strong.arbre-deplier { - background-image: url(); + background-image: url(); cursor: pointer; } ul.arbre ul { diff --git a/htdocs/theme/rodolphe/rodolphe.css.php b/htdocs/theme/rodolphe/rodolphe.css.php index 8624cbbbf3e..477b911f240 100644 --- a/htdocs/theme/rodolphe/rodolphe.css.php +++ b/htdocs/theme/rodolphe/rodolphe.css.php @@ -24,7 +24,8 @@ * \version $Id$ */ -require("../../conf/conf.php"); +//require_once("../../conf/conf.php"); +require_once("../../master.inc.php"); // Define css type header('Content-type: text/css'); @@ -32,6 +33,11 @@ header('Content-type: text/css'); // each Dolibarr page access. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate'); else header('Cache-Control: no-cache'); + +if (! empty($_GET["lang"])) $langs->setDefaultLang($_GET["lang"]); // If language was forced on URL by the main.inc.php +$langs->load("main",0,1); +$right=($langs->direction=='rtl'?'left':'right'); +$left=($langs->direction=='rtl'?'right':'left'); ?> diff --git a/htdocs/theme/yellow/yellow.css.php b/htdocs/theme/yellow/yellow.css.php index b41ea430975..ac28ed9f351 100644 --- a/htdocs/theme/yellow/yellow.css.php +++ b/htdocs/theme/yellow/yellow.css.php @@ -1,6 +1,6 @@ - * Copyright (C) 2004-2008 Laurent Destailleur + * Copyright (C) 2004-2009 Laurent Destailleur * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,7 +23,8 @@ * \version $Id$ */ -require("../../conf/conf.php"); +//require_once("../../conf/conf.php"); +require_once("../../master.inc.php"); // Define css type header('Content-type: text/css'); @@ -31,6 +32,11 @@ header('Content-type: text/css'); // each Dolibarr page access. if (empty($dolibarr_nocache)) header('Cache-Control: max-age=3600, public, must-revalidate'); else header('Cache-Control: no-cache'); + +if (! empty($_GET["lang"])) $langs->setDefaultLang($_GET["lang"]); // If language was forced on URL by the main.inc.php +$langs->load("main",0,1); +$right=($langs->direction=='rtl'?'left':'right'); +$left=($langs->direction=='rtl'?'right':'left'); ?> /* ============================================================================== */ @@ -1136,7 +1142,7 @@ form.inplaceeditor-form input[type="submit"] { /* The submit button */ font-size: 100%; font-weight:normal; border: 0px; - background-image : url(); + background-image : url(); background-position : bottom; cursor:pointer; } @@ -1146,7 +1152,7 @@ form.inplaceeditor-form a { /* The cancel link */ font-size: 11px; font-weight:normal; border: 0px; - background-image : url(); + background-image : url(); background-position : bottom; cursor:pointer; } @@ -1175,16 +1181,16 @@ ul.arbre strong { font-weight: normal; padding: 0 0 0 20px; margin: 0 0 0 -7px; - background-image: url(); + background-image: url(); background-repeat: no-repeat; background-position: 1px 50%; } ul.arbre strong.arbre-plier { - background-image: url(); + background-image: url(); cursor: pointer; } ul.arbre strong.arbre-deplier { - background-image: url(); + background-image: url(); cursor: pointer; } ul.arbre ul {