HEX
Server: nginx/1.24.0
System: Linux ht2024073053593 5.14.0-480.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 12 20:45:27 UTC 2024 x86_64
User: root (0)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/njmuedu.com/wp-content/plugins/xml-sitemap-feed/views/admin/field-sitemaps.php
<?php
/**
 * Sitemaps settings view
 *
 * @package XML Sitemap & Google News
 */

?>
<fieldset id="xmlsf_sitemaps">
	<legend class="screen-reader-text">
		<?php esc_html_e( 'Enable XML sitemaps', 'xml-sitemap-feed' ); ?>
	</legend>
	<label>
		<input type="checkbox" name="xmlsf_sitemaps[sitemap]" id="xmlsf_sitemaps_index" value="1"<?php checked( xmlsf_sitemaps_enabled( 'sitemap' ) ); ?><?php disabled( ! apply_filters( 'xmlsf_sitemaps_enabled', true, 'sitemap' ) ); ?> />
		<?php esc_html_e( 'XML Sitemap Index', 'xml-sitemap-feed' ); ?>
	</label>

	<?php if ( xmlsf_sitemaps_enabled( 'sitemap' ) ) { ?>
	<span class="description">
		&nbsp;&ndash;&nbsp;
		<a href="<?php echo esc_attr( admin_url( 'options-general.php' ) ); ?>?page=xmlsf" id="xmlsf_link"><?php echo esc_html( translate( 'Settings' ) ); ?></a> |
		<a href="<?php echo esc_attr( xmlsf_sitemap_url() ); ?>" target="_blank"><?php echo esc_html( translate( 'View' ) ); ?></a>
	</span>
	<?php } ?>

	<br>

	<label>
		<input type="checkbox" name="xmlsf_sitemaps[sitemap-news]" id="xmlsf_sitemaps_news" value="1"<?php checked( xmlsf_sitemaps_enabled( 'news' ) ); ?><?php disabled( ! apply_filters( 'xmlsf_sitemaps_enabled', true, 'news' ) ); ?> />
		<?php esc_html_e( 'Google News Sitemap', 'xml-sitemap-feed' ); ?>
	</label>

	<?php
	if ( xmlsf_sitemaps_enabled( 'news' ) ) {
		?>
	<span class="description">
		&nbsp;&ndash;&nbsp;
		<a href="<?php echo esc_url( admin_url( 'options-general.php' ) ); ?>?page=xmlsf_news" id="xmlsf_news_link"><?php echo esc_html( translate( 'Settings' ) ); ?></a> |
		<a href="<?php echo esc_url( xmlsf_sitemap_url( 'news' ) ); ?>" target="_blank"><?php echo esc_html( translate( 'View' ) ); ?></a>
	</span>
	<?php } ?>

</fieldset>
<script>
jQuery( 'document' ).ready( function( $ ) {
	if ( window.location.hash === '#xmlsf_sitemaps' ) {
		$( '#xmlsf_sitemaps' ).closest( 'td' ).addClass( 'highlight' );
		$( 'html, body' ).animate( { scrollTop: $("#xmlsf_sitemaps").offset().top-40 }, 800 );
	}
} );
</script>