Пример #1
0
function com_install()
{
    include JPATH_ADMINISTRATOR . DS . 'components' . DS . 'com_joomap' . DS . 'classes' . DS . 'JoomapConfig.php';
    echo '<table class="adminlist" style="width:auto"><tr class="row0"><td>&rarr;</td><td>' . "\n";
    JoomapConfig::create();
    echo '</td></tr>' . "\n";
    if (JoomapConfig::restore()) {
        echo '<tr class="row1"><td>&rarr;</td><td>' . _JOOMAP_MSG_SET_RESTORED . '</td></tr>' . "\n";
    }
    echo "</table>\n";
}