changeset 790:7d7258904b02

Compo interface cosmetic change.
author Matti Hamalainen <ccr@tnsp.org>
date Fri, 21 Nov 2014 08:24:22 +0200
parents 24bbd1f89794
children 771057e1cef1
files admajax.php
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/admajax.php	Fri Nov 21 08:05:27 2014 +0200
+++ b/admajax.php	Fri Nov 21 08:24:22 2014 +0200
@@ -434,7 +434,7 @@
   {
     $sql = stPrepareSQL("SELECT * FROM compos WHERE id=%d", $compoID);
     if (($entry = stFetchSQL($sql)) !== false)
-      $strCompo = $entry["id"]." - ".chentities($entry["name"]);
+      $strCompo = chentities($entry["name"]);
 
     $strCurrEntry = stGetInfoOneEntryData(stGetDisplayVar("compoCurrEntry"), $compoID);
     $strPrevEntry = stGetInfoOneEntryData(stGetDisplayVar("compoPrevEntry"), $compoID);
@@ -443,7 +443,7 @@
     $strCompo = $strCurrEntry = $strCurrEntryFile = $strPrevEntry = "-";
 
   return
-    $indent."<div><b>".$strCompo."</b></div>\n".
+    $indent."<div>Compo: <b>".$strCompo."</b></div>\n".
     $indent."<div>Current entry:<br />".$strCurrEntry."</div>\n".
     $indent."<div>Previous entry:<br />".$strPrevEntry."</div>\n";
 }