1 <table cellpadding=
"9" cellspacing=
"0">
3 <td align=
"right"><?php print_string('configtitle', 'block_tag_flickr'); ?>:
</td>
4 <td><input type=
"text" name=
"title" size=
"30" value=
"<?php echo isset($this->config->title)?p($this->config->title):''; ?>" /></td
>
7 <td align
="right"><?php
print_string('numberofphotos', 'block_tag_flickr'); ?>:
</td>
9 <input type=
"text" name=
"numberofphotos" size=
"5" value=
"<?php echo isset($this->config->numberofphotos)?p($this->config->numberofphotos):''; ?>" />
13 <td align
="right"><?php
print_string('includerelatedtags', 'block_tag_flickr'); ?>:
</td>
16 if (isset($this->config
) && isset($this->config
->includerelatedtags
)) {
17 $selected = $this->config
->includerelatedtags
;
21 $options = array ( '0' => get_string('no'),
22 '1' => get_string('yes') );
24 choose_from_menu ($options, 'includerelatedtags', $selected);
29 <td align=
"right"><?php print_string('sortby', 'block_tag_flickr'); ?>:
</td>
32 if (isset($this->config
) && isset($this->config
->sortby
)) {
33 $selected = $this->config
->sortby
;
35 $selected = 'relevance';
37 $options = array ( 'date-posted-asc' => get_string('date-posted-asc', 'block_tag_flickr'),
38 'date-posted-desc' => get_string('date-posted-desc', 'block_tag_flickr'),
39 'date-taken-asc' => get_string('date-taken-asc', 'block_tag_flickr'),
40 'date-taken-desc' => get_string('date-taken-desc', 'block_tag_flickr'),
41 'interestingness-asc' => get_string('interestingness-asc', 'block_tag_flickr'),
42 'interestingness-desc' => get_string('interestingness-desc', 'block_tag_flickr'),
43 'relevance' => get_string('relevance', 'block_tag_flickr'),
46 choose_from_menu ($options, 'sortby', $selected);
51 <td align=
"right"><?php print_string('getfromphotoset', 'block_tag_flickr'); ?>:
</td>
52 <td><input type=
"text" name=
"photoset" size=
"20" value=
"<?php echo isset($this->config->photoset)?p($this->config->photoset):''; ?>" /></td
>
55 <td colspan
="3" align
="center">
56 <input type
="submit" value
="<?php print_string('savechanges') ?>" /></td
>