File : j00011manager_option_13_dummy_third_party_plugin.class.php
<?php
// ################################################################
defined( '_JOMRES_INITCHECK' ) or die( '' );
// ################################################################
class j00011manager_option_13_dummy_third_party_plugin {
function j00011manager_option_13_dummy_third_party_plugin($componentArgs)
{
// Must be in all minicomponents. Minicomponents with templates that can contain editable text should run $this->template_touch() else just return
$MiniComponents =jomres_getSingleton('mcHandler');
if ($MiniComponents->template_touch)
{
$this->template_touchable=true; return;
}
$ePointFilepath = get_showtime('ePointFilepath');
$this->cpanelButton=jomres_mainmenu_option(JOMRES_SITEPAGE_URL."&task=dummy_third_party_plugin", 'Reservations2.png', jr_gettext('_JOMRES_CUSTOMTEXT_DUMMY_THIRD_PARTY_PLUGIN_DEFINE1',_JOMRES_CUSTOMTEXT_DUMMY_THIRD_PARTY_PLUGIN_DEFINE1,false,false), $ePointFilepath);
}
function touch_template_language()
{
$output=array();
$output[]=jr_gettext('_JOMRES_CUSTOMTEXT_DUMMY_THIRD_PARTY_PLUGIN_DEFINE1',_JOMRES_CUSTOMTEXT_DUMMY_THIRD_PARTY_PLUGIN_DEFINE1);
foreach ($output as $o)
{
echo $o;
echo "<br/>";
}
}
// This must be included in every Event/Mini-component
function getRetVals()
{
return $this->cpanelButton;
}
}
?>