From 1854075a62c6ca0422040b4e5ebf89088b0d02b2 Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Tue, 15 Feb 2011 00:32:19 +0000 Subject: added wiki - part 1 --- h-source/Application/Views/Wiki/climb.php | 50 ++++++++++ h-source/Application/Views/Wiki/differences.php | 61 ++++++++++++ h-source/Application/Views/Wiki/form.php | 96 +++++++++++++++++++ h-source/Application/Views/Wiki/history.php | 70 ++++++++++++++ h-source/Application/Views/Wiki/not_found.php | 34 +++++++ h-source/Application/Views/Wiki/page.php | 102 ++++++++++++++++++++ h-source/Application/Views/Wiki/talk.php | 122 ++++++++++++++++++++++++ 7 files changed, 535 insertions(+) create mode 100644 h-source/Application/Views/Wiki/climb.php create mode 100644 h-source/Application/Views/Wiki/differences.php create mode 100644 h-source/Application/Views/Wiki/form.php create mode 100644 h-source/Application/Views/Wiki/history.php create mode 100644 h-source/Application/Views/Wiki/not_found.php create mode 100644 h-source/Application/Views/Wiki/page.php create mode 100644 h-source/Application/Views/Wiki/talk.php (limited to 'h-source/Application/Views/Wiki') diff --git a/h-source/Application/Views/Wiki/climb.php b/h-source/Application/Views/Wiki/climb.php new file mode 100644 index 0000000..bd502d1 --- /dev/null +++ b/h-source/Application/Views/Wiki/climb.php @@ -0,0 +1,50 @@ + + +. +?> +
+ +
+ ">Home » +
+ +
+ +
+ + + +
+ + + +
+ + +
" method="POST"> + : +
+ + +
+ +
\ No newline at end of file diff --git a/h-source/Application/Views/Wiki/differences.php b/h-source/Application/Views/Wiki/differences.php new file mode 100644 index 0000000..1709cbf --- /dev/null +++ b/h-source/Application/Views/Wiki/differences.php @@ -0,0 +1,61 @@ + + +. +?> + +
+ +
+ ">Home » +
+ + +
+ Differences between the revision of , created by getUser($created_by));?>, and the revision of +
+ + + + +
+ +
+ Notice: the text in red has been deleted from the previous revision, the text in green has been added in this revision and the text in gray has not been changed. +
+ + $text) { ?> + +
+ +
+ : +
+ +
+ +
+ +
+ + + +
diff --git a/h-source/Application/Views/Wiki/form.php b/h-source/Application/Views/Wiki/form.php new file mode 100644 index 0000000..0a448dd --- /dev/null +++ b/h-source/Application/Views/Wiki/form.php @@ -0,0 +1,96 @@ + + +. +?> + + + +
+ + action,'insert') === 0 ) { ?> + +
+ ">Home » ">Wiki » +
+ +
+ +
+ + + + action,'update') === 0 ) { ?> + +
+ ">Home » ">Wiki » "> » +
+ +
+ +
+ + + + + +
+
License Informations:
+ Any text submitted by you will be put in the Public Domain (see the CC0 page for detailed information). +
+ + + +
+ +
controller."/".$this->action."/$lang";?>" method="POST"> + +
+ +
+ + +
+ +
+ + +
+ + + + + +
+ +
+
+ diff --git a/h-source/Application/Views/Wiki/history.php b/h-source/Application/Views/Wiki/history.php new file mode 100644 index 0000000..b979063 --- /dev/null +++ b/h-source/Application/Views/Wiki/history.php @@ -0,0 +1,70 @@ + + +. +?> + +
+ +
+ ">Home » ">Wiki » "> » +
+ +
+ History of the wiki page +
+ + + +
+ + + +
+ +
+ : +
+ diff --git a/h-source/Application/Views/Wiki/not_found.php b/h-source/Application/Views/Wiki/not_found.php new file mode 100644 index 0000000..dc95c21 --- /dev/null +++ b/h-source/Application/Views/Wiki/not_found.php @@ -0,0 +1,34 @@ + + +. +?> + +
+ +
+ ">Home » ">Wiki » +
+ +
+
+ +
+
+ diff --git a/h-source/Application/Views/Wiki/page.php b/h-source/Application/Views/Wiki/page.php new file mode 100644 index 0000000..92e3c9b --- /dev/null +++ b/h-source/Application/Views/Wiki/page.php @@ -0,0 +1,102 @@ + + +. +?> + +
+ + action,'page') === 0 ? 'wiki' : 'wiki_revisions'; ?> + + action,'page') === 0 ) { ?> + +
+ ">Home » ">Wiki » +
+ + + + + + action,'revision') === 0 ) { ?> + +
+ ">Home » +
+ +
+ Revision of the wiki page +
+ + + + + +
+ + + +
+ +
+ + + + + + + action,'revision') === 0) { ?> +
+ This is an old revision of this page, as edited by getUser($created_by));?> at . It may differ significantly from the ">current revision. +
+ + + +
+ +
+
+ +
+ + + + +
diff --git a/h-source/Application/Views/Wiki/talk.php b/h-source/Application/Views/Wiki/talk.php new file mode 100644 index 0000000..67ecbeb --- /dev/null +++ b/h-source/Application/Views/Wiki/talk.php @@ -0,0 +1,122 @@ + + +. +?> + + + +
+ +
+ ">Home » +
+ +
+ +
+ + + +
+ + + + + + +
+ +
+ +
+ +
+ +
+ by getUser($message['wiki_talk']['created_by']));?>, +
+
+ +
+ +
+ +
+ + + + + + + + +
+ + + +
+ + + + +
+
controller."/talk/$lang/$id_wiki";?>#form" method="POST"> + +
+ +
+ + +
+ +
+ + +
+ + + +
+ +
+
+
+ + + + + + + +
\ No newline at end of file -- cgit v1.2.3