Mercurial > hg > fapweb
diff admajax.php @ 778:06e3469fe480
Cosmetics.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Thu, 20 Nov 2014 15:47:08 +0200 |
parents | 133197d0e48a |
children | 5ee9041c9c90 |
line wrap: on
line diff
--- a/admajax.php Thu Nov 20 15:45:19 2014 +0200 +++ b/admajax.php Thu Nov 20 15:47:08 2014 +0200 @@ -264,7 +264,7 @@ " <div class=\"editControl entryCompoID\">". "<span class=\"editControlTitle\">Compo</span>". stGetFormOptionListStart($prefix."compo_id".$eid, " ", TRUE, 0); - + foreach (stExecSQL($sql) as $cdata) { echo stGetFormOptionListItem(" ", @@ -1515,9 +1515,11 @@ ), 0, TRUE, "ne", $compo, EEMODE_ADD); echo "<div class=\"entries\">\n"; + $row = 0; foreach (stExecSQL("SELECT * FROM entries WHERE compo_id=".$id." ORDER BY id ASC") as $entry) stPrintEntryItemData($entry, $row++, TRUE, "en", $compo, EEMODE_NORMAL); + echo "</div>\n"; } break;