hi,
I just added some code to the MonoBook.php.
function updateBox() {
?>
<div id="p-update" class="portlet">
<h5><label for="updateInput"><?php $this->msg('update') ?></label></h5>
<div id="updateBody" class="pBody">
<form action="..\includes\update\update.php" method="post"
id="updateform"><div>
<input type='submit' name="update" class="updatehButton"
id="updateButton" value="<?php $this->msg('dataupdate') ?>" />
</div></form>
</div>
</div>
<?php
}
This can add a button to the sidebar,but when i clicked the button,it can't
link to the update.php. It shows error instead"You can not access the
specified web page!".
update.php
just has the content of
<?php
echo "hello";
Why do these things happen? If I want to do the right thing that when I
click the button then there'll link to the page that has the same page
performance as wiki.
What should I do?
Hlep me !
Thanks a lot.
vanessa lee