<a href="#" class="btn ico ico-32 ico-help float-right"></a> </h1> <?php } function customPageTitle($string) { return sprintf(__('Advanced Settings » %s'), $string); } osc_add_filter('admin_title', 'customPageTitle'); osc_current_admin_theme_path('parts/header.php'); ?> <div id="general-setting"> <!-- settings form --> <div id="general-settings"> <?php $cache_type = Object_Cache_Factory::newInstance()->_get_cache(); if ($cache_type != 'default') { ?> <!-- Cache flush --> <h2 class="render-title"><?php _e('Flush cache'); ?> </h2> <form id="cache_flush" name="cache_flush" action="<?php echo osc_admin_base_url(true); ?> " method="post"> <input type="hidden" name="page" value="settings" /> <input type="hidden" name="action" value="advanced_cache_flush" /> <fieldset> <div class="form-horizontal">
function osc_cache_set($key, $data, $expire = 0) { $key .= osc_current_user_locale(); return Object_Cache_Factory::newInstance()->set($key, $data, $expire); }