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"); ?> +