Fix responsive layout.
This commit is contained in:
@@ -30,6 +30,7 @@ if (!isset($_SESSION['editor'])) {
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>x.x.x [add editor]</title>
|
||||
<link rel="icon" href="favicon.png" />
|
||||
<link rel="shortcut icon" href="favicon.png" />
|
||||
@@ -42,6 +43,7 @@ if (!isset($_SESSION['editor'])) {
|
||||
<body>
|
||||
|
||||
<div id="container">
|
||||
<? include_once("../sidebar.inc.php"); ?>
|
||||
<div id="main">
|
||||
<div id="maintext">
|
||||
|
||||
@@ -69,7 +71,6 @@ if (!isset($_SESSION['editor'])) {
|
||||
|
||||
</div> <!-- maintext -->
|
||||
</div> <!-- main -->
|
||||
<? include_once("../sidebar.inc.php"); ?>
|
||||
<? include_once("../bottombar.inc.php"); ?>
|
||||
</div> <!-- container -->
|
||||
|
||||
|
||||
+3
-1
@@ -14,6 +14,7 @@ if (!isset($_SESSION['editor'])) {
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>x.x.x [edit]</title>
|
||||
<link rel="icon" href="favicon.png" />
|
||||
<link rel="shortcut icon" href="favicon.png" />
|
||||
@@ -22,6 +23,7 @@ if (!isset($_SESSION['editor'])) {
|
||||
<link rel="alternate" type="application/rss+xml" title="xxx.org.za RSS feed" href="/feed" />
|
||||
<script type="text/javascript" src="../utilities.js"></script>
|
||||
<? include_once('./tinymce_init.inc.php'); ?>
|
||||
<script src='https://www.google.com/recaptcha/api.js'></script>
|
||||
</head>
|
||||
<?
|
||||
flush();
|
||||
@@ -35,6 +37,7 @@ if (!isset($_SESSION['editor'])) {
|
||||
<body>
|
||||
|
||||
<div id='container'>
|
||||
<? include_once("../sidebar.inc.php"); ?>
|
||||
<div id='main'>
|
||||
<div id='maintext'>
|
||||
|
||||
@@ -114,7 +117,6 @@ switch ($action) {
|
||||
|
||||
</div> <!-- maintext -->
|
||||
</div> <!-- main -->
|
||||
<? include_once("../sidebar.inc.php"); ?>
|
||||
<? include_once("../bottombar.inc.php"); ?>
|
||||
</div> <!-- container -->
|
||||
|
||||
|
||||
+2
-1
@@ -3,6 +3,7 @@
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>x.x.x [add]</title>
|
||||
<link rel="icon" href="favicon.png" />
|
||||
<link rel="shortcut icon" href="favicon.png" />
|
||||
@@ -23,6 +24,7 @@
|
||||
<body>
|
||||
|
||||
<div id='container'>
|
||||
<? include_once("../sidebar.inc.php"); ?>
|
||||
<div id='main'>
|
||||
<div id='maintext'>
|
||||
|
||||
@@ -79,7 +81,6 @@ switch ($action) {
|
||||
|
||||
</div> <!-- maintext -->
|
||||
</div> <!-- main -->
|
||||
<? include_once("../sidebar.inc.php"); ?>
|
||||
<? include_once("../bottombar.inc.php"); ?>
|
||||
</div> <!-- container -->
|
||||
|
||||
|
||||
+2
-1
@@ -56,6 +56,7 @@ if (isset($_SESSION['editor'])) {
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<title>x.x.x [login]</title>
|
||||
<link rel="icon" href="favicon.png" />
|
||||
<link rel="shortcut icon" href="favicon.png" />
|
||||
@@ -68,6 +69,7 @@ if (isset($_SESSION['editor'])) {
|
||||
<body>
|
||||
|
||||
<div id="container">
|
||||
<? include_once("../sidebar.inc.php"); ?>
|
||||
<div id="main">
|
||||
<div id="maintext">
|
||||
|
||||
@@ -95,7 +97,6 @@ if ($denied)
|
||||
|
||||
</div> <!-- maintext -->
|
||||
</div> <!-- main -->
|
||||
<? include_once("../sidebar.inc.php"); ?>
|
||||
<? include_once("../bottombar.inc.php"); ?>
|
||||
</div> <!-- container -->
|
||||
|
||||
|
||||
@@ -110,16 +110,13 @@ if (isset($file_src) || isset($img)) {
|
||||
<?
|
||||
if (!$is_admin && (($action == "") || isset($validate['captcha']))) {
|
||||
echo '<div><br class="clear" /></div>';
|
||||
include('../lib/recaptchalib.inc.php');
|
||||
echo '<script type="text/javascript"> var RecaptchaOptions = { theme : "custom", custom_theme_widget : "captcha" }; </script>';
|
||||
echo '<div class="g-recaptcha" data-sitekey="'.htmlspecialchars(config('RECAPTCHA_SITE_KEY')).'"></div>';
|
||||
echo '<div id="captcha" style="display: none;">';
|
||||
echo '<div id="recaptcha_image"></div>';
|
||||
$redo_cap_class = isset($validate['captcha']) ? 'class="no" ' : '';
|
||||
echo '<label '.$redo_cap_class.'for="recaptcha_response_field">Type the two words:</label>';
|
||||
echo '<input type="text" name="recaptcha_response_field" id="recaptcha_response_field" maxlength="150" value="" />';
|
||||
echo '<span class="required"> *</span>';
|
||||
$publickey = config('RECAPTCHA_SITE_KEY');
|
||||
echo recaptcha_get_html($publickey, FALSE, TRUE);
|
||||
echo '<span class="icons">';
|
||||
echo '<a href="javascript:Recaptcha.reload()">';
|
||||
echo '<img src="/graphics/recaptcha-refresh.png" alt="Refresh CAPTCHA" title="Refresh CAPTCHA" /></a>';
|
||||
|
||||
Reference in New Issue
Block a user