Cosmetic
======== add a class button for style-light.css must done also for theme Change the apperance of submit, button_anchor and button
This commit is contained in:
parent
44a4fdf589
commit
c37ded23cf
29 changed files with 103 additions and 61 deletions
|
|
@ -149,7 +149,7 @@ EOF;
|
|||
}
|
||||
|
||||
}
|
||||
$set= '<INPUT TYPE="BUTTON" Value="select" '.$script.'>';
|
||||
$set= '<INPUT TYPE="BUTTON" class="button" Value="select" '.$script.'>';
|
||||
$r.='<tr>';
|
||||
$r.=td($set);
|
||||
$r.=td($row['tva_id']);
|
||||
|
|
|
|||
|
|
@ -455,7 +455,7 @@ echo dossier::hidden().
|
|||
'
|
||||
<input type="hidden" name="p_id" value="'.$_GET['jrn_op'].'">
|
||||
<input type="submit" name="annul" value="Mise à zéro ou effacement">
|
||||
<input type="button" name="cancel" value="Retour" onClick="window.close();">
|
||||
<input type="button" class="button" name="cancel" value="Retour" onClick="window.close();">
|
||||
</form>';
|
||||
|
||||
html_page_stop();
|
||||
|
|
|
|||
|
|
@ -139,6 +139,27 @@ BODY {
|
|||
color:red;
|
||||
|
||||
}
|
||||
|
||||
.button {
|
||||
font-size:12;
|
||||
color:black;
|
||||
text-decoration:none;
|
||||
font-family: arial,sans-serif;
|
||||
background-color:lightblue;
|
||||
border-color: grey ;
|
||||
border-width:1 1 2 1;
|
||||
padding:2 4 2 4;
|
||||
cursor:pointer;
|
||||
margin:1 2 1 2;
|
||||
|
||||
}
|
||||
.button:hover{
|
||||
cursor:pointer;
|
||||
background-color:white;
|
||||
font-color:blue;
|
||||
margin:1 2 1 2;
|
||||
}
|
||||
|
||||
</style>
|
||||
<script src="js/scripts.js" type="text/javascript"></script>
|
||||
</head>
|
||||
|
|
@ -176,7 +197,7 @@ version 5.0.build SVNINFO - '.$my_domain.'
|
|||
</TR>
|
||||
<TR>
|
||||
<TD COLSPAN=2 ALIGN=CENTER>
|
||||
<INPUT TYPE="SUBMIT" NAME="login" value="Se connecter">
|
||||
<INPUT TYPE="SUBMIT" class="button" NAME="login" value="Se connecter">
|
||||
</TD>
|
||||
</TR>
|
||||
</table>
|
||||
|
|
|
|||
|
|
@ -150,7 +150,7 @@ echo "</TR>";
|
|||
|
||||
echo '</TABLE>';
|
||||
echo HtmlInput::submit('search','cherche');
|
||||
echo '<input type="button" name="update_concerned" value="Mise à jour des réconciliation" onClick="updateJrn(\''.$p_ctl.'\')">';
|
||||
echo '<input type="button" class="button" name="update_concerned" value="Mise à jour des réconciliation" onClick="updateJrn(\''.$p_ctl.'\')">';
|
||||
echo '</FORM>';
|
||||
echo '<div class="content">';
|
||||
// if a search is asked otherwise don't show all the rows
|
||||
|
|
|
|||
|
|
@ -111,7 +111,7 @@ echo $acc->form(true);
|
|||
<TD><INPUT TYPE="Submit" VALUE="Sauve">
|
||||
<INPUT TYPE="HIDDEN" name="update">
|
||||
<?php printf ('<INPUT TYPE="HIDDEN" name="p_old" value="%s">',h($acc->get_parameter('value'))); ?>
|
||||
</TD><TD><input type="button" Value="Retour sans sauver" onClick='window.close();'></TD></TR>
|
||||
</TD><TD><input type="button" class="button" Value="Retour sans sauver" onClick='window.close();'></TD></TR>
|
||||
</TABLE>
|
||||
</FORM>
|
||||
|
||||
|
|
|
|||
|
|
@ -116,7 +116,7 @@ if ( $action == 'update' ) {
|
|||
$readonly=($p_view=='E')?0:1;
|
||||
$view.=ShowOperationUser($cn,$p_id,$readonly);
|
||||
$view.='<hr>';
|
||||
$view.='<input type="button" onclick="hide_div(\'simple\');show_div(\'expert\');" value="Vue expert">';
|
||||
$view.='<input type="button" class="button" onclick="hide_div(\'simple\');show_div(\'expert\');" value="Vue expert">';
|
||||
$view.='<INPUT TYPE="Hidden" name="action" value="update_record">';
|
||||
$view.="<br>";
|
||||
$view.="<br>";
|
||||
|
|
@ -124,7 +124,7 @@ if ( $action == 'update' ) {
|
|||
if ( $User->check_jrn($p_jrn) == 'W')
|
||||
$view.=($p_view == 'S')?HtmlInput::submit('update_record','Enregistre'):'';
|
||||
$view.=" ";
|
||||
$view.='<input type="button" value="Fermer" onClick="window.close(); ">';
|
||||
$view.='<input type="button" class="button" value="Fermer" onClick="window.close(); ">';
|
||||
$view.='</FORM>';
|
||||
$view.='</div>';
|
||||
|
||||
|
|
@ -139,7 +139,7 @@ if ( $action == 'update' ) {
|
|||
$readonly=($p_view=='S')?0:1;
|
||||
$view.=ShowOperationExpert($cn,$p_id,$readonly);
|
||||
$view.='<hr>';
|
||||
$view.='<input type="button" onclick="hide_div(\'expert\');show_div(\'simple\')" value="Vue simple">';
|
||||
$view.='<input type="button" class="button" onclick="hide_div(\'expert\');show_div(\'simple\')" value="Vue simple">';
|
||||
$view.='<INPUT TYPE="Hidden" name="action" value="update_record">';
|
||||
$view.="<br>";
|
||||
$view.="<br>";
|
||||
|
|
@ -147,7 +147,7 @@ if ( $action == 'update' ) {
|
|||
if ( $User->check_jrn($p_jrn) == 'W')
|
||||
$view.=($p_view == 'E') ?HtmlInput::submit('update_record','Enregistre'):'';
|
||||
$view.=" ";
|
||||
$view.='<input type="button" value="Fermer" onClick="window.close(); ">';
|
||||
$view.='<input type="button" class="button" value="Fermer" onClick="window.close(); ">';
|
||||
$view.='</div>';
|
||||
|
||||
|
||||
|
|
@ -166,8 +166,8 @@ if ( $action=="view_ca") {
|
|||
$view.='<h2 class="info2">Vue simple</h2>';
|
||||
$view.=ShowOperationUser($cn,$p_id,0);
|
||||
$view.='<hr>';
|
||||
$view.='<input type="button" onclick="hide_div(\'simple\');show_div(\'expert\');" value="Vue Expert">';
|
||||
$view.='<input type="button" value="Fermer" onClick="window.close(); ">';
|
||||
$view.='<input type="button" class="button" onclick="hide_div(\'simple\');show_div(\'expert\');" value="Vue Expert">';
|
||||
$view.='<input type="button" class="button" value="Fermer" onClick="window.close(); ">';
|
||||
$view.='</div>';
|
||||
|
||||
|
||||
|
|
@ -178,8 +178,8 @@ if ( $action=="view_ca") {
|
|||
|
||||
$view.=ShowOperationExpert($cn,$p_id,0);
|
||||
$view.='<hr>';
|
||||
$view.='<input type="button" onclick="hide_div(\'expert\');show_div(\'simple\')" value="Vue Simple">';
|
||||
$view.='<input type="button" value="Fermer" onClick="window.close(); ">';
|
||||
$view.='<input type="button" class="button" onclick="hide_div(\'expert\');show_div(\'simple\')" value="Vue Simple">';
|
||||
$view.='<input type="button" class="button" value="Fermer" onClick="window.close(); ">';
|
||||
$view.='</div>';
|
||||
echo $view;
|
||||
exit();
|
||||
|
|
|
|||
|
|
@ -49,7 +49,7 @@ $Max=Database::num_row($Res);
|
|||
echo "<TABLE BORDER=\"1\">";
|
||||
for ($i=0;$i<$Max;$i++) {
|
||||
$row=Database::fetch_array($Res,$i);
|
||||
$set=sprintf( '<INPUT TYPE="BUTTON" Value="select" onClick="GetIt(\'%s\',\'%s\');">',
|
||||
$set=sprintf( '<INPUT TYPE="BUTTON" class="button" Value="select" onClick="GetIt(\'%s\',\'%s\');">',
|
||||
$_GET['ctl'],$row['tva_id']);
|
||||
printf("<tr><TD>%s %d</TD><TD>%s</TD><TD>%s</TD></TR>",
|
||||
$set,
|
||||
|
|
@ -59,7 +59,7 @@ for ($i=0;$i<$Max;$i++) {
|
|||
}
|
||||
echo '</TABLE>';
|
||||
?>
|
||||
<input type='button' Value="fermer" onClick='window.close();'>
|
||||
<input type='button' class="button" Value="fermer" onClick='window.close();'>
|
||||
<?php
|
||||
html_page_stop();
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -749,4 +749,24 @@ color:black;
|
|||
cursor:inherit;
|
||||
}
|
||||
|
||||
.button {
|
||||
font-size:12;
|
||||
color:black;
|
||||
text-decoration:none;
|
||||
font-family: arial,sans-serif;
|
||||
background-color:lightblue;
|
||||
border-style: inset ;
|
||||
border-color: blue ;
|
||||
border-width:1;
|
||||
padding:2 4 2 4;
|
||||
cursor:pointer;
|
||||
margin:1 2 1 2;
|
||||
|
||||
}
|
||||
.button:hover{
|
||||
cursor:pointer;
|
||||
background-color:white;
|
||||
font-color:blue;
|
||||
margin:1 2 1 2;
|
||||
}
|
||||
/* </style> */
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ echo '<span style="position:absolute;right:10px;top:30px">'.$result.'</span>';
|
|||
echo '</div>';
|
||||
?>
|
||||
<form method="get" action="?">
|
||||
<input type="submit" value="<?php echo _('Rechercher');?>">
|
||||
<input type="submit" class="button" value="<?php echo _('Rechercher');?>">
|
||||
<?php
|
||||
$w=new IText();
|
||||
$p_nom=isset($_GET ['p_nom'])?$_GET['p_nom']:"";
|
||||
|
|
|
|||
|
|
@ -123,8 +123,8 @@ if ( $sub_action=="update" )
|
|||
|
||||
echo '<input type="hidden" name="p_action" value="'.$p_action.'">';
|
||||
echo '<input type="hidden" name="sa" value="save_action_st2">';
|
||||
echo '<input type="submit" name="save_action_st2" value="'._('Enregistrer').'">';
|
||||
echo '<input type="submit" name="generate" value="'._('Génère le document').'"></p>';
|
||||
echo '<input type="submit" class="button" name="save_action_st2" value="'._('Enregistrer').'">';
|
||||
echo '<input type="submit" class="button" name="generate" value="'._('Génère le document').'"></p>';
|
||||
echo $supl_hidden;
|
||||
echo '</form>';
|
||||
echo '</div>';
|
||||
|
|
@ -206,7 +206,7 @@ if ( $sub_action == "add_action" )
|
|||
echo '<input type="hidden" name="p_action" value="'.$p_action.'">';
|
||||
echo '<input type="hidden" name="sa" value="save_action_st2">';
|
||||
echo '<input type="hidden" name="save_action_st2" value="save_action_st2">';
|
||||
echo '<input type="submit" name="save_action_st2" value="'._('Enregistrer').'">';
|
||||
echo '<input type="submit" class="button" name="save_action_st2" value="'._('Enregistrer').'">';
|
||||
echo '</form>';
|
||||
|
||||
echo '</div>';
|
||||
|
|
@ -289,7 +289,7 @@ function ShowActionList($cn,$p_base)
|
|||
$my_action->selected= (isset($_REQUEST['all_action']))?true:false;
|
||||
echo _('affecté à d\'autre:').$my_action->input().'<br/>';
|
||||
?>
|
||||
<input type="submit" name="submit_query" value="<?=_('recherche')?>">
|
||||
<input type="submit" class="button" name="submit_query" value="<?=_('recherche')?>">
|
||||
<input type="hidden" name="sa" value="list">
|
||||
<input type="hidden" name="p_action" value="<?=$_REQUEST['p_action']?>">
|
||||
<?=$supl_hidden?>
|
||||
|
|
@ -302,11 +302,11 @@ function ShowActionList($cn,$p_base)
|
|||
<span style="float:left">
|
||||
<form method="get" action="commercial.php">
|
||||
<?php echo dossier::hidden(); ?>
|
||||
<input type="submit" name="submit_query" value="<?=_("Ajout Action")?>">
|
||||
<input type="submit" class="button" name="submit_query" value="<?=_("Ajout Action")?>">
|
||||
<input type="hidden" name="p_action" value="<?=$_REQUEST['p_action']?>">
|
||||
<input type="hidden" name="sa" value="add_action">
|
||||
<?=$supl_hidden?>
|
||||
<input id="bt_search" type="button" onclick="toggleShow(this,'<?=_('Afficher Recherche')?>','<?=_('Cache Recherche')?>','search_action')" value="">
|
||||
<input id="bt_search" type="button" class="button" onclick="toggleShow(this,'<?=_('Afficher Recherche')?>','<?=_('Cache Recherche')?>','search_action')" value="">
|
||||
|
||||
<script language="JavaScript">
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ if ( $low_action == "list" )
|
|||
echo _('Catégorie :').$sel_card->input();
|
||||
|
||||
?>
|
||||
<input type="submit" name="submit_query" value="<?=_('recherche')?>">
|
||||
<input type="submit" class="button" name="submit_query" value="<?=_('recherche')?>">
|
||||
<input type="hidden" name="p_action" value="adm">
|
||||
</form>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -740,7 +740,7 @@ jr_comment||' ('||c_internal||')'||case when jr_pj_number is not null and jr_pj_
|
|||
$r.="<TD>";
|
||||
// cancel operation
|
||||
if ( $user->check_action(GEOP)==1)
|
||||
$r.=sprintf('<input TYPE="BUTTON" VALUE="%s" onClick="cancelOperation(\'%s\',\'%s\',%d,\'%s\')">',
|
||||
$r.=sprintf('<input TYPE="BUTTON" class="button" VALUE="%s" onClick="cancelOperation(\'%s\',\'%s\',%d,\'%s\')">',
|
||||
_("Effacer"),$row['jr_grpt_id'],$l_sessid,$gDossier,$row['jrn_def_id']);
|
||||
$r.="</TD>";
|
||||
} // else
|
||||
|
|
|
|||
|
|
@ -47,7 +47,7 @@ class contact extends fiche
|
|||
*
|
||||
* \return string to display
|
||||
*/
|
||||
function Summary($p_search="",$p_action="")
|
||||
function Summary($p_search="",$p_action="",$p_sql="")
|
||||
{
|
||||
$p_search=FormatString($p_search);
|
||||
$extra_sql="";
|
||||
|
|
@ -77,7 +77,7 @@ attr_value using (jft_id) where av_text=upper('".$this->company."') and ad_id=".
|
|||
ad_id=1 and av_text ~* '$p_search') ";
|
||||
}
|
||||
// Get The result Array
|
||||
$step_contact=$this->GetAll($offset,$search.$extra_sql);
|
||||
$step_contact=$this->GetAll($offset,$search.$extra_sql.$p_sql);
|
||||
if ( $all_contact == 0 ) return "";
|
||||
$r=$bar;
|
||||
$r.='<table border="0" width="95%">
|
||||
|
|
|
|||
|
|
@ -175,15 +175,15 @@ echo $string => property={'prop':'1','prop2':'2','prop3':'3'};
|
|||
}
|
||||
static function submit ($p_name,$p_value,$p_javascript="") {
|
||||
|
||||
return '<INPUT TYPE="SUBMIT" NAME="'.$p_name.'" VALUE="'.$p_value.'" '.$p_javascript.'>';
|
||||
return '<INPUT TYPE="SUBMIT" class="button" NAME="'.$p_name.'" VALUE="'.$p_value.'" '.$p_javascript.'>';
|
||||
}
|
||||
static function button ($p_name,$p_value,$p_javascript="") {
|
||||
|
||||
return '<INPUT TYPE="button" NAME="'.$p_name.'" ID="'.$p_name.'" VALUE="'.$p_value.'" '.$p_javascript.'>';
|
||||
return '<INPUT TYPE="button" class="button" NAME="'.$p_name.'" ID="'.$p_name.'" VALUE="'.$p_value.'" '.$p_javascript.'>';
|
||||
}
|
||||
|
||||
static function reset ($p_value) {
|
||||
return '<INPUT TYPE="RESET" VALUE="'.$p_value.'">';
|
||||
return '<INPUT TYPE="RESET" class="button" VALUE="'.$p_value.'">';
|
||||
}
|
||||
static function hidden($p_name,$p_value) {
|
||||
return '<INPUT TYPE="hidden" id="'.$p_name.'" NAME="'.$p_name.'" VALUE="'.$p_value.'">';
|
||||
|
|
@ -203,7 +203,7 @@ echo $string => property={'prop':'1','prop2':'2','prop3':'3'};
|
|||
*/
|
||||
static function button_anchor($p_label,$p_value,$p_name="") {
|
||||
$str='&PHPSESSID='.$_REQUEST['PHPSESSID'];
|
||||
$r=sprintf('<span id="%s" class="action"> <A class="action" href="%s">%s</A></span>',
|
||||
$r=sprintf('<span id="%s"> <A class="button" href="%s" style="width:75;display:inline">%s</A></span>',
|
||||
$p_name,
|
||||
$p_value.$str,
|
||||
$p_label);
|
||||
|
|
|
|||
|
|
@ -36,6 +36,7 @@ require_once('class_html_input.php');
|
|||
$extra= ( isset($this->extra))?$this->extra:"";
|
||||
|
||||
$r='<input type="BUTTON" name="'.$this->name.'"'.
|
||||
' class="button" '.
|
||||
' id="'.$this->name.'"'.
|
||||
' value="'.$this->label.'"'.
|
||||
' onClick="'.$this->javascript.'"'.$extra.'>';
|
||||
|
|
|
|||
|
|
@ -75,7 +75,7 @@ require_once('class_ispan.php');
|
|||
$this->js=(isset($this->js))?$this->js:"format_number(this);";
|
||||
if ( $this->readOnly==true) return $this->display();
|
||||
|
||||
$str='<input type="TEXT" name="%s" value="%s" id="%s" size="3" %s>';
|
||||
$str='<input type="TEXT" class="input_text" name="%s" value="%s" id="%s" size="3" %s>';
|
||||
$r=sprintf($str,$this->name,$this->value,$this->name,$this->js);
|
||||
|
||||
if ($this->in_table)
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ if ( $low_action == "list" )
|
|||
echo _('Catégorie :').$sel_card->input();
|
||||
|
||||
?>
|
||||
<input type="submit" name="submit_query" value="<?=_('recherche')?>">
|
||||
<input type="submit" class="button" name="submit_query" value="<?=_('recherche')?>">
|
||||
<input type="hidden" name="p_action" value="client">
|
||||
</form>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -123,7 +123,7 @@ if ( $sub_action == "list" )
|
|||
printf ('<input type="text" name="query" value="%s">',
|
||||
$a);
|
||||
?>
|
||||
<input type="submit" name="submit_query" value="<?_('recherche')?>">
|
||||
<input type="submit" class="button" name="submit_query" value="<?_('recherche')?>">
|
||||
<input type="hidden" name="p_action" value="contact">
|
||||
</form>
|
||||
|
||||
|
|
@ -148,7 +148,7 @@ if ( $sub_action == "list" )
|
|||
|
||||
|
||||
?>
|
||||
<input type="submit" name="submit_query" value="recherche">
|
||||
<input type="submit" class="button" name="submit_query" value="recherche">
|
||||
<input type="hidden" name="p_action" value="contact">
|
||||
|
||||
</FORM>
|
||||
|
|
@ -174,7 +174,7 @@ if ( $sub_action == "list" )
|
|||
|
||||
?>
|
||||
<input type="hidden" name="sa" value="blank">
|
||||
<input type="submit" name="submit_query" value="Ajout Contact">
|
||||
<input type="submit" class="button" name="submit_query" value="Ajout Contact">
|
||||
|
||||
</form>
|
||||
</span>
|
||||
|
|
@ -214,7 +214,7 @@ if ( $sub_action == 'detail' )
|
|||
echo $w->input();
|
||||
|
||||
echo HtmlInput::submit('mod','Sauver les modifications');
|
||||
echo '<A HREF="commercial.php?p_action=contact&'.$str_dossier.'"><INPUT TYPE="button" value="Retour"></A>';
|
||||
echo '<A HREF="commercial.php?p_action=contact&'.$str_dossier.'"><INPUT TYPE="button" class="button" value="Retour"></A>';
|
||||
echo HtmlInput::submit('delete','Effacer cette fiche');
|
||||
echo '</form>';
|
||||
echo $retour;
|
||||
|
|
|
|||
|
|
@ -237,7 +237,7 @@ if ( $sa == 'list' ) {
|
|||
<TR> <TD><?php echo _('Modèle'); ?></td><td> <?php echo $template; ?> </TD></TR>
|
||||
<TR><TD>Année </TD><TD><input type="text" size=4 name="YEAR" value=<?php echo '"'.$m_date.'"'; ?>></TD></TR>
|
||||
<TR>
|
||||
<TD> <INPUT TYPE=SUBMIT VALUE="<?php echo _('Creation Dossier'); ?>"> </TD>
|
||||
<TD> <INPUT TYPE=SUBMIT class="button" VALUE="<?php echo _('Creation Dossier'); ?>"> </TD>
|
||||
<td>
|
||||
<?php echo HtmlInput::button_anchor(_('Retour'),'admin_repo.php?action=dossier_mgt'); ?>
|
||||
</td>
|
||||
|
|
|
|||
|
|
@ -218,18 +218,18 @@ function ShowOperationExpert($p_cn,$p_jr_id,$p_mode=1)
|
|||
foreach ($a as $key => $element) {
|
||||
$operation=new Acc_operation($p_cn);
|
||||
$operation->jr_id=$element;
|
||||
$r.=sprintf ('%s <INPUT TYPE="BUTTON" VALUE="Détail" onClick="modifyOperation(\'%s\',\'%s\',%d)">',
|
||||
$r.=sprintf ('%s <INPUT class="button" TYPE="BUTTON" VALUE="Détail" onClick="modifyOperation(\'%s\',\'%s\',%d)">',
|
||||
$operation->get_internal($p_cn,$element),
|
||||
$element,
|
||||
$sessid,
|
||||
$gDossier);
|
||||
$r.=sprintf('<INPUT TYPE="button" value="Efface" onClick="dropLink(\'%s\',\'%s\',\'%s\',%d)"><BR>',
|
||||
$r.=sprintf('<INPUT class="button" TYPE="button" value="Efface" onClick="dropLink(\'%s\',\'%s\',\'%s\',%d)"><BR>',
|
||||
$content['jr_id'],$element,$sessid,$gDossier);
|
||||
}//for
|
||||
$r.= "</div>";
|
||||
}// if ( $a != null )
|
||||
|
||||
$search='<INPUT TYPE="BUTTON" VALUE="Cherche" OnClick="SearchJrn(\''.$sessid."',".$gDossier.",'rapt','".$content['jr_montant']."')\">";
|
||||
$search='<INPUT TYPE="BUTTON" class="button" VALUE="Cherche" OnClick="SearchJrn(\''.$sessid."',".$gDossier.",'rapt','".$content['jr_montant']."')\">";
|
||||
|
||||
$r.= 'Autre rapprochement :
|
||||
<INPUT TYPE="TEXT" id="rapt" name="rapt" value="">'.$search;
|
||||
|
|
@ -615,18 +615,18 @@ function ShowOperationUser($p_cn,$p_jr_id,$p_mode=1)
|
|||
foreach ($a as $key => $element) {
|
||||
$operation=new Acc_operation($p_cn);
|
||||
$operation->jr_id=$element;
|
||||
$r.=sprintf ('%s <INPUT TYPE="BUTTON" VALUE="Détail" onClick="modifyOperation(\'%s\',\'%s\',%d)">',
|
||||
$r.=sprintf ('%s <INPUT TYPE="BUTTON" class="button" VALUE="Détail" onClick="modifyOperation(\'%s\',\'%s\',%d)">',
|
||||
$operation->get_internal(),
|
||||
$element,
|
||||
$sessid,
|
||||
$gDossier);
|
||||
$r.=sprintf('<INPUT TYPE="button" value="Efface" onClick="dropLink(\'%s\',\'%s\',\'%s\',%d)"><BR>',
|
||||
$r.=sprintf('<INPUT TYPE="button" class="button" value="Efface" onClick="dropLink(\'%s\',\'%s\',\'%s\',%d)"><BR>',
|
||||
$content['jr_id'],$element,$sessid,$gDossier);
|
||||
}//for
|
||||
$r.= "</div>";
|
||||
}// if ( $a != null )
|
||||
|
||||
$search='<INPUT TYPE="BUTTON" VALUE="Cherche" OnClick="SearchJrn(\''.$sessid."',".$gDossier.",'rapt','".$content['jr_montant']."')\">";
|
||||
$search='<INPUT TYPE="BUTTON" class="button" VALUE="Cherche" OnClick="SearchJrn(\''.$sessid."',".$gDossier.",'rapt','".$content['jr_montant']."')\">";
|
||||
|
||||
$r.= 'Autre rapprochement :
|
||||
<INPUT TYPE="TEXT" id="rapt" name="rapt" value="">'.$search;
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@ if ( $count != 0 ) {
|
|||
|
||||
'
|
||||
|
||||
<INPUT TYPE="SUBMIT" VALUE="Ajout d'un modele">
|
||||
<INPUT TYPE="SUBMIT" class="button" VALUE="Ajout d'un modele">
|
||||
<?php
|
||||
echo HtmlInput::button_anchor('Retour','?action=modele_mgt');
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -194,9 +194,9 @@ echo '<div class="u_redcontent">';
|
|||
echo '<form method="POST">';
|
||||
echo $hidden;
|
||||
require_once('template/param_jrn.php');
|
||||
echo '<INPUT TYPE="SUBMIT" VALUE="Sauve" name="update">
|
||||
<INPUT TYPE="RESET" VALUE="Reset">
|
||||
<INPUT TYPE="submit" name="efface" value="Efface" onClick="return m_confirm();">';
|
||||
echo '<INPUT TYPE="SUBMIT" class="button" VALUE="Sauve" name="update">
|
||||
<INPUT TYPE="RESET" class="button" VALUE="Reset">
|
||||
<INPUT TYPE="submit" class="button" name="efface" value="Efface" onClick="return m_confirm();">';
|
||||
|
||||
echo '</FORM>';
|
||||
echo "</DIV>";
|
||||
|
|
|
|||
|
|
@ -156,7 +156,7 @@ echo dossier::hidden();
|
|||
echo $line->form(false);
|
||||
?>
|
||||
<TD>
|
||||
<INPUT TYPE="SUBMIT" Value="Ajout" Name="Ajout">
|
||||
<INPUT TYPE="SUBMIT" class="button" Value="Ajout" Name="Ajout">
|
||||
</TD>
|
||||
</TR>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -46,7 +46,7 @@ if ( $action=="change_per") {
|
|||
echo '<TD> <INPUT TYPE="text" NAME="p_date_start" VALUE="'.$p_date_start.'"></TD>';
|
||||
echo '<TD> <INPUT TYPE="text" NAME="p_date_end" VALUE="'.$p_date_end.'"></TD>';
|
||||
echo '<TD> <INPUT TYPE="text" NAME="p_exercice" VALUE="'.$p_exercice.'"></TD>';
|
||||
echo '<TD> <INPUT TYPE="SUBMIT" NAME="conf_chg_per" Value="Change"</TD>';
|
||||
echo '<TD> <INPUT TYPE="SUBMIT" class="button" NAME="conf_chg_per" Value="Change"</TD>';
|
||||
echo '</FORM></TR>';
|
||||
echo "</TABLE>";
|
||||
// $choose="yes";
|
||||
|
|
|
|||
|
|
@ -92,7 +92,7 @@ $sel->selected=(isset($_REQUEST['jrn']))?$_REQUEST['jrn']:-1;
|
|||
echo $hid->input("od_id",$row['od_id']);
|
||||
echo $hid->input("jrn",$_GET['jrn']);
|
||||
|
||||
$b='<input type="submit" value="Effacer" '.
|
||||
$b='<input type="submit" class="button" value="Effacer" '.
|
||||
' onClick="return confirm(\'Voulez-vous vraiment effacer cette operation ?\');" >';
|
||||
echo $b;
|
||||
echo '</form>';
|
||||
|
|
@ -104,4 +104,4 @@ $sel->selected=(isset($_REQUEST['jrn']))?$_REQUEST['jrn']:-1;
|
|||
echo '</table>';
|
||||
}
|
||||
echo '</div>';
|
||||
?>
|
||||
?>
|
||||
|
|
|
|||
|
|
@ -105,7 +105,7 @@ if ( $low_action == "list" )
|
|||
$sel_card->javascript=' onchange="submit(this);"';
|
||||
echo _('Catégorie :').$sel_card->input();
|
||||
?>
|
||||
<input type="submit" name="submit_query" value="<?=_('recherche')?>">
|
||||
<input type="submit" class="button" name="submit_query" value="<?=_('recherche')?>">
|
||||
<input type="hidden" name="p_action" value="supplier">
|
||||
</form>
|
||||
</span>
|
||||
|
|
|
|||
|
|
@ -162,7 +162,7 @@ if (strlen($desc->value)>300) {$style_enl='style="display:none"';$style_small='s
|
|||
<input type="button" id="bt_small" <?=$style_small?> value="-" style="display:none" onclick="small('ag_comment');return false;">
|
||||
</p>
|
||||
</fieldset>
|
||||
<input type='button' value='Montrer articles' id="toggleButton" onclick='toggleShowDetail()'>
|
||||
<input type='button' class="button" value='Montrer articles' id="toggleButton" onclick='toggleShowDetail()'>
|
||||
<fieldset id="fldDetail" style='display:block'>
|
||||
<LEGEND> <?=_('Détail des articles')?>
|
||||
</LEGEND>
|
||||
|
|
@ -214,7 +214,7 @@ function toggleShowDetail() {
|
|||
|
||||
</script>
|
||||
<div style="float: left; text-align: right; padding-right: 5px; font-size: 1.2em; font-weight: bold; color: blue;">
|
||||
<input name="act" id="act" value="<?=_('Actualiser')?>" onclick="compute_all_purchase();" type="button">
|
||||
<input name="act" id="act" class="button" value="<?=_('Actualiser')?>" onclick="compute_all_purchase();" type="button">
|
||||
|
||||
<div style="float: right; text-align: left; font-size: 1.2em; font-weight: bold; color: blue;" id="sum">
|
||||
<br><span id="htva">0.0</span>
|
||||
|
|
@ -279,5 +279,5 @@ catch(exception) { alert('<?=j(_('Je ne peux pas ajouter de fichier'))?>'); aler
|
|||
</li>
|
||||
</ol>
|
||||
</p>
|
||||
<input type="button" onclick="addFiles();" value="Ajouter un fichier">
|
||||
<input type="button" class="button" onclick="addFiles();" value="Ajouter un fichier">
|
||||
</fieldset>
|
||||
|
|
|
|||
|
|
@ -173,7 +173,7 @@ if ( ! isset ($_POST['add'])
|
|||
|
||||
) { ?>
|
||||
<form method="post">
|
||||
<input type="submit" name="add" value="Ajouter un taux de tva">
|
||||
<input type="submit" class="button" name="add" value="Ajouter un taux de tva">
|
||||
<input type="hidden" name="p_action" value="divers">
|
||||
<input type="hidden" name="sa" value="tva">
|
||||
</form>
|
||||
|
|
@ -238,8 +238,8 @@ if ( ! isset ($_POST['add'])
|
|||
<td> <?php $w=new IText(); $w->size=20;echo $w->input('tva_poste','') ?></td>
|
||||
</Tr>
|
||||
</table>
|
||||
<input type="submit" value="Confirme" name="confirm_add">
|
||||
<input type="submit" value="Cancel" name="no">
|
||||
<input type="submit" class="button" value="Confirme" name="confirm_add">
|
||||
<input type="submit" class="button" value="Cancel" name="no">
|
||||
|
||||
</FORM>
|
||||
</fieldset>
|
||||
|
|
@ -276,8 +276,8 @@ if ( ! isset ($_POST['add'])
|
|||
<td> <?php $w=new IText();$w->size=20; echo $w->input('tva_poste',$tva_array[$index]['tva_poste']) ?></td>
|
||||
</Tr>
|
||||
</table>
|
||||
<input type="submit" value="Confirme" name="confirm_mod">
|
||||
<input type="submit" value="Cancel" name="no">
|
||||
<input type="submit" class="button" value="Confirme" name="confirm_mod">
|
||||
<input type="submit" class="button" value="Cancel" name="no">
|
||||
</FORM>
|
||||
</fieldset>
|
||||
<?php
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ echo '<TR><TD> First Name </TD><TD><INPUT TYPE="TEXT" NAME="FNAME"></TD>';
|
|||
echo '<TD> Last Name </TD><TD><INPUT TYPE="TEXT" NAME="LNAME"></TD></TR>';
|
||||
echo '<TR><TD> login </TD><TD><INPUT TYPE="TEXT" NAME="LOGIN"></TD>';
|
||||
echo '<TD> password </TD><TD> <INPUT TYPE="TEXT" NAME="PASS"></TD></TR>';
|
||||
echo '<TD> <INPUT TYPE="SUBMIT" Value="Create user" NAME="ADD"></TD>';
|
||||
echo '<TD> <INPUT TYPE="SUBMIT" class="button" Value="Create user" NAME="ADD"></TD>';
|
||||
echo '</TABLE>';
|
||||
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue