|
From: Florin C B. <ory...@us...> - 2011-07-27 20:05:14
|
Update of /cvsroot/mxbb/mx_clock
In directory vz-cvs-4.sog:/tmp/cvs-serv21877
Modified Files:
localtimesclock.php mx_clock.pak mx_clock.php
Log Message:
cleanup
Index: localtimesclock.php
===================================================================
RCS file: /cvsroot/mxbb/mx_clock/localtimesclock.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** localtimesclock.php 27 Jul 2011 19:48:36 -0000 1.1
--- localtimesclock.php 27 Jul 2011 20:05:10 -0000 1.2
***************
*** 10,14 ****
*/
-
if( !defined('IN_PORTAL') || !is_object($mx_block))
{
--- 10,13 ----
***************
*** 20,29 ****
//
$title = $mx_block->block_info['block_title'];
! $flash_width = $mx_block->get_parameters( 'flash_width' );
! $flash_height = $mx_block->get_parameters( 'flash_height' );
$flv_file = $mx_block->get_parameters('flv_file') ? $mx_block->get_parameters('flv_file') : 'design.swf';
$flv_img = $mx_block->get_parameters('flv_img') ? $mx_block->get_parameters('flv_img') : 'design.swf';
$design = $mx_block->get_parameters('design') ? $mx_block->get_parameters('design') : 'design01';
! $flash_wmode_trasparent = $mx_block->get_parameters( 'flash_wmode_trasparent' );
$comunity = $mx_block->get_parameters('comunity');
$country = $mx_block->get_parameters('country');
--- 19,28 ----
//
$title = $mx_block->block_info['block_title'];
! $flash_width = $mx_block->get_parameters('flash_width');
! $flash_height = $mx_block->get_parameters('flash_height');
$flv_file = $mx_block->get_parameters('flv_file') ? $mx_block->get_parameters('flv_file') : 'design.swf';
$flv_img = $mx_block->get_parameters('flv_img') ? $mx_block->get_parameters('flv_img') : 'design.swf';
$design = $mx_block->get_parameters('design') ? $mx_block->get_parameters('design') : 'design01';
! $flash_wmode_trasparent = $mx_block->get_parameters('flash_wmode_trasparent');
$comunity = $mx_block->get_parameters('comunity');
$country = $mx_block->get_parameters('country');
***************
*** 52,62 ****
//
! if( file_exists($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx) )
{
! include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);
}
else
{
! include($module_root_path . 'language/lang_english/lang_main.' . $phpEx);
}
--- 51,61 ----
//
! if(@file_exists($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx) )
{
! require($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);
}
else
{
! require($module_root_path . 'language/lang_english/lang_main.' . $phpEx);
}
***************
*** 67,71 ****
// asia/Israel/Jerusalem/
! $template->set_filenames(array('localtimesclock' => 'localtimesclock.tpl'));
$template->assign_vars(array(
--- 66,70 ----
// asia/Israel/Jerusalem/
! $template->set_filenames(array('body_localtimesclock' => 'localtimesclock.tpl'));
$template->assign_vars(array(
***************
*** 88,92 ****
));
! $template->pparse('localtimesclock');
?>
\ No newline at end of file
--- 87,91 ----
));
! $template->pparse('body_localtimesclock');
?>
\ No newline at end of file
Index: mx_clock.pak
===================================================================
RCS file: /cvsroot/mxbb/mx_clock/mx_clock.pak,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** mx_clock.pak 27 Jul 2011 19:47:26 -0000 1.3
--- mx_clock.pak 27 Jul 2011 20:05:10 -0000 1.4
***************
*** 1,3 ****
! module=+:72=+:Mx-Clock=+:modules/mx_clock/=+:Clock for MxP-CMS=+:
New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0
function=+:72=+:85=+:Flash Clock=+:Clock Block=+:mx_clock.php=+:
--- 1,3 ----
! module=+:72=+:Mx Clock=+:modules/mx_clock/=+:Clock for MxPub-CMS=+:
New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0
function=+:72=+:85=+:Flash Clock=+:Clock Block=+:mx_clock.php=+:
***************
*** 8,24 ****
parameter=+:85=+:180=+:flv_img=+:Text=+:clock.png=+:=+:1=+:0
parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0
! block=+:=+:Mx-Clock=+:Demo block=+:85=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1
New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0
! function=+:72=+:86=+:localtimesclock=+:localtimesclock=+:localtimesclock.php=+:
! parameter=+:86=+:176=+:flash_width=+:Number=+:200=+:=+:0=+:10
! parameter=+:86=+:177=+:flash_height=+:Number=+:200=+:=+:0=+:20
! parameter=+:86=+:178=+:flash_wmode_trasparent=+:Radio_single_select=+:trasparent=+:a:2:{i:0;s:10:"trasparent";i:1;s:6:"normal";}=+:1=+:30
! parameter=+:86=+:179=+:flv_file=+:Text=+:design.swf=+:=+:1=+:0
! parameter=+:86=+:180=+:flv_img=+:Text=+:clock.png=+:=+:1=+:0
! parameter=+:86=+:181=+:comunity=+:Text=+:Europe=+:=+:1=+:30
! parameter=+:86=+:182=+:country=+:Text=+:Romania=+:=+:1=+:30
! parameter=+:86=+:183=+:city=+:Text=+:Bucharest=+:=+:1=+:30
! parameter=+:86=+:184=+:design=+:Text=+:design01=+:=+:1=+:30
parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0
! block=+:=+:Local Times Clock=+:Local Times block=+:86=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1
function=+:0=+:0=+:0=+:endoflist=+:0=+:0
\ No newline at end of file
--- 8,24 ----
parameter=+:85=+:180=+:flv_img=+:Text=+:clock.png=+:=+:1=+:0
parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0
! block=+:=+:Flash Clock=+:Clock Block=+:85=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1
New_function=+:---------------------------=+:0=+:0=+:0=+:0=+:0
! function=+:72=+:86=+:Local Times Clock=+:Local Times Block=+:localtimesclock.php=+:
! parameter=+:86=+:186=+:flash_width=+:Number=+:200=+:=+:0=+:10
! parameter=+:86=+:187=+:flash_height=+:Number=+:200=+:=+:0=+:20
! parameter=+:86=+:188=+:flash_wmode_trasparent=+:Radio_single_select=+:trasparent=+:a:2:{i:0;s:10:"trasparent";i:1;s:6:"normal";}=+:1=+:30
! parameter=+:86=+:189=+:flv_file=+:Text=+:design.swf=+:=+:1=+:0
! parameter=+:86=+:190=+:flv_img=+:Text=+:clock.png=+:=+:1=+:0
! parameter=+:86=+:191=+:comunity=+:Text=+:Europe=+:=+:1=+:30
! parameter=+:86=+:192=+:country=+:Text=+:Romania=+:=+:1=+:30
! parameter=+:86=+:193=+:city=+:Text=+:Bucharest=+:=+:1=+:30
! parameter=+:86=+:194=+:design=+:Text=+:design01=+:=+:1=+:30
parameter=+:0=+:0=+:0=+:endoflist=+:0=+:0
! block=+:=+:Local Times Clock=+:Local Times Block=+:86=+:0=+:5=+:0=+:0=+:0=+:0=+:1=+:1
function=+:0=+:0=+:0=+:endoflist=+:0=+:0
\ No newline at end of file
Index: mx_clock.php
===================================================================
RCS file: /cvsroot/mxbb/mx_clock/mx_clock.php,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** mx_clock.php 27 Jul 2011 19:47:26 -0000 1.7
--- mx_clock.php 27 Jul 2011 20:05:10 -0000 1.8
***************
*** 44,54 ****
//
! if( file_exists($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx) )
{
! include($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);
}
else
{
! include($module_root_path . 'language/lang_english/lang_main.' . $phpEx);
}
--- 44,54 ----
//
! if(@file_exists($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx) )
{
! require($module_root_path . 'language/lang_' . $board_config['default_lang'] . '/lang_main.' . $phpEx);
}
else
{
! require($module_root_path . 'language/lang_english/lang_main.' . $phpEx);
}
***************
*** 57,63 ****
//
! $template->set_filenames(array(
! 'body_clock' => 'clock_body.tpl'
! ));
$template->assign_vars(array(
--- 57,61 ----
//
! $template->set_filenames(array('body_clock' => 'clock_body.tpl'));
$template->assign_vars(array(
|