From 6810a1de4213fb1e4354e410e3cfa7e10df12db9 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 11 Aug 2015 14:53:07 +0300 Subject: use dijit form widget for attachments dropdown --- include/functions2.php | 38 +++++++++++++++----------------------- 1 file changed, 15 insertions(+), 23 deletions(-) (limited to 'include/functions2.php') diff --git a/include/functions2.php b/include/functions2.php index 03b65b7b1..a6cb019f8 100644 --- a/include/functions2.php +++ b/include/functions2.php @@ -1314,21 +1314,6 @@ - "; } @@ -1446,10 +1431,13 @@ $rv['content'] .= "
"; $rv['content'] .= $line["content"]; - $rv['content'] .= format_article_enclosures($id, - sql_bool_to_bool($line["always_display_enclosures"]), - $line["content"], - sql_bool_to_bool($line["hide_images"])); + + if (!$zoom_mode) { + $rv['content'] .= format_article_enclosures($id, + sql_bool_to_bool($line["always_display_enclosures"]), + $line["content"], + sql_bool_to_bool($line["hide_images"])); + } $rv['content'] .= "
"; @@ -1988,8 +1976,10 @@ $rv .= "
"; } - $rv .= ""; + $rv .= ""; + $rv .= ""; } return $rv; -- cgit v1.2.3