mirror of
https://github.com/e107inc/e107.git
synced 2025-08-31 10:01:56 +02:00
Issue #435 - More Bootstrap3 styling fixes. Login-menu shortcodes updated to v2 spec.
This commit is contained in:
@@ -157,6 +157,8 @@ $LAYOUT['jumbotron'] = '
|
||||
{WMESSAGE}
|
||||
{SETSTYLE=default}
|
||||
<div class="container">
|
||||
{ALERTS}
|
||||
|
||||
{...}
|
||||
</div>
|
||||
<div class="container">
|
||||
@@ -171,7 +173,7 @@ $LAYOUT['jumbotron'] = '
|
||||
<hr>
|
||||
|
||||
<footer>
|
||||
<p>© Company 2013</p>
|
||||
{SITEDISCLAIMER}
|
||||
</footer>
|
||||
</div> <!-- /container -->
|
||||
|
||||
|
@@ -13,13 +13,17 @@
|
||||
|
||||
class theme_shortcodes extends e_shortcode
|
||||
{
|
||||
function __construct()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
function sc_bootstrap_usernav()
|
||||
{
|
||||
include_lan(e_PLUGIN."login_menu/languages/".e_LANGUAGE.".php");
|
||||
|
||||
$tp = e107::getParser();
|
||||
|
||||
|
||||
if(!USERID) // Logged Out.
|
||||
{
|
||||
$text = '
|
||||
@@ -40,6 +44,9 @@ class theme_shortcodes extends e_shortcode
|
||||
<form method="post" onsubmit="hashLoginPassword(this);return true" action="'.e_REQUEST_HTTP.'" accept-charset="UTF-8">
|
||||
{LM_USERNAME_INPUT}
|
||||
{LM_PASSWORD_INPUT}
|
||||
{LM_IMAGECODE_NUMBER}
|
||||
{LM_IMAGECODE_BOX}
|
||||
|
||||
<div class="checkbox">
|
||||
<input style="float: left; margin-right: 10px;" type="checkbox" name="autologin" id="autologin" value="1">
|
||||
<label class="string optional" for="autologin"> Remember me</label>
|
||||
@@ -78,10 +85,7 @@ class theme_shortcodes extends e_shortcode
|
||||
|
||||
|
||||
// Logged in.
|
||||
//TODO Generic LANS. (not theme LANs)
|
||||
|
||||
$avatar = $tp->parseTemplate('{USER_AVATAR}',true);
|
||||
|
||||
//TODO Generic LANS. (not theme LANs)
|
||||
|
||||
$text = '
|
||||
|
||||
|
Reference in New Issue
Block a user