some cleaning, removed config.html for admin
[moodle.git] / blog / preferences.html
1 <?php
2     // print out the extra form element needed to support post previews
3     blog_print_preview_form($bloginfo->userid);
4 ?>
6 <form method="post" action="preferences.php" name="entry" id="entry">
7 <input type="hidden" name="referrer" value="<?php echo $referrer; ?>" />
8 <table cellpadding="9" cellspacing="0">
9 <tr>
10     <td><?php print_string('pagesize', 'blog');?>:</td>
11     <td><input type="text" size="32" maxlength="128" name="pagesize" value="<?php echo get_user_preferences('blogpagesize',8);?>" />
12     </td>
13 </tr>
14 <?php  if (!empty($CFG->allowblogthemes)) { ?>
15 <tr valign="top">
16     <td align="right"> <?php print_string("forcetheme") ?>: </td>
17     <td>
18       <?php
19          $themes[''] = get_string("forceno");
20          $themes += get_list_of_themes();
21          choose_from_menu($themes, 'theme', $bloginfo->get_blog_theme(), "", "", "");
22       ?>
23     </td>
24 </tr>
25 <?php } ?>
26 <tr>
27     <td colspan="2" align="center">
28         <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
29 </tr>
30 </table>
31 </form>