diff --git a/about.php b/about.php index a93995d..9a3522e 100644 --- a/about.php +++ b/about.php @@ -12,8 +12,7 @@ - - +
diff --git a/article.php b/article.php index b5dedf1..00c888b 100644 --- a/article.php +++ b/article.php @@ -19,8 +19,7 @@ open_db('open'); require_once("./navigation.lib.php"); ?> - - +
diff --git a/index.php b/index.php index 582cc57..8b9ed3c 100644 --- a/index.php +++ b/index.php @@ -19,8 +19,7 @@ open_db('open'); require_once("./navigation.lib.php"); ?> - - +
diff --git a/publish/addeditor.php b/publish/addeditor.php index 60d4881..3c02782 100644 --- a/publish/addeditor.php +++ b/publish/addeditor.php @@ -41,7 +41,6 @@ if (!isset($_SESSION['editor'])) { -
@@ -54,15 +53,18 @@ if (!isset($_SESSION['editor'])) {
+
-
+
+
-
+
+
-
+
@@ -74,8 +76,6 @@ if (!isset($_SESSION['editor'])) {
- - diff --git a/publish/edit.php b/publish/edit.php index 8616103..228c3fd 100644 --- a/publish/edit.php +++ b/publish/edit.php @@ -34,7 +34,6 @@ if (!isset($_SESSION['editor'])) { $id = get_id(); ?> -
diff --git a/publish/index.php b/publish/index.php index 8fb4638..f24a93e 100644 --- a/publish/index.php +++ b/publish/index.php @@ -25,7 +25,6 @@ $editable = TRUE; ?> -
diff --git a/publish/login.php b/publish/login.php index 4b2f11d..dc062e9 100644 --- a/publish/login.php +++ b/publish/login.php @@ -67,7 +67,6 @@ if (isset($_SESSION['editor'])) { -
@@ -81,15 +80,18 @@ if ($denied) ?> " method="post"> +
-
+
+
-
+
+
-
+
diff --git a/publish/logout.php b/publish/logout.php index c11235a..5bd3f44 100644 --- a/publish/logout.php +++ b/publish/logout.php @@ -1,11 +1,15 @@ diff --git a/publish/style.css b/publish/style.css index 43b7a16..d3acc02 100644 --- a/publish/style.css +++ b/publish/style.css @@ -1,4 +1,4 @@ -#title, #author, #email, #comments, #story, #username, #password, #remember, #recaptcha_response_field { +#main form #title, #main form #author, #main form #email, #main form #comments, #main form #story, #main form #username, #main form #password, #main form #remember { border: 1px dashed #006633; display: block; width: 250px; @@ -7,41 +7,41 @@ margin-top: 5px; padding-left: 2px; } -input#remember { +#main form input#remember { margin-left: -2px; margin-top: 7px; - width: inherit; + width: initial; } -#story { +#main form #story { width: 450px; height: 200px; } -#htmloptions { +#main form #htmloptions { display: block; float: left; width: auto; border: 1px solid #006633; } -.submission { +#main form .submission { margin-top: 10px; margin-left: 120px; } -#preview, #submit, #delete, #login, #adduser { +#main form #preview, #submit, #delete, #login, #adduser { border: 1px dashed #006633; background-color: #FFFFFF; font-weight: bold; margin-right: 5px; } -#hidden { +#main form #hidden { display: block; float: left; margin: 5px 0; } -label { +#main form label { display: block; float: left; margin-bottom: 5px; @@ -51,6 +51,16 @@ label { padding-right: 20px; } +#main form>div { + overflow: auto; + width: 100% +} +#main form>div.textarea { + width: inherit; +} +#main form>div.g-recaptcha { + overflow: inherit; +} br.clear { clear: both; } @@ -102,9 +112,9 @@ div.textarea { } #uploadparent { - width: 455px; height: 200px; border: 1px dashed #006633; + margin-bottom: 10px; } #uploadparent>div { padding: 10px; diff --git a/publish/write.inc.php b/publish/write.inc.php index 7a5e9ab..e9c345e 100644 --- a/publish/write.inc.php +++ b/publish/write.inc.php @@ -20,33 +20,29 @@ if (count($validate) !== 0) { ?> - - +
for="title">Title:  * -
for="author">Author:  * -
for="email">Email address: -
+
(An email address where editors can reach the author.)
-
-
Text:
-
Image:
- +Text: +Image: +
@@ -55,7 +51,6 @@ if (count($validate) !== 0) { echo (isset($story) ? $story : '') ?> -
(To get line-breaks—as in poetry—instead of paragraph breaks, hit shift-enter instead of enter.)
-
for="comments">Comments: -
@@ -109,7 +100,6 @@ if (isset($file_src) || isset($img)) {
'; echo '
'; } @@ -118,7 +108,6 @@ if (isset($file_src) || isset($img)) { echo '
'; echo 'Hidden:'; echo ''; - echo '
'; echo '
'; } ?> diff --git a/session.lib.php b/session.lib.php index 651d2f3..85fc867 100644 --- a/session.lib.php +++ b/session.lib.php @@ -1,6 +1,8 @@