Card : esthetic new
This commit is contained in:
parent
95775db5f8
commit
bb46b65586
3 changed files with 4 additions and 4 deletions
|
|
@ -802,7 +802,7 @@ function dis_blank_card(obj)
|
|||
var content='div_new_card';
|
||||
var nTop=calcy(150);
|
||||
var nLeft=posX;
|
||||
var str_style="top:"+nTop+"px;right:"+nLeft+"px;height:auto";
|
||||
var str_style="top:"+nTop+"px;right:"+nLeft+"px;height:auto;width:45rem;";
|
||||
|
||||
var popup={'id': content,'cssclass':'inner_box','style':str_style,'html':loading(),'drag':false};
|
||||
|
||||
|
|
|
|||
|
|
@ -202,7 +202,7 @@ case 'bc':
|
|||
/* get cat. name */
|
||||
$cat_name=$cn->get_value('select fd_label from fiche_def where fd_id=$1',
|
||||
array($fd_id));
|
||||
$r=HtmlInput::title_box($cat_name, $ctl);
|
||||
$r=HtmlInput::title_box($cat_name, $ctl,p_draggable:true);
|
||||
$f=new Fiche($cn);
|
||||
$r.='<form id="save_card" method="POST" onsubmit="this.ipopup=\''.$ctl.'\';save_card(this);return false;" >';
|
||||
$r.=dossier::hidden();
|
||||
|
|
|
|||
|
|
@ -178,14 +178,14 @@ class Card_Property
|
|||
$result['label']->name = "av_text" . $this->ad_id . "_label";
|
||||
$p_fiche_def->load();
|
||||
if ($a['account_auto'] == 't') {
|
||||
$result['msg'] .= $result['label']->input() . " <span style=\"color:red\">" .
|
||||
$result['msg'] .= $result['label']->input() . " <span style=\"color:red;font-size:80%;display:block\">" .
|
||||
_("Rappel: Poste créé automatiquement à partir de ")
|
||||
. $p_fiche_def->class_base . " </span> ";
|
||||
} else {
|
||||
// if there is a class base in fiche_def_ref, this account will be the
|
||||
// the default one
|
||||
if (noalyss_strlentrim($p_fiche_def->class_base) != 0) {
|
||||
$result['msg'] .= " <span style=\"color:red\">" . _("Rappel: Poste par défaut sera ") .
|
||||
$result['msg'] .= " <span style=\"color:red;font-size:80%;display:block\">" . _("Rappel: Poste par défaut sera ") .
|
||||
$p_fiche_def->class_base .
|
||||
" !</span> ";
|
||||
$result['input']->value = (empty ($result['input']->value)) ?$p_fiche_def->class_base:$result['input']->value;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue