[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4181 - in phpcompta/branches/rel560: html html/js inclu
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4181 - in phpcompta/branches/rel560: html html/js include |
Date: |
Sun, 10 Jul 2011 18:43:23 +0200 (CEST) |
Author: danydb
Date: 2011-07-10 18:43:22 +0200 (Sun, 10 Jul 2011)
New Revision: 4181
Modified:
phpcompta/branches/rel560/html/ajax_card.php
phpcompta/branches/rel560/html/js/card.js
phpcompta/branches/rel560/include/class_html_input.php
Log:
#320 bouton fermer dans popup de fiche
Modified: phpcompta/branches/rel560/html/ajax_card.php
===================================================================
--- phpcompta/branches/rel560/html/ajax_card.php 2011-07-05 21:39:26 UTC
(rev 4180)
+++ phpcompta/branches/rel560/html/ajax_card.php 2011-07-10 16:43:22 UTC
(rev 4181)
@@ -122,7 +122,8 @@
case 'dc':
$f=new Fiche($cn);
/* add title + close */
- $html=HtmlInput::button_close($ctl);
+ $html="";
+ $html=HtmlInput::anchor_close($ctl);
$html.=h2info('Détail fiche');
if ( $qcode != '')
{
@@ -176,7 +177,7 @@
if ( $user->check_action(FICADD)==1 )
{
$r='';
- $r=HtmlInput::button_close($ctl);
+ $r=HtmlInput::anchor_close($ctl);
/* get cat. name */
$cat_name=$cn->get_value('select fd_label from fiche_def where
fd_id=$1',
array($fd_id));
@@ -244,7 +245,7 @@
}
}
$array=$cn->make_array($sql);
- $html=HtmlInput::button_close('select_card_div');
+ $html=HtmlInput::anchor_close('select_card_div');
$html.=h2info('Choix de la catégorie');
if ( empty($array))
{
Modified: phpcompta/branches/rel560/html/js/card.js
===================================================================
--- phpcompta/branches/rel560/html/js/card.js 2011-07-05 21:39:26 UTC (rev
4180)
+++ phpcompta/branches/rel560/html/js/card.js 2011-07-10 16:43:22 UTC (rev
4181)
@@ -408,7 +408,7 @@
sx=document.body.scrollTop+60;
}
- var str_style="top:"+sx+";left:10%;width:80%;height:auto";
+ var str_style="top:"+sx+";left:25%;width:50%;height:auto";
var popup={'id':
content,'cssclass':'op_detail','style':str_style,'html':loading(),'drag':true};
Modified: phpcompta/branches/rel560/include/class_html_input.php
===================================================================
--- phpcompta/branches/rel560/include/class_html_input.php 2011-07-05
21:39:26 UTC (rev 4180)
+++ phpcompta/branches/rel560/include/class_html_input.php 2011-07-10
16:43:22 UTC (rev 4181)
@@ -413,7 +413,7 @@
static function anchor_close($div)
{
$r='';
- $r.='<div style="float:right">';
+ $r.='<div style="float:right;margin:2;">';
$r.= '<A style="background-color:blue;color:white;text-decoration:none"
HREF="javascript:void(0)" onclick="removeDiv(\''.$div.'\');">Fermer</A>';
$r.='</div>';
return $r;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4181 - in phpcompta/branches/rel560: html html/js include,
phpcompta-dev <=