Exemplo n.º 1
0
 public static function about()
 {
     echo '<table width="100%" align="left"><tr>';
     echo '<td>';
     echo '<form action="index.php" method="post" name="adminForm" id="adminForm">';
     jnews::beginingOfTable('jnewstable');
     jnews::miseEnPage('Description', '', constant('_JNEWS_DESC_' . strtoupper($GLOBALS[JNEWS . 'type'])));
     jnews::miseEnPage('Developers', '', 'Evelyn Lopez, Mary Michelle Piquero, Gerald R. Zalsos, Ebony Grace Ursua, Mary Grace Arabis, Gino Tayo, <br/>Glenn Jaime Chan, Adel Fomar Dulanas, Lalene Cababat, Jhen Bontilao');
     jnews::miseEnPage('Contributor', '', 'Amir Ben Avraham, Christelle Gesset & Adrien Baborier');
     jnews::miseEnPage('Captcha Contributor', '', 'Sorin Rosen');
     jnews::miseEnPage('Designer', '', 'Rochel Abrasaldo');
     jnews::miseEnPage('CB Integration', '', 'Mikko R&ouml;nkk&ouml;');
     jnews::miseEnPage('Add-ons', '', 'Kyle Witt');
     jnews::miseEnPage('Language Translation', '', '');
     jnews::miseEnPage('Brazilian_portuguese', '', 'Navsoft');
     jnews::miseEnPage('Danish', '', 'Joergen Floes');
     jnews::miseEnPage('Dutch', '', 'Tromp Wezelman & Bart Bevers');
     jnews::miseEnPage('Finnish', '', 'Tero Kankaanperä');
     jnews::miseEnPage('French', '', 'Christelle Gesset');
     jnews::miseEnPage('German', '', 'David Freund & Frank Jansen');
     jnews::miseEnPage('Hebrew', '', 'Eszter Somos & Adam Segev');
     jnews::miseEnPage('Hungarian', '', 'Zolt&aacute;n Varanka');
     jnews::miseEnPage('Italian', '', 'Maria Luisa Rossari');
     jnews::miseEnPage('Norwegian', '', '<a href="http://www.timeoffice.com" target="_blank">Irma Rustad</a>');
     jnews::miseEnPage('Polish', '', 'Andrzej Herzberg');
     jnews::miseEnPage('Portuguese', '', 'Ricardo Sim&otilde;es');
     jnews::miseEnPage('Simplified Chinese', '', '<a href="http://www.joomlagate.com" target="_blank">Baijianpeng</a>');
     jnews::miseEnPage('Spanish', '', '<a href="http://www.eaid.org" target="_blank">Jorge Pasco</a>');
     jnews::miseEnPage('Swedish', '', 'Janne Karlsson');
     jnews::miseEnPage('Turkish', '', 'Anonymous');
     jnews::miseEnPage('CSS class to style attribute', '', '<a href="http://classes.verkoyen.eu/css_to_inline_styles" target="_NEW">http://classes.verkoyen.eu/css_to_inline_styles</a>');
     jnews::miseEnPage(' ', '', '   ');
     jnews::miseEnPage(_JNEWS_VERSION, '', jnews::version());
     jnews::miseEnPage(' ', '', '   ');
     jnews::miseEnPage(_JNEWS_DESC_HOME, '', '<a href="' . $GLOBALS[JNEWS . 'homesite'] . '" target="_blank">' . JNEWS_HOME_SITE . '</a>');
     jnews::miseEnPage(_JNEWS_MENU_HELP, '', '<a href="' . JNEWS_HOME_SITE . '/index.php?option=com_content&Itemid=67&catid=93&id=8241&lang=en&view=article" target="_blank">Documentation</a>');
     jnews::miseEnPage(_JNEWS_MENU_LIVE_SUPPORT, '', '<a href="' . JNEWS_HOME_SITE . '/live-support" target="_blank">Help</a>');
     jnews::miseEnPage(_JNEWS_MENU_LEARN, '', '<a href="http://demo.joobi.co/" target="_blank">Education Center</a>');
     jnews::miseEnPage('Copyrights', '', 'jNews <i>Your Communciation Partner</i>, &copy; Joobi Limited');
     jnews::miseEnPage(_JNEWS_LICENSE, '', '<a href="http://www.joobi.co/index.php?option=com_jlinks&controller=redirect&link=single-license" target="_blank">&copy; Joobi Limited</a>');
     jnews::endOfTable();
     backHTML::formEnd();
     echo '</td>';
     echo '<td width="380px">';
     $logo = 'jnews_logo' . (!empty($GLOBALS[JNEWS . 'type']) ? '_' . strtolower($GLOBALS[JNEWS . 'type']) : '') . '.png';
     echo '<a href="http://www.joobi.co" target="_blank"><img src="http://www.joobi.co/images/' . $logo . '" alt="jNews Logo" border="0" align="center" /></a>';
     echo '</td>';
     echo '</tr></table>';
 }
Exemplo n.º 2
0
    public static function cbSettings()
    {
        $lists['cb_plugin'] = jnews::HTML_BooleanList("config['cb_plugin']", 'class="inputbox"', $GLOBALS[JNEWS . 'cb_plugin']);
        $lists['cb_showname'] = jnews::HTML_BooleanList("config['cb_showname']", 'class="inputbox"', $GLOBALS[JNEWS . 'cb_showname']);
        $lists['cb_checkLists'] = jnews::HTML_BooleanList("config['cb_checkLists']", 'class="inputbox"', $GLOBALS[JNEWS . 'cb_checkLists']);
        $lists['cb_showHTML'] = jnews::HTML_BooleanList("config['cb_showHTML']", 'class="inputbox"', $GLOBALS[JNEWS . 'cb_showHTML']);
        $lists['cb_defaultHTML'] = jnews::HTML_BooleanList("config['cb_defaultHTML']", 'class="inputbox"', $GLOBALS[JNEWS . 'cb_defaultHTML']);
        ?>
		<fieldset class="jnewscss">
		<legend><?php 
        echo _JNEWS_CB_INTEGRATION;
        ?>
</legend>
		<?php 
        jnews::beginingOfTable('jnewstable');
        if ($GLOBALS[JNEWS . 'cb_pluginInstalled'] == 0) {
            if (!jnews::checkCBPlugin()) {
                jnews::miseEnPage(jnews::WarningIcon(_JNEWS_CB_PLUGIN_NOT_INSTALLED), ' ', '<span style="color: rgb(255, 0, 0);">' . _JNEWS_CB_PLUGIN_NOT_INSTALLED . '</span>');
            }
        }
        jnews::miseEnPage(_JNEWS_CB_PLUGIN, _JNEWS_CB_PLUGIN_TIPS, $lists['cb_plugin']);
        jnews::miseEnPage(_JNEWS_CB_LISTS, _JNEWS_CB_LISTS_TIPS, "<input class=\"inputbox\" type=\"text\" name=\"config['cb_listIds']\" size=\"30\" value=\"" . $GLOBALS[JNEWS . 'cb_listIds'] . "\" >");
        jnews::miseEnPage(_JNEWS_CB_INTRO, _JNEWS_CB_INTRO_TIPS, "<textarea  name=\"config['cb_intro']\" rows=\"3\" cols=\"40\" >" . $GLOBALS[JNEWS . 'cb_intro'] . "</textarea>");
        jnews::miseEnPage(_JNEWS_CB_SHOW_NAME, _JNEWS_CB_SHOW_NAME_TIPS, $lists['cb_showname']);
        jnews::miseEnPage(_JNEWS_CB_LIST_DEFAULT, _JNEWS_CB_LIST_DEFAULT_TIPS, $lists['cb_checkLists']);
        jnews::miseEnPage(_JNEWS_CB_HTML_SHOW, _JNEWS_CB_HTML_SHOW_TIPS, $lists['cb_showHTML']);
        jnews::miseEnPage(_JNEWS_CB_HTML_DEFAULT, _JNEWS_CB_HTML_DEFAULT_TIPS, $lists['cb_defaultHTML']);
        jnews::endOfTable();
        echo '</fieldset>';
    }