소스 검색

Make WebMum ready for the public \o/

Thomas Leister 10 년 전
부모
커밋
e15bf5aa98
5개의 변경된 파일41개의 추가작업 그리고 17개의 파일을 삭제
  1. 11 1
      include/css/style.css
  2. 1 1
      include/php/pages/private/changepass.php
  3. 2 6
      include/php/pages/private/start.php
  4. 1 1
      include/php/template/footer.php
  5. 26 8
      index.php

+ 11 - 1
include/css/style.css

@@ -196,7 +196,9 @@ body{
 	}
 	
 	
-	
+/*
+ * Footer
+ */	
 
 #footer{
 	position:relative;
@@ -206,9 +208,17 @@ body{
 	background-color:white;
 	padding:20px;
 	box-sizing:border-box;
+	color:grey;
+}
+
+#footer a{
+	text-decoration:none;
+	color:grey;
 }
 
 
+
+
 /*
  * Notifications
  */

+ 1 - 1
include/php/pages/private/changepass.php

@@ -26,7 +26,7 @@ if(isset($_POST['sent'])){
 
 
 <p>
-	Your new password must have <?php echo MIN_PASS_LENGTH; ?> characters or more.
+	Your new password must contain <?php echo MIN_PASS_LENGTH; ?> characters or more.
 </p>
 
 <form action="" method="post">

+ 2 - 6
include/php/pages/private/start.php

@@ -2,16 +2,12 @@
 
 ?>
 
-<h1>Welcome to your personal account!</h1>
+<h1>Welcome to your dashboard!</h1>
 
 <p>
-	What do you want to do?
+	Please choose an action.
 </p>
 
 <p>
 	<a class="button button-big" href="<?php echo FRONTEND_BASE_PATH; ?>private/changepass/">Change my e-mail password</a>
-</p>
-
-<p>
-<i>(Yeah, that's all you can do right now :P)</i>
 </p>

+ 1 - 1
include/php/template/footer.php

@@ -1,7 +1,7 @@
 		</div> <!-- Closing content -->
 		
 		<div id="footer">
-			WebMUM is free software created by Thomas Leister.
+			Copyright (C) 2014 Thomas Leister <br/> WebMUM on GitHub: <a href="https://github.com/ThomasLeister/webmum/">https://github.com/ThomasLeister/webmum/</a>
 		</div>
 	</body>
 </html>

+ 26 - 8
index.php

@@ -1,11 +1,32 @@
 <?php
+/*
+ * #################### This is WebMUM Version 0.1.0 ######################
+ * 
+ * Project on GitHub: https://github.com/ThomasLeister/webmum
+ * Author's Blog: https://thomas-leister.de
+ * 
+ * Please report bugs on GitHub.
+ * 
+ * Copyright (C) 2014 Thomas Leister
+ * 
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
 define("BACKEND_BASE_PATH", preg_replace("index.php", "", $_SERVER['SCRIPT_FILENAME']));
 require_once 'include/php/default.inc.php';
 
-
 require_once 'include/php/template/header.php';
 
-
 function load_page($p){
 	
 	if(preg_match("/^\/private(.*)$/", $p) == 1){
@@ -85,10 +106,6 @@ function load_page($p){
 }
 
 
-/*
- * Here is the content of the page
- */
-
 $path = $_SERVER["REQUEST_URI"];
 // Remove GET Parameters
 $path = preg_replace('/\?.*/', '', $path);
@@ -101,12 +118,13 @@ if(strrpos($path,"/") != strlen($path)-1){
 }
 
 
-/* Finally, inlude page content */
+/*
+ * Include page content here
+ */
 
 include load_page($path);
 
 
-
 /*
  * End of dynamic content
  */