From 2157432f0ebb7c106791329400b65c27cfe42cfd Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 29 Jun 2011 16:58:55 +0000 Subject: [PATCH] #318 remove code cleaning --- html/show_tva.php | 67 ------------------------------------ include/class_html_input.php | 1 - include/constant.php | 21 ----------- 3 files changed, 89 deletions(-) delete mode 100644 html/show_tva.php diff --git a/html/show_tva.php b/html/show_tva.php deleted file mode 100644 index f1b663a57..000000000 --- a/html/show_tva.php +++ /dev/null @@ -1,67 +0,0 @@ -Check(); -require_once('class_dossier.php'); -$gDossier=dossier::id(); - -html_min_page_start($User->theme,"onLoad='window.focus();'"); -?> - -exec_sql("select * from tva_rate order by tva_rate desc"); -$Max=Database::num_row($Res); -echo ""; -for ($i=0;$i<$Max;$i++) -{ - $row=Database::fetch_array($Res,$i); - $set=sprintf( '', - $_GET['ctl'],$row['tva_id']); - printf("", - $set, - $row['tva_id'], - $row['tva_label'], - $row['tva_comment']); -} -echo '
%s %d%s%s
'; -?> - - diff --git a/include/class_html_input.php b/include/class_html_input.php index 051990022..c6827b43a 100755 --- a/include/class_html_input.php +++ b/include/class_html_input.php @@ -54,7 +54,6 @@ * - JS_SEARCH_ONLY like JS_SEARCH but without adding a quickcode * - JS_LEDGER_CTRL like js_search_only but the tag to update is given * - SPAN - * - JS_TVA open a popup window for the VAT * - JS_CONCERNED open a popup window for search a operation, if extra == 0 then * get the amount thx javascript * - js_DATE show a calendar diff --git a/include/constant.php b/include/constant.php index 662e25866..9c6726a6a 100644 --- a/include/constant.php +++ b/include/constant.php @@ -184,28 +184,7 @@ define ("JS_CALC_LINE",' define ("JS_COMPUTE_ODS", ""); -define ("JS_SHOW_TVA",""); -define ("JS_TVA",""); define ("JS_AJAX_FICHE",''); define ("JS_TODO",''); define ("JS_PROTOTYPE",'');