Commit 6651f9d6 authored by Nigel McNie's avatar Nigel McNie Committed by Nigel McNie
Browse files

Fixed up the cancel/next buttons

parent 0396b022
{include file="header.tpl"}
<h2>CreateViewStep3</h2>
<h2>{str tag=createviewstep3}</h2>
<table border="1">
<tr>
......
......@@ -27,9 +27,18 @@
define('INTERNAL', 1);
define('MENUITEM', 'view');
require(dirname(dirname(__FILE__)) . '/init.php');
$smarty = smarty(array('collapsabletree'));
$createid = param_integer('createid');
if (param_boolean('back')) {
redirect(get_config('wwwroot') . 'view/create2.php?createid=' . $createid);
}
if (param_boolean('cancel')) {
redirect(get_config('wwwroot') . 'view/');
}
$smarty = smarty(array('collapsabletree'));
$data = $SESSION->get('create_' . $createid);
// Get the list of root things for the tree
......
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