fix arrows cfg key names for with and height
authorAdrian Oldham <adriann@visualthought.com.au>
Mon, 11 Nov 2013 10:01:50 +0000 (21:01 +1100)
committerTony Cook <tony@develop-help.com>
Mon, 24 Feb 2014 22:23:58 +0000 (09:23 +1100)
site/templates/preload.tmpl

index b8e82f0106b1198a8ca600de472dba87a3ac7cb3..b73f3978264680c143ad85dcd5c416acfda26ac2 100644 (file)
@@ -367,8 +367,8 @@ parameters:
   which in most cases means you can just supply parent
 -:>
 <:.if request.user_can("bse_edit_reorder_children", parent) -:>
-  <:.set width = cfg.entry("arrows", "width", 17) -:>
-  <:.set height = cfg.entry("arrows", "height", 13) -:>
+  <:.set width = cfg.entry("arrows", "image_width", 17) -:>
+  <:.set height = cfg.entry("arrows", "image_height", 13) -:>
   <:.set extras = 'width="' _ width _ '" height="' _ height _ '"' -:>
   <:.set blankim = '<img src="' _ (dist_image_uri _ "/trans_pixel.gif").escape("html") _ '" alt="" ' _ extras _ ' />' -:>
   <:.if loop.prev -:>