Ejemplo n.º 1
0
    $page->setFile("modules/base/logview/ajax_showlog.php", array("AJAX" => True, "visible" => False));
    $submod->addPage($page);
    $page = new Page("setsearch");
    $page->setFile("modules/base/logview/ajax_setSearch.php", array("AJAX" => True, "visible" => False));
    $submod->addPage($page);
    $mod->addSubmod($submod);
}
$submod = new SubModule("status", _("Status"));
$submod->setVisibility(True);
$submod->setImg('modules/base/graph/navbar/load');
$submod->setDefaultPage("base/status/index");
$submod->setPriority(10012);
$page = new Page("index", _("Default status page"));
$page->setFile("modules/base/status/index.php");
$submod->addPage($page);
if (!isCommunityVersion(true)) {
    $page = new Page("support", _("Support page"));
    $page->setFile("modules/base/status/support.php");
    $submod->addPage($page);
}
$mod->addSubmod($submod);
/**
 * user submod definition
 */
$submod = new SubModule("users", _("Users"));
$submod->setImg('modules/base/graph/navbar/user');
$submod->setDefaultPage("base/users/index");
$submod->setPriority(0);
$page = new Page("index", _("User list"));
$submod->addPage($page);
$page = new Page("ajaxAutocompleteGroup");
Ejemplo n.º 2
0
            <div class="control-group">
                <label class="control-label"></label>
                <div class="controls">
			        <input name="bConnect" type="submit" class="btn btn-primary" value="<?php 
echo _("Connect");
?>
" />
                </div>
            </div>
        </form>

        </div> <!-- login -->
        </div> <!-- content -->
        </div> <!-- interface -->
        <div id="footer">
        <div id="footerLeft"><div id="footerRight">
        </div></div></div>

</div>
<?php 
if (isCommunityVersion() && is_file("license.php")) {
    require "license.php";
}
if ($error) {
    print '<script type="text/javascript">$("#alert").effect("shake");</script>';
}
?>
</body>
</html>
<?php 
ob_end_flush();
Ejemplo n.º 3
0
 * MMC is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * MMC 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 MMC; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 */
include_once "modules/dashboard/includes/panel.class.php";
$options = array("class" => "SupportPanel", "id" => "support", "refresh" => 14400, "title" => _("Your product"), "enable" => !isCommunityVersion(true));
class SupportPanel extends Panel
{
    function display_content()
    {
        echo '<p><strong>' . $this->data['product_name'][0] . '</strong></p>';
        if ($this->data['support_mail'] || $this->data['support_mail']) {
            echo '<div class="subpanel"><h4>' . _("Support") . '</h4>';
            echo '<br />';
            if ($this->data['support_mail']) {
                echo '<p><a href="mailto:' . $this->data['support_mail'] . '">' . $this->data['support_mail'] . '</a></p>';
            }
            if ($this->data['support_phone']) {
                echo '<p>' . _("Phone :") . ' ' . $this->data['support_phone'] . '</p>';
            }
            echo '</div>';