i18n::translate('User Welcome'), 'descr'=>i18n::translate('The User Welcome block shows the user the current date and time, quick links to modify his account or go to his own Pedigree chart, and a link to customize his My Page.'), 'type'=>'user', 'canconfig'=>false, 'config'=>array( 'cache'=>0 ) ); //-- function to print the welcome block function print_welcome_block($block=true, $config="", $side, $index) { global $WT_IMAGE_DIR, $WT_IMAGES; $id="user_welcome"; $title = i18n::translate('Welcome')." ".getUserFullName(WT_USER_ID); $content = ""; $content .= ""; if (get_user_setting(WT_USER_ID, 'editaccount')=='Y') { $content .= ""; } if (WT_USER_GEDCOM_ID) { $content .= ""; $content .= ""; } $content .= ""; $content .= "
\"".i18n::translate('My
".i18n::translate('My Account')."
\"".i18n::translate('My
".i18n::translate('My Pedigree')."
\"".i18n::translate('My
".i18n::translate('My Individual Record')."
"; $content .= "".i18n::translate('Customize My Page').""; $content .= help_link('mygedview_customize'); $content .= "
".format_timestamp(client_time()); $content .= "
"; global $THEME_DIR; if ($block) { require $THEME_DIR.'templates/block_small_temp.php'; } else { require $THEME_DIR.'templates/block_main_temp.php'; } } ?>