function adminNotice() { $file = array(TSData::get('theme_path_multiste_site_style') . 'TS.Frontend.css'); foreach ($file as $path) { if (!is_writable($path)) { echo ' <div class="error"> <p>' . sprintf(__('<b>File %s cannot be created. Please make sure that this location is writable.</b>', PLUGIN_PAGE_BUILDER_DOMAIN), str_replace('\\', '/', $path)) . '</p> </div> '; } } }