<?php


/**
 * ==================================== How to Use Template
 */

if ( !defined( 'ABSPATH' ) ) { exit; } /* Wordpress check */ ?>

<!-- how to use -->
		<div class="postbox">
			<h3><span><?php _e('How To Use the Multisite Robots.txt Manager', 'ms_robotstxt_manager');?></span></h3>
		<div class="inside"><div class="inside-box"><div class="inside-pad para">
			<p><?php _e('Using the Multisite Robots.txt Manager...', 'ms_robotstxt_manager');?></p>

			<ul>
				<li><strong>&bull; <a href="http://msrtm.technerdia.com/help/docs.html" target="_blank"><?php _e('Extended Help Documents', 'ms_robotstxt_manager');?></a></strong></li>
<?php if ( $this->msrtm_version( $check = true ) ) {?>
				<li><strong>&bull; <a href="http://msrtm.technerdia.com/help/docs/pro-upload.html" target="_blank"><?php _e('Where to Upload the Pro Automation Extension.', 'ms_robotstxt_manager');?></a></strong></li>
				<li><strong>&bull; <a href="http://msrtm.technerdia.com/help/docs/pro-confiure.html" target="_blank"><?php _e('Configuring the Pro Automation Extension.', 'ms_robotstxt_manager');?></a></strong></li>
				<li><strong>&bull; <a href="http://msrtm.technerdia.com/help/docs/pro-testing.html" target="_blank"><?php _e('Testing the Pro Extension Feature.', 'ms_robotstxt_manager');?></a></strong></li>
<?php }?>
			</ul>

			<hr />

			<h2><?php _e('Two Admin Areas');?></h2>
			<?php _e('You can access this plugins admin areas through either the Network Admin or within a Websites wp-admin area ( Settings Menu > MS Robots.txt link ). The difference between them is: The network admin allows you to update the entire network or any website on the network, from one admin area. While, the website admin only updates the robots.txt file and sitemap data for the displayed website.', 'ms_robotstxt_manager');?><br />

			<br />

			<h2><?php _e('Defaults Tab', 'ms_robotstxt_manager');?></h2>
<?php if ( isset( $_GET['page'] ) && $_GET['page'] == "msrtm-network.php" ) {?>
			<?php _e('The Defaults tab contains an inactive, "network only" or "network wide" working copy of the robots.txt file. Modify the default robots.txt file, save the default file, and when ready click the "publish to network" button to duplicate the robots.txt file to all Network Websites.', 'ms_robotstxt_manager');?><br /><br />
<?php } else {?>
			<?php _e('The Defaults tab contains this websites active robots.txt file and sitemap structure. To use: Modify the robots.txt file, enter a sitemap structure and check the Use Sitemap URL box. Once done click the "update this website" button to save &amp; publish your changes.', 'ms_robotstxt_manager');?><br /><br />
<?php }?>

			<br id="sitemap" />

			<h2><?php _e('Sitemap URLs and Structure', 'ms_robotstxt_manager');?></h2>
			<p><?php _e('The Sitemap URL Structure feature uses 3 different [shortcodes] to customize how sitemap urls are rendered on a robots.txt file. The shortcodes get a websites url and then break the url apart, separating the domain name from the domain extension.', 'ms_robotstxt_manager');?></p>
			<p><strong><?php _e('Example Structure', 'ms_robotstxt_manager');?></strong>: http://[WEBSITE_URL]/sitemap.xml</p>
			<p><?php _e('The [bracket] within the url automatically gets replaced by the plugin (You Will Use The Brackets).', 'ms_robotstxt_manager');?></p>

			<?php if ( !isset( $show_site ) && isset( $_GET['page'] ) && $_GET['page'] == "msrtm-network.php" ) {?><p><?php _e('The default sitemap structure within the network admin, "must" use the [bracket] structure, otherwise when you publish to the network, the sitemap urls will not render correctly. You can directly modify a Websites sitemap structure or enter a full sitemap url, by selected the site from the drop down menu above, then click the "change sites" button.', 'ms_robotstxt_manager');?></p><?php }?>
			<?php if ( isset( $show_site ) && isset( $_GET['page'] ) && $_GET['page'] == "msrtm-network.php" || isset( $_GET['page'] ) && $_GET['page'] == "msrtm-website.php" ) {?><p><?php _e('The sitemap structure within the Website admin area, can either use the [bracket] structure or the actual-real sitemap url for this Website.', 'ms_robotstxt_manager');?></p><?php }?>
 
			<h2><?php _e('Sitemap URL Structures', 'ms_robotstxt_manager');?></h2>
			<p>Example sitemap structures you can use.</p>

			<p><strong><?php _e('Wordpress Structure', 'ms_robotstxt_manager');?>:</strong> http://[WEBSITE_URL]/sitemap.xml<br />
			<strong><?php _e('Sitemap URL', 'ms_robotstxt_manager');?></strong>: http://domain.com/sitemap.xml</p>

			<p><strong><?php _e('GoDaddy Structure', 'ms_robotstxt_manager');?>:</strong> http://[WEBSITE_URL]/sitemaps/[DOMAIN]-[EXT].xml<br />
			<strong><?php _e('Sitemap URL', 'ms_robotstxt_manager');?></strong>: http://domain.com/sitemaps/domain-com.xml</p>

			<p><strong><?php _e('Random Structure', 'ms_robotstxt_manager');?>:</strong> http://[WEBSITE_URL]/[DOMAIN]-[EXT]-sitemap.xml.gz<br />
			<strong><?php _e('Sitemap URL', 'ms_robotstxt_manager');?></strong>: http://domain.com/domain-com-sitemap.xml.gz</p>

			<h2><?php _e('Structure Meaning', 'ms_robotstxt_manager');?></h2>
				<ol>
					<li>[WEBSITE_URL] = domain.com</li>
					<li>[DOMAIN] = domain</li>
					<li>[EXT] = .com/net, etc.</li>
				</ol>

			<br />

			<h2><?php _e('Testing Robots.txt Files', 'ms_robotstxt_manager');?></h2>
			<?php _e('Use Google\'s Webmaster Tools to Validate your Robots.txt Files.... with Google at least.', 'ms_robotstxt_manager');?>:<br />
			<p><?php _e('Log into your', 'ms_robotstxt_manager');?> <a href="http://www.google.com/webmasters/tools/" target="_blank"><?php _e('Google Account', 'ms_robotstxt_manager');?></a> and access the <?php _e('Log into your', 'ms_robotstxt_manager');?> <a href="http://www.google.com/webmasters/tools/" target="_blank"><?php _e('Webmaster Tools', 'ms_robotstxt_manager');?></a> <?php _e('feature.', 'ms_robotstxt_manager');?> <?php _e('Select a Website or', 'ms_robotstxt_manager');?> <a href="http://support.google.com/webmasters/bin/answer.py?hl=en&answer=34592" target="_blank"><?php _e('Add a Website', 'ms_robotstxt_manager');?></a>....</p>
				<ol>
					<li><?php _e('On the Webmaster Tools Home page, click the site you want.', 'ms_robotstxt_manager');?></li>
					<li><?php _e('Under Health, click Blocked URLs.', 'ms_robotstxt_manager');?></li>
					<li><?php _e('If it is not already selected, click the Test robots.txt tab.', 'ms_robotstxt_manager');?></li>
					<li><?php _e('Copy the content of your robots.txt file, and paste it into the first box.', 'ms_robotstxt_manager');?></li>
					<li><?php _e('In the URLs box, list the site to test against.', 'ms_robotstxt_manager');?></li>
					<li><?php _e('In the User-agents list, select the user-agents you want.', 'ms_robotstxt_manager');?></li>
				</ol>
			<p><a href="http://support.google.com/webmasters/bin/answer.py?hl=en&answer=156449" target="_blank"><?php _e('Source', 'ms_robotstxt_manager');?></a></p>

			<br />

<?php if ( is_network_admin() ) {?>
			<h2><?php _e('New Website Added to Network', 'ms_robotstxt_manager');?></h2>
			<?php _e('If all Websites use the saved Network default robots.txt file, click the "publish to network" button to copy the default robots.txt file over to any new Websites you have.', 'ms_robotstxt_manager');?><br />
			<p><strong><?php _e('Per Site', 'ms_robotstxt_manager');?></strong>: <?php _e('Change to the Website in the dropdown. Then click the "reset this website" button to copy the default robots.txt file to this Website. If needed, modify the robots.txt file and click the "update this website" button once done.', 'ms_robotstxt_manager');?></p>

			<br />

			<h2><?php _e('Manage a Websites Robots.txt File', 'ms_robotstxt_manager');?></h2>
			<?php _e('To manage a Website directly, select the Website from the dropdown, then click the "change sites" button. This will display the robots.txt file for the selected Website. Change the robots.txt file how you like, once done click the "update this website" button to publish the modification.', 'ms_robotstxt_manager');?>

			<br />

			<?php if ( !$this->msrtm_version( $check = true ) ) {?>
				<h2><?php _e('Disabling', 'ms_robotstxt_manager');?></h2>
				<strong><?php _e('Disable a Website', 'ms_robotstxt_manager');?></strong>: <?php _e('To disable the MS Robots.txt Manager on a Website, select the Website from the dropdown menu, then click the "change sites" button. With the Website\'s robots.txt file open, click the "disable this website" button. This will clear the robots.txt file and sitemap structure settings for this Website only, making the Wordpress default robots.txt file display.', 'ms_robotstxt_manager');?><br />
				<p><strong><?php _e('Disable across the Network', 'ms_robotstxt_manager');?></strong>: <?php _e('Select the default robots.txt file within the Text Area, click the delete on your keyboard, then click the "publish to network" button. You can not save a blank default robots.txt file, but you can publish a blank robots.txt file, which will disable the robots.txt file option for each Website within the Network.', 'ms_robotstxt_manager');?></p>
			<?php }?>

			<h2><?php _e('Resetting', 'ms_robotstxt_manager');?></h2>
			<strong><?php _e('Reset Default', 'ms_robotstxt_manager');?></strong>: <?php _e('Something wrong? No worries! When viewing the Networks robots.txt file, click the "reset to default" button to replace the displayed robots.txt file with the core "coded in" default robots.txt file.', 'ms_robotstxt_manager');?><br />
			<p><strong><?php _e('Reset Website', 'ms_robotstxt_manager');?></strong>: <?php _e('To reset a Websites robots.txt file, change to the Website within the dropdown, then click the "reset this website" button to pull in the "Networks Default Robots.txt file" (not the coded in default file).', 'ms_robotstxt_manager');?></p>

			<br />

			<h2><?php _e('Presets / Examples Tab', 'ms_robotstxt_manager');?></h2>
			<?php _e('This feature allows you to quickly duplicate premade robots.txt files and a sitemap structure url, to either the default network wide robots.txt file or a selected Websites robots.txt file.', 'ms_robotstxt_manager');?><br />
			<p><strong><?php _e('To use', 'ms_robotstxt_manager');?></strong>: <?php _e('Select the Network or a Website from the dropdown. Check the box to add a sitemap structure, modify/enter a Sitemap Structure (not required). Finally, click the "set as default" button above the robots.txt file example you want to use.', 'ms_robotstxt_manager');?></p>

			<br />
<?php } else {?>
			<?php if ( !$this->msrtm_version( $check = true ) ) {?>
				<h2><?php _e('Disabling', 'ms_robotstxt_manager');?></h2>
				<?php _e('To disable this Website click the "disable this website" button. Disabling this website restores the default Wordpress robots.txt file.', 'ms_robotstxt_manager');?><br />
			<?php }?>

			<h2><?php _e('Resetting', 'ms_robotstxt_manager');?></h2>
			<?php _e('To reset this Website click the "reset to default" button. Resetting this website duplicates the default network wide robots.txt file and sitemap structure to this website.', 'ms_robotstxt_manager');?><br />

			<br />

			<h2><?php _e('Presets / Examples Tab', 'ms_robotstxt_manager');?></h2>
			<?php _e('This feature allows you to quickly duplicate premade robots.txt files and a sitemap structure url, to this Websites robots.txt file.', 'ms_robotstxt_manager');?><br />
			<p><strong><?php _e('To use', 'ms_robotstxt_manager');?></strong>: <?php _e('Check the box to add a sitemap structure, modify/enter a Sitemap Structure (not required). Click the "set as default" button above the robots.txt file example you want to use.', 'ms_robotstxt_manager');?></p>

			<br />
<?php }?>

			<h2><?php _e('Recommended Sitemap Plugin', 'ms_robotstxt_manager');?></h2>
			
			<ul>
				<li><a href="<?php echo network_admin_url( '/plugin-install.php?tab=search&type=term&s=better+wordPress+google+xml+sitemaps' );?>" target="_blank"><?php _e('Better WordPress Google XML Sitemaps', 'ms_robotstxt_manager');?></a>: <?php _e('Recommended for "real" Multisite HOST Networks!', 'ms_robotstxt_manager');?></li>
				<li><a href="<?php echo network_admin_url( '/plugin-install.php?tab=search&type=term&s=google+xml+sitemaps' );?>" target="_blank"><?php _e('Google XML Sitemaps', 'ms_robotstxt_manager');?></a>: <?php _e('Standard Worpress Ready Sitemap Files.', 'ms_robotstxt_manager');?></li>
				<li>Search for more "<a href="<?php echo network_admin_url( '/plugin-install.php?tab=search&type=term&s=multisite+sitemap' );?>" target="_blank">multisite sitemap</a>" Wordpress plugins.</li>	
			</ul>

<?php if ( $this->msrtm_version( $check = true ) ) {?>
			<br />

			<h2><?php _e('Automate Tab', 'ms_robotstxt_manager');?></h2>
			<strong><?php _e('About', 'ms_robotstxt_manager');?></strong>: <?php _e('When new Websites are added to the Network, the Total Automation feature automatically duplicates and activates the robots.txt file and sitemap url structure to each newly created Website.', 'ms_robotstxt_manager');?>
			<p><?php _e('By default, the robots.txt file and included sitemap structure (if any) is based off the default (network wide) robots.txt file. Changing the robots.txt file or sitemap structure within the Automation tab updates the automation settings ONLY and not the default settings for the plugin.', 'ms_robotstxt_manager');?></p>
			<p><strong><?php _e('To Use', 'ms_robotstxt_manager');?></strong>: <?php _e('Access the Automation Tab - define the Sitemap URL Structure to use (Not Required). Modify the robots.txt file that will be duplicated to all newly created network Websites. Click the "save settings" button. Once done, scroll down and select "Start Automation" then click the "toggle automation" button.', 'ms_robotstxt_manager');?></p>
			<p><strong><?php _e('Mass Update Missing Robots.txt Files', 'ms_robotstxt_manager');?></strong>: <?php _e('Click the "mass update" button to use this feature. This feature updates all Websites missing a robots.txt file, and if defined the sitemap structure. Websites with an active robots.txt file will be ignored.', 'ms_robotstxt_manager');?></p>
<?php }?>

<?php if ( !$this->msrtm_version( $check = true ) ) {?>
			<br />

			<h2><?php _e('What is the Pro Extension Plugin?', 'ms_robotstxt_manager');?></h2>
			<?php _e('The Pro Extension Plugin is an attachment plugin that expands the MS Robots.txt Manager Wordpress Plugin, adding an "Automate" tab to the menu above. The plugin completely automates the creation of all future robots.txt files. No matter how new websites are added to the Network, the automation extension will populate the robots.txt file for you. For large or growing multisite networks, this can be an extreme amount of time saved!', 'ms_robotstxt_manager');?> [ <a href="http://msrtm.technerdia.com/" target="_blank"><?php _e('More Information', 'ms_robotstxt_manager');?></a> ]
<?php }?>

			<hr />
			<br />

			<ul>
				<li><strong>&bull; <a href="http://msrtm.technerdia.com/help/docs.html" target="_blank"><?php _e('Extended Help Documents', 'ms_robotstxt_manager');?></a></strong></li>
<?php if ( $this->msrtm_version( $check = true ) ) {?>
				<li><strong>&bull; <a href="http://msrtm.technerdia.com/help/docs/pro-upload.html" target="_blank"><?php _e('Where to Upload the Pro Automation Extension.', 'ms_robotstxt_manager');?></a></strong></li>
				<li><strong>&bull; <a href="http://msrtm.technerdia.com/help/docs/pro-confiure.html" target="_blank"><?php _e('Configuring the Pro Automation Extension.', 'ms_robotstxt_manager');?></a></strong></li>
				<li><strong>&bull; <a href="http://msrtm.technerdia.com/help/docs/pro-testing.html" target="_blank"><?php _e('Testing the Pro Extension Feature.', 'ms_robotstxt_manager');?></a></strong></li>
<?php }?>
			</ul>

			<br />
			<hr />
		</div></div></div> <!-- end inside, inside-box, inside-pad para -->
			<?php /* page tabs */ echo $this->msrtm_tab_links();?>
		</div> <!-- end postbox -->