Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
433 ddelon 1
<div class="page">
2
<?php
3
 
4
if ($this->UserIsOwner())
5
{
6
	if ($pages = $this->IsOrphanedPage($this->GetPageTag()))
7
	{
8
		foreach ($pages as $page)
9
		{
10
			$this->DeleteOrphanedPage($this->GetPageTag());
11
		}
12
	}
13
	else
14
	{
15
		print("<i>This is not an orphaned page.</i>");
16
	}
17
 
18
}
19
else
20
{
21
	print("<i>You're not the owner of this page.</i>");
22
}
23
 
24
?>
25
</div>