Sid Gifari File Manager
🏠 Root
/
home
/
caldereriajp
/
public_html
/
wp-content
/
plugins
/
robo-gallery
/
app
/
extensions
/
fields
/
include
/
Editing: roboGalleryFieldsView.php
<?php /* * Robo Gallery * Version: 3.2.13 - 91558 * By Robosoft * * Contact: https://robogallery.co/ * Created: 2021 * Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php */ class roboGalleryFieldsView{ public function render($template, array $vars = array()){ $templatePath = ROBO_GALLERY_FIELDS_TEMPLATE . $template . '.tpl.php'; if (!file_exists($templatePath)) { throw new Exception(__("Could not find template. Template: {$template}")); } extract($vars); require $templatePath; } public function content($template, array $vars = array()){ ob_start(); $this->render($template, $vars); $content = ob_get_contents(); ob_clean(); return $content; } }
Save
Cancel