From 1bb15c28b7af7265687b85607b853a5f6722ecf4 Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Sun, 25 May 2014 12:32:43 +0200 Subject: Include new STE version --- .gitignore | 2 +- create-package.sh | 9 ++++++++- ratatoeskr/libs/INFO | 2 +- ratatoeskr/sys/init_ste.php | 2 +- ratatoeskr/templates/src/systemtemplates/backend_login.html | 2 +- ratatoeskr/templates/src/systemtemplates/master.html | 2 +- 6 files changed, 13 insertions(+), 6 deletions(-) diff --git a/.gitignore b/.gitignore index d231bc2..620bfda 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ images/* ratatoeskr/templates/src/plugintemplates/* ratatoeskr/templates/src/usertemplates/* ratatoeskr/templates/transc/* -ratatoeskr/libs/ste.php +ratatoeskr/libs/ste ratatoeskr/libs/markdown.php ratatoeskr/libs/kses.php ratatoeskr/libs/jquery.min.js diff --git a/create-package.sh b/create-package.sh index 3ff5ec7..f59d58f 100755 --- a/create-package.sh +++ b/create-package.sh @@ -12,7 +12,14 @@ mkdir plugin_extradata/public mkdir templates/src/plugintemplates mkdir templates/transc cd libs -wget https://raw.github.com/kch42/ste/master/ste.php +test -d ste || mkdir ste +cd ste +wget https://github.com/kch42/ste/archive/master.zip +unzip master.zip +cp ste-master/ste.php . +cp -r ste-master/src . +rm -rf ste-master master.zip +cd .. wget http://michelf.com/docs/projets/php-markdown-1.0.1o.zip unzip php-markdown-*.zip mv PHP\ Markdown\ */markdown.php . diff --git a/ratatoeskr/libs/INFO b/ratatoeskr/libs/INFO index 448a3d0..4b4e5e3 100644 --- a/ratatoeskr/libs/INFO +++ b/ratatoeskr/libs/INFO @@ -2,7 +2,7 @@ This directory will hold some libraries Ratatöskr needs. 1. STE Template Engine (STE) - Place "ste.php" directly into this directory. + Place the STE files into the subdirectory "ste" (create it, if it doesn't exist). At least "ste.php" and the "src" directory of STE are needed! STE can be found here: diff --git a/ratatoeskr/sys/init_ste.php b/ratatoeskr/sys/init_ste.php index 2084cb5..b0a90d1 100644 --- a/ratatoeskr/sys/init_ste.php +++ b/ratatoeskr/sys/init_ste.php @@ -11,7 +11,7 @@ * See "ratatoeskr/licenses/ratatoeskr" for more information. */ -require_once(dirname(__FILE__) . "/../libs/ste.php"); +require_once(dirname(__FILE__) . "/../libs/ste/ste.php"); $tpl_basedir = dirname(__FILE__) . "/../templates"; diff --git a/ratatoeskr/templates/src/systemtemplates/backend_login.html b/ratatoeskr/templates/src/systemtemplates/backend_login.html index 7317ffa..a3d1c0b 100755 --- a/ratatoeskr/templates/src/systemtemplates/backend_login.html +++ b/ratatoeskr/templates/src/systemtemplates/backend_login.html @@ -9,7 +9,7 @@
-
Ratatöskr::Noctilucent clouds (v. 0.2 β 3)
+
Ratatöskr::Noctilucent clouds (v. 0.2 β 4)

diff --git a/ratatoeskr/templates/src/systemtemplates/master.html b/ratatoeskr/templates/src/systemtemplates/master.html index a37f449..aa2bf4e 100755 --- a/ratatoeskr/templates/src/systemtemplates/master.html +++ b/ratatoeskr/templates/src/systemtemplates/master.html @@ -40,7 +40,7 @@
- Ratatöskr::Noctilucent clouds (v. 0.2 β 3) + Ratatöskr::Noctilucent clouds (v. 0.2 β 4) $user[name] | -- cgit v1.2.3-70-g09d2