/trunk/client/integrateur_wikini/bibliotheque/wikini/handlers/page/deletepage.php |
---|
New file |
0,0 → 1,25 |
<div class="page"> |
<?php |
if ($this->UserIsOwner()) |
{ |
if ($pages = $this->IsOrphanedPage($this->GetPageTag())) |
{ |
foreach ($pages as $page) |
{ |
$this->DeleteOrphanedPage($this->GetPageTag()); |
} |
} |
else |
{ |
print("<i>This is not an orphaned page.</i>"); |
} |
} |
else |
{ |
print("<i>You're not the owner of this page.</i>"); |
} |
?> |
</div> |