noalyss-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Noalyss-commit] [noalyss] 03/11: Task #1203 - CFGPCMN : ajout de poste


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 03/11: Task #1203 - CFGPCMN : ajout de poste comptable #1203 : CFGPCMN améliore apparence et taille
Date: Thu, 05 Nov 2015 10:21:09 +0000

sparkyx pushed a commit to branch master
in repository noalyss.

commit 98d4348ce29260a3b1d114550af27e97763372e6
Author: Dany De Bontridder <address@hidden>
Date:   Wed Nov 4 11:31:11 2015 +0100

    Task #1203 - CFGPCMN : ajout de poste comptable
    #1203 : CFGPCMN améliore apparence et taille
---
 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 4f4a949..ba4faf8 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 28fa1da..519e9e2 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 '<div id="acc_update" class="inner_box" 
style="display:none;position:absolute;text-align:left;z-index:1"></div>';
+echo '<div id="acc_update" class="inner_box" 
style="display:none;position:absolute;text-align:left;width:auto;z-index:1"></div>';
 
 /* Store the p_start parameter */
 
diff --git a/include/template/pcmn_update.php b/include/template/pcmn_update.php
index 6a8ddb3..594f295 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");
 ?>
 <span id="acc_update_info" class="notice"></span>
+<div class="content" style="margin:5px;padding: 5px" >
 <form method="post" id="acc_update_frm_id" onsubmit="pcmn_save();return 
false;">
-
-<table style="width:100%">
+    <p style="text-align: left">
+<table >
 <?php
-$r= td(_('Poste 
comptable'),'style="width:20em;width:15rem;text-align:right"').td($val->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 '<hr>';
 echo HtmlInput::submit('update',_('Sauve'));
 echo 
HtmlInput::button('hide',_('Annuler'),'onClick="$(\'acc_update\').hide();return 
true;"');
 ?>
-</form>
\ No newline at end of file
+</p>
+</form>
+</div>
\ No newline at end of file



reply via email to

[Prev in Thread] Current Thread [Next in Thread]