Correct position dynamic element
This commit is contained in:
parent
7de35ea5c6
commit
bcc2367126
14 changed files with 22 additions and 26 deletions
|
|
@ -289,12 +289,12 @@ EOF;
|
|||
$row = $arow[0];
|
||||
$r = '';
|
||||
$r.='<fieldset><legend>' . _('Lettrage') . '</legend>';
|
||||
$r.='Poste ' . $row['j_poste'] . ' ' . $row['j_qcode'] . '<br>';
|
||||
$r.=_('Poste')." " . $row['j_poste'] . ' ' . $row['j_qcode'] . '<br>';
|
||||
|
||||
$detail = "<A class=\"detail\" style=\"display:inline\" HREF=\"javascript:modifyOperation('" . $row['jr_id'] . "'," . $gDossier . ")\" > " . $row['jr_internal'] . "</A>";
|
||||
|
||||
$r.='Date : ' . $row['j_date_fmt'] . ' ref :' . $detail . ' <br> ';
|
||||
$r.=h($row['jr_comment']) . " montant: " . ($row['j_montant']) . " " . (($row['j_debit'] == 't') ? 'D' : 'C');
|
||||
$r.=_('Date').' : ' . $row['j_date_fmt'] . ' ref :' . $detail . ' <br> ';
|
||||
$r.=h($row['jr_comment']) ." "._("montant"). " : " . ($row['j_montant']) . " " . (($row['j_debit'] == 't') ? 'D' : 'C');
|
||||
$r.='</fieldset>';
|
||||
$r.='<div id="filtre" style="float:left;display:block">';
|
||||
$r.='<form method="get" id="search_form" onsubmit="search_letter(this);return false">';
|
||||
|
|
@ -355,10 +355,10 @@ EOF;
|
|||
$search_end=$last_per->last_day();
|
||||
}
|
||||
$end->value = (isset($search_end)) ? $search_end : $last_per->last_day();
|
||||
$line.=td('Date Fin') . td($end->input());
|
||||
$line.=td(_('Date Fin')) . td($end->input());
|
||||
$r.=tr($line);
|
||||
// Side
|
||||
$line = td('Debit / Credit');
|
||||
$line = td(_('Debit / Credit'));
|
||||
$iside = new ISelect('side');
|
||||
$iside->value = array(
|
||||
array('label' => _('Debit'), 'value' => 0),
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ require_once 'class_pre_operation.php';
|
|||
$op=new Pre_Operation($cn,$_GET['id']);
|
||||
$array=$op->load();
|
||||
echo HtmlInput::anchor_close('mod_predf_op');
|
||||
echo h2info('Modification du nom');
|
||||
echo h2(_('Modification du nom'),' class="title"');
|
||||
|
||||
echo '
|
||||
<form method="POST" onsubmit="save_predf_op(this);return false;">';
|
||||
|
|
@ -52,8 +52,8 @@ echo "<hr>";
|
|||
echo $op->display();
|
||||
|
||||
|
||||
echo HtmlInput::submit('save', 'Sauve');
|
||||
echo HtmlInput::button('close', 'Annuler', 'onclick="removeDiv(\'mod_predf_op\')"');
|
||||
echo HtmlInput::submit('save', _('Sauve'));
|
||||
echo HtmlInput::button('close', _('Annuler'), 'onclick="removeDiv(\'mod_predf_op\')"');
|
||||
echo '</form>';
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ else
|
|||
{
|
||||
echo h2(_("Ce document n'est pas accessible"),"error");
|
||||
?>
|
||||
<div style="margin:0;padding:0;background-color:red;text-align:center;">
|
||||
<div style="margin:0px;padding:0px;background-color:red;text-align:center;">
|
||||
<h2 class="error">Accès interdit : vous n'avez pas accès à cette information, contactez votre responsable</h2>;
|
||||
</div>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
require_once('class_exercice.php');
|
||||
global $g_user;
|
||||
echo '<div class="content" style="width:90%;margin-left:5%">';
|
||||
echo $f->get_gestion_title();
|
||||
$exercice=new Exercice($cn);
|
||||
$old='';
|
||||
$fiche=new Fiche($cn,$_GET['f_id']);
|
||||
|
|
|
|||
|
|
@ -60,6 +60,7 @@ default:
|
|||
$f=new Fiche($cn,$_REQUEST['f_id']);
|
||||
|
||||
echo '<div class="content">';
|
||||
echo $f->get_gestion_title();
|
||||
echo ShowItem(array(
|
||||
array($root."&sc=dc",_('Fiche'),_('Détail de la fiche'),1),
|
||||
array($root.'&sc=sv',_('Suivi'),_('Suivi Fournisseur, client, banque, devis, bon de commande, courrier'),2),
|
||||
|
|
@ -112,7 +113,6 @@ if ( $ss_action == 'cn')
|
|||
|
||||
echo dossier::hidden();
|
||||
$f = new Fiche($cn, $_REQUEST['f_id']);
|
||||
echo $f->get_gestion_title();
|
||||
$contact=new Contact($cn);
|
||||
$contact->company=$f->get_quick_code();
|
||||
echo $contact->summary("");
|
||||
|
|
|
|||
|
|
@ -47,6 +47,5 @@ $_GET['qcode']=$fiche->get_quick_code();
|
|||
$_REQUEST['qcode'] = $fiche->get_quick_code();
|
||||
|
||||
echo '<div class="content">';
|
||||
echo $fiche->get_gestion_title();
|
||||
require_once('action.common.inc.php');
|
||||
echo '</div>';
|
||||
|
|
|
|||
|
|
@ -36,7 +36,6 @@ $_GET['qcode']=$qcode;
|
|||
$_REQUEST['qcode']=$qcode;
|
||||
$var_array=compute_variable('ledger_type=ALL');
|
||||
put_global($var_array);
|
||||
echo $f->get_gestion_title();
|
||||
|
||||
require_once ('history_operation.inc.php');
|
||||
|
||||
|
|
|
|||
|
|
@ -2836,7 +2836,7 @@ class Acc_Ledger extends jrn_def_sql
|
|||
$type = 'ALL';
|
||||
$r.='<div id="search_form" style="display:none">';
|
||||
$r.=HtmlInput::anchor_hide('Fermer', '$(\'search_form\').style.display=\'none\';');
|
||||
$r.=h2info('Recherche');
|
||||
$r.=h2('Recherche','class="title"');
|
||||
$r.='<FORM METHOD="GET">';
|
||||
$r.=$this->search_form($type);
|
||||
$r.=HtmlInput::submit('search', _('Rechercher'));
|
||||
|
|
@ -2851,7 +2851,7 @@ class Acc_Ledger extends jrn_def_sql
|
|||
$r.= HtmlInput::hidden("sc", $_REQUEST['sc']);
|
||||
if (isset($_REQUEST['f_id']))
|
||||
$r.=HtmlInput::hidden("f_id", $_REQUEST['f_id']);
|
||||
$r.=HtmlInput::button_anchor('Fermer', 'javascript:void(0)', 'fsearch_form', 'onclick="$(\'search_form\').style.display=\'none\';"');
|
||||
$r.=HtmlInput::button_anchor(_('Fermer'), 'javascript:void(0)', 'fsearch_form', 'onclick="$(\'search_form\').style.display=\'none\';"','smallbutton');
|
||||
|
||||
$r.='</FORM>';
|
||||
|
||||
|
|
|
|||
|
|
@ -174,12 +174,12 @@ class HtmlInput
|
|||
$readonly=($this->readonly==false)?"false":"true";
|
||||
echo "read only".$readonly."<br>";
|
||||
}
|
||||
static function submit ($p_name,$p_value,$p_javascript="",$p_class="button")
|
||||
static function submit ($p_name,$p_value,$p_javascript="",$p_class="smallbutton")
|
||||
{
|
||||
|
||||
return '<INPUT TYPE="SUBMIT" class="'.$p_class.'" NAME="'.$p_name.'" ID="'.$p_name.'_submit_id" VALUE="'.$p_value.'" '.$p_javascript.'>';
|
||||
}
|
||||
static function button ($p_name,$p_value,$p_javascript="",$p_class="button")
|
||||
static function button ($p_name,$p_value,$p_javascript="",$p_class="smallbutton")
|
||||
{
|
||||
|
||||
return '<INPUT TYPE="button" class="'.$p_class.'" NAME="'.$p_name.'" ID="'.$p_name.'" VALUE="'.$p_value.'" '.$p_javascript.'>';
|
||||
|
|
@ -187,7 +187,7 @@ class HtmlInput
|
|||
|
||||
static function reset ($p_value)
|
||||
{
|
||||
return '<INPUT TYPE="RESET" class="button" VALUE="'.$p_value.'">';
|
||||
return '<INPUT TYPE="RESET" class="smallbutton" VALUE="'.$p_value.'">';
|
||||
}
|
||||
static function hidden($p_name,$p_value,$p_id="")
|
||||
{
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ class IButton extends HtmlInput
|
|||
$this->name=($p_name==null)?$this->name:$p_name;
|
||||
$this->value=($p_value==null)?$this->value:$p_value;
|
||||
$this->label=(trim($this->label) != '')?$this->label:$this->value;
|
||||
$class=($p_class=="")?" button ":$this->class;
|
||||
$class=($p_class=="")?"smallbutton ":$this->class;
|
||||
if ( $this->readOnly==true) return $this->display();
|
||||
$extra= ( isset($this->extra))?$this->extra:"";
|
||||
$this->id=($this->id=="")?$this->name:$this->id;
|
||||
|
|
|
|||
|
|
@ -6,7 +6,6 @@ if ( ! defined ('ALLOWED') ) die('Appel direct ne sont pas permis');
|
|||
require_once('class_lettering.php');
|
||||
global $g_user;
|
||||
echo '<div class="content">';
|
||||
echo $f->get_gestion_title();
|
||||
|
||||
echo '<div id="search">';
|
||||
echo '<FORM METHOD="GET">';
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@ for ($i=0; $i <$MaxRow; $i++)
|
|||
if ( strlen($A['acode']) >0 ) {
|
||||
if (strpos($A['acode'], ",") >0 ) {
|
||||
$det_qcode= explode(",", $A['acode']);
|
||||
echo '<ul style="paddding:0;margin:0;padding-left:0;list-style-type:none;padding-start-value:0">';
|
||||
echo '<ul style="paddding:0;margin:0px;padding-left:0px;list-style-type:none;padding-start-value:0px">';
|
||||
$max=(count($det_qcode)>MAX_QCODE)?MAX_QCODE:count($det_qcode);
|
||||
for ($e=0;$e<$max;$e++) {
|
||||
echo '<li style="padding-start-value:0">'.HtmlInput::card_detail($det_qcode[$e]).'</li>';
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ if ( $request_sa== 'jrn' )
|
|||
$array = $op->get_list_ledger();
|
||||
if (empty($array) == true)
|
||||
{
|
||||
echo "Aucun enregistrement";
|
||||
echo _("Aucun enregistrement");
|
||||
exit();
|
||||
}
|
||||
|
||||
|
|
@ -97,7 +97,7 @@ if ( $request_sa== 'jrn' )
|
|||
echo '<td>'.h($row['od_name']).'</td>';
|
||||
echo '<td>'.h($row['od_description']).'</td>';
|
||||
echo '<td>';
|
||||
echo '<form method="POST" class="print" style="margin:0;padding:0">';
|
||||
echo '<form method="POST" class="print" style="margin:0px;padding:0px;">';
|
||||
echo dossier::hidden();
|
||||
echo $hid->input("sa","del");
|
||||
echo $hid->input("ac",$request_ac);
|
||||
|
|
@ -105,8 +105,8 @@ if ( $request_sa== 'jrn' )
|
|||
echo $hid->input("od_id",$row['od_id']);
|
||||
echo $hid->input("jrn",$get_jrn);
|
||||
|
||||
$b='<input type="submit" class="button" value="Effacer" '.
|
||||
' onClick="return confirm(\'Voulez-vous vraiment effacer cette operation ?\');" >';
|
||||
$b='<input type="submit" class="smallbutton" value="'._("Effacer").'"'.
|
||||
' onClick="return confirm(\''._("Voulez-vous vraiment effacer cette operation ?").'\');" >';
|
||||
echo $b;
|
||||
echo '</form>';
|
||||
|
||||
|
|
|
|||
|
|
@ -11,5 +11,5 @@ $str='?'.dossier::get()."&div=$div&act=file&jr_id=$jr_id";
|
|||
if ( isset ($_REQUEST['ajax'])) $str.="&ajax=1";
|
||||
?>
|
||||
<div class="noprint">
|
||||
<iframe frameborder=0 scrolling="no" style="margin:0;padding: 0;border:0;width:100%;height:90;overflow:hidden" src="<?php echo 'ajax_ledger.php'.$str; ?>"></iframe>
|
||||
<iframe frameborder=0 scrolling="no" style="margin:0px;padding: 0px;border:0px;width:100%;height:90px;overflow:hidden" src="<?php echo 'ajax_ledger.php'.$str; ?>"></iframe>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue