comparison admajax.php @ 778:06e3469fe480

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 20 Nov 2014 15:47:08 +0200
parents 133197d0e48a
children 5ee9041c9c90
comparison
equal deleted inserted replaced
777:9fa68b35b90a 778:06e3469fe480
262 262
263 echo 263 echo
264 " <div class=\"editControl entryCompoID\">". 264 " <div class=\"editControl entryCompoID\">".
265 "<span class=\"editControlTitle\">Compo</span>". 265 "<span class=\"editControlTitle\">Compo</span>".
266 stGetFormOptionListStart($prefix."compo_id".$eid, " ", TRUE, 0); 266 stGetFormOptionListStart($prefix."compo_id".$eid, " ", TRUE, 0);
267 267
268 foreach (stExecSQL($sql) as $cdata) 268 foreach (stExecSQL($sql) as $cdata)
269 { 269 {
270 echo stGetFormOptionListItem(" ", 270 echo stGetFormOptionListItem(" ",
271 $cdata["id"], 271 $cdata["id"],
272 ($cdata["id"] == $item["compo_id"]), 272 ($cdata["id"] == $item["compo_id"]),
1513 "flags" => 0, 1513 "flags" => 0,
1514 "evalue" => 0, 1514 "evalue" => 0,
1515 ), 1515 ),
1516 0, TRUE, "ne", $compo, EEMODE_ADD); 1516 0, TRUE, "ne", $compo, EEMODE_ADD);
1517 echo "<div class=\"entries\">\n"; 1517 echo "<div class=\"entries\">\n";
1518
1518 $row = 0; 1519 $row = 0;
1519 foreach (stExecSQL("SELECT * FROM entries WHERE compo_id=".$id." ORDER BY id ASC") as $entry) 1520 foreach (stExecSQL("SELECT * FROM entries WHERE compo_id=".$id." ORDER BY id ASC") as $entry)
1520 stPrintEntryItemData($entry, $row++, TRUE, "en", $compo, EEMODE_NORMAL); 1521 stPrintEntryItemData($entry, $row++, TRUE, "en", $compo, EEMODE_NORMAL);
1522
1521 echo "</div>\n"; 1523 echo "</div>\n";
1522 } 1524 }
1523 break; 1525 break;
1524 1526
1525 case "entry": 1527 case "entry":