diff --git a/e107_handlers/form_handler.php b/e107_handlers/form_handler.php
index 3b13f75e2..66fc1f9e4 100644
--- a/e107_handlers/form_handler.php
+++ b/e107_handlers/form_handler.php
@@ -1907,11 +1907,14 @@ class e_form
$label = $percVal;
}
-
+ if(!empty($options['label']))
+ {
+ $label = $options['label'];
+ }
$text = "
-
";
+
";
$text .= $label;
$text .= "
";
diff --git a/e107_plugins/_blank/_blank.php b/e107_plugins/_blank/_blank.php
index a5ae95368..1d686683e 100644
--- a/e107_plugins/_blank/_blank.php
+++ b/e107_plugins/_blank/_blank.php
@@ -37,20 +37,29 @@ class _blank_front
$frm = e107::getForm(); // Form element class.
$ns = e107::getRender(); // render in theme box.
+
+ $text = '';
+
+
// $sc = e107::getScBatch('_blank',true, '_blank');
// $template = e107::getTemplate('_blank','_blank','default');
- $text = '';
+ // $text = $tp->parseTemplate($template['start'],true, $sc);
if($rows = $sql->retrieve('blank','*',false,'',true)) // combined select and fetch function - returns an array.
{
// print_a($rows);
foreach($rows as $key=>$value) // loop throug
{
- // $sc->setVars($value); // if shortcodes are enabled.
+
+ // $sc->setVars($value); // if shortcodes are enabled.
+ // $text .= $tp->parseTemplate($template['item'],true, $sc);
+
$text .= $tp->toHtml($value['blank_type'])."
";
}
+ // $text .= $tp->parseTemplate($template['end'],true, $sc);
+
$ns->tablerender("My Caption", $text);
}