Commit 5904ac86 authored by Shakarim Sapa's avatar Shakarim Sapa

- FIX

parent 3822896f
...@@ -119,12 +119,13 @@ class Conditions { ...@@ -119,12 +119,13 @@ class Conditions {
* @return string * @return string
*/ */
public function getControlArea($condition_array=array(), $key=null){ public function getControlArea($condition_array=array(), $key=null){
return 'asd';
$html = '<div class="conditions-block">'; $html = '<div class="conditions-block">';
// if (count($condition_array)>0) { if (count($condition_array)>0) {
// foreach($condition_array as $condition) { foreach($condition_array as $condition) {
// $html .= self::getConditionHtml($condition['id'], ($key!==null) ? $key : rand(100000,999999), (array_key_exists('params', $condition)) ? $condition['params'] : array()); $html .= self::getConditionHtml($condition['id'], ($key!==null) ? $key : rand(100000,999999), (array_key_exists('params', $condition)) ? $condition['params'] : array());
// } }
// } }
$html .= '</div>'; $html .= '</div>';
$html .= '<div class="btn-group" role="group">'; $html .= '<div class="btn-group" role="group">';
$html .= '<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="glyphicon glyphicon-plus"></i></button>'; $html .= '<button type="button" class="btn btn-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><i class="glyphicon glyphicon-plus"></i></button>';
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment