add function to install wordpress
This commit is contained in:
23
index.php
23
index.php
@@ -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">»</span><span class="turn_off">«</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 #<yourusername#>_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 -->
|
||||
|
||||
|
||||
Reference in New Issue
Block a user