2007/11/17 2:42
snow77
Just can't stay away
Posts: 864
Since: 2003/7/23
2007/11/17 9:40
fathersmurf
Just popping in
Posts: 18
Since: 2007/9/8 1
2007/11/17 10:29
arpofhoef
Posts: 29
Since: 2005/12/20
2007/11/17 10:32
FaYsSaL
Not too shy to talk
Posts: 115
Since: 2006/1/2 2
2007/11/17 13:44
shalommemphi
Posts: 118
Since: 2005/4/5 0
2007/11/17 14:07
skenow
Home away from home
Posts: 993
Since: 2004/11/17
2007/11/17 18:33
2007/11/17 20:47
kris_fr
Theme Designer
Posts: 1009
Since: 2005/12/31
function mes_themes_show($options) { global $xoopsConfig; $theme_options = ''; $mes_themes = file(XOOPS_ROOT_PATH . '/themes/kris_theme.txt'); $allowed_themes = $xoopsConfig['theme_set_allowed']; foreach ($mes_themes as $theme) { $theme = trim($theme); $key = array_search($theme, $allowed_themes); if ($key) { $theme_options .= '.$theme.'"'; if ($theme == $xoopsConfig['theme_set']) { $theme_options .= ' selected="selected"'; } $theme_options .= '>'.$theme.''; } } $block = array(); if ($options[0] == 1) { $block['theme_select'] = "2" id="xoops_theme_img" src="".XOOPS_THEME_URL."/".$xoopsConfig['theme_set']."/shot.gif" alt="screenshot" width="".intval($options[1])."" />xoops_theme_select" name="xoops_theme_select" onchange="showImgSelected('xoops_theme_img', 'xoops_theme_select', 'themes', '/shot.gif', '".XOOPS_URL."');">".$theme_options."submit" value=""._GO."" />"; } else { $block['theme_select'] = ''.$theme_options.''; } $block['theme_select'] .= '('.sprintf(_MB_SYSTEM_NUMTHEME, ''.count($xoopsConfig['theme_set_allowed']).'').')'; return $block; } function mes_themes_edit($options) { $chk = ""; $form = _MB_SYSTEM_THSHOW." "; if ( $options[0] == 1 ) { $chk = " checked='checked'"; } $form .= ".$chk." /> "._YES; $chk = ""; if ( $options[0] == 0 ) { $chk = ' checked="checked"'; } $form .= ' .$chk.' />'._NO; $form .= ''._MB_SYSTEM_THWIDTH.' '; $form .= ".$options[1]."' />"; return $form; } ?>
2007/11/23 4:00
Advanced Search
402 user(s) are online (264 user(s) are browsing Support Forums)
Members: 0
Guests: 402