Skip to content

Commit

Permalink
Relaced the label "Tour Operator" with "LSX Tour Operator"
Browse files Browse the repository at this point in the history
  • Loading branch information
krugazul committed Oct 30, 2020
1 parent 0faabb6 commit 72aa68b
Show file tree
Hide file tree
Showing 44 changed files with 76 additions and 76 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ Check out [our free extensions](https://www.lsdev.biz/lsx/extensions/tour-operat

Take a look at all our [Frequently Asked Questions](https://www.lsdev.biz/lsx/documentation/lsx-tour-operator/faqs/), we are sure you'll find what you're looking for.

If you are experiencing issues with the Tour Operator Plugin, please log any bug issues you are having on the [Tour Operator Github Issues](https://github.com/lightspeeddevelopment/tour-operator/issues) page.
If you are experiencing issues with the LSX Tour Operator Plugin, please log any bug issues you are having on the [LSX Tour Operator Github Issues](https://github.com/lightspeeddevelopment/tour-operator/issues) page.

You can also send an email to our Support Team at [support@lsdev.biz](mailto:support@lsdev.biz) if you have a request for the [LightSpeed team](https://www.lsdev.biz/team/).

## Contributing to the Plugin

If you're a developer who's spotted a bug issue and have a fix, or simply have functionality you think would extend our plugin, we are always happy to accept your contribution! Visit the [Tour Operator Plugin on Github](https://github.com/lightspeeddevelopment/tour-operator) and submit a Pull Request with your updates.
If you're a developer who's spotted a bug issue and have a fix, or simply have functionality you think would extend our plugin, we are always happy to accept your contribution! Visit the [LSX Tour Operator Plugin on Github](https://github.com/lightspeeddevelopment/tour-operator) and submit a Pull Request with your updates.



Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lightspeeddevelopment/tour-operator",
"description": "The Tour Operators Plugin provides 3 post types (Accommodations, Destinations and Tours) that are the core of any Tour Operator. Use them to build day-by-day itineraries for tours.",
"description": "The LSX Tour Operators Plugin provides 3 post types (Accommodations, Destinations and Tours) that are the core of any LSX Tour Operator. Use them to build day-by-day itineraries for tours.",
"type": "wordpress-plugin",
"require": {
"php": ">=7.2",
Expand Down
2 changes: 1 addition & 1 deletion dist/blocks.build.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions includes/classes/admin/class-admin.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Admin Main Class
* LSX Tour Operator - Admin Main Class
*
* @package lsx
* @author LightSpeed
Expand Down Expand Up @@ -34,7 +34,7 @@ class Admin {
public $pages;

/**
* Tour Operator Admin constructor.
* LSX Tour Operator Admin constructor.
*/
public function __construct() {
// Setup Admin.
Expand Down
4 changes: 2 additions & 2 deletions includes/classes/admin/class-pages.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Pages Class
* LSX Tour Operator - Pages Class
*
* @package lsx
* @author LightSpeed
Expand Down Expand Up @@ -36,7 +36,7 @@ class Pages extends \lsx\Frame {
private $pages;

/**
* Tour Operator constructor.
* LSX Tour Operator constructor.
*/
public function __construct() {
// Setup objects.
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/admin/class-settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ public function settings_page_array() {

return array(
'settings' => array( // this is the settings array. The key is the page slug
'page_title' => esc_html__( 'Tour Operator Settings', 'tour-operator' ), // title of the page
'page_title' => esc_html__( 'LSX Tour Operator Settings', 'tour-operator' ), // title of the page
'menu_title' => esc_html__( 'Settings', 'tour-operator' ), // title seen on the menu link
'capability' => 'manage_options', // required capability to access page
'icon' => 'dashicons-book-alt', // Icon or image to be used on admin menu
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/class-frame.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Objects Class
* LSX Tour Operator - Objects Class
*
* @package lsx
* @author LightSpeed
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/class-metaboxes.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Metabox Class
* LSX Tour Operator - Metabox Class
*
* @package lsx
* @author LightSpeed
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/class-post-types.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Post Types Class
* LSX Tour Operator - Post Types Class
*
* @package tour_operator
* @author LightSpeed
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/class-taxonomies.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Taxonomy Class
* LSX Tour Operator - Taxonomy Class
*
* @package lsx
* @author LightSpeed
Expand Down
4 changes: 2 additions & 2 deletions includes/classes/class-tour-operator.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use lsx\admin\Pages;

/**
* Tour Operator Main Class
* LSX Tour Operator Main Class
*
* @package tour_operator
* @author LightSpeed
Expand Down Expand Up @@ -87,7 +87,7 @@ class Tour_Operator {
public $legacy;

/**
* Tour Operator constructor.
* LSX Tour Operator constructor.
*/
public function __construct() {
// init legacy.
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/legacy/class-admin.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Backend actions for the Tour Operator Plugin
* Backend actions for the LSX Tour Operator Plugin
*
* @package \lsx\legacy\Admin
* @author LightSpeed
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/legacy/class-field-pattern.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* CMB Field Patterns for the Tour Operator Plugin
* CMB Field Patterns for the LSX Tour Operator Plugin
*
* @package Field_Pattern
* @author LightSpeed
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/legacy/class-post-expirator.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Post Expirator Class
* LSX Tour Operator - Post Expirator Class
*
* @package tour_operator
* @author LightSpeed
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/legacy/class-schema.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Schema Class
*
* @package Tour Operator
* @package LSX Tour Operator
* @author LightSpeed
* @license GPL3
* @link
Expand Down
6 changes: 3 additions & 3 deletions includes/classes/legacy/class-tour-operator.php
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ public function compatible_version_check() {
*/
public function compatible_version_notice() {
$class = 'notice notice-error';
$message = esc_html__( 'Tour Operator Plugin requires PHP 7.0 or higher.', 'tour-operator' );
$message = esc_html__( 'LSX Tour Operator Plugin requires PHP 7.0 or higher.', 'tour-operator' );
printf( '<div class="%1$s"><p>%2$s</p></div>', esc_html( $class ), esc_html( $message ) );
}

Expand All @@ -1047,7 +1047,7 @@ public function compatible_version_notice() {
public static function compatible_version_check_on_activation() {
if ( ! self::compatible_version() ) {
deactivate_plugins( plugin_basename( LSX_TO_CORE ) );
wp_die( esc_html__( 'Tour Operator Plugin requires PHP 7.0 or higher.', 'tour-operator' ) );
wp_die( esc_html__( 'LSX Tour Operator Plugin requires PHP 7.0 or higher.', 'tour-operator' ) );
}
}

Expand Down Expand Up @@ -1095,7 +1095,7 @@ public function compatible_theme_notice() {
<?php
printf(
/* Translators: 1: HTML open tag link, 2: HTML close tag link */
esc_html__( 'The Tour Operator Plugin requires the free LSX Theme be installed and active. Please download LSX Theme from %1$sWordPress.org%2$s to get started with your Tour Operator Plugin.', 'tour-operator' ),
esc_html__( 'The LSX Tour Operator Plugin requires the free LSX Theme be installed and active. Please download LSX Theme from %1$sWordPress.org%2$s to get started with your LSX Tour Operator Plugin.', 'tour-operator' ),
'<a href="https://wordpress.org/themes/lsx/" target="_blank">',
'</a>'
);
Expand Down
2 changes: 1 addition & 1 deletion includes/classes/legacy/schema/class-schema-utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Helper functions for the Schema class.
*
* @package Tour Operator
* @package LSX Tour Operator
*/
namespace lsx\legacy;

Expand Down
2 changes: 1 addition & 1 deletion includes/customizer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
*/
function lsx_to_customizer_colors_scheme( $array ) {
$array['tour-operator'] = array(
'label' => esc_html__( 'Tour Operator', 'tour-operator' ),
'label' => esc_html__( 'LSX Tour Operator', 'tour-operator' ),
'colors' => array(
'button_background_color' => '#1098AD',
'button_background_hover_color' => '#0E8395',
Expand Down
2 changes: 1 addition & 1 deletion includes/functions.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator Helper Functions
* LSX Tour Operator Helper Functions
*
* @package tour_operator
* @author LightSpeed
Expand Down
4 changes: 2 additions & 2 deletions includes/metaboxes/config-accommodation.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Accommodation Metabox config
* LSX Tour Operator - Accommodation Metabox config
*
* @package tour_operator
* @author LightSpeed
Expand All @@ -10,7 +10,7 @@
*/

$metabox = array(
'title' => esc_html__( 'Tour Operator Plugin', 'tour-operator' ),
'title' => esc_html__( 'LSX Tour Operator Plugin', 'tour-operator' ),
'pages' => 'accommodation',
'fields' => array(),
);
Expand Down
4 changes: 2 additions & 2 deletions includes/metaboxes/config-destination.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Destination Metabox config
* LSX Tour Operator - Destination Metabox config
*
* @package tour_operator
* @author LightSpeed
Expand All @@ -10,7 +10,7 @@
*/

$metabox = array(
'title' => esc_html__( 'Tour Operator Plugin', 'tour-operator' ),
'title' => esc_html__( 'LSX Tour Operator Plugin', 'tour-operator' ),
'pages' => 'destination',
'fields' => array(),
);
Expand Down
4 changes: 2 additions & 2 deletions includes/metaboxes/config-tour.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Accommodation Metabox config
* LSX Tour Operator - Accommodation Metabox config
*
* @package tour_operator
* @author LightSpeed
Expand All @@ -10,7 +10,7 @@
*/

$metabox = array(
'title' => esc_html__( 'Tour Operator Plugin', 'tour-operator' ),
'title' => esc_html__( 'LSX Tour Operator Plugin', 'tour-operator' ),
'pages' => 'tour',
'fields' => array(),
);
Expand Down
2 changes: 1 addition & 1 deletion includes/pages/config-addons.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - add-ons page config
* LSX Tour Operator - add-ons page config
*
* @package tour_operator
* @author LightSpeed
Expand Down
2 changes: 1 addition & 1 deletion includes/pages/config-help.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - help page config
* LSX Tour Operator - help page config
*
* @package tour_operator
* @author LightSpeed
Expand Down
4 changes: 2 additions & 2 deletions includes/pages/config-settings.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - settings page config
* LSX Tour Operator - settings page config
*
* @package tour_operator
* @author LightSpeed
Expand All @@ -12,7 +12,7 @@
//tour_operator()->settings->create_settings_page();

$page = array(
'page_title' => esc_html__( 'Tour Operator Settings', 'tour-operator' ),
'page_title' => esc_html__( 'LSX Tour Operator Settings', 'tour-operator' ),
'menu_title' => esc_html__( 'Settings', 'tour-operator' ),
'capability' => 'manage_options',
'icon' => 'dashicons-book-alt',
Expand Down
4 changes: 2 additions & 2 deletions includes/pages/config-tour-operator.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php
/**
* Tour Operator - Dashboad holder page config
* LSX Tour Operator - Dashboad holder page config
*
* @package tour_operator
* @author LightSpeed
Expand All @@ -11,7 +11,7 @@

$page = array(
'page_title' => esc_html__( 'Dashboard', 'tour-operator' ),
'menu_title' => esc_html__( 'Tour Operator', 'tour-operator' ),
'menu_title' => esc_html__( 'LSX Tour Operator', 'tour-operator' ),
'slug' => 'tour-operator',
'menu_position' => 6,
'capability' => 'edit_posts',
Expand Down
14 changes: 7 additions & 7 deletions includes/partials/add-ons.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
<div class="wrap about-wrap">
<div class="row">
<div class="col-md-12">
<h1 class="small" style="margin-bottom: 13px;"><?php esc_html_e( 'Tour Operator Add-ons', 'tour-operator' ); ?></h1>
<h1 class="small" style="margin-bottom: 13px;"><?php esc_html_e( 'LSX Tour Operator Add-ons', 'tour-operator' ); ?></h1>
</div>
</div>

<div class="row">
<div class="col-md-12">
<a href="<?php echo wp_kses_post( $tour_operator_link ); ?>" target="_blank" title="<?php esc_html_e( 'Tour Operator Add-ons', 'tour-operator' ); ?>">
<img src="<?php echo esc_url( LSX_TO_URL . 'assets/img/tour-operators-banner.png' ); ?>" alt="<?php esc_html_e( 'Tour Operator Add-ons', 'tour-operator' ); ?>">
<a href="<?php echo wp_kses_post( $tour_operator_link ); ?>" target="_blank" title="<?php esc_html_e( 'LSX Tour Operator Add-ons', 'tour-operator' ); ?>">
<img src="<?php echo esc_url( LSX_TO_URL . 'assets/img/tour-operators-banner.png' ); ?>" alt="<?php esc_html_e( 'LSX Tour Operator Add-ons', 'tour-operator' ); ?>">
</a>

<div class="box box-top-image enhance">
<h2><?php esc_html_e( 'Enhance Tour Operator', 'tour-operator' ); ?></h2>
<p><?php esc_html_e( 'Extend the functionality of the Tour Operator plugin with one of our many extensions!', 'tour-operator' ); ?></p>
<h2><?php esc_html_e( 'Enhance LSX Tour Operator', 'tour-operator' ); ?></h2>
<p><?php esc_html_e( 'Extend the functionality of the LSX Tour Operator plugin with one of our many extensions!', 'tour-operator' ); ?></p>

<!--<div class="more-button">
<a href="<?php echo wp_kses_post( $extensions_link ); ?>" target="_blank" class="button button-primary">
Expand Down Expand Up @@ -77,7 +77,7 @@

<div class="box box-top-image team">
<h3><?php esc_html_e( 'Team', 'tour-operator' ); ?></h3>
<p><?php esc_html_e( 'Real peoples\' faces go a long way to building trust with your valued clients. The Tour Operator: Team extension allows your company\'s staff to be added as Team Members with their own profile which can be associated with specific destinations and tours.', 'tour-operator' ); ?></p>
<p><?php esc_html_e( 'Real peoples\' faces go a long way to building trust with your valued clients. The LSX Tour Operator: Team extension allows your company\'s staff to be added as Team Members with their own profile which can be associated with specific destinations and tours.', 'tour-operator' ); ?></p>
<br>
<div class="more-button">
<a href="<?php echo wp_kses_post( $team_link ); ?>" target="_blank" class="button button-primary">
Expand All @@ -95,7 +95,7 @@

<div class="box box-top-image search">
<h3><?php esc_html_e( 'Search', 'tour-operator' ); ?></h3>
<p><?php esc_html_e( 'The Search extension for the Tour Operators plugin adds robust search functionality to your WordPress Tour Operator site. It requires that you also have the FacetWP plugin installed, as that allows for much of the filtering functionality that the plugin provides.', 'tour-operator' ); ?></p>
<p><?php esc_html_e( 'The Search extension for the Tour Operators plugin adds robust search functionality to your WordPress LSX Tour Operator site. It requires that you also have the FacetWP plugin installed, as that allows for much of the filtering functionality that the plugin provides.', 'tour-operator' ); ?></p>
<br>
<br>
<div class="more-button">
Expand Down
10 changes: 5 additions & 5 deletions includes/partials/help.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
<div class="wrap about-wrap">
<div class="row">
<div class="col-md-12 top-header">
<h1 class="small"><?php esc_html_e( 'LightSpeed’s Tour Operator Plugin', 'tour-operator' ); ?></h1>
<p><?php esc_html_e( 'Thank you for using the Tour Operator plugin. All of us here at LightSpeed appreciate your ongoing support and we can\'t wait to see what people create with the plugin. We\'re committed to ensuring you have all the help you need to make the most of the plugin.', 'tour-operator' ); ?></p>
<h1 class="small"><?php esc_html_e( 'LightSpeed’s LSX Tour Operator Plugin', 'tour-operator' ); ?></h1>
<p><?php esc_html_e( 'Thank you for using the LSX Tour Operator plugin. All of us here at LightSpeed appreciate your ongoing support and we can\'t wait to see what people create with the plugin. We\'re committed to ensuring you have all the help you need to make the most of the plugin.', 'tour-operator' ); ?></p>
</div>
</div>

Expand Down Expand Up @@ -59,7 +59,7 @@
<li><a href="<?php echo wp_kses_post( $activities_link_doc ); ?>" target="_blank"><strong><?php esc_html_e( 'Activities:', 'tour-operator' ); ?></strong></a> <?php esc_html_e( 'Create and configure your Activity listings which can then be set to display on Destinations, Accommodations and Tours.', 'tour-operator' ); ?></li>
<li><a href="<?php echo wp_kses_post( $reviews_link_doc ); ?>" target="_blank"><strong><?php esc_html_e( 'Reviews:', 'tour-operator' ); ?></strong></a> <?php esc_html_e( 'Gather reviews from your past clients and use this extension to display them proudly throughout your website. Associate the reviews with specific Accommodations and Tours to have them display on specific pages.', 'tour-operator' ); ?></li>
<li><a href="<?php echo wp_kses_post( $specials_link_doc ); ?>" target="_blank"><strong><?php esc_html_e( 'Specials:', 'tour-operator' ); ?></strong></a> <?php esc_html_e( 'Use the Specials module to specify time-sensitive special prices for your tour packages.', 'tour-operator' ); ?></li>
<li><a href="<?php echo wp_kses_post( $search_link_doc ); ?>" target="_blank"><strong><?php esc_html_e( 'Search:', 'tour-operator' ); ?></strong></a> <?php esc_html_e( 'Learn how to make the best use of the Search extension, which depends on the Facet WP extension and allows you to provide filterable search fields on your Tour Operator website.', 'tour-operator' ); ?></li>
<li><a href="<?php echo wp_kses_post( $search_link_doc ); ?>" target="_blank"><strong><?php esc_html_e( 'Search:', 'tour-operator' ); ?></strong></a> <?php esc_html_e( 'Learn how to make the best use of the Search extension, which depends on the Facet WP extension and allows you to provide filterable search fields on your LSX Tour Operator website.', 'tour-operator' ); ?></li>
<li><a href="<?php echo wp_kses_post( $vehicles_link_doc ); ?>" target="_blank"><strong><?php esc_html_e( 'Vehicles:', 'tour-operator' ); ?></strong></a> <?php esc_html_e( 'Specify your fleet\'s specifications with details such as type and number of gears, engine type (petrol/diesel), number of seats, vehicle code, and of course images and copy.', 'tour-operator' ); ?></li>
<li><a href="<?php echo wp_kses_post( $wetu_importer_link_doc ); ?>" target="_blank"><strong><?php esc_html_e( 'Wetu Importer:', 'tour-operator' ); ?></strong></a> <?php esc_html_e( 'Import accommodation data and entire tour itineraries from the WETU database to use in your day-by-day tour listings.', 'tour-operator' ); ?></li>
</ul>
Expand All @@ -72,7 +72,7 @@
<div class="row">
<div class="col-md-12">
<div class="box info">
<h2><?php esc_html_e( 'Tour Operator', 'tour-operator' ); ?></h2>
<h2><?php esc_html_e( 'LSX Tour Operator', 'tour-operator' ); ?></h2>

<ul>
<li><strong><?php esc_html_e( 'Latest Version:', 'tour-operator' ); ?></strong> <?php echo esc_attr( $version ); ?></li>
Expand Down Expand Up @@ -102,7 +102,7 @@
<div class="row">
<div class="col-md-12">
<div class="box premium">
<h3><?php esc_html_e( 'Tour Operator Add-Ons', 'tour-operator' ); ?></h3>
<h3><?php esc_html_e( 'LSX Tour Operator Add-Ons', 'tour-operator' ); ?></h3>

<ul>
<li><a href="<?php echo wp_kses_post( $team_link ); ?>" target="_blank"><?php esc_html_e( 'Team', 'tour-operator' ); ?></a></li>
Expand Down
Loading

0 comments on commit 72aa68b

Please sign in to comment.