You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

20 lines
307 B

<?php
/**
* @var $this \yii\web\View
*/
use core\helpers\UserHelper;
$widgets = UserHelper::getSetting('widgetsLayout', []);
$i = 0;
?>
<?php foreach ($widgets as $widget) : ?>
<a href="#" onClick="removeWidget(<?= $i ?>)"><?= $widget['name'] ?></a><br>
<?php
$i++;
endforeach;
?>