You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2009/03/13 15:35:20 UTC
svn commit: r753283 - /incubator/vcl/trunk/web/.ht-inc/images.php
Author: jfthomps
Date: Fri Mar 13 14:35:19 2009
New Revision: 753283
URL: http://svn.apache.org/viewvc?rev=753283&view=rev
Log:
VCL-105
modified printAddSubimage, removed unset($images[$iamgeid])
also found and fixed bug where an unnecessary line was being printed because an else statement didn't have braces with it
Modified:
incubator/vcl/trunk/web/.ht-inc/images.php
Modified: incubator/vcl/trunk/web/.ht-inc/images.php
URL: http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/images.php?rev=753283&r1=753282&r2=753283&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/images.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/images.php Fri Mar 13 14:35:19 2009
@@ -1878,11 +1878,11 @@
}
print "<br>Add additional subimage:<br><br>\n";
}
- else
+ else {
print "There are currently no subimages for <strong>";
print "{$images[$imageid]["prettyname"]}</strong>.<br><br>";
+ }
print "<FORM action=\"" . BASEURL . SCRIPT . "\" method=post>\n";
- unset($images[$imageid]);
printSelectInput("addimageid", $images, -1, 1);
$cdata = $data;
$cdata['imageid'] = $imageid;