[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Noalyss-commit] [noalyss] 29/30: Remove button (x) + center the text
From: |
Dany De Bontridder |
Subject: |
[Noalyss-commit] [noalyss] 29/30: Remove button (x) + center the text |
Date: |
Tue, 02 Jun 2015 22:29:16 +0000 |
sparkyx pushed a commit to branch master
in repository noalyss.
commit 8839aa3a9f8cec8d3ef35832914a03c4d5e30747
Author: Dany De Bontridder <address@hidden>
Date: Wed Jun 3 00:24:47 2015 +0200
Remove button (x) + center the text
---
html/ajax_card.php | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/html/ajax_card.php b/html/ajax_card.php
index dc42dc4..a98a733 100644
--- a/html/ajax_card.php
+++ b/html/ajax_card.php
@@ -173,12 +173,13 @@ case 'dc':
$html.=HtmlInput::hidden('ctl',$ctl);
}
$html.=$card;
+ $html.='<p style="text-align:center">';
if ( $can_modify==1)
{
$html.=HtmlInput::submit('save',_('Sauver'));
}
-
$html.=HtmlInput::button('close_'.$ctl,'⨉',"onclick=\"removeDiv('$ctl')\"");
if ( ! isset
($nohistory))$html.=HtmlInput::history_card_button($f->id,_('Historique'));
+ $html.='</p>';
if ($can_modify==1)
{
$html.='</form>';
@@ -188,7 +189,6 @@ case 'dc':
else
{
$html.='<h2 class="error">'._('Aucune fiche demandée').'</h2>';
-
$html.=HtmlInput::button('close_'.$ctl,_('⨉'),"onclick=\"removeDiv('$ctl')\"");
}
break;
/* ------------------------------------------------------------ */
@@ -208,7 +208,9 @@ case 'bc':
$r.=HtmlInput::hidden('fd_id',$fd_id);
$r.=HtmlInput::hidden('ctl',$ctl);
$r.=$f->blank($fd_id);
+ $r.='<p style="text-align:center">';
$r.=HtmlInput::submit('sc',_('Sauve'));
+ $r.='</p>';
$r.='</form>';
$html=$r;
}
@@ -315,7 +317,7 @@ case 'st':
}
$r.='</table>';
$r.=HtmlInput::hidden('fd_id',0);
- $r.='<p>';
+ $r.='<p style="text-align:center">';
$r.=HtmlInput::submit('st','choix');
$r.=HtmlInput::button('Annuler',_('Annuler'),"
onclick=\"removeDiv('$ctl')\" ");
$r.='</p>';
@@ -347,7 +349,6 @@ case 'sc':
{
$html.=alert(_('Action interdite'),true);
}
- $html.=HtmlInput::button('fermer',_('⨉'),"
onclick=\"removeDiv('$ctl')\";");
break;
/*----------------------------------------------------------------------
* Search a card
@@ -560,7 +561,6 @@ case 'upc':
$html.=ob_get_contents();
ob_end_clean();
$html.=$f->Display(true);
-
$html.=HtmlInput::button('close_'.$ctl,'⨉',"onclick=\"removeDiv('$ctl')\"");
}
}
} // switch
- [Noalyss-commit] [noalyss] 19/30: HtmlInput :: anchor_empty add a title, (continued)
- [Noalyss-commit] [noalyss] 19/30: HtmlInput :: anchor_empty add a title, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 20/30: Message when no financial ledger are found, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 21/30: Message when no financial ledger are found, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 22/30: Fix bug in authentication for normal user, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 24/30: Add email, change preference and administration for this, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 23/30: Add email, change preference and administration for this, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 26/30: fix bug with email user, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 25/30: Remove obsolete file, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 27/30: Documentation, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 28/30: Esthetique, Dany De Bontridder, 2015/06/02
- [Noalyss-commit] [noalyss] 29/30: Remove button (x) + center the text,
Dany De Bontridder <=
- [Noalyss-commit] [noalyss] 30/30: Esthetic, Dany De Bontridder, 2015/06/02