[Jifty-commit] r5946 - in jifty/trunk: lib/Jifty/Plugin/Chart/Renderer
Jifty commits
jifty-commit at lists.jifty.org
Thu Oct 16 05:57:58 EDT 2008
Author: sartak
Date: Thu Oct 16 05:57:58 2008
New Revision: 5946
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/Google.pm
Log:
r73864 at onn: sartak | 2008-10-16 05:57:46 -0400
Add a want_url argument to the Google renderer for just getting the resulting URL instead of the img tag
Modified: jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/Google.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/Google.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/Google.pm Thu Oct 16 05:57:58 2008
@@ -356,6 +356,8 @@
++$index;
}
+ return $url if $args{'want_url'};
+
Jifty->web->out( qq{<img src="$url" />} );
# Make sure we don't return anything that will get output
More information about the Jifty-commit
mailing list