Commit ca3c48e9 authored by lrargerich's avatar lrargerich

Edit templates feature fixed...

parent 7bbd44b9
<a class="pagetitle" href="tiki-edit_templates.php?mode=listing">{tr}Edit templates{/tr}</a><br/><br/>
{if $template}<h2>{tr}Template{/tr}: {$template}</h2>{/if}
{if $mode eq 'listing'}
<h3>{}Available templates{/tr}:</h3>
<h3>{tr}Available templates{/tr}:</h3>
<table border="1" cellpadding="0" cellspacing="0" width="97%">
<td class="heading">{tr}Template{/tr}</a></td>
......@@ -17,6 +17,8 @@ if($tiki_p_edit_templates != 'y') {
if(!isset($_REQUEST["mode"])) {
$mode = 'listing';
} else {
// Validate to prevent editing any file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment