diff --git a/.htaccess b/.htaccess index 10363e5..0ab1e54 100644 --- a/.htaccess +++ b/.htaccess @@ -6,7 +6,7 @@ RewriteRule ^([a-zA-Z0-9-]+)$ ?site=$1 #alles, was versucht ein Script aufzurufen - RewriteRule /bin/(.+) /bin/$1 + RewriteRule /js/(.+) /js/$1 #Error Seite RewriteRule ^error/([a-zA-Z0-9-_]+)$ ?site=error&id=$1 diff --git a/config/config.php b/config/config.php index 99ca593..0c1fa1c 100644 --- a/config/config.php +++ b/config/config.php @@ -2,4 +2,5 @@ $CONFIG = array ( 'installed' => false, ); + ?> \ No newline at end of file diff --git a/cont/adduser.php b/cont/adduser.php index 0f98a8d..a30473e 100644 --- a/cont/adduser.php +++ b/cont/adduser.php @@ -1,6 +1,6 @@ - +

Benutzer hinzufügen

diff --git a/cont/error.php b/cont/error.php index 10dcbc1..7af44f4 100644 --- a/cont/error.php +++ b/cont/error.php @@ -3,7 +3,7 @@ Installationsfehler - +
diff --git a/cont/list.php b/cont/list.php index a20b59c..32fc1c4 100644 --- a/cont/list.php +++ b/cont/list.php @@ -1,4 +1,4 @@ - +

Liste

@@ -28,7 +28,7 @@ $checked = ""; } - print_r("
"); + print_r("
"); print_r("
"); print_r("
$item->Anzahl $item->Einheit
"); print_r("
$item->Name
"); diff --git a/cont/login.php b/cont/login.php index a4170a8..96c6e21 100644 --- a/cont/login.php +++ b/cont/login.php @@ -15,7 +15,7 @@
- +
diff --git a/cont/manageRecipe.php b/cont/manageRecipe.php index f1687cc..d901687 100644 --- a/cont/manageRecipe.php +++ b/cont/manageRecipe.php @@ -2,7 +2,7 @@ if($_SERVER["REQUEST_URI"]!="/new-recipe"){ $submitFunction = "update"; $title = "Bearbeiten"; - $script = ''; + $script = ''; $additionalInput = ""; } else{ @@ -12,8 +12,8 @@ $additionalInput = ""; } ?> - - + +

diff --git a/cont/nav.php b/cont/nav.php index bc857b3..ca453c3 100644 --- a/cont/nav.php +++ b/cont/nav.php @@ -1,16 +1,47 @@ - + + \ No newline at end of file diff --git a/cont/recipe.php b/cont/recipe.php index 8e0a5c9..2287063 100644 --- a/cont/recipe.php +++ b/cont/recipe.php @@ -1,13 +1,12 @@ - + getRecipe($_GET["number"]); $recipe = $book->sites[0]; ?> -