fetchOne(); if ($pending_changes) { $d_wt_changes = "".i18n::translate('Moderate pending changes').help_link('edit_changes.php').""; } else { $d_wt_changes = ' '; } $verify_msg = false; $warn_msg = false; foreach (get_all_users() as $user_id=>$user_name) { if (!get_user_setting($user_id, 'verified_by_admin') && get_user_setting($user_id, 'verified')) { $verify_msg = true; } $comment_exp=get_user_setting($user_id, 'comment_exp'); if (!empty($comment_exp) && (strtotime($comment_exp) != "-1") && (strtotime($comment_exp) < time("U"))) { $warn_msg = true; } if ($verify_msg && $warn_msg) { break; } } print_header(i18n::translate('Administration')); echo WT_JS_START, 'function showchanges() {window.location.reload();}', 'jQuery(document).ready(function() {', ' jQuery("#tabs").tabs();', '});', 'function manageservers() {', ' window.open("manageservers.php", "", "top=50,left=50,width=700,height=500,scrollbars=1,resizable=1");', '}', WT_JS_END, '
', '

', i18n::translate('Administration'), ' - ', WT_WEBTREES, ' ', WT_VERSION_TEXT, '

', '

', i18n::translate('Current Server Time:'), ' ', format_timestamp(time()), "
". i18n::translate('Current User Time:'), ' ', format_timestamp(client_time()), '

'; if (WT_USER_IS_ADMIN) { if ($verify_msg) { echo "

"; echo "".i18n::translate('User accounts awaiting verification by admin').""; echo "

"; } if ($warn_msg) { echo "

"; echo "".i18n::translate('One or more user accounts have warnings').""; echo "

"; } } echo '
', '
', '', '', '', '
', '', '', '', '', '', '', '', '', '', ''; echo '', '', '', '', '', ''; if ($pending_changes) { echo ''; } echo '
', i18n::translate('Family tree administration'), '
', i18n::translate('GEDCOM administration'), '', help_link('gedcom_administration'), '', '', i18n::translate('Add an unlinked person'), '', help_link('edit_add_unlinked_person'), '
'; if (WT_USER_CAN_EDIT) { echo '', i18n::translate('Batch Update'), '', help_link('help_batch_update.php'); } else { echo ' '; } echo '', '', i18n::translate('Add an unlinked note'), '', help_link('edit_add_unlinked_note'), '
', i18n::translate('Merge records'), '', help_link('help_edit_merge.php'), '', '', i18n::translate('Add an unlinked source'), '', help_link('edit_add_unlinked_source'), '
', $d_wt_changes, '
', '
'; if (WT_USER_IS_ADMIN) { echo '', '
', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '', '
', i18n::translate('Site administration'), '
', i18n::translate('Configuration'), '', help_link('help_editconfig.php'), '', i18n::translate('Manage sites'), '', help_link('help_managesites'), '
', '', i18n::translate('README documentation'), '', '', '', i18n::translate('Logs'), '', help_link('logs.php'), '
', '', i18n::translate('Cleanup data directory'), '', help_link('help_dir_editor.php'), '', '', i18n::translate('PHP information'), '', help_link('phpinfo'), '
', '
', ''; if ($modules) { echo '
', i18n::translate('Loading...'), '
'; } echo '
', i18n::translate('Loading...'), '
'; echo '
', i18n::translate('Loading...'), '
'; } echo '
'; print_footer();