Ejemplo n.º 1
0
 function about()
 {
     echo '<table width="100%" align="left"><tr>';
     echo '<td>';
     echo '<form action="index2.php" method="post" name="adminForm">';
     acajoom::beginingOfTable('acajoomtable');
     acajoom::miseEnPage('Description', '', constant('_ACA_DESC_' . strtoupper($GLOBALS[ACA . 'type'])));
     acajoom::miseEnPage('Project Manager', '', 'Adrien Baborier');
     acajoom::miseEnPage('Contributor', '', 'Christelle Gesset');
     acajoom::miseEnPage('Logo design', '', '<a href="http://www.gaboink.com" target="_blank">George Jones</a>');
     acajoom::miseEnPage('Template design', '', '<a href="http://www.72dpi.net.au" target="_blank">Ryan Scott</a>');
     acajoom::miseEnPage('Video tutorials', '', '<a href="http://www.wisewomengroup.com" target="_blank">Lisa Egan</a>');
     acajoom::miseEnPage('CB Integration', '', 'Mikko R&ouml;nkk&ouml;');
     acajoom::miseEnPage('Add-ons', '', 'Kyle Witt');
     acajoom::miseEnPage('Language Translation', '', '');
     acajoom::miseEnPage('Danish', '', 'Joergen Floes');
     acajoom::miseEnPage('Dutch', '', 'Tromp Wezelman & Bart Bevers');
     acajoom::miseEnPage('French', '', 'Christelle Gesset');
     acajoom::miseEnPage('German', '', 'David Freund & Frank Jansen');
     acajoom::miseEnPage('Hungarian', '', 'Zolt&aacute;n Varanka');
     acajoom::miseEnPage('Italian', '', 'Maria Luisa Rossari');
     acajoom::miseEnPage('Norwegian', '', '<a href="http://www.timeoffice.com" target="_blank">Irma Rustad</a>');
     acajoom::miseEnPage('Polish', '', 'Andrzej Herzberg');
     acajoom::miseEnPage('Portuguese', '', 'Ricardo Sim&otilde;es');
     acajoom::miseEnPage('Russian', '', 'Salikhov Ilyas');
     acajoom::miseEnPage('Simplified Chinese', '', '<a href="http://www.joomlagate.com" target="_blank">Baijianpeng</a>');
     acajoom::miseEnPage('Spanish', '', '<a href="http://www.eaid.org" target="_blank">Jorge Pasco</a>');
     acajoom::miseEnPage('Swedish', '', 'Janne Karlsson');
     acajoom::miseEnPage(' ', '', '   ');
     acajoom::miseEnPage(_ACA_VERSION, '', acajoom::version());
     acajoom::miseEnPage(' ', '', '   ');
     acajoom::miseEnPage(_ACA_DESC_HOME, '', '<a href="' . $GLOBALS[ACA . 'homesite'] . '" target="_blank">www.Acajoom.com</a>');
     acajoom::miseEnPage(_ACA_MENU_HELP, '', '<a href="http://www.acajoom.com/content/blogcategory/29/93/" target="_blank">Documentation</a>');
     acajoom::miseEnPage(_ACA_MENU_HELP, '', '<a href="http://www.acajoom.com/index.php?option=com_joomlaboard&Itemid=26&task=listcat&catid=22" target="_blank">Forum</a>');
     acajoom::miseEnPage(_ACA_MENU_LEARN, '', '<a href="' . $GLOBALS[ACA . 'homesite'] . 'index.php?option=com_content&task=blogsection&id=5&Itemid=68" target="_blank">Education Center</a>');
     acajoom::miseEnPage('Copyrights', '', 'Acajoom <i>Your Communciation Partner</i>, &copy; Acajoom Services');
     ### http://www.acajoom.com/license.php
     ### http://www.acajoom.com/license.php
     acajoom::miseEnPage(_ACA_LICENSE, '', '<a href="http://www.acajoom.com/index.php?option=com_content&task=view&id=2282&Itemid=84" target="_blank">&copy; Acajoom Services</a>');
     acajoom::endOfTable();
     backHTML::formEnd();
     echo '</td>';
     echo '<td width="380px">';
     $logo = 'acajoom_slog_' . strtolower($GLOBALS[ACA . 'type']) . '.png';
     echo '<a href="http://www.acajoom.com" target="_blank"><img src="components/com_acajoom/images/' . $logo . '" alt="Acajoom Logo" border="0" align="center" /></a>';
     echo '</td>';
     echo '</tr></table>';
 }
Ejemplo n.º 2
0
    function cbSettings()
    {
        if (ACA_CMSTYPE) {
            $lists['cb_plugin'] = JHTML::_('select.booleanlist', "config['cb_plugin']", 'class="inputbox"', $GLOBALS[ACA . 'cb_plugin']);
            $lists['cb_showname'] = JHTML::_('select.booleanlist', "config['cb_showname']", 'class="inputbox"', $GLOBALS[ACA . 'cb_showname']);
            $lists['cb_checkLists'] = JHTML::_('select.booleanlist', "config['cb_checkLists']", 'class="inputbox"', $GLOBALS[ACA . 'cb_checkLists']);
            $lists['cb_showHTML'] = JHTML::_('select.booleanlist', "config['cb_showHTML']", 'class="inputbox"', $GLOBALS[ACA . 'cb_showHTML']);
            $lists['cb_defaultHTML'] = JHTML::_('select.booleanlist', "config['cb_defaultHTML']", 'class="inputbox"', $GLOBALS[ACA . 'cb_defaultHTML']);
        } else {
            $lists['cb_plugin'] = mosHTML::yesnoRadioList("config['cb_plugin']", 'class="inputbox"', $GLOBALS[ACA . 'cb_plugin']);
            $lists['cb_showname'] = mosHTML::yesnoRadioList("config['cb_showname']", 'class="inputbox"', $GLOBALS[ACA . 'cb_showname']);
            $lists['cb_checkLists'] = mosHTML::yesnoRadioList("config['cb_checkLists']", 'class="inputbox"', $GLOBALS[ACA . 'cb_checkLists']);
            $lists['cb_showHTML'] = mosHTML::yesnoRadioList("config['cb_showHTML']", 'class="inputbox"', $GLOBALS[ACA . 'cb_showHTML']);
            $lists['cb_defaultHTML'] = mosHTML::yesnoRadioList("config['cb_defaultHTML']", 'class="inputbox"', $GLOBALS[ACA . 'cb_defaultHTML']);
        }
        //endif
        ?>
		<fieldset class="acajoomcss">
		<legend><?php 
        echo _ACA_CB_INTEGRATION;
        ?>
</legend>
		<?php 
        acajoom::beginingOfTable('acajoomtable');
        if ($GLOBALS[ACA . 'cb_pluginInstalled'] == 0) {
            if (!acajoom::checkCBPlugin()) {
                acajoom::miseEnPage(acajoom::WarningIcon(_ACA_CB_PLUGIN_NOT_INSTALLED), ' ', '<span style="color: rgb(255, 0, 0);">' . _ACA_CB_PLUGIN_NOT_INSTALLED . '</span>');
            }
        }
        acajoom::miseEnPage(_ACA_CB_PLUGIN, _ACA_CB_PLUGIN_TIPS, $lists['cb_plugin']);
        acajoom::miseEnPage(_ACA_CB_LISTS, _ACA_CB_LISTS_TIPS, "<input class=\"inputbox\" type=\"text\" name=\"config['cb_listIds']\" size=\"30\" value=\"" . $GLOBALS[ACA . 'cb_listIds'] . "\" >");
        acajoom::miseEnPage(_ACA_CB_INTRO, _ACA_CB_INTRO_TIPS, "<textarea  name=\"config['cb_intro']\" rows=\"3\" cols=\"40\" >" . $GLOBALS[ACA . 'cb_intro'] . "</textarea>");
        acajoom::miseEnPage(_ACA_CB_SHOW_NAME, _ACA_CB_SHOW_NAME_TIPS, $lists['cb_showname']);
        acajoom::miseEnPage(_ACA_CB_LIST_DEFAULT, _ACA_CB_LIST_DEFAULT_TIPS, $lists['cb_checkLists']);
        acajoom::miseEnPage(_ACA_CB_HTML_SHOW, _ACA_CB_HTML_SHOW_TIPS, $lists['cb_showHTML']);
        acajoom::miseEnPage(_ACA_CB_HTML_DEFAULT, _ACA_CB_HTML_DEFAULT_TIPS, $lists['cb_defaultHTML']);
        acajoom::endOfTable();
        echo '</fieldset>';
    }