user photo add

This commit is contained in:
2024-12-25 16:32:23 +03:00
parent 2790105a7d
commit b5b7befd34
18 changed files with 92 additions and 38 deletions

View File

@ -6,7 +6,7 @@ use itguild\forms\builders\SelectBuilder;
use Itguild\Tables\Filter\Filter;
use kernel\helpers\Debug;
class CustomSelectFilterForAssociativeArr extends Filter
class BootstrapSelectFilter extends Filter
{
public function fetch(): string

View File

@ -1,23 +0,0 @@
<?php
namespace kernel\filters;
use Itguild\Tables\Filter\Filter;
class CustomSelectFilter extends Filter
{
public function fetch()
{
$this->html = "<td><select class='form-control' name='$this->name'>";
foreach ($this->param as $value) {
if ($value === $this->value) {
$this->html .= "<option value='$value' selected>$value</option>";
} else {
$this->html .= "<option value='$value'>$value</option>";
}
}
$this->html .= "value='$this->value'</select></td>";
return $this->html;
}
}