This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class CalendarController extends ControllerBase | |
{ | |
public function indexAction() | |
{ | |
include "incld/load.php"; | |
include "incld/insert.php"; | |
include "incld/update.php"; | |
include "incld/delete.php"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: WooCommerce Active Shipping Widget | |
* Plugin URI: https://www.skyverge.com/blog/how-to-create-a-woocommerce-widget/ | |
* Description: Adds a widget to display a list of active WooCommerce shipping methods | |
* Author: SkyVerge | |
* Author URI: https://www.skyverge.com/ | |
* Version: 1.0.0 | |
* Text Domain: wc-active-shipping-widget | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if( $product->is_type( 'variable' ) ){ | |
global $product, $post; | |
$variations = $product->get_available_variations(); | |
?> | |
<table> | |
<tbody> | |
<?php | |
foreach ($variations as $key => $value) { | |
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php /* Template Name: Contact Page */ | |
$response = ""; | |
//function to generate response | |
function my_contact_form_generate_response($type, $message){ | |
global $response; | |
if($type == "success") $response = "<div class='alert alert-success'>{$message}</div>"; | |
else $response = "<div class='alert alert-danger'>{$message}</div>"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<modification> | |
<id>Common_home</id> | |
<version>For OpenCart 1.5.x</version> | |
<vqmver>1.2.3</vqmver> | |
<author>Andrew Dacenko</author> | |
<file name="system/library/response.php"> | |
<operation> | |
<search position="after"><![CDATA[ | |
public function output() { | |
]]></search> |