~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to www/php/phpBB3/adm/style/acp_ranks.html

  • Committer: William Grant
  • Date: 2009-02-23 23:47:02 UTC
  • mfrom: (1099.1.211 new-dispatch)
  • Revision ID: grantw@unimelb.edu.au-20090223234702-db4b1llly46ignwo
Merge from lp:~ivle-dev/ivle/new-dispatch.

Pretty much everything changes. Reread the setup docs. Backup your databases.
Every file is now in a different installed location, the configuration system
is rewritten, the dispatch system is rewritten, URLs are different, the
database is different, worksheets and exercises are no longer on the
filesystem, we use a templating engine, jail service protocols are rewritten,
we don't repeat ourselves, we have authorization rewritten, phpBB is gone,
and probably lots of other things that I cannot remember.

This is certainly the biggest commit I have ever made, and hopefully
the largest I ever will.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!-- INCLUDE overall_header.html -->
2
 
 
3
 
<a name="maincontent"></a>
4
 
 
5
 
<!-- IF S_EDIT -->
6
 
 
7
 
        <a href="{U_BACK}" style="float: {S_CONTENT_FLOW_END};">&laquo; {L_BACK}</a>
8
 
 
9
 
        <script type="text/javascript">
10
 
        // <![CDATA[
11
 
                function update_image(newimage)
12
 
                {
13
 
                        document.getElementById('image').src = (newimage) ? "{RANKS_PATH}/" + encodeURI(newimage) : "./images/spacer.gif";
14
 
                }
15
 
 
16
 
        // ]]>
17
 
        </script>
18
 
 
19
 
        <h1>{L_ACP_MANAGE_RANKS}</h1>
20
 
 
21
 
        <p>{L_ACP_RANKS_EXPLAIN}</p>
22
 
 
23
 
        <form id="acp_ranks" method="post" action="{U_ACTION}">
24
 
        
25
 
        <fieldset>
26
 
                <legend>{L_ACP_RANKS}</legend>
27
 
        <dl>
28
 
                <dt><label for="title">{L_RANK_TITLE}:</label></dt>
29
 
                <dd><input name="title" type="text" id="title" value="{RANK_TITLE}" maxlength="255" /></dd>
30
 
        </dl>
31
 
        <dl>
32
 
                <dt><label for="rank_image">{L_RANK_IMAGE}:</label></dt>
33
 
                <dd><select name="rank_image" id="rank_image" onchange="update_image(this.options[selectedIndex].value);">{S_FILENAME_LIST}</select></dd>
34
 
                <dd><img src="{RANK_IMAGE}" id="image" alt="" /></dd>
35
 
        </dl>
36
 
        <dl>
37
 
                <dt><label for="special_rank">{L_RANK_SPECIAL}:</label></dt>
38
 
                <dd><label><input onchange="dE('posts', -1)" type="radio" class="radio" name="special_rank" value="1" id="special_rank"<!-- IF S_SPECIAL_RANK --> checked="checked"<!-- ENDIF --> />{L_YES}</label>
39
 
                        <label><input onchange="dE('posts', 1)" type="radio" class="radio" name="special_rank" value="0"<!-- IF not S_SPECIAL_RANK --> checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
40
 
        </dl>
41
 
        <!-- IF S_SPECIAL_RANK --><div id="posts" style="display: none;"><!-- ELSE --><div id="posts"><!-- ENDIF -->
42
 
        <dl>
43
 
                <dt><label for="min_posts">{L_RANK_MINIMUM}:</label></dt>
44
 
                <dd><input name="min_posts" type="text" id="min_posts" maxlength="10" value="{MIN_POSTS}" /></dd>
45
 
        </dl>
46
 
        </div>
47
 
 
48
 
        <p class="submit-buttons">
49
 
                <input type="hidden" name="action" value="save" />
50
 
 
51
 
                <input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />&nbsp;
52
 
                <input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
53
 
                {S_FORM_TOKEN}
54
 
        </p>
55
 
        </fieldset>
56
 
        </form>
57
 
 
58
 
<!-- ELSE -->
59
 
 
60
 
        <h1>{L_ACP_MANAGE_RANKS}</h1>
61
 
 
62
 
        <p>{L_ACP_RANKS_EXPLAIN}</p>
63
 
 
64
 
        <form id="acp_ranks" method="post" action="{U_ACTION}">
65
 
        <fieldset class="tabulated">
66
 
        <legend>{L_ACP_MANAGE_RANKS}</legend>
67
 
 
68
 
        <table cellspacing="1">
69
 
        <thead>
70
 
        <tr>
71
 
                <th>{L_RANK_IMAGE}</th>
72
 
                <th>{L_RANK_TITLE}</th>
73
 
                <th>{L_RANK_MINIMUM}</th>
74
 
                <th>{L_ACTION}</th>
75
 
        </tr>
76
 
        </thead>
77
 
        <tbody>
78
 
        <!-- BEGIN ranks -->
79
 
                <!-- IF ranks.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF -->
80
 
                <td style="text-align: center;"><!-- IF ranks.S_RANK_IMAGE --><img src="{ranks.RANK_IMAGE}" alt="{ranks.RANK_TITLE}" title="{ranks.RANK_TITLE}" /><!-- ELSE -->&nbsp; - &nbsp;<!-- ENDIF --></td>
81
 
                <td style="text-align: center;">{ranks.RANK_TITLE}</td>
82
 
                <td style="text-align: center;"><!-- IF ranks.S_SPECIAL_RANK -->&nbsp; - &nbsp;<!-- ELSE -->{ranks.MIN_POSTS}<!-- ENDIF --></td>
83
 
                <td style="text-align: center;"><a href="{ranks.U_EDIT}">{ICON_EDIT}</a> <a href="{ranks.U_DELETE}">{ICON_DELETE}</a></td>
84
 
        </tr>
85
 
        <!-- END ranks -->
86
 
        </tbody>
87
 
        </table>
88
 
 
89
 
        <p class="quick">
90
 
                <input class="button2" name="add" type="submit" value="{L_ADD_RANK}" />
91
 
                {S_FORM_TOKEN}
92
 
        </p>
93
 
        </fieldset>
94
 
        </form>
95
 
 
96
 
<!-- ENDIF -->
97
 
 
98
 
<!-- INCLUDE overall_footer.html -->