Completed
Push — develop ( ff0f24...b7393c )
by Patrick
09:27
created

_admin/capthca_edit.php (1 issue)

Labels
Severity

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
ini_set('display_errors', 1);
3
error_reporting(E_ALL);
4
require_once('class.ProfilesAdminPage.php');
5
$page = new ProfilesAdminPage('Burning Flipside Profiles - Admin');
6
7
$page->addJSByURI('js/captcha_edit.js');
0 ignored issues
show
The method addJSByURI() does not seem to exist on object<ProfilesAdminPage>.

This check looks for calls to methods that do not seem to exist on a given type. It looks for the method on the type itself as well as in inherited classes or implemented interfaces.

This is most likely a typographical error or the method has been renamed.

Loading history...
8
9
    $page->body .= '
10
<div id="content">
11
    Select CAPTCHA: <select id="captcha_select">
12
        <option value="new">Add new...</option>
13
    </select>
14
    <form method="post" id="form">
15
    <fieldset id="captcha_data">
16
        <legend id="captcha"></legend>
17
        <table>
18
            <tr>
19
                <th>ID:</th>
20
                <td><label id="id"></label><input type="hidden" name="id" id="cid"/></td>
21
            </tr>
22
            <tr>
23
                <th>Question:</th>
24
                <td><input type="text" name="question" id="question" size="100"/></td>
25
            </tr>
26
            <tr>
27
                <th>Answer:</th>
28
                <td><input type="text" name="answer" id="answer" size="100"/></td>
29
            </tr>
30
            <tr>
31
                <th>Hint:</th>
32
                <td><input type="text" name="hint" id="hint" size="100"/></td>
33
            </tr>
34
            <tr>
35
                <td><input type="submit" value="Submit Changes" id="submit"/></td>
36
            </tr>
37
        </table>
38
    </fieldset>
39
    </form>
40
</div>';
41
42
$page->printPage();
43
/* vim: set tabstop=4 shiftwidth=4 expandtab: */
44