Back to my blog Back to my projects

Dokuwiki ODT plugin

Changeset 432af09 for syntax.php


Ignore:
Timestamp:
07/17/10 14:13:24 (3 years ago)
Author:
Aurélien Bompard <aurelien@…>
Branches:
master
Children:
493ed9f
Parents:
f2ec1d8
git-author:
Aurélien Bompard <aurelien@…> (07/17/10 14:13:24)
git-committer:
Aurélien Bompard <aurelien@…> (07/17/10 14:13:24)
Message:

Better handling of the cache system

The template used for the ODT export is now added in the page's dependencies,
so the cached ODT page will not be used if the template has been updated.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • syntax.php

    rfa95b61 r432af09  
    8686            if ($info_type == "template") { // Template-based export 
    8787                $renderer->template = $info_value; 
     88                p_set_metadata($ID, array("relation"=> array("odt"=>array("template"=>$info_value)))); 
    8889            } 
    8990        } 
Note: See TracChangeset for help on using the changeset viewer.