'modus', 'parent' => 'default', ); define('MODUS_STR_RECENT', "\xe2\x9c\xbd"); //HEAVY TEARDROP-SPOKED ASTERISK define('MODUS_STR_RECENT_CHILD', "\xe2\x9c\xbb"); //TEARDROP-SPOKED ASTERISK if (isset($conf['modus_theme']) && !is_array($conf['modus_theme'])) { $conf['modus_theme'] = unserialize($conf['modus_theme']); } if (!empty($_GET['skin']) && !preg_match('/[^a-zA-Z0-9_-]/', $_GET['skin'])) $conf['modus_theme']['skin'] = $_GET['skin']; $this->assign('MODUS_CSS_VERSION', crc32(implode(',', array( 'a'.@$conf['modus_theme']['skin'], @$conf['modus_theme']['album_thumb_size'], ImageStdParams::get_by_type(IMG_SQUARE)->max_width(), )))); if (isset($_COOKIE['caps'])) { setcookie('caps',false,0,cookie_path()); pwg_set_session_var('caps', explode('x', $_COOKIE['caps']) ); /*file_put_contents(PHPWG_ROOT_PATH.$conf['data_location'].'tmp/modus.log', implode("\t", array( date("Y-m-d H:i:s"), $_COOKIE['caps'], $_SERVER['HTTP_USER_AGENT'] ))."\n", FILE_APPEND);*/ } if ('mobile'==get_device()) $conf['tag_letters_column_number'] = 1; elseif ('tablet'==get_device()) $conf['tag_letters_column_number'] = min($conf['tag_letters_column_number'],3); $this->smarty->registerFilter('pre', 'rv_menubar'); function rv_menubar($source) { global $lang, $conf; //$source = str_replace('{if isset($MENUBAR)} contentWithMenu{/if}', '', $source ); //$source = str_replace('{if isset($MENUBAR)} class="contentWithMenu"{/if}', '', $source ); $source = str_replace('