add function to install wordpress

This commit is contained in:
2015-07-10 22:57:41 +03:00
parent f0746e3178
commit bb6b98a748
2 changed files with 95 additions and 1 deletions

View File

@@ -164,6 +164,29 @@
<button type="submit" name="action" value="deluser">Delete account</button>
</form>
</div> <!-- /hide -->
<!--
WEB SECTION
-->
<p><strong>Web Applications</strong></p>
<!-- INSTALLWP - Install an empty WordPress -->
<b class="switch"><span class="turn_on">&#187;</span><span class="turn_off">&#171;</span> Install WordPress automatically</b>
<div class="hide">
<p>This install WordPress for your automatically. It only works if
your website directory is still empty and you didn't create a
database called #&lt;yourusername#&gt;_wp.</p>
<form action="submit.php" method="post">
<label>Desired WordPress login name:</label>
<input name="user" title="WordPress Login" />
<label>Your full email address:</label>
<input name="pass" title="Email address" />
<br />
<button type="submit" name="action" value="installwp">Install WordPress</button></button>
<!-- Hidden confirmation box -->
<input type="hidden" name="sure" value="yes" />
</form>
</div> <!-- /hide -->
</div> <!-- /gallery -->