From a88de608dde6e0df48a122d72f112b5b92ad15ac Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Mon, 28 Oct 2013 22:42:56 +0100 Subject: STE has a new repository and name. --- .gitignore | 2 +- INSTALL.md | 14 ++++++++++---- create-package.sh | 2 +- ratatoeskr/libs/INFO | 6 +++--- ratatoeskr/sys/init_ste.php | 4 ++-- setup.php | 2 +- 6 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index 2505a76..d231bc2 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/INSTALL.md b/INSTALL.md index 8d50ddb..8a59dfc 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -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: + STE can be found here: 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 +4. jQuery + + Place jquery.min.js into this folder. + + jQuery can be found at + 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: + STE can be found here: 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__) diff --git a/setup.php b/setup.php index 054001e..4c3e39d 100644 --- a/setup.php +++ b/setup.php @@ -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", -- cgit v1.2.3-70-g09d2