From 98d4348ce29260a3b1d114550af27e97763372e6 Mon Sep 17 00:00:00 2001 From: Dany De Bontridder Date: Wed, 4 Nov 2015 11:31:11 +0100 Subject: [PATCH] =?UTF-8?q?Task=20#1203=20-=20CFGPCMN=20:=20ajout=20de=20p?= =?UTF-8?q?oste=20comptable=20#1203=20:=20CFGPCMN=20am=C3=A9liore=20appare?= =?UTF-8?q?nce=20et=20taille?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- include/ajax/ajax_pcmn_update.php | 4 ++-- include/param_pcmn.inc.php | 2 +- include/template/pcmn_update.php | 13 ++++++++----- 3 files changed, 11 insertions(+), 8 deletions(-) diff --git a/include/ajax/ajax_pcmn_update.php b/include/ajax/ajax_pcmn_update.php index 4f4a94941..ba4faf833 100644 --- a/include/ajax/ajax_pcmn_update.php +++ b/include/ajax/ajax_pcmn_update.php @@ -55,7 +55,7 @@ $action='new'; $val=new IText('p_valu'); $parent=new IText('p_parentu'); $lib=new IText('p_libu'); -$lib->css_size="100%"; +$lib->size="60"; $type=new ISelect('p_typeu'); $type->value=Acc_Account::$type; @@ -76,7 +76,7 @@ if ( $pcmn_val != "") } -require NOALYSS_INCLUDE.'/template/pcmn_update.php'; +require NOALYSS_TEMPLATE.'/pcmn_update.php'; $response = ob_get_clean(); $html = escape_xml($response); if ( headers_sent() ) { diff --git a/include/param_pcmn.inc.php b/include/param_pcmn.inc.php index 28fa1dada..519e9e2aa 100644 --- a/include/param_pcmn.inc.php +++ b/include/param_pcmn.inc.php @@ -37,7 +37,7 @@ $cn=Dossier::connect(); require_once NOALYSS_INCLUDE.'/class/class_user.php'; require_once NOALYSS_INCLUDE.'/lib/user_menu.php'; -echo ''; +echo ''; /* Store the p_start parameter */ diff --git a/include/template/pcmn_update.php b/include/template/pcmn_update.php index 6a8ddb3cb..594f29540 100644 --- a/include/template/pcmn_update.php +++ b/include/template/pcmn_update.php @@ -25,14 +25,15 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis'); * @brief * @param type $name Descriptionara */ -echo HtmlInput::title_box("Poste comptable", "acc_update", "hide"); +echo HtmlInput::title_box(_("Poste comptable"), "acc_update", "hide"); ?> +
- - +

+

input()); +$r= td(_('Poste comptable'),'style="width:auto;width:9rem;text-align:right"').td($val->input()); echo tr($r); $r= td(_('Description'),'style="width:auto;text-align:right"').td($lib->input()); echo tr($r); @@ -52,4 +53,6 @@ echo '
'; echo HtmlInput::submit('update',_('Sauve')); echo HtmlInput::button('hide',_('Annuler'),'onClick="$(\'acc_update\').hide();return true;"'); ?> - \ No newline at end of file +

+ + \ No newline at end of file