Commit 95cb19b7 authored by Nigel McNie's avatar Nigel McNie
Browse files

Put the time the export occured in the footer

parent 9882e683
TODOs for export HTML plugin
============================
* date in the footer
* Resume data export
* blogs - render without javascript
* rewrite all links and images to point to the right places
......
......@@ -134,6 +134,7 @@ class PluginExportHtml extends PluginExport {
$smarty = smarty_core();
$smarty->assign('user', $this->get('user'));
$smarty->assign('rootpath', $rootpath);
$smarty->assign('export_time', $this->export_time);
return $smarty;
}
......
</div>
<div id="footer">
<p>Export generated for {$user|full_name|escape} on DATE, from their portfolio at <a href="{$WWWROOT|escape}">{$WWWROOT|escape}</a></p>
<p>Export generated for {$user|full_name|escape} on {$export_time|format_date}, from their portfolio at <a href="{$WWWROOT|escape}">{$WWWROOT|escape}</a></p>
</div>
</body>
</html>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment