[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpcompta-dev] r4306 - phpcompta/trunk/html
From: |
phpcompta-dev |
Subject: |
[Phpcompta-dev] r4306 - phpcompta/trunk/html |
Date: |
Thu, 3 Nov 2011 23:17:26 +0100 (CET) |
Author: danydb
Date: 2011-11-03 23:17:25 +0100 (Thu, 03 Nov 2011)
New Revision: 4306
Modified:
phpcompta/trunk/html/ajax_card.php
Log:
cosmetic : save card : close button in the top
Modified: phpcompta/trunk/html/ajax_card.php
===================================================================
--- phpcompta/trunk/html/ajax_card.php 2011-11-03 22:03:53 UTC (rev 4305)
+++ phpcompta/trunk/html/ajax_card.php 2011-11-03 22:17:25 UTC (rev 4306)
@@ -137,13 +137,13 @@
$card=$f->Display(false);
else
$card=$f->Display(true);
- if ( $card == 'FNT' )
+ if ( $card == 'FNT' )
{
$html.='<h2 class="error">'._('Fiche non trouvée').'</h2>';
}
else
{
-
+
if ($can_modify==1)
{
$html.='<form method="get" onsubmit="update_card(this);return
false;">';
@@ -164,7 +164,7 @@
}
}
}
- else
+ else
{
$html.='<h2 class="error">'._('Aucune fiche demandée').'</h2>';
$html.=HtmlInput::button('close_'.$ctl,'Fermer',"onclick=\"removeDiv('$ctl')\"");
@@ -305,7 +305,7 @@
require_once('class_acc_ledger.php');
$r='';
$r.='<div
style="float:right;height:10px;display:block;margin-top:2px;margin-right:2px">';
- $r.= '<A style="background-color:blue;color:white;text-decoration:none"
HREF="javascript:void(0)" onclick="removeDiv(\'search_card\');">Fermer</A>';
+ $r.= '<A style="background-color:blue;color:white;text-decoration:none"
HREF="javascript:void(0)" onclick="removeDiv(\'search_card\');">Fermer</A>';
$r.='</div>';
$r.='<div> '.h2info(_('Recherche de fiche')).'</div>';
@@ -468,13 +468,13 @@
}
break;
case 'upc':
- $html=HtmlInput::button_close($ctl);
+ $html=HtmlInput::anchor_close($ctl);
$html.=h2info('Détail fiche');
-
+
if ( $user->check_action(FICADD)==0 )
{
$html.=alert(_('Action interdite'),true);
- }
+ }
else
{
if ($cn->get_value('select count(*) from fiche where
f_id=$1',array($_GET['f_id'])) == '0' )
@@ -484,7 +484,7 @@
else
{
- $html=HtmlInput::button_close($ctl);
+ $html=HtmlInput::anchor_close($ctl);
$html.=h2info('Détail fiche (sauvée)');
$f=new Fiche($cn,$_GET['f_id']);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpcompta-dev] r4306 - phpcompta/trunk/html,
phpcompta-dev <=