PHP Classes

File: htdocs/themes/default/modules/system/system_siteclosed.tpl

Recommend this page to a friend!
  Packages of Michael Beck   Xoops 2.5   htdocs/themes/default/modules/system/system_siteclosed.tpl   Download  
File: htdocs/themes/default/modules/system/system_siteclosed.tpl
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Xoops 2.5
Modular content management publication system
Author: By
Last change: Merge pull request #1396 from luciorota/patch-9

Merge pull request #1388 from mambax7/feature/array_merge_resources_greedy_construction

Merge pull request #1239 from Andrew-Staves-Activ/notificationhandler_subscribe_success

Fix a few template errors

These were observed while investigating the debugLevel default issue
Make $redirect_message available in system_siteclosed.tpl

Any error message from an attempted login would normally
be displayed by jgrowl, but that function is not included
in the minimal site closed page templates. (With jgrowl
redirects turned off, the interstitial page does show with
any message.)

This change assigns any redirect message to $redirect_message
in include/site-closed.php. It can then be utilized in the
system_siteclosed.tpl template as desired.

All such templates included in XoopsCore25 now display these
messages.

Fixes #901
Merge xswatch4
Date: 2 months ago
Size: 3,977 bytes
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Transitional//EN' 'https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd'> <html xmlns="https://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>"> <head> <!-- title and metas --> <title><{if !empty($xoops_pagetitle)}><{$xoops_pagetitle}> : <{/if}><{$xoops_sitename}></title> <meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>"/> <meta name="robots" content="<{$xoops_meta_robots}>"/> <meta name="keywords" content="<{$xoops_meta_keywords}>"/> <meta name="description" content="<{$xoops_meta_description}>"/> <meta name="rating" content="<{$xoops_meta_rating}>"/> <meta name="author" content="<{$xoops_meta_author}>"/> <meta name="copyright" content="<{$xoops_meta_copyright}>"/> <meta name="generator" content="XOOPS"/> <{if !empty($url)}> <meta http-equiv="Refresh" content="<{$time}>; url=<{$url}>"/> <{/if}> <!-- path favicon --> <link rel="shortcut icon" type="image/ico" href="<{xoImgUrl 'icons/favicon.ico'}>"/> <link rel="icon" type="image/png" href="<{xoImgUrl 'icons/favicon.png'}>"/> <!-- include xoops.js and others via header.php --> <{$xoops_module_header|default:''}> <!-- Xoops style sheet --> <link rel="stylesheet" type="text/css" media="screen" href="<{xoAppUrl 'xoops.css'}>"/> <!-- Theme style sheets --> <link rel="stylesheet" type="text/css" media="screen" title="Color" href="<{xoImgUrl 'style.css'}>"/> </head> <body> <div id="xo-canvas" <{if !empty($columns_layout)}> class="<{$columns_layout}>"<{/if}>> <div class="xo-wrapper"> <div id="xo-bgstatic" class="<{$xoops_dirname}>"></div> <div id="xo-header" class="<{$xoops_dirname}>"> <div id="xo-top"> <!-- include the User block in the header --> </div> <!-- Start Header --> <table cellspacing="0"> <tr id="header"> <td id="headerlogo"><a href="<{xoAppUrl '/'}>" title="<{$xoops_sitename}>"><img src="<{xoImgUrl 'xoops-logo.png'}>" alt="<{$xoops_sitename}>"/></a></td> <td id="headerbanner"><{$xoops_banner}></td> <td id="xo-userbar_siteclosed"> <!-- menu in anonymous mode --> <form method="post" action="<{xoAppUrl '/user.php?op=login'}>"> <input name="uname" type="text" title=""/> <input name="pass" type="password" title=""/> <input type="hidden" name="xoops_redirect" value="<{$smarty.server.REQUEST_URI}>"/> <{if isset($lang_siteclosemsg)}> <input type="hidden" name="xoops_login" value="1"/> <{/if}> <input type="hidden" name="op" value="login"/> <input type="submit" value="<{$lang_login}>"/> </form> </td> </tr> <tr> <td id="headerbar" colspan="3">&nbsp;</td> </tr> </table> <!-- End header --> </div> <div id="xo-canvas-content"> <div id="xo-page"> <div id="xo-siteclose"><{$lang_siteclosemsg}></div> <{if !empty($redirect_message)}> <div class="center red"><b><{$redirect_message}></b><br><br></div> <{/if}> </div> </div> <!-- Start footer --> <table cellspacing="0"> <tr id="footerbar"> <td><{$xoops_footer}></td> </tr> </table> <!-- End footer --> <!--{xo-logger-output}--> </div> </div> </body> </html>