Commit 8266128b authored by Shakarim Sapa's avatar Shakarim Sapa

- FIX

parent b4c3ed13
......@@ -110,7 +110,6 @@ class Conditions {
*/
public static function getControlButtons($condition_array=array(), $key=null){
$key = ($key!==null) ? $key : rand(100000,999999);
return '<tr data-key='.$key.'><td>'.'asd'.'</td></tr>';
return '<tr data-key='.$key.'><td>'.Conditions::init()->getControlArea($condition_array, $key).'</td></tr>';
}
......@@ -120,6 +119,7 @@ class Conditions {
* @return string
*/
public function getControlArea($condition_array=array(), $key=null){
return 'asd';
$html = '<div class="conditions-block">';
if (count($condition_array)>0) {
foreach($condition_array as $condition) {
......
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