Jake Vanderwerf
2026-01-25 b38f03c0e7218762d90fa5092696b127f24f36db
inc/helpers/crud.php
@@ -4,6 +4,8 @@
   exit;
}
use JVBase\managers\Cache;
/**
 * Outputs the blocks of a CRUD management in backend
 * Mainly used in news.php so far
@@ -103,7 +105,7 @@
                    </button>
                </div>
            </div>',
            jvbIcon('close', ['title'=>'Cancel'])
            jvbIcon('x', ['title'=>'Cancel'])
        );
    }
    $out .= '</div>';
@@ -166,7 +168,7 @@
 */
function jvbRenderDateFilter(string $content):string
{
    $cache = new JVBase\Managers\CacheManager('date_filter');
    $cache = Cache::for('date_filter')->connect('post', true);
    $check = $cache->get($content);
    if ($check) {
        return $check;