getCopyrightMessage() static public method

Get copyright message as HTML (used in footers)
Since: 9.1
static public getCopyrightMessage ( ) : text
return text
Esempio n. 1
0
 /**
  * @covers Html::getCopyrightMessage()
  */
 public function testGetCopyrightMessage()
 {
     $message = Html::getCopyrightMessage();
     $this->assertContains(GLPI_VERSION, $message, 'Invalid GLPI version!');
     $this->assertContains(date('Y'), $message, 'Invalid copyright date!');
 }
Esempio n. 2
0
                // GLPI_SESSION_DIR not writable
                _e('Checking write permissions for session files');
                break;
            case 3:
                _e('Invalid use of session ID');
                break;
        }
    }
    echo "</div>";
    // Display FAQ is enable
    if ($CFG_GLPI["use_public_faq"]) {
        echo '<div id="box-faq">' . '<a href="front/helpdesk.faq.php">[ ' . __('Access to the Frequently Asked Questions') . ' ]';
        echo '</a></div>';
    }
    echo "<div id='display-login'>";
    Plugin::doHook('display_login');
    echo "</div>";
    echo "</div>";
    // end contenu login
    if (GLPI_DEMO_MODE) {
        echo "<div class='center'>";
        Event::getCountLogin();
        echo "</div>";
    }
    echo "<div id='footer-login'>" . Html::getCopyrightMessage() . "</div>";
}
// call cron
if (!GLPI_DEMO_MODE) {
    CronTask::callCronForce();
}
echo "</body></html>";