From d6dfb30a86deb8278732904cee0b05a9cfa230e2 Mon Sep 17 00:00:00 2001 From: steckbrief Date: Sun, 26 Nov 2017 10:37:44 +0100 Subject: first admin iteration --- admin.html | 98 +++++++++++++++++++++++++++++++++++++++++++++++ createStory.php | 25 ++++++++++++ index.php | 8 ++-- lib/functions.stories.php | 33 ++++++++++++++++ 4 files changed, 159 insertions(+), 5 deletions(-) create mode 100644 admin.html create mode 100644 createStory.php create mode 100644 lib/functions.stories.php diff --git a/admin.html b/admin.html new file mode 100644 index 0000000..ba5d37f --- /dev/null +++ b/admin.html @@ -0,0 +1,98 @@ + + + + + + + + + + Kindergeschichten - Admin + + + +
+ +
+ + + + + + +
+ + \ No newline at end of file diff --git a/createStory.php b/createStory.php new file mode 100644 index 0000000..906a302 --- /dev/null +++ b/createStory.php @@ -0,0 +1,25 @@ + diff --git a/index.php b/index.php index 9c96bfb..d4dff95 100644 --- a/index.php +++ b/index.php @@ -1,5 +1,7 @@ @@ -93,7 +91,7 @@ $currentTvSeriesName = visibleName($currentTvSeries); $characterDescription) { - $characterName = str_replace('_', ' ', $character); + $characterName = visibleName($character); ?>
diff --git a/lib/functions.stories.php b/lib/functions.stories.php new file mode 100644 index 0000000..a8102c3 --- /dev/null +++ b/lib/functions.stories.php @@ -0,0 +1,33 @@ + -- cgit v1.2.3