equal
deleted
inserted
replaced
467 die('userlist = new Array(); namelist = new Array(); errorstring=\'No page matches found.\''); |
467 die('userlist = new Array(); namelist = new Array(); errorstring=\'No page matches found.\''); |
468 } |
468 } |
469 break; |
469 break; |
470 case "preview": |
470 case "preview": |
471 require_once(ENANO_ROOT.'/includes/pageutils.php'); |
471 require_once(ENANO_ROOT.'/includes/pageutils.php'); |
|
472 $template->init_vars(); |
472 echo PageUtils::genPreview($_POST['text']); |
473 echo PageUtils::genPreview($_POST['text']); |
473 break; |
474 break; |
474 case "pagediff": |
475 case "pagediff": |
475 require_once(ENANO_ROOT.'/includes/pageutils.php'); |
476 require_once(ENANO_ROOT.'/includes/pageutils.php'); |
476 $id1 = ( isset($_GET['diff1']) ) ? (int)$_GET['diff1'] : false; |
477 $id1 = ( isset($_GET['diff1']) ) ? (int)$_GET['diff1'] : false; |