From: <mic...@us...> - 2005-02-28 13:34:00
|
Update of /cvsroot/tikiwiki/tiki In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7887 Modified Files: Tag: BRANCH-1-9 tiki-pagehistory.php Log Message: Revert some; incrementally improve some Index: tiki-pagehistory.php =================================================================== RCS file: /cvsroot/tikiwiki/tiki/tiki-pagehistory.php,v retrieving revision 1.15.2.9 retrieving revision 1.15.2.10 diff -u -d -r1.15.2.9 -r1.15.2.10 --- tiki-pagehistory.php 27 Feb 2005 17:33:14 -0000 1.15.2.9 +++ tiki-pagehistory.php 28 Feb 2005 13:33:50 -0000 1.15.2.10 @@ -72,15 +72,13 @@ } if ($_REQUEST["source"] == $info["version"] || $_REQUEST["source"] == 0 ) { $smarty->assign('sourced', nl2br($info["data"])); - $smarty->assign('source', true); - $smarty->assign('version', $info['version']); + $smarty->assign('source', $info['version']); } else { $version = $histlib->get_version($page, $_REQUEST["source"]); if ($version) { $smarty->assign('sourced', nl2br($version["data"])); - $smarty->assign('source', true); - $smarty->assign('version', $_REQUEST['source']); + $smarty->assign('source', $_REQUEST['source']); } } if ($_REQUEST["source"] == 0) { @@ -96,16 +94,14 @@ if ($_REQUEST["preview"] == $info["version"] || $_REQUEST["preview"] == 0 ) { $previewd = $tikilib->parse_data($info["data"]); $smarty->assign_by_ref('previewd', $previewd); - $smarty->assign('preview', true); - $smarty->assign('version', $info['version']); + $smarty->assign('preview', $info['version']); } else { $version = $histlib->get_version($page, $_REQUEST["preview"]); if ($version) { $previewd = $tikilib->parse_data($version["data"]); $smarty->assign_by_ref('previewd', $previewd); - $smarty->assign('preview', true); - $smarty->assign('version', $_REQUEST["preview"]); + $smarty->assign('preview', $_REQUEST["preview"]); } } if ($_REQUEST["preview"] == 0) { |