?
Current File : /home/c/i/d/cideo/www/wp-includesVIp/js/crop/images/pages.tar
vc-welcome/index.php000066600000003540151262606200010433 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}
preg_match( '/^(\d+)(\.\d+)?/', WPB_VC_VERSION, $matches );
?>
<div class="wrap vc-page-welcome about-wrap">
	<h1><?php echo sprintf( __( 'Welcome to Visual Composer %s', 'js_composer' ), isset( $matches[0] ) ? $matches[0] : WPB_VC_VERSION ) ?></h1>

	<div class="about-text">
		<?php _e( 'Congratulations! You are about to use most powerful time saver for WordPress ever - page builder plugin with Frontend and Backend editors by WPBakery.', 'js_composer' ) ?>
	</div>
	<div class="wp-badge vc-page-logo">
		<?php echo sprintf( __( 'Version %s', 'js_composer' ), WPB_VC_VERSION ) ?>
	</div>
	<p class="vc-page-actions">
		<?php if ( vc_user_access()
				->wpAny( 'manage_options' )
				->part( 'settings' )
				->can( 'vc-general-tab' )
				->get() && ( ! is_multisite() || ! is_main_site() )
		) : ?>
			<a href="<?php echo esc_attr( admin_url( 'admin.php?page=vc-general' ) ) ?>"
			class="button button-primary"><?php _e( 'Settings', 'js_composer' ) ?></a><?php endif; ?>
		<a href="https://twitter.com/share" class="twitter-share-button"
			data-via="wpbakery"
			data-text="Take full control over your #WordPress site with Visual Composer page builder"
			data-url="https://vc.wpbakery.com" data-size="large">Tweet</a>
		<script>! function ( d, s, id ) {
				var js, fjs = d.getElementsByTagName( s )[ 0 ], p = /^http:/.test( d.location ) ? 'http' : 'https';
				if ( ! d.getElementById( id ) ) {
					js = d.createElement( s );
					js.id = id;
					js.src = p + '://platform.twitter.com/widgets.js';
					fjs.parentNode.insertBefore( js, fjs );
				}
			}( document, 'script', 'twitter-wjs' );</script>
	</p>
	<?php vc_include_template( '/pages/partials/_tabs.php', array(
			'slug' => $page->getSlug(),
			'active_tab' => $active_page->getSlug(),
			'tabs' => $pages,
		) );
	?>
	<?php echo $active_page->render(); ?>
</div>
vc-welcome/vc-resources.php000066600000004340151262606200011743 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}
?>
<div class="vc_resources-tab changelog">
	<div class="feature-section vc_row">
		<div class="vc_col-xs-6">
			<h3><?php _e( 'Resources', 'js_composer' ); ?></h3>

			<p><?php _e( 'There are several resources available to Visual Composer users to help you to get around plugin:', 'js_composer' ); ?></p>
			<ul>
				<li>
					<a href="http://vc.wpbakery.com/?utm_campaign=VCplugin&amp;utm_source=vc_user&amp;utm_medium=welcome_page"
					   target="_blank">Official website</a></li>
				<li><a href="http://bit.ly/vcomposer" target="_blank">Official sales point on CodeCanyon</a></li>
				<li><a href="http://kb.wpbakery.com" target="_blank">Official Knowledge Base</a></li>
				<li><a href="http://vc.wpbakery.com/video-academy/" target="_blank">Video Academy</a></li>
				<li><a href="http://support.wpbakery.com" target="_blank">Official support</a></li>
				<li><a href="http://facebook.com/VisualComposer.wpbakery" target="_blank">Facebook page</a></li>
				<li><a href="http://twitter.com/wpbakery" target="_blank">Twitter account</a></li>
			</ul>
		</div>
		
		<div class="vc_col-xs-6">
			<h3><?php _e( 'Official Support', 'js_composer' ); ?></h3>

			<p><?php printf( __( 'To get your support related question answered in the fastest timing, please head over to our <a href="%s" target="_blank">support page</a> and open Support ticket. To open support ticket you should have account in the ticket system. Registration should take you couple of minutes to complete and is completely automatic process. Prepare your Visual Composer <a href="%s" target="_blank">Purchase code</a> and fill in "Create account in Ticket system" form located at <a href="%s" target="_blank">support page</a>, then follow on screen instructions.', 'js_composer' ), 'http://support.wpbakery.com', 'http://go.wpbakery.com/purchase-code', 'http://support.wpbakery.com' ); ?></p>

			<p><?php printf( __( 'Before applying for support please make sure you understand the rules of support and go through all steps described and listed in <a href="%s" target="_blank">Support Policy</a> in order to get your issues solved as soon as possible.', 'js_composer' ), 'http://go.wpbakery.com/support-policy' ); ?></p>
		</div>
	</div>
</div>
vc-welcome/vc-faq.php000066600000011575151262606200010510 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}
?>
<div class="vc_faq-tab changelog">
	<h3><?php _e( 'New to Visual Composer or Looking for More Information?', 'js_composer' ); ?></h3>

	<p><?php printf( __( 'WPBakery has complete documentation available at our knowledge base: <a target="_blank" href="%s">kb.wpbakery.com</a> which covers everything related to Visual Composer starting from Installation and up to more advanced features based on our Inner API.', 'js_composer' ), 'http://kb.wpbakery.com' ); ?></p>

	<div class="feature-section vc_row">
		<div class="vc_col-xs-4">
			<h4><a target="_blank" href="http://go.wpbakery.com/preface">Preface</a></h4>
			<ul>
				<li><a target="_blank" href="http://go.wpbakery.com/introduction">Introduction</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/support-and-resources">Support and Resources</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/support-policy">Support Policy</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/release-notes">Release Notes</a></li>
			</ul>
		</div>

		<div class="vc_col-xs-4">
			<h4><a target="_blank" href="http://go.wpbakery.com/licensing">Licensing</a></h4>
			<ul>
				<li><a target="_blank" href="http://go.wpbakery.com/regular-license">Regular License</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/extended-license">Extended License</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/in-stock-license-terms">In-Stock License (Theme Integration)</a></li>
			</ul>
		</div>

		<div class="vc_col-xs-4">
			<h4><a target="_blank" href="http://go.wpbakery.com/getting-started">Getting Started</a></h4>
			<ul>
				<li><a target="_blank" href="http://go.wpbakery.com/install">Plugin Installation</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/activation">Activation</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/update">Update</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/content-type">Content Type</a></li>
			</ul>
		</div>
	</div>

	<div class="feature-section vc_row">
		<div class="vc_col-xs-4">
			<h4><a target="_blank" href="http://go.wpbakery.com/learning-more">Learning More</a>
			</h4>
			<ul>
				<li><a target="_blank" href="http://go.wpbakery.com/basic-concept">Basic Concept</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/content-elements">Content Elements</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/general-settings">General Settings</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/custom-css">Custom CSS</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/element-design-options">Element Design Options</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/responsive-settings">Responsive Settings</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/templates">Templates</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/predefined-layouts">Predefined Layouts</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/shortcode-mapper">Shortcode Mapper</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/grid-builder">Grid Builder</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/image-filters">Image filters</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/element-presets">Element Presets</a></li>
			</ul>
		</div>

		<div class="vc_col-xs-4">
			<h4><a target="_blank" href="http://go.wpbakery.com/vc-how-tos">Visual Composer "How To's"</a></h4>

			<p>In this section you will find a quick tips in form of video tutorials on how to operate with Visual Composer.</p>
		</div>

		<div class="vc_col-xs-4">
			<h4><a target="_blank" href="http://go.wpbakery.com/faq">FAQ</a></h4>

			<p>Here you can find answers to the Frequently Asked Question about Visual Composer.</p>
		</div>
	</div>

	<div class="feature-section vc_row">
		<div class="vc_col-xs-4">
			<h4><a target="_blank" href="http://go.wpbakery.com/addons">Add-ons</a></h4>
			<ul>
				<li><a target="_blank" href="http://go.wpbakery.com/templatera">Templatera</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/easy-tables">Easy Tables</a></li>
				<li><a target="_blank" href="http://go.wpbakery.com/addon-development-rules">Add-on Development Rules</a></li>
			</ul>
		</div>

		<div class="vc_col-xs-4">
			<h4><a target="_blank" href="http://go.wpbakery.com/theme-integration">Theme Integration</a></h4>

			<p>See how you can integrate Visual Composer within your WordPress theme.</p>
		</div>

		<div class="vc_col-xs-4">
			<h4><a target="_blank" href="http://go.wpbakery.com/inner-api">Inner API</a></h4>

			<p>Inner API section describes capabilities of interaction with Visual Composer.</p>
		</div>
	</div>
</div>

<div class="return-to-dashboard">
	<a target="_blank" href="http://kb.wpbakery.com"><?php _e( 'Visit Knowledge Base for more information', 'js_composer' ); ?></a>
</div>
vc-settings/tab-vc-roles.php000066600000006741151262606200012035 0ustar00<?php
if ( ! defined( 'ABSPATH' ) ) {
	die( '-1' );
}
$tab = esc_attr( preg_replace( '/^vc\-/', '', $page->getSlug() ) );
$editable_roles = get_editable_roles();
require_once vc_path_dir( 'SETTINGS_DIR', 'class-vc-roles.php' );
$vc_role = new Vc_Roles();
?>
<form action="<?php echo admin_url( 'admin-ajax.php' ); ?>" method="post"
      id="vc_settings-<?php echo $tab ?>"
      class="vc_settings-tab-content vc_settings-tab-content-active"<?php echo apply_filters( 'vc_setting-tab-form-' . $tab, '' ) ?>
      data-vc-roles="form">
	<div class="tab_intro">
		<p><?php _e( 'Control user group role access to the features and options of Visual Composer - manage WordPress default and custom roles.', 'js_composer' ) ?></p>
	</div>
	<!-- Settings template start -->
	<div class="vc_wp-settings">
		<div class="vc_wp-accordion" data-vc-action="collapseAll">
			<?php foreach ( $editable_roles as $role => $details ) :
				$name = translate_user_role( $details['name'] );
				$unique_id = 'vc_role-' . $role;
				$valid_roles = array();
				foreach ( $vc_role->getParts() as $part ) {
					if ( $vc_role->hasRoleCapability( $role, $vc_role->getPartCapability( $part ) ) ) {
						$valid_roles[] = $part;
					}
				}
				if ( count( $valid_roles ) > 0 ) :
				?>
				<div
					class="vc_wp-accordion-panel vc_ui-settings-roles-role<?php echo ! isset( $next ) ? ' vc_active' : '' ?>"
					data-vc-unique-id="<?php echo esc_attr( $unique_id ) ?>"
					data-vc-content=".vc_wp-accordion-panel-body"
					data-vc-role="<?php echo esc_attr( $role ) ?>">
					<div class="widget" data-vc-accordion=""
					     data-vc-container=".vc_wp-accordion"
					     data-vc-target="[data-vc-unique-id=<?php echo esc_attr( $unique_id ) ?>]">
						<div class="widget-top">
							<div class="widget-title-action">
								<a class="widget-action hide-if-no-js" href="#"></a>
								<a class="widget-control-edit hide-if-js">
									<span class="edit vc_automapper-edit-btn">Edit</span>
									<span class="add vc_automapper-delete-btn">Add</span>
									<span class="screen-reader-text">Search</span>
								</a>
							</div>
							<div class="widget-title">
								<h4>
									<?php echo esc_html( $name ) ?>
									<span class="in-widget-title"></span>
								</h4>
							</div>
						</div>

					</div>

					<div class="vc_wp-accordion-panel-body">
						<table class="form-table">
							<tbody>
							<?php
							$next = true;
							foreach ( $valid_roles as $part ) {
								vc_include_template( 'pages/partials/vc-roles-parts/_' . $part . '.tpl.php', array(
									'part' => $part,
									'role' => $role,
									'vc_role' => $vc_role,
								) );
							}
							?>
							</tbody>
						</table>
					</div>
				</div>
				<?php endif; ?>
			<?php endforeach; ?>
		</div>
	</div>
	<span class="vc_settings-spinner vc_ui-wp-spinner" style="display: none;" id="vc_wp-spinner"></span>
	<!-- Settings template end -->
	<?php
	wp_nonce_field( 'vc_settings-' . $tab . '-action', 'vc_nonce_field' );
	$submit_button_attributes = array();
	$submit_button_attributes = apply_filters( 'vc_settings-tab-submit-button-attributes', $submit_button_attributes, $tab );
	$submit_button_attributes = apply_filters( 'vc_settings-tab-submit-button-attributes-' . $tab, $submit_button_attributes, $tab );
	submit_button( __( 'Save Changes', 'js_composer' ), 'primary', 'submit_btn', true, $submit_button_attributes );
	?>
	<input type="hidden" name="action" value="vc_roles_settings_save"
	       id="vc_settings-<?php echo $tab; ?>-action"/>
</form>