Permalink
Commits on Feb 12, 2017
  1. Update README.md

    feulf committed Feb 12, 2017
  2. Update rain.tpl.class.php

    feulf committed Feb 12, 2017
  3. Update page.html

    feulf committed Feb 12, 2017
Commits on Mar 30, 2016
  1. Merge pull request #37 from Phyks/iterate_results

    feulf committed Mar 30, 2016
    Replaced isset($var) by $var !== null on line 481
Commits on Mar 30, 2015
  1. Merge pull request #50 from vlmaksime/master

    feulf committed Mar 30, 2015
    root_dir
Commits on Mar 29, 2015
  1. fix

    vlmaksime committed Mar 29, 2015
  2. fixes

    vlmaksime committed Mar 29, 2015
  3. root_dir

    vlmaksime committed Mar 29, 2015
    Added "root_dir" to config. It's need to get correct path to templates
    directory, when php script runs not from root directory.
Commits on Sep 1, 2014
  1. Merge pull request #47 from eliemichel/master

    feulf committed Sep 1, 2014
    Allow RainTPL tags inside urls
  2. Allow RainTPL tags inside urls

    eliemichel committed Sep 1, 2014
     * Swap path replacing and tag splitting in `compileTemplate`.
     * Allow double colons inside urls when it is between curly brackets.
     * Fix #46
Commits on Aug 26, 2014
  1. Merge pull request #45 from eliemichel/master

    feulf committed Aug 26, 2014
    Fix PR #44
Commits on Aug 25, 2014
Commits on Aug 13, 2014
  1. Merge pull request #44 from eliemichel/master

    feulf committed Aug 13, 2014
    Refactor path_replace
Commits on Aug 9, 2014
  1. Fix some little errors

    eliemichel committed Aug 9, 2014
  2. Refactor path_replace

    eliemichel committed Aug 9, 2014
    Separate function to handle proper URL rewriting.
    
    More easy-to-maintain since there is less code duplication.
    More easy to customize (just add a rewriting rule at *one* place,
    saying in `rewrite_url`).
    
    Cleanup regexps:
     * (?:") = "  (not sure)
     * "([^"]+?)" = "([^"]+)" = "(.+?)"  (and anyway, why a '+' and not a '*' ?)
     * Isolate protocol to make it easy to add some of them
    
    Behavior changes:
     * `href=@foo@` is not a way to bypass rewriting anymore. You can still use `href = "foo"` (with spaces)
     * Leading `#` in full URLs (those beginning with http or so) are trimed. This can be easily fixed.
     * New protocols where added: ftp, file, apt, magnet. It is trivial to change it. (see line 658)
     * Paths starting with a `/` are prefixed with base_url only, not base_url/template_dir. This is a wanted improvement.
Commits on Jul 30, 2014
  1. Merge pull request #43 from bennnn/patch-1

    feulf committed Jul 30, 2014
    loop break; functionality
Commits on Jul 29, 2014
  1. loop break; functionality

    bennnn committed Jul 29, 2014
Commits on Jul 28, 2014
  1. Update to the MIT License

    feulf committed Jul 28, 2014
Commits on Sep 20, 2013
  1. Replaced isset($var) by $var !== null on line 481

    Phyks committed Sep 20, 2013
    This allows to iterate through function results (function which returns
    an array for example). See issue
    #35 (comment)
Commits on Aug 7, 2013
  1. Rename README.txt to README.md

    feulf committed Aug 7, 2013
  2. Update README.txt

    feulf committed Aug 7, 2013
Commits on Dec 16, 2012
Commits on Oct 19, 2012
  1. fixed re-assign: assign();

    feulf committed Oct 19, 2012
Commits on Oct 14, 2012
  1. Reduce path improved

    feulf committed Oct 14, 2012
Commits on Sep 4, 2012
  1. Merge pull request #29 from tinchoz49/master

    feulf committed Sep 4, 2012
    fix include cache
Commits on Aug 25, 2012
  1. fix include cache

    Martin Acosta
    Martin Acosta committed Aug 25, 2012
Commits on Jun 28, 2012
  1. {if...}0{/if} now works

    feulf committed Jun 28, 2012
Commits on Jun 22, 2012
  1. Reduce path, reduce /./ to /

    feulf committed Jun 22, 2012
Commits on Jun 16, 2012
  1. Include upper folder works well

    feulf committed Jun 16, 2012
Commits on May 3, 2012
  1. Merge pull request #27 from aseba/master

    feulf committed May 3, 2012
    External URL inclution