AnonSec Shell
Server IP : 104.21.14.48  /  Your IP : 3.22.248.94   [ Reverse IP ]
Web Server : Apache
System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64
User : root ( 0)
PHP Version : 8.0.30.2
Disable Function : NONE
Domains : 0 Domains
MySQL : ON  |  cURL : ON  |  WGET : ON  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /var/www/wp-content/plugins/weglot/templates/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/wp-content/plugins/weglot/templates/webmention-settings.php
<div class="wrap">
	<h1><?php esc_html_e( 'Webmention Settings', 'webmention' ); ?></h1>

	<form method="post" action="options.php">
		<?php settings_fields( 'webmention' ); ?>

		<h2 class="title"><?php _e( 'Sender', 'webmention' ); ?></h2>

		<p><?php esc_html_e( 'A Webmention Sender is an implementation that sends Webmentions.', 'webmention' ); ?></p>

		<table class="form-table">
			<tr>
				<th scope="row"><?php esc_html_e( 'Self-Ping settings', 'webmention' ); ?></th>
				<td>
					<fieldset>
						<label for="webmention_disable_selfpings_same_url">
							<input type="checkbox" name="webmention_disable_selfpings_same_url" id="webmention_disable_selfpings_same_url" value="1" <?php echo checked( true, get_option( 'webmention_disable_selfpings_same_url' ) ); ?> />
							<?php esc_html_e( 'Disable self-pings on the same URL', 'webmention' ); ?>
							<p class="description"><?php esc_html_e( '(for example "http://example.com/?p=123")', 'webmention' ); ?></p>
						</label>

						<br />

						<label for="webmention_disable_selfpings_same_domain">
							<input type="checkbox" name="webmention_disable_selfpings_same_domain" id="webmention_disable_selfpings_same_domain" value="1" <?php echo checked( true, get_option( 'webmention_disable_selfpings_same_domain' ) ); ?> />
							<?php esc_html_e( 'Disable self-pings on the same Domain', 'webmention' ); ?>
							<p class="description"><?php esc_html_e( '(for example "example.com")', 'webmention' ); ?></p>
						</label>

						<br />

						<label for="webmention_disable_media_mentions">
							<input type="checkbox" name="webmention_disable_media_mentions" id="webmention_disable_media_mentions" value="1" <?php echo checked( true, get_option( 'webmention_disable_media_mentions' ) ); ?> />
							<?php esc_html_e( 'Disable sending Webmentions for media links (image, video, audio)', 'webmention' ); ?>
						</label>
					</fieldset>
				</td>
			</tr>
		</table>

		<?php do_settings_fields( 'webmention', 'sender' ); ?>

		<h2 class="title"><?php esc_html_e( 'Receiver', 'webmention' ); ?></h2>

		<p><?php esc_html_e( 'A Webmention Receiver is an implementation that receives Webmentions to one or more target URLs on which the Receiver\'s Webmention endpoint is advertised.', 'webmention' ); ?></p>

		<table class="form-table">
			<tr>
				<th scope="row"><?php esc_html_e( 'Webmention support for post types', 'webmention' ); ?></th>
				<td>
					<fieldset>
						<?php esc_html_e( 'Enable Webmention support for the following post types:', 'webmention' ); ?>

						<?php $post_types = get_post_types( array( 'public' => true ), 'objects' ); ?>
						<?php $support_post_types = get_option( 'webmention_support_post_types', array( 'post', 'page' ) ) ? get_option( 'webmention_support_post_types', array( 'post', 'page' ) ) : array(); ?>
						<ul>
						<?php foreach ( $post_types as $post_type ) { ?>
							<li>
								<label for="webmention_support_post_types_<?php echo esc_attr( $post_type->name ); ?>">
									<input type="checkbox" id="webmention_support_post_types_<?php echo esc_attr( $post_type->name ); ?>" name="webmention_support_post_types[]" value="<?php echo esc_attr( $post_type->name ); ?>" <?php echo checked( true, in_array( $post_type->name, $support_post_types, true ) ); ?> />
									<?php echo esc_html( $post_type->label ); ?>
								</label>
							</li>
						<?php } ?>
						</ul>

						<br />

						<label for="webmention_home_mentions">
							<?php esc_html_e( 'Set a page for mentions of the homepage to be sent to:', 'webmention' ); ?>

							<?php
							wp_dropdown_pages(
								array(
									'show_option_none' => esc_html__( 'No homepage mentions', 'webmention' ),
									'name'             => 'webmention_home_mentions',
									'id'               => 'webmention_home_mentions',
									'selected'         => get_option( 'webmention_home_mentions' ),
								)
							);
							?>

							<?php
							if ( get_option( 'webmention_home_mentions' ) ) {
								printf( '<a href="%s">%s</a>', get_permalink( get_option( 'webmention_home_mentions' ) ), esc_html__( 'Visit site', 'webmention' ) );
							}
							?>
						</label>
					</fieldset>
				</td>
			</tr>
			<tr>
				<th scope="row"><?php esc_html_e( 'Automatically approve Webmention from these domains', 'webmention' ); ?></p></th>
				<td>
					<fieldset>
						<p>
							<textarea name="webmention_approve_domains" id="webmention_approve_domains" rows="10" cols="50" class="large-text code"><?php echo get_option( 'webmention_approve_domains' ); ?></textarea>
						</p>
						<p class="description">
							<label for="webmention_approve_domains">
								<?php esc_html_e( 'A Webmention received from a site that matches a domain in this list will be auto-approved. One domain (e.g. indieweb.org) per line.', 'webmention' ); ?>
							</label>
						</p>
					</fieldset>
				</td>
			</tr>
			<tr>
				<th scope="row"><?php esc_html_e( 'Comment settings', 'webmention' ); ?></th>
				<td>
					<fieldset>
						<p>
							<label for="webmention_show_comment_form">
								<input type="checkbox" name="webmention_show_comment_form" id="webmention_show_comment_form" value="1" <?php echo checked( true, get_option( 'webmention_show_comment_form' ) ); ?> />
								<?php esc_html_e( 'Show a Webmention form at the comment section, to allow anyone to notify you of a mention.', 'webmention' ); ?>
							</label>
						</p>

						<p>
							<textarea name="webmention_comment_form_text" id="webmention_comment_form_text" rows="10" cols="50" class="large-text code" placeholder="<?php echo esc_html( get_default_webmention_form_text() ); ?>"><?php echo get_option( 'webmention_comment_form_text', '' ); ?></textarea>
						</p>
						<p class="description">
							<label for="webmention_comment_form_text">
								<?php esc_html_e( 'Change the default help text of the Webmention form', 'webmention' ); ?>
							</label>
						</p>
					</fieldset>
				</td>
			</tr>
			<tr>
				<th scope="row"><?php esc_html_e( 'Avatars', 'webmention' ); ?></th>
				<td>
					<fieldset>
						<label for="webmention_avatars">
							<input type="checkbox" name="webmention_avatars" id="webmention_avatars" value="1" <?php echo checked( true, get_option( 'webmention_avatars', 1 ) ); ?> />
							<?php esc_html_e( 'Show avatars on Webmentions if available.', 'webmention' ); ?>
						</label>
					</fieldset>
				</td>
			</tr>
			<tr>
				<th scope="row"><?php esc_html_e( 'Display', 'webmention' ); ?></th>
				<td>

					<fieldset>
						<label for="webmention_separate_comment">
							<input type="checkbox" name="webmention_separate_comment" id="webmention_separate_comment" value="1" <?php echo checked( true, get_option( 'webmention_separate_comment', 1 ) ); ?> />
							<?php esc_html_e( 'Separate Webmention Types from Comments.', 'webmention' ); ?>
						</label>
					</fieldset>

					<fieldset>
						<label for="webmention_facepile_fold_limit">
							<input type="number" min="0" class="small-text" name="webmention_facepile_fold_limit" id="webmention_facepile_fold_limit" value="<?php echo esc_attr( get_option( 'webmention_facepile_fold_limit' ) ); ?>" />
							<?php esc_html_e( 'Initial number of faces to show in facepiles (0 for all).', 'webmention' ); ?>
						</label>
					</fieldset>
				</td>
			</tr>
		</table>

		<?php do_settings_fields( 'webmention', 'receiver' ); ?>

		<?php do_settings_sections( 'webmention' ); ?>

		<?php submit_button(); ?>
	</form>
</div>

Anon7 - 2022
AnonSec Team