home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2004 April
/
CMCD0404.ISO
/
Software
/
Freeware
/
Programare
/
groupoffice-com-2.01
/
modules
/
wiki
/
action
/
conflict.php
< prev
next >
Wrap
PHP Script
|
2004-03-08
|
747b
|
24 lines
<?php
// $Id: conflict.php,v 1.1 2004/01/12 22:14:04 comsubvie Exp $
require(TemplateDir . '/conflict.php');
// Conflict editor. Someone accidentally almost overwrote something someone
// else just saved.
function action_conflict()
{
global $pagestore, $page, $document, $ParseEngine;
$pg = $pagestore->page($page);
$pg->read();
template_conflict(array('page' => $page,
'text' => $pg->text,
'html' => parseText($pg->text,
$ParseEngine, $page),
'usertext' => $document,
'timestamp' => $pg->time,
'nextver' => $pg->version + 1));
}
?>