Files
wp-multisite-waas/views/wizards/host-integrations/runcloud-instructions.php
David Stone d88e50df38 Prep Plugin for release on WordPress.org (#23)
* Update translation text domain
* Escape everything that should be escaped.
* Add nonce checks where needed.
* Sanitize all inputs.
* Apply Code style changes across the codebase.
* Correct many deprecation notices.
* Optimize load order of many filters.
* Add Proper Build script
* Use emojii flags
* Fix i18n deprecation  notice for translating too early
* Put all scripts in footer and load async
2025-04-14 11:36:46 -06:00

49 lines
3.3 KiB
PHP
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?php
/**
* Runcloud instructions view.
*
* @since 2.0.0
*/
?>
<h1><?php esc_html_e('Instructions', 'wp-multisite-waas'); ?></h1>
<p class="wu-text-lg wu-text-gray-600 wu-my-4 wu-mb-6">
<?php esc_html_e('Youll need to get your', 'wp-multisite-waas'); ?> <strong><?php esc_html_e('API Key', 'wp-multisite-waas'); ?></strong> <?php esc_html_e('and', 'wp-multisite-waas'); ?> <strong><?php esc_html_e('API Secret', 'wp-multisite-waas'); ?></strong>, <?php esc_html_e('as well as find the', 'wp-multisite-waas'); ?> <strong><?php esc_html_e('Server ID', 'wp-multisite-waas'); ?></strong> <?php esc_html_e('and', 'wp-multisite-waas'); ?> <strong><?php esc_html_e('APP ID', 'wp-multisite-waas'); ?></strong> <?php esc_html_e('for your WordPress application', 'wp-multisite-waas'); ?>.
</p>
<h3 class="wu-m-0 wu-py-4 wu-text-lg" id="step-1-getting-the-api-key-and-secret">
<?php esc_html_e('Getting the API Key and API Secret', 'wp-multisite-waas'); ?>
</h3>
<p class="wu-text-sm">
<?php esc_html_e('On your RunCloud admin panel, click the cog icon (settings) to go to the settings page', 'wp-multisite-waas'); ?>.
</p>
<div class="">
<img class="wu-w-full" src="<?php echo esc_url(wu_get_asset('runcloud-1.webp', 'img/hosts')); ?>">
</div>
<p class="wu-text-center"><i><?php esc_html_e('Settings Page Link', 'wp-multisite-waas'); ?></i></p>
<p class="wu-text-sm"><?php esc_html_e('On the new page, click in the', 'wp-multisite-waas'); ?><b> <?php esc_html_e('API Key', 'wp-multisite-waas'); ?> </b> <?php esc_html_e('menu item on the left', 'wp-multisite-waas'); ?>.</p>
<div class="">
<img class="wu-w-full" src="<?php echo esc_url(wu_get_asset('runcloud-2.webp', 'img/hosts')); ?>">
</div>
<p class="wu-text-center"><i><?php esc_html_e('API Key page link', 'wp-multisite-waas'); ?></i></p>
<p class="wu-text-sm"> <?php esc_html_e('Copy the', 'wp-multisite-waas'); ?> <b> <?php esc_html_e('API Key and Secret values', 'wp-multisite-waas'); ?> </b>, <?php esc_html_e('we will need them in the next steps', 'wp-multisite-waas'); ?>. <b> <?php esc_html_e('Make sure the RunCloud API toggle is turned ON', 'wp-multisite-waas'); ?>, </b> <?php esc_html_e('otherwise RunCloud wont accept WP Multisite WaaS API calls', 'wp-multisite-waas'); ?>.</p>
<div class="">
<img class="wu-w-full" src="<?php echo esc_url(wu_get_asset('runcloud-3.webp', 'img/hosts')); ?>">
</div>
<p class="wu-text-center"><i><?php esc_html_e('Copy the API Key and API Secret values', 'wp-multisite-waas'); ?></i></p>
<h3 class="wu-m-0 wu-py-4 wu-text-lg" id="step-1-getting-the-api-key-and-secret">
<?php esc_html_e('Getting the Server and App IDs', 'wp-multisite-waas'); ?>
</h3>
<p class="wu-text-sm"><?php esc_html_e('To find what are the server and app ids for your application, navigate to your web application manage page inside the RunCloud panel. Once you are there, youll be able to extract the values from the URL', 'wp-multisite-waas'); ?>.</p>
<div class="">
<img class="wu-w-full" src="<?php echo esc_url(wu_get_asset('runcloud-4.webp', 'img/hosts')); ?>">
</div>
<p class="wu-text-center"><i><?php esc_html_e('Server ID is the first one, the second one is App ID.', 'wp-multisite-waas'); ?></i></p>
<p class="wu-text-sm"><?php esc_html_e('Save the Server and APP id values as they will be necessary in the next step', 'wp-multisite-waas'); ?>.</p>