Correction javascript, CSS ....

Task #975 - Comptability with IE
This commit is contained in:
Dany De Bontridder 2014-02-11 21:15:27 +01:00
parent 396862f7cf
commit 4ef4dc3dd8
23 changed files with 2730 additions and 1793 deletions

View file

@ -149,7 +149,7 @@ margin:1px;
font-size:12px;
color:white;
font-weight: bold;
border:0px;
text-decoration:none;
font-family: helvetica,arial,sans-serif;
background-image: url("image/bg-submit2.gif");

View file

@ -644,7 +644,7 @@ function view_history_account(p_value,dossier)
onSuccess:function (req,xml)
{
success_box(req,xml);
g(id).style.top=calcy(140+(layer*3));
g(id).style.top=calcy(140+(layer*3))+"px";
g(id).style.left="10%";
g(id).style.width='80%';
}
@ -666,7 +666,7 @@ function update_history_account(obj)
onSuccess:function (req,xml)
{
success_box(req,xml);
g(obj.div).style.top=calcy(140+(layer*3));
g(obj.div).style.top=calcy(140+(layer*3))+"px";
g(obj.div).style.left="10%";
g(obj.div).style.width='80%';
}
@ -702,7 +702,7 @@ var popup={'id':
onSuccess:function (req,xml)
{
success_box(req,xml);
g(id).style.top=calcy(140+(layer*3));
g(id).style.top=calcy(140+(layer*3))+"px";
g(id).style.left="10%";
g(id).style.width='80%';
}
@ -723,7 +723,7 @@ function update_history_card(obj)
onSuccess:function (req,xml)
{
success_box(req,xml);
g(obj.div).style.top=calcy(140+(layer*3));
g(obj.div).style.top=calcy(140+(layer*3))+"px";
g(obj.div).style.left="10%";
g(obj.div).style.width='80%';
}
@ -786,7 +786,7 @@ function reverseOperation(obj)
function modifyOperation(p_value, dossier)
{
layer++;
id = 'det' + layer;
var id = 'det' + layer;
waiting_box();
var querystring = 'gDossier=' + dossier + '&act=de&jr_id=' + p_value + '&div=' + id;
@ -802,7 +802,8 @@ function modifyOperation(p_value, dossier)
remove_waiting_box();
add_div(popup);
success_box(xml, txt);
g(id).style.top = calcy(100 + (layer * 3));
$(id).style.position="absolute";
$(id).style.top = calcy(100 + (layer * 3))+"px";
g(id).style.left = '10%';
g(id).style.width = "80%";
}

View file

@ -48,8 +48,8 @@ function PcmnUpdate(p_value,p_lib,p_parent,p_type,p_dossier)
$('p_libu').value=p_lib;
$('p_parentu').value=p_parent;
$('p_typeu').value=p_type;
$('acc_update').style.top=posY+offsetY;
$('acc_update').style.left=posX+offsetX;
$('acc_update').style.top=posY+offsetY+"px";
$('acc_update').style.left=posX+offsetX+"px";
$('acc_update').show();
}
/**
@ -75,7 +75,7 @@ function search_poste(obj)
sx=document.body.scrollTop+60;
}
var div_style="top:"+sx;
var div_style="top:"+sx+"px";
removeDiv('search_account');
add_div({id:'search_account',cssclass:'inner_box',html:loading(),style:div_style,drag:true});
@ -93,7 +93,7 @@ function search_poste(obj)
if ( obj.account)
{
queryString+="&c="+obj.account;
}
}
if ( obj.label)
{
queryString+="&l="+obj.label;

View file

@ -104,7 +104,7 @@ function search_card(obj)
sx=document.body.scrollTop+60;
}
var div_style="top:"+sx+";width:60%;heigth:80%";
var div_style="top:"+sx+"px;width:60%;heigth:80%";
add_div({id:'search_card',cssclass:'inner_box',html:loading(),style:div_style,drag:true});
var action=new Ajax.Request ( 'ajax_card.php',
@ -330,7 +330,7 @@ function fill_ipopcard(obj)
var nTop=posY-40;
//var nLeft=posX-20;
var nLeft="20%";
var str_style="top:"+nTop+";left:"+nLeft+";width:45em;height:auto";
var str_style="top:"+nTop+"px;left:"+nLeft+";width:45em;height:auto";
var popup={'id': content,'cssclass':'inner_box','style':str_style,'html':loading(),'drag':true};

View file

@ -67,7 +67,7 @@ content[36]='En utilisant les dates d\'échéance ou de paiement, seuls les jour
function showBulle(p_ctl){
d=document.getElementById('bulle');
d.innerHTML=content[p_ctl];
d.style.top=posY+offsetY;
d.style.top=posY+offsetY+"px";
d.style.left=posX+offsetX;
d.style.visibility="visible";
}

4263
html/js/prototype.js vendored

File diff suppressed because it is too large Load diff

View file

@ -38,7 +38,7 @@ function infodiv(req, json)
var answer = req.responseXML;
var a = answer.getElementsByTagName('ctl');
var html = answer.getElementsByTagName('code');
if (a.length == 0)
if (a.length === 0)
{
var rec = req.responseText;
alert('erreur :' + rec);
@ -118,7 +118,7 @@ function g(ID)
*/
function enable_type_periode()
{
if (g('type_periode').value == 1)
if (g('type_periode').value === 1)
{
g('from_periode').disabled = true;
g('to_periode').disabled = true;
@ -162,7 +162,7 @@ function encodeJSON(obj)
var e = 0;
for (i in obj)
{
if (e != 0)
if (e !== 0)
{
str += '&';
}
@ -178,6 +178,7 @@ function encodeJSON(obj)
catch (e)
{
alert('encodeParameter ' + e.message);
return "";
}
}
function hide(p_param)
@ -226,22 +227,22 @@ function set_value(p_ctl, p_value, p_add)
if (g(p_ctl))
{
var g_ctrl = g(p_ctl);
if (p_add != undefined && p_add == 1)
if (p_add != undefined && p_add === 1)
{
if (g_ctrl.value)
{
p_value = g_ctrl.value + ',' + p_value;
}
}
if (g_ctrl.tagName == 'INPUT')
if (g_ctrl.tagName === 'INPUT')
{
g(p_ctl).value = p_value;
}
if (g_ctrl.tagName == 'SPAN')
if (g_ctrl.tagName === 'SPAN')
{
g(p_ctl).innerHTML = p_value;
}
if (g_ctrl.tagName == 'SELECT')
if (g_ctrl.tagName === 'SELECT')
{
g(p_ctl).value = p_value;
}
@ -254,7 +255,7 @@ function set_value(p_ctl, p_value, p_add)
function format_number(obj, p_prec)
{
var precision = 2;
if (p_prec == undefined)
if (p_prec === undefined)
{
precision = 2;
} else {
@ -282,7 +283,7 @@ function toggleHideShow(p_obj, p_button)
{
var stat = g(p_obj).style.display;
var str = g(p_button).value;
if (stat == 'none')
if (stat === 'none')
{
show(p_obj);
str = str.replace(/Afficher/, 'Cacher');
@ -363,7 +364,7 @@ function success_misc(req)
{
var answer = req.responseXML;
var html = answer.getElementsByTagName('code');
if (html.length == 0)
if (html.length === 0)
{
var rec = req.responseText;
alert('erreur :' + rec);
@ -442,14 +443,14 @@ function success_cat_doc_remove(req)
{
var answer = req.responseXML;
var html = answer.getElementsByTagName('dtid');
if (html.length == 0)
if (html.length === 0)
{
var rec = req.responseText;
alert('erreur :' + rec);
}
nodeXML = html[0];
row_id = getNodeText(nodeXML);
if (row_id == 'nok')
if (row_id === 'nok')
{
alert('Error');
return;
@ -477,7 +478,7 @@ function popup_select_tva(obj)
var nTop = posY - 50;
var nLeft = "35%";
var str_style = "top:" + nTop + ";left:" + nLeft + ";width:55em;height:auto";
var str_style = "top:" + nTop + "px;left:" + nLeft + ";width:55em;height:auto";
var popup = {'id': 'tva_select', 'cssclass': 'inner_box', 'style': str_style, 'html': loading(), 'drag': true};
add_div(popup);
@ -509,7 +510,7 @@ function success_popup_select_tva(req)
{
var answer = req.responseXML;
var popup = answer.getElementsByTagName('popup');
if (popup.length == 0)
if (popup.length === 0)
{
var rec = req.responseText;
alert('erreur :' + rec);
@ -565,7 +566,7 @@ function success_set_tva_label(req)
var code = answer.getElementsByTagName('code');
var value = answer.getElementsByTagName('value');
if (code.length == 0)
if (code.length === 0)
{
var rec = req.responseText;
alert('erreur :' + rec);
@ -666,7 +667,7 @@ function removeDiv(elt)
}
// if reloaded if asked the window will be reloaded when
// the box is closed
if (ask_reload == 1)
if (ask_reload === 1)
{
// avoid POST window.location = window.location.href;
window.location.reload();
@ -718,7 +719,7 @@ function show_box(obj)
{
sx = document.body.scrollTop + 40;
}
g(obj.id).style.top = sx;
g(obj.id).style.top = sx+"px";
show(obj.id);
}
else
@ -748,7 +749,7 @@ function success_box(req, json)
var answer = req.responseXML;
var a = answer.getElementsByTagName('ctl');
var html = answer.getElementsByTagName('code');
if (a.length == 0)
if (a.length === 0)
{
var rec = req.responseText;
alert('erreur :' + rec);
@ -813,19 +814,19 @@ function show_ledger_choice(json_obj)
};
//var y=calcy(posY);
var y=posY;
if (json_obj.div != '')obj.cssclass="";
obj.style="top:"+y+obj.style;
if ( json_obj.class )
if (json_obj.div !== '')obj.cssclass="";
obj.style="top:"+y+'px;'+obj.style;
/* if ( json_obj.class )
{
obj.cssclass=json_obj.class;
}
}*/
add_div(obj);
var answer = req.responseXML;
var a = answer.getElementsByTagName('ctl');
var html = answer.getElementsByTagName('code');
if (a.length == 0) {
if (a.length === 0) {
var rec = req.responseText;
alert('erreur :' + rec);
}
@ -944,9 +945,9 @@ function toggle_checkbox(form_id)
for (var i = 0; i < form.length; i++)
{
var e = form.elements[i];
if (e.type == 'checkbox')
if (e.type === 'checkbox')
{
if (e.checked == true)
if (e.checked === true)
{
e.checked = false;
}
@ -967,7 +968,7 @@ function select_checkbox(form_id)
for (var i = 0; i < form.length; i++)
{
var e = form.elements[i];
if (e.type == 'checkbox')
if (e.type === 'checkbox')
{
e.checked = true;
}
@ -983,7 +984,7 @@ function unselect_checkbox(form_id)
for (var i = 0; i < form.length; i++)
{
var e = form.elements[i];
if (e.type == 'checkbox')
if (e.type === 'checkbox')
{
e.checked = false;
}
@ -1031,8 +1032,8 @@ function display_periode(p_dossier, p_id)
onSuccess: success_display_periode
}
);
$('mod_periode').style.top = posY - 70;
$('mod_periode').style.left = posX - 70;
$('mod_periode').style.top = (posY - 70)+"px";
$('mod_periode').style.left = (posX - 70)+"px";
}
catch (e)
{
@ -1048,7 +1049,7 @@ function success_display_periode(req)
var answer = req.responseXML;
var html = answer.getElementsByTagName('data');
if (html.length == 0)
if (html.length === 0)
{
var rec = req.responseText;
alert('erreur :' + rec);
@ -1113,7 +1114,7 @@ function fill_box(req)
var answer = req.responseXML;
var a = answer.getElementsByTagName('ctl');
var html = answer.getElementsByTagName('code');
if (a.length == 0) {
if (a.length === 0) {
var rec = req.responseText;
alert('erreur :' + rec);
}
@ -1187,7 +1188,7 @@ function save_predf_op(obj)
function search_reconcile(dossier, ctl_concern, amount_id, ledger)
{
var dossier = g('gDossier').value;
if (amount_id == undefined)
if (amount_id === undefined)
{
amount_id = 0;
}
@ -1274,9 +1275,9 @@ function set_reconcile(obj)
{
var elmt = obj.elements[e];
if (elmt.type == "checkbox")
if (elmt.type === "checkbox")
{
if (elmt.checked == true)
if (elmt.checked === true)
{
var str_name = elmt.name;
var nValue = str_name.replace("jr_concerned", "");
@ -1334,7 +1335,7 @@ function fixed_position(p_sx, p_sy)
var sx = p_sx;
var sy = calcy(p_sy);
var str_style = "top:" + sy + ";left:" + sx + ";position:absolute";
var str_style = "top:" + sy + "px;left:" + sx + "px;position:absolute";
return str_style;
}
@ -1640,9 +1641,9 @@ function set_action_related(p_obj)
{
var elmt = obj.elements[e];
if (elmt.type == "checkbox")
if (elmt.type === "checkbox")
{
if (elmt.checked == true)
if (elmt.checked === true)
{
var str_name = elmt.name;
var nValue = elmt.value;
@ -1716,21 +1717,21 @@ function show_fin_chdate(obj_id)
try
{
var ch = $(obj_id).options[$(obj_id).selectedIndex].value;
if (ch == 2) {
if (ch === 2) {
$('chdate_ext').hide();
$('thdate').show();
}
if (ch == 1) {
if (ch === 1) {
$('chdate_ext').show();
$('thdate').hide();
}
var nb = $('nb_item').value;
for (i = 0; i < nb; i++) {
if ($('tdchdate' + i)) {
if (ch == 2) {
if (ch === 2) {
$('tdchdate' + i).show();
}
if (ch == 1) {
if (ch === 1) {
$('tdchdate' + i).hide();
}
@ -1792,7 +1793,7 @@ function check_date(p_str_date)
var date_temp = p_str_date.split('.');
var nMonth = parseFloat(date_temp[1]) - 1;
var ma_date = new Date(date_temp[2], nMonth, date_temp[0]);
if (ma_date.getFullYear() == date_temp[2] && ma_date.getMonth() == nMonth && ma_date.getDate() == date_temp[0]) {
if (ma_date.getFullYear() === date_temp[2] && ma_date.getMonth() === nMonth && ma_date.getDate() === date_temp[0]) {
return true;
}
else {
@ -1836,7 +1837,7 @@ function view_action(ag_id, dossier, modify)
remove_waiting_box();
var answer = req.responseXML;
var html = answer.getElementsByTagName('code');
if (html.length == 0)
if (html.length === 0)
{
var rec = req.responseText;
alert('erreur :' + rec);
@ -1898,7 +1899,7 @@ function filter_table(phrase, _id, colnr, start_row) {
}
}
if (found == 1) {
if (found === 1) {
table.rows[r].style.display = '';
} else {
table.rows[r].style.display = 'none';
@ -2139,7 +2140,7 @@ function show_tag(p_dossier, p_ac, p_tag_id, p_post)
onSuccess: function(req) {
var answer = req.responseXML;
var html = answer.getElementsByTagName('code');
if (html.length == 0)
if (html.length === 0)
{
var rec = req.responseText;
alert('erreur :' + rec);
@ -2212,7 +2213,7 @@ function action_tag_select(p_dossier, ag_id)
onSuccess: function(req, j) {
var answer = req.responseXML;
var html = answer.getElementsByTagName('code');
if (html.length == 0)
if (html.length === 0)
{
var rec = unescape_xml(req.responseText);
error_message('erreur :' + rec);
@ -2250,7 +2251,7 @@ function action_tag_add(p_dossier, ag_id, t_id)
onSuccess: function(req, j) {
var answer = req.responseXML;
var html = answer.getElementsByTagName('code');
if (html.length == 0)
if (html.length === 0)
{
var rec = unescape_xml(req.responseText);
error_message('erreur :' + rec);
@ -2275,7 +2276,7 @@ function action_tag_add(p_dossier, ag_id, t_id)
*/
function action_tag_remove(p_dossier, ag_id, t_id)
{
if (confirm('Enlevez ce tags ?') == false)
if (confirm('Enlevez ce tags ?') === false)
return;
try {
waiting_box();
@ -2288,7 +2289,7 @@ function action_tag_remove(p_dossier, ag_id, t_id)
onSuccess: function(req, j) {
var answer = req.responseXML;
var html = answer.getElementsByTagName('code');
if (html.length == 0)
if (html.length === 0)
{
var rec = unescape_xml(req.responseText);
error_message('erreur :' + rec);
@ -2326,7 +2327,7 @@ function search_display_tag(p_dossier, p_prefix)
onSuccess: function(req, j) {
var answer = req.responseXML;
var html = answer.getElementsByTagName('code');
if (html.length == 0)
if (html.length === 0)
{
var rec = unescape_xml(req.responseText);
error_message('erreur :' + rec);
@ -2357,7 +2358,7 @@ function search_add_tag(p_dossier, p_tag_id, p_prefix)
{
try {
var clear_button = 0;
if (tag_choose == '' && p_prefix == 'search') {
if (tag_choose === '' && p_prefix === 'search') {
tag_choose = $(p_prefix + 'tag_choose_td').innerHTML;
clear_button = 1;
}
@ -2371,7 +2372,7 @@ function search_add_tag(p_dossier, p_tag_id, p_prefix)
onSuccess: function(req, j) {
var answer = req.responseXML;
var html = answer.getElementsByTagName('html');
if (html.length == 0)
if (html.length === 0)
{
var rec = unescape_xml(req.responseText);
error_message('erreur :' + rec);
@ -2408,7 +2409,7 @@ function search_clear_tag(p_dossier, p_prefix)
onSuccess: function(req, j) {
var answer = req.responseXML;
var html = answer.getElementsByTagName('html');
if (html.length == 0)
if (html.length === 0)
{
var rec = unescape_xml(req.responseText);
error_message('erreur :' + rec);
@ -2455,7 +2456,7 @@ function calendar_zoom(obj)
onSuccess: function(req, j) {
var answer = req.responseXML;
var html = answer.getElementsByTagName('html');
if (html.length == 0)
if (html.length === 0)
{
var rec = unescape_xml(req.responseText);
error_message('erreur :' + rec);
@ -2465,10 +2466,10 @@ function calendar_zoom(obj)
// if the target doesn't exist
// then create it
if (obj.outdiv == undefined) {
if (obj.outdiv === undefined) {
obj.outdiv = 'calendar_zoom_div';
}
if ($(obj.outdiv) == undefined) {
if ($(obj.outdiv) === undefined) {
var str_style = fixed_position(0, 20);
add_div({id: obj.outdiv, style: 'margin-left:3%;width:94%;height:94%;' + str_style, cssclass: "inner_box", drag: 1});
}

View file

@ -28,8 +28,8 @@
function todo_list_show(p_id)
{
var gDossier=$('gDossier').value;
$('add_todo_list').style.top=posY+offsetY;
$('add_todo_list').style.left=posX+offsetX-200;
$('add_todo_list').style.top=(posY+offsetY)+'px';
$('add_todo_list').style.left=(posX+offsetX-200)+'px';
try
{
@ -87,8 +87,8 @@ function todo_list_show_error(request_json)
}
function add_todo()
{
$('add_todo_list').style.top=posY+offsetY;
$('add_todo_list').style.left=posX+offsetX;
$('add_todo_list').style.top=posY+offsetY+"px";
$('add_todo_list').style.left=posX+offsetX+"px";
$('add_todo_list').style.display='block';
$('p_title').value='';

View file

@ -4,9 +4,8 @@ BODY {
background-color:#EDF3FF;
font-family:arial,verdana,sans-serif,helvetica;
padding: 0px 0px 0px 0px ;
margin:0;
margin:0px;
color:blue;
font-size:0.90em;
}
.notice {
color:red;
@ -138,13 +137,13 @@ td.tool a.mtitle {
text-decoration:none;
display:inline;
color: blue;
font-size:0.75em;
font-size:0.80em;
}
td.tool a.mtitle:hover {
text-decoration:none;
display:inline;
font-size:0.75em;;
font-size:0.80em;;
color: darkblue;
background-color:#5D90CD;
@ -170,7 +169,6 @@ div.u_subt2menu {
div.lmenu {
float:left;
clear:left;
font-size:0.75em;;
}
div.lextmenu {
@ -833,14 +831,12 @@ a#anchorbutton, .button, a.button,div.content a.button {
background-image: url("image/bg-submit2.gif");
background-repeat: repeat-x;
background-position: left;
border-style: outset ;
border-color: blue ;
border-width:0px;
padding:8px;
margin-top:3px;
padding:4px;
margin:3px;
cursor:pointer;
margin:1 2 1 2;
margin:1px 2px 1px 2px;
border-radius: 5px;
moz-border-radius:5px;
@ -1080,14 +1076,12 @@ ul {
}
a.line,div.content a.line
{
font-size:0.87em;
text-decoration:underline;
display:inline;
color: #0000ff;
}
a.line:hover,div_content a.line
{
font-size:0.87em;
text-decoration:underline;
display:inline;
color: #0000ff;
@ -1247,6 +1241,7 @@ textarea.itextarea{
border:solid blue 1px;
width:90%;
margin-left:5%;
height:120px;
}
div#modele_op_div{
display: none;

View file

@ -4,7 +4,7 @@ BODY {
background-color:#EDF3FF;
font-family:arial,verdana,sans-serif,helvetica;
padding: 0px 0px 0px 0px ;
margin:0;
margin:0px;
color:blue;
font-size:0.90em;
}
@ -30,7 +30,7 @@ table.sortable th, table.table_large th,table.result th {
font-weight:bold;
font-family:arial,verdana,sans-serif,helvetica;
border-bottom:1px solid blue;
border-top:0;
border-top:0px;
font-size:0.75em;;
color:#25238F;
@ -240,7 +240,7 @@ table.document th{
font-weight:bold;
font-family:arial,verdana,sans-serif,helvetica;
border-bottom:2px solid blue;
border-top:0;
border-top:0px;
color:#25238F;
text-align: left;
background-color:#EDF3FF;
@ -591,12 +591,12 @@ select {
position:absolute;
border:1px solid black;
background-color:yellow;
padding-bottom: 10;
padding-top: 10;
padding-left: 10;
padding-right: 10;
padding-bottom: 10px;
padding-top: 10px;
padding-left: 10px;
padding-right: 10px;
color:black;
top:0;left:0;
top:0px;left:0px;
visibility:hidden;
width:25em;
z-index:20;
@ -713,8 +713,8 @@ div.autocomplete {
position:relative;
background-color:white;
border:1px solid #888;
margin:0;
padding:0;
margin:0px;
padding:0px;
text-align:left;
}
div.autocomplete em {
@ -726,15 +726,15 @@ div.autocomplete ul {
background-color:white;
border:1px solid #888;
width:375px;
margin:0;
padding:0;
margin:0px;
padding:0px;
}
div.autocomplete ul li.selected { background-color: lightblue;}
div.autocomplete ul li {
list-style-type:none;
display:block;
margin:0;
margin:0px;
padding:0px;
/*height:32px;*/
cursor:pointer;
@ -783,7 +783,7 @@ div.pc_calendar tr{
font-size:0.87em;
}
div.pc_calendar tr{
height:40;
height:40px;
}
@ -830,22 +830,18 @@ a#anchorbutton, .button, a.button,div.content a.button {
background-image: url("image/bg-submit2.gif");
background-repeat: repeat-x;
background-position: left;
border-style: outset ;
border-color: blue ;
border-width:0px;
padding:4px;
margin-top:3px;
padding:3px;
margin:3px;
cursor:pointer;
margin:1 2 1 2;
margin:1px 2px 1px 2px;
}
a#anchorbutton:hover, .button:hover,a.button:hover,div.content a.button:hover {
cursor:pointer;
background-color:white;
border-style: inset ;
color:red;
margin:1 2 1 2;
}
a#smallanchorbutton, .smallbutton, a.smallbutton,div.content a.smallbutton {
@ -860,14 +856,14 @@ a#smallanchorbutton, .smallbutton, a.smallbutton,div.content a.smallbutton {
border-style: outset ;
border-color: blue ;
border-width:0;
border-width:0px;
padding-bottom: 3px;
padding-top: 3px;
padding-right: 3px;
padding-left: 3px;
margin-top:3px;
cursor:pointer;
margin:1 2 1 2;
margin:1px 2px 1px 2px;
border-radius: 2px;
moz-border-radius:2px;
@ -877,7 +873,7 @@ a#smallanchorbutton:hover, .smallbutton:hover,a.smallbutton:hover,div.content a.
background-color:white;
border-style: inset ;
color:red;
margin:1 2 1 2;
margin:1px 2px 1px 2px;
}
td.tool {
@ -915,8 +911,8 @@ div.welcome {
}
div.gest_name {
float:left;
margin-left:150;
margin-top:15
margin-left:150px;
margin-top:15px
}
h2.gest_name {
border-left: 5px solid #403a8d;
@ -938,8 +934,8 @@ box-shadow: 10px 10px 5px #888;
div.inner_box {
background-color:#e4e7ed;
font-family:arial,verdana,sans-serif,helvetica;
padding:0;
margin:0;
padding:0px;
margin:0px;
overflow:hidden;
z-index:3;
position:absolute;
@ -958,7 +954,7 @@ div.op_detail_title {
div#div_cat{
position:absolute;
border:1px solid black;
top:15%;left:100;
top:15%;left:100px;
visibility:hidden;
z-index:2;
width:50em;
@ -967,7 +963,7 @@ div#div_cat{
}
div.divinfo
{ color:red;text-align:right;display:block;width:30em;height:13;font-weight:bold}
{ color:red;text-align:right;display:block;width:30em;height:13px;font-weight:bold}
div#search_form
{
@ -1017,7 +1013,7 @@ span.remain {
div#jrn_name_div
{
float: right;
margin-right:150;
margin-right:150px;
width:50%;
}
@ -1042,8 +1038,8 @@ div#wait_box
background-color:#F1E6E6;
font-size:0.87em;
font-family: arial,verdana,helvetica,arial,sans-serif;
padding:0;
margin:0;
padding:0px;
margin:0px;
overflow:hidden;
z-index:10;
@ -1211,7 +1207,7 @@ div.myfieldset
color:black;
z-index: 15;
position: absolute;
top:0;
top:0px;
left:45%;
}
div.menu2 a.mtitle{
@ -1246,8 +1242,8 @@ div#modele_op_div{
display: none;
background-color:#e4e7ed;
font-family:arial,verdana,sans-serif,helvetica;
padding:0;
margin:0;
padding:0px;
margin:0px;
overflow:hidden;
z-index:3;
position:absolute;
@ -1289,8 +1285,8 @@ div.inner_box tr.odd {
div#bookmark_div {
background-color:#e4e7ed;
font-family:arial,verdana,sans-serif,helvetica;
padding:0;
margin:0;
padding:0px;
margin:0px;
overflow:hidden;
z-index:3;
position:absolute;
@ -1302,8 +1298,8 @@ div#bookmark_div {
div#preference_div {
background-color:#e4e7ed;
font-family:arial,verdana,sans-serif,helvetica;
padding:0;
margin:0;
padding:0px;
margin:0px;
overflow:hidden;
z-index:3;
position:absolute;

View file

@ -290,7 +290,7 @@ function html_page_start($p_theme="", $p_script="", $p_script2="")
else
$title=$_REQUEST['ac']." ".$title;
}
echo '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 FINAL//EN">';
echo '<!doctype html>';
echo "<HTML>";
if ($p_script2 != "")

View file

@ -25,7 +25,6 @@ $cal=new Calendar();
$cal->set_periode($_GET['in']);
echo $cal->zoom();
$response= ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');

View file

@ -21,7 +21,6 @@ ob_start();
echo HtmlInput::select_ledger($type,$r_jrn, $div);
$response = ob_get_clean();
ob_end_clean();
$html = escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF

View file

@ -29,7 +29,6 @@ $tag=new Tag($cn,$_GET['id']);
$tag->update_search_cell($_GET['pref']);
$response= ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF

View file

@ -23,7 +23,6 @@ require_once 'class_tag.php';
ob_start();
echo Tag::button_search($_GET['pref']);
$response= ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF

View file

@ -25,7 +25,6 @@ $tag=new Tag($cn);
$tag->select_search($_GET['pref']);
$response= ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF

View file

@ -29,7 +29,6 @@ ob_start();
$fl->tag_cell();
$response= ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF

View file

@ -38,7 +38,6 @@ else :
</form>
<?php
$response= ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF

View file

@ -30,7 +30,6 @@ $js=sprintf("onclick=\"show_tag('%s','%s','%s','j')\"",Dossier::id(),'','-1');
echo HtmlInput::button("tag_add", "Ajout d'un tag", $js);
$response= ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF

View file

@ -29,7 +29,6 @@ ob_start();
$fl->tag_cell();
$response= ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF

View file

@ -25,7 +25,6 @@ $tag=new Tag($cn);
$tag->select_search();
$response= ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF

View file

@ -57,7 +57,6 @@ else
}
echo HtmlInput::button_close($div);
$response = ob_get_clean();
ob_end_clean();
$html=escape_xml($response);
header('Content-type: text/xml; charset=UTF-8');
echo <<<EOF

View file

@ -27,7 +27,7 @@
*/
require_once 'class_phpcompta_sql.php';
class Stock_Sql extends NOALYSS_Sql {
class Stock_Sql extends Phpcompta_SQL {
function __construct($cn,$p_id=-1)
{
$this->table = "public.stock_repository";