Mercurial > hg > fapweb
diff msite.inc.php @ 680:c9b96a7b9dc4
Add new helper function and use it.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sun, 09 Nov 2014 14:17:34 +0200 |
parents | cbb66cb60930 |
children | bad79296eb34 |
line wrap: on
line diff
--- a/msite.inc.php Sun Nov 09 13:53:56 2014 +0200 +++ b/msite.inc.php Sun Nov 09 14:17:34 2014 +0200 @@ -216,8 +216,8 @@ { echo "<td>". - "<button class=\"button\" id=\"atupd".$id."\" type=\"button\" onclick=\"updateAttendee(".$id.")\"> Upd </button>". - "<button class=\"button\" id=\"atdel".$id."\" type=\"button\" onclick=\"deleteAttendee(".$id.")\"> Del </button>". + stGetFormButtonElement($prefix."upd".$id, "","", "Upd", "updateAttendee(".$id.")"). + stGetFormButtonElement($prefix."del".$id, "","", "Del", "deleteAttendee(".$id.")"). "</td>"; } else