2 if (!isset($this->config
->glossary
)) {
3 $this->config
->glossary
= 0;
5 if (!isset($this->config
->type
)) {
6 $this->config
->type
= 0;
9 <table cellpadding=
"9" cellspacing=
"0">
11 <td align=
"right"><?php print_string("title","block_glossary_random") ?>:
</td>
12 <td><input type=
"text" name=
"title" size=
"50" value=
"<?php p($this->config->title) ?>" /></td
>
16 <td align
="right"><?php
print_string("select_glossary","block_glossary_random") ?>:
</td>
17 <td><?php choose_from_menu($glossaries,"glossary",$this->config
->glossary
) ?></td>
21 <td align=
"right"><?php print_string("refresh","block_glossary_random") ?>:
</td>
22 <td><input type=
"text" name=
"refresh" size=
"5" value=
"<?php p($this->config->refresh) ?>" /></td
>
26 <td align
="right"><?php
print_string("type","block_glossary_random") ?>:
</td>
28 choose_from_menu($type, "type", $this->config
->type
, "");
29 helpbutton('newentry', get_string("type","block_glossary_random"), 'glossary');
34 <td align=
"right"><?php print_string("showconcept","block_glossary_random") ?>:
</td>
36 <input type=
"hidden" name=
"showconcept" value=
"0" />
37 <input type=
"checkbox" name=
"showconcept" value=
"1" <?php if(!empty($this->config
->showconcept
)) echo 'checked="checked"'; ?> />
43 <b><?php print_string("whichfooter","block_glossary_random") ?></b></td></tr>
45 <td align=
"right"><?php print_string("askaddentry", "block_glossary_random") ?>:
</td>
46 <td><input type=
"text" name=
"addentry" size=
"80" value=
"<?php p($this->config->addentry) ?>" /></td
></tr
>
48 <td align
="right"><?php
print_string("askviewglossary", "block_glossary_random") ?>:
</td>
49 <td><input type=
"text" name=
"viewglossary" size=
"80" value=
"<?php p($this->config->viewglossary) ?>" /></td
></tr
>
51 <td align
="right"><?php
print_string("askinvisible", "block_glossary_random") ?>:
</td>
52 <td><input type=
"text" name=
"invisible" size=
"80" value=
"<?php p($this->config->invisible) ?>" /></td
></tr
>
55 <td colspan
="2" align
="center"><input type
="submit" value
="<?php print_string("savechanges
") ?>" /></td
></tr
>