diff options
author | Kevin Chabowski <kevin@kch42.de> | 2014-05-25 12:32:43 +0200 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2014-05-25 12:32:43 +0200 |
commit | 1bb15c28b7af7265687b85607b853a5f6722ecf4 (patch) | |
tree | e1a245e39fa3718f6ef743de494e78712a419136 | |
parent | 39baf5a3f20c3937b92ce7918daac6c73727239b (diff) | |
download | ratatoeskr-cms-develop.tar.gz ratatoeskr-cms-develop.tar.bz2 ratatoeskr-cms-develop.zip |
Include new STE versiondevelop
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | create-package.sh | 9 | ||||
-rw-r--r-- | ratatoeskr/libs/INFO | 2 | ||||
-rw-r--r-- | ratatoeskr/sys/init_ste.php | 2 | ||||
-rwxr-xr-x | ratatoeskr/templates/src/systemtemplates/backend_login.html | 2 | ||||
-rwxr-xr-x | ratatoeskr/templates/src/systemtemplates/master.html | 2 |
6 files changed, 13 insertions, 6 deletions
@@ -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: <https://github.com/kch42/ste> 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 @@ <body> <img id="background_image" src="$rel_path_to_root/ratatoeskr/cms_style/images/login_bg.jpg" alt="" /> <div id="main"> - <div id="bar_top"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.2 β 3)</div> + <div id="bar_top"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.2 β 4)</div> <div class="vcenter_outer"><div class="vcenter_inner"> <div id="login_box"> <h1><ste:get_translation for="login_form_header" /></h1> 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 @@ </head> <body> <div id="bar_top"> - <span class="branding"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.2 β 3)</span> + <span class="branding"><strong>Ratatöskr</strong>::Noctilucent clouds (v. 0.2 β 4)</span> <span class="user"> <a href="$rel_path_to_root/backend/admin/users/u/$user[id]">$user[name]</a> | <a href="$rel_path_to_root/backend/logout"><ste:get_translation for="logout" /></a> </span> |