From 510ac75fa088fd69e2311c82c375de50e13b39e4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 5 Dec 2007 07:28:19 +0100 Subject: mobile: add support for publishing articles --- mobile/functions.php | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'mobile/functions.php') diff --git a/mobile/functions.php b/mobile/functions.php index 3d67f4a23..0bd65082a 100644 --- a/mobile/functions.php +++ b/mobile/functions.php @@ -458,7 +458,13 @@ } else { $marked_pic = ""; } - + + if ($line["published"] == "t" || $line["published"] == "1") { + $published_pic = ""; + } else { + $published_pic = ""; + } + $content_link = "" . $line["title"] . ""; @@ -472,6 +478,7 @@ print "
  • "; print "$marked_pic"; + print "$published_pic"; print $content_link; -- cgit v1.2.3-54-g00ecf