diff options
author | Kevin Chabowski <kevin@kch42.de> | 2013-10-28 22:42:56 +0100 |
---|---|---|
committer | Kevin Chabowski <kevin@kch42.de> | 2013-10-28 22:42:56 +0100 |
commit | a88de608dde6e0df48a122d72f112b5b92ad15ac (patch) | |
tree | 217903a4a2e08c33232922a73fe4c5280754006d | |
parent | 08c659d208f65b6f3db3ae3d34843adef454e398 (diff) | |
download | ratatoeskr-cms-a88de608dde6e0df48a122d72f112b5b92ad15ac.tar.gz ratatoeskr-cms-a88de608dde6e0df48a122d72f112b5b92ad15ac.tar.bz2 ratatoeskr-cms-a88de608dde6e0df48a122d72f112b5b92ad15ac.zip |
STE has a new repository and name.
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | INSTALL.md | 14 | ||||
-rwxr-xr-x | create-package.sh | 2 | ||||
-rw-r--r-- | ratatoeskr/libs/INFO | 6 | ||||
-rw-r--r-- | ratatoeskr/sys/init_ste.php | 4 | ||||
-rw-r--r-- | setup.php | 2 |
6 files changed, 18 insertions, 12 deletions
@@ -5,7 +5,7 @@ images/* ratatoeskr/templates/src/plugintemplates/* ratatoeskr/templates/src/usertemplates/* ratatoeskr/templates/transc/* -ratatoeskr/libs/stupid_template_engine.php +ratatoeskr/libs/ste.php ratatoeskr/libs/markdown.php ratatoeskr/libs/kses.php ratatoeskr/libs/jquery.min.js @@ -5,7 +5,7 @@ Step 0: Requirements -------------------- * Apache Webserver with PHP 5.3 -* These PHP modules (usually installed): gd, hash, session, mysql +* These PHP modules (usually installed): gd, hash, session, pdo * A MySQL server. Step 1: Get additional libraries @@ -13,11 +13,11 @@ Step 1: Get additional libraries You need these libraries to run Ratatöskr (it is probably already bundled with these): -1. Stupid Template Engine (STE) +1. STE Template Engine (STE) - Place "stupid_template_engine.php" directly into this directory. + Place "ste.php" directly into this directory. - STE can be found here: <https://github.com/kch42/Stupid-Template-Engine> + STE can be found here: <https://github.com/kch42/ste> 2. PHP Markdown @@ -31,6 +31,12 @@ You need these libraries to run Ratatöskr (it is probably already bundled with kses can be found at <http://sourceforge.net/projects/kses/> +4. jQuery + + Place jquery.min.js into this folder. + + jQuery can be found at <http://jquery.com> + Step 2: Copy files to your Webspace ----------------------------------- diff --git a/create-package.sh b/create-package.sh index a2efb4f..534518b 100755 --- a/create-package.sh +++ b/create-package.sh @@ -12,7 +12,7 @@ mkdir plugin_extradata/public mkdir templates/src/plugintemplates mkdir templates/transc cd libs -wget https://raw.github.com/kch42/Stupid-Template-Engine/master/stupid_template_engine.php +wget https://raw.github.com/kch42/ste/ste.php 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 e2bc19b..448a3d0 100644 --- a/ratatoeskr/libs/INFO +++ b/ratatoeskr/libs/INFO @@ -1,10 +1,10 @@ This directory will hold some libraries Ratatöskr needs. -1. Stupid Template Engine (STE) +1. STE Template Engine (STE) - Place "stupid_template_engine.php" directly into this directory. + Place "ste.php" directly into this directory. - STE can be found here: <https://github.com/kch42/Stupid-Template-Engine> + STE can be found here: <https://github.com/kch42/ste> 2. PHP Markdown diff --git a/ratatoeskr/sys/init_ste.php b/ratatoeskr/sys/init_ste.php index 6152683..2084cb5 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/stupid_template_engine.php"); +require_once(dirname(__FILE__) . "/../libs/ste.php"); $tpl_basedir = dirname(__FILE__) . "/../templates"; @@ -20,7 +20,7 @@ if(!isset($ste)) /* * Variable: $ste * - * The global STECore (Stupid Template Engine) instance. + * The global STECore instance. */ $ste = new \ste\STECore(new \ste\FilesystemStorageAccess("$tpl_basedir/src", "$tpl_basedir/transc")); if(defined("__DEBUG__") && __DEBUG__) @@ -60,7 +60,7 @@ $files = array( "/ratatoeskr/translations/en.php", "/ratatoeskr/backend.php", "/ratatoeskr/libs/markdown.php", - "/ratatoeskr/libs/stupid_template_engine.php", + "/ratatoeskr/libs/ste.php", "/ratatoeskr/libs/kses.php", "/ratatoeskr/.htaccess", "/ratatoeskr/setup/create_tables.php", |