예제 #1
0
    private function GetLogoutForm() : \string
    {
        return '
        <form  method="post" >
				<p id="' . self::$formMessage . '">' . CookieMessageView::Retrieve() . '</p>
				<input type="submit" name="' . self::$formLogout . '" value="logout"/>
			</form>
        ';
    }
예제 #2
0
 private function GetLogoutForm() : \string
 {
     $message = CookieMessageView::Retrieve();
     if (!empty($message)) {
         $message = '<p class="info" id="' . self::$formMessage . '">' . $message . '</p>';
     }
     return $message . $this->logoutform->GetView();
 }