From 82102eab8b2a93e425026364f4d82de70a926e98 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Mon, 2 Feb 2015 02:36:34 +0000 Subject: [PATCH] added a codeBlock tag to creole and changed wiki-show and project-home pages to use prettify to render the codeBlock regiion --- codepot/src/codepot/views/project_home.php | 13 +++++++++++++ codepot/src/codepot/views/wiki_show.php | 10 +++++++++- 2 files changed, 22 insertions(+), 1 deletion(-) diff --git a/codepot/src/codepot/views/project_home.php b/codepot/src/codepot/views/project_home.php index c8c1788a..3d0e507b 100644 --- a/codepot/src/codepot/views/project_home.php +++ b/codepot/src/codepot/views/project_home.php @@ -12,6 +12,13 @@ + + + + + + + @@ -125,6 +134,10 @@ foreach ($urls as $url) } ?> +
+
+
+
diff --git a/codepot/src/codepot/views/wiki_show.php b/codepot/src/codepot/views/wiki_show.php index 4daa57dd..125cedc8 100644 --- a/codepot/src/codepot/views/wiki_show.php +++ b/codepot/src/codepot/views/wiki_show.php @@ -8,6 +8,13 @@ + + + + + + + <?=htmlspecialchars($wiki->name)?> @@ -18,13 +25,14 @@ $hexname = $this->converter->AsciiToHex ($wiki->name);