403Webshell
Server IP : 195.130.67.5  /  Your IP : 216.73.217.154
Web Server : Microsoft-IIS/10.0
System : Windows NT WEBSERVER1 10.0 build 17763 (Windows Server 2016) i586
User : IUSR ( 0)
PHP Version : 7.4.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /inetpub/wwwroot/engineering/iimec/wp-content/plugins/ckeditor-for-wordpress/includes/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /inetpub/wwwroot/engineering/iimec/wp-content/plugins/ckeditor-for-wordpress/includes/advanced.php
<?php if ( !defined('ABSPATH')){ exit; } // Exit if accessed directly
/*
Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.md or http://ckeditor.com/license
*/
?>
<div class="wrap">
	<div id="icon-wp-ckeditor" class="icon32"><br /></div>
	<h2><?php _e('CKEditor - Advanced Settings', 'ckeditor_wordpress') ?></h2>
	<form method="post" id="ca_form">
		<?php wp_nonce_field('ckeditor_create_nonce_advanced','csrf_ckeditor-for-wordpress'); ?>
		<h3><?php _e('CSS Options', 'ckeditor_wordpress') ?></h3>
		<table class="form-table">
			<tr valign="top">
				<th scope="row"><?php _e('Editor CSS', 'ckeditor_wordpress') ?></th>
				<td>
					<select name="options[css][mode]">
						<option value="default"<?php echo ($this->options['css']['mode']=='default'?' selected="selected"':'') ?>><?php _e('CKEditor default (recommended)', 'ckeditor_wordpress');?></option>
						<option value="theme"<?php echo ($this->options['css']['mode']=='theme'?' selected="selected"':'') ?>><?php _e('Use theme css', 'ckeditor_wordpress');?></option>
						<option value="self"<?php echo ($this->options['css']['mode']=='self'?' selected="selected"':'') ?>><?php _e('Define css', 'ckeditor_wordpress');?></option>
					</select>
					<br />
					<span class="description"><?php _e("Defines the CSS to be used in the editor area.<br />Use theme css - load style.css from current site theme.<br />Define css - enter path for css file below.<br />CKEditor default - uses default CSS from editor.", 'ckeditor_wordpress') ?></span>
				</td>
			</tr>
			<tr valign="top">
				<th scope="row"><?php _e('CSS path', 'ckeditor_wordpress') ?></th>
				<td>
					<input type="text" name="options[css][path]" value="<?php echo htmlspecialchars($this->options['css']['path']) ?>" />
					<?php if (isset($message['css_path'])): ?><span class="error"><?php echo $message['css_path'] ?></span><?php endif; ?>
					<br />
					<span class="description"><?php _e('Enter path to CSS file (Example: "css/editor.css") or a list of css files separated by a comma (Example: "/wp-content/themes/default/style.css,http://example.com/style.css"). Make sure to select "Define css" above.<br />Available placeholders:<br />%h - host name (/).<br />%t - path to theme.', 'ckeditor_wordpress') ?></span>
				</td>
			</tr>
			<tr valign="top">
				<th scope="row"><?php _e('Predefined styles', 'ckeditor_wordpress') ?></th>
				<td>
					<select name="options[css][styles]">
						<option value="theme"<?php echo ($this->options['css']['styles']=='theme'?' selected="selected"':'') ?>><?php _e('Use theme ckeditor.styles.js', 'ckeditor_wordpress');?></option>
						<option value="self"<?php echo ($this->options['css']['styles']=='self'?' selected="selected"':'') ?>><?php _e('Define path to ckeditor.styles.js', 'ckeditor_wordpress');?></option>
						<option value="default"<?php echo ($this->options['css']['styles']=='default'?' selected="selected"':'') ?>><?php _e('CKEditor default', 'ckeditor_wordpress');?></option>
					</select>
					<br />
					<span class="description"><?php _e('Define the location of "ckeditor.styles.js" file. It is used by the "Style" dropdown list available in the default toolbar.', 'ckeditor_wordpress') ?></span>
				</td>
			</tr>
			<tr valign="top">
				<th scope="row"><?php _e('Predefined styles path', 'ckeditor_wordpress') ?></th>
				<td>
					<input type="text" name="options[css][style_path]" value="<?php echo htmlspecialchars($this->options['css']['style_path']) ?>" />
					<?php if (isset($message['css_style_path'])): ?><span class="error"><?php echo $message['css_style_path'] ?></span><?php endif; ?>
					<br />
					<span class="description"><?php _e('Enter path to file with predefined styles (Example: "/ckeditor.styles.js"). Be sure to select "define path to ckeditor.styles.js" above.<br />Available placeholders:<br />%h - host name (/).<br />%t - path to theme .', 'ckeditor_wordpress') ?></span>
				</td>
			</tr>
		</table>
		<h3><?php _e('Output Formatting', 'ckeditor_wordpress') ?></h3>
		<table class="form-table">
			<tr valign="top">
				<th scope="row"><?php _e('Output formatting', 'ckeditor_wordpress')?><br /><span class="description">(<?php _e('Writer rules', 'ckeditor_wordpress'); ?>)</span></th>
				<td>
					<?php echo $this->checkbox('advanced', 'p_indent', 'indent the element contents.');?><br />
					<?php echo $this->checkbox('advanced', 'p_break_before_open', 'break line before the opener tag.');?><br />
					<?php echo $this->checkbox('advanced', 'p_break_after_open', 'break line after the opener tag.');?><br />
					<?php echo $this->checkbox('advanced', 'p_break_before_close', 'break line before the closer tag.');?><br />
					<?php echo $this->checkbox('advanced', 'p_break_after_close', 'break line after the closer tag.');?><br />
				</td>
			</tr>
		</table>
		<h3><?php _e('Advanced Options', 'ckeditor_wordpress') ?></h3>
		<table class="form-table">
		  <?php $acf = isset($this->options['advanced']['acf']) ? $this->options['advanced']['acf'] : 'f'; ?>
			<tr valign="top">
				<th scope="row"><?php _e('Advanced Content Filter', 'ckeditor_wordpress')?></th>
				<td>
				<input id="acf_enabled" name="options[advanced][acf]" type="radio" value="t" <?php if ($acf == 't'):?>checked="checked"<?php endif; ?>><label for="acf_enabled"> Enabled</label> <br/>
				<input id="acf_disabled" name="options[advanced][acf]" type="radio" value="f" <?php if ($acf == 'f'):?>checked="checked"<?php endif; ?>><label for="acf_disabled"> Disabled</label>
				<br />
				<span class="description"><?php _e('If enabled, CKEditor will strip all HTML tags that are not allowed by CKEditor plugins.', 'ckeditor_wordpress');?></span></td></tr>
			</tr>
			<tr valign="top">
				<th scope="row"><?php _e('Spell checker', 'ckeditor_wordpress')?><br /></th>
				<td>
					<?php echo $this->checkbox('advanced', 'scayt_autoStartup', 'SCAYT auto startup.');?><br />
					<span class="description"><?php _e('If enabled, turns on SCAYT (Spell Check As You Type) automatically after loading the editor.', 'ckeditor_wordpress'); ?></span>
				</td>
			</tr>
			<tr valign="top">
				<th scope="row"><?php _e('Built-in spell checker', 'ckeditor_wordpress')?></th>
				<td><?php echo $this->checkbox('advanced', 'native_spell_checker', 'Enable the built-in spell checker while typing natively available in the browser.');?>
				<span class="description">(<?php _e('currently Firefox and Safari only', 'ckeditor_wordpress');?>)</span></td></tr>
			</tr>
			<tr valign="top">
				<th scope="row"><?php _e('HTML entities', 'ckeditor_wordpress')?></th>
				<td><?php echo $this->checkbox('advanced', 'entities', 'Using HTML entities in the output.');?>
				<span class="description">(<?php _e('Convert all applicable characters to HTML entities', 'ckeditor_wordpress');?>)</span></td></tr>
			</tr>
			<tr valign="top">
				<th scope="row"><?php _e('Plugins', 'ckeditor_wordpress')?></th>
				<td>
					<?php
						$plugins = apply_filters('ckeditor_external_plugins', array());
						$plugins = array_keys($plugins);
						$plugins[] = "autogrow";
						$plugins[] = "tableresize";
						sort($plugins);
						$plugins[] = "scayt";
						$plugins[] = "wsc";
						$pluginNames = array('scayt' => 'Spell Check As You Type (SCAYT)', 'wsc' => 'WebSpellChecker (WSC)');

						foreach ($plugins as $plugin){
							if ($plugin == "wpgallery" || $plugin == "wpeditimage") {
								continue;
							}
							if (!isset($this->options['plugins'][$plugin])){
								$this->options['plugins'][$plugin] = 't';
							}
							echo $this->checkbox('plugins', $plugin, !empty($pluginNames[$plugin]) ? $pluginNames[$plugin] : ucfirst($plugin) . ' plugin') . '<br />';
						}
					?>
				<span class="description">(<?php _e('Choose additional plugins which should be loaded into CKEditor', 'ckeditor_wordpress');?>)</span>
			</td>
			</tr>
			<?php
				$langs = apply_filters('ckeditor_load_lang_options', array());
			?>
			<tr valign="top">
				<th scope="row"><?php _e('Language', 'ckeditor_wordpress')?></th>
				<td>
				<?php $selected =  isset($this->options['advanced']['language']) ? $this->options['advanced']['language'] : (get_locale()? get_locale() : 'en'); ?>
				<select name="options[advanced][language]">
					<?php foreach ($langs AS $key => $lang): ?>
						<option value="<?php echo $key?>" <?php if ($key == $selected):?>selected="selected"<?php endif;?>><?php echo $lang ?></option>
					<?php endforeach; ?>
				</select>
				<br /><span class="description"><?php _e('The language for the CKEditor user interface.', 'ckeditor_wordpress'); ?></span>
				<?php if (isset($message['advanced_language'])): ?><span class="error"><?php echo $message['advanced_language'] ?></span><?php endif; ?>
				</td>
			</tr>
			<?php $auto = isset($this->options['advanced']['detect_language_auto']) ? $this->options['advanced']['detect_language_auto'] : 't'; ?>
			<tr valign="top">
				<th scope="row"><?php _e('Auto-detect language', 'ckeditor_wordpress')?></th>
				<td>
					<input id="autodetect_enabled" name="options[advanced][detect_language_auto]" type="radio" value="t" <?php if ($auto == 't'):?>checked="checked"<?php endif; ?>><label for="autodetect_enabled"> Enabled</label> <br/>
					<input id="autodetect_disabled" name="options[advanced][detect_language_auto]" type="radio" value="f" <?php if ($auto == 'f'):?>checked="checked"<?php endif; ?>><label for="autodetect_disabled"> Disabled</label>
					<br /><span class="description"><?php _e('Automatically detect the user language.', 'ckeditor_wordpress'); ?></span>
					<?php if (isset($message['advanced_detect_language_auto'])): ?><br/><span class="error"><?php echo $message['advanced_detect_language_auto'] ?></span><?php endif; ?>
				</td>
			</tr>
			<tr valign="top">
				<th scope="row"><?php _e('Language direction ', 'ckeditor_wordpress')?></th>
				<td>
				<?php $selected = isset($this->options['advanced']['language_direction']) ? $this->options['advanced']['language_direction']: 'default'; ?>
				<select name="options[advanced][language_direction]">
					<option value="default" <?php if ($selected == 'default'):?>selected="selected"<?php endif;?>>Get from current locale (default)</option>
					<option value="ltr" <?php if ($selected == 'ltr'):?>selected="selected"<?php endif;?>>Left-To-Right</option>
					<option value="rtl" <?php if ($selected == 'rtl'):?>selected="selected"<?php endif;?>>Right-To-Left</option>
				</select>
				<br /><span class="description"><?php _e('Choose the language direction used in the editing area. Even when CKEditor automatically detects the user language and adjusts its user interface, the editing area is not automatically changed into the LTR or RTL mode. To be able to type LTR (like English) and RTL (like Arabic, Hebrew, Persian) content at the same time, please make sure that the BidiLtr and BidiRtl buttons are enabled in the toolbar.', 'ckeditor_wordpress'); ?></span>
				<?php if (isset($message['advanced_language_direction'])): ?><span class="error"><?php echo $message['advanced_language_dierction'] ?></span><?php endif; ?>
				</td>
			</tr>
		</table>
		<p class="submit">
			<input type="hidden" name="df_submit" value="1" />
			<input type="submit" class="button-primary" value="Update Options" name="submit_update" />
		</p>
	</form>
</div>

Youez - 2016 - github.com/yon3zu
LinuXploit