- use htmlarea for editing app description and notes
- special stylesheet for application description and notes - function to display summary of description with html stripping
This commit is contained in:
@@ -52,13 +52,10 @@ else
|
||||
$query = query_appdb("SELECT count(*) as versions FROM appVersion WHERE appId = $ob->appId AND versionName != 'NONAME'");
|
||||
$y = mysql_fetch_object($query);
|
||||
|
||||
//format desc
|
||||
$desc = substr(stripslashes($ob->description),0,75);
|
||||
|
||||
//display row
|
||||
echo "<tr class=$bgcolor>\n";
|
||||
echo " <td>".html_ahref($ob->appName,"appview.php?appId=$ob->appId")."</td>\n";
|
||||
echo " <td>$desc </td>\n";
|
||||
echo " <td>".trim_description($ob->description)."</td>\n";
|
||||
echo " <td>$y->versions </td>\n";
|
||||
echo "</tr>\n\n";
|
||||
|
||||
@@ -66,7 +63,7 @@ else
|
||||
}
|
||||
|
||||
echo "<tr><td colspan=3 class=color4><font color=white>$c match(es) found</font></td></tr>\n";
|
||||
echo "</table>\n\n";
|
||||
echo "</table>\n\n";
|
||||
}
|
||||
|
||||
apidb_footer();
|
||||
|
||||
Reference in New Issue
Block a user