/*
Plugin Name: CM Opening Hours
Description: This Plugin enables you to manage your opening hours in WordPress. It lets you set them up in a settings page and display them in two widgets. Based on plugin from Jannik Portz
Version: 1.3.1
Author: Codemountain
Author URI: http://codemountain.ca
*/
/*
WPML comptabile FR EN version of plugin by:
Copyright 2013 Jannik Portz (email : webmaster@jannikportz.de)
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*/
/* AUTO update
*********************************/
require('plugin-updates/plugin-update-checker.php');
$MyUpdateChecker = PucFactory::buildUpdateChecker(
'http://wp.codemountain.ca/update_server/?action=get_metadata&slug=cmountain-opening-hours', //Metadata URL.
__FILE__, //Full path to the main plugin file.
'cmountain-opening-hours' //Plugin slug. Usually it's the same as the name of the directory.
);
/**
* Globals
*/
function op_textdomain() {
return apply_filters( 'op_textdomain', 'opening_hours');
}
function op_basepath() {
return plugin_dir_path ( __FILE__ );
}
function op_baseurl() {
return plugins_url ( false, __FILE__ );
}
/**
* Register Textdomain
*/
load_plugin_textdomain( op_textdomain() , false, apply_filters( 'op_language_path', basename( op_basepath() ) . '/lang/' ));
function op__ ( $msg ) {
return __( $msg, op_textdomain() );
}
function op_e ( $msg ) {
echo op__( $msg );
}
/**
* Require Files
*/
include op_basepath() . '/lib/classes/OpeningHours.class.php';
include op_basepath() . '/lib/classes/OpeningPeriod.class.php';
include op_basepath() . '/lib/classes/HolidayPeriod.class.php';
include op_basepath() . '/lib/classes/SpecialOpening.class.php';
include op_basepath() . '/lib/functions.php';
include op_basepath() . '/lib/init.php';
include op_basepath() . '/lib/widgets.php';
include op_basepath() . '/lib/template-tags.php';
include op_basepath() . '/lib/shortcodes.php';
?>
Nous joindre | Commande à emporter | Cantine de la gare
Midi pressé ou souper vite fait ? Un simple coup de fil suffit pour faire préparer votre commande.
Pour des questions supplémentaires concernant notre Menu ou nos nouveautés , n’hésitez pas à communiquer avec nous. Notre équipe se fera un plaisir de vous répondre et de vous accueillir !
Adresse :
2 rue Saint-Jean-Baptiste Est,
Rimouski (Qc), G5L 8Y3