removed $SESSION->encoding now replaced by current_charset() and $CFG->unicodedb...
[moodle.git] / blog / config.html
CommitLineData
4a173181 1<?php //$Id$
2/**
3 * config.html -
4 * part of moodle blog module
5 *included from moodle/admin/blog.php.
6 * site administrator site wide preference settings
7 */ ?>
8
9<form method="post" action="blog.php" name="form">
10<table cellpadding="9" cellspacing="0">
11<tr valign="top" align="center">
12 <td colspan="3" align="center">
13 <?php
14 print_string('helpadmin', 'blog');
15 print '&nbsp;&nbsp;';
16 helpbutton('admin', get_string('helpadmin', 'blog'), 'blog');
17 ?>
18 </td>
19</tr>
20<!--
21//templates removed from DB and placed in moodle/theme folder structure instead
22<tr valign="top">
23 <td align="right"><?php print_string('templateadministration', 'blog');?></strong>
24 </td>
25 <td colspan="2">
26 <a href="<?php echo $CFG->wwwroot;?>/blog/admin_tem.php">
27 <?php print_string('managetemplates', 'blog');?></a>
28 </td>
29</tr>
30-->
31<tr valign="top">
32 <td align="right">
33 <p><enable_trackback_in:</p>
34 </td>
35 <td>
36 <?php choose_from_menu ($BLOG_YES_NO_MODES, 'blog_enable_trackback_in', $CFG->blog_enable_trackback_in, '', '', ''); ?>
37 </td>
38 <td>
39 <?php print_string('enabletrackbackindesc', 'blog') ?>
40 </td>
41</tr>
42<tr valign="top">
43 <td align="right">
44 <p>blog_enable_pingback_in:</p>
45 </td>
46 <td>
47 <?php choose_from_menu ($BLOG_YES_NO_MODES, 'blog_enable_pingback_in', $CFG->blog_enable_pingback_in, '', '', ''); ?>
48 </td>
49 <td>
50 <?php print_string('enablepingbackindesc', 'blog') ?>
51 </td>
52</tr>
53
54<tr valign="top">
55 <td align="right">
56 <p>blog_enable_trackback_out:</p>
57 </td>
58 <td>
59 <?php choose_from_menu ($BLOG_YES_NO_MODES, 'blog_enable_trackback_out', $CFG->blog_enable_trackback_out, '', '', ''); ?>
60 </td>
61 <td>
62 <?php print_string('enabletrackbackoutdesc', 'blog') ?>
63 </td>
64</tr>
65<tr valign="top">
66 <td align="right">
67 <p>blog_enable_pingback_out:</p>
68 </td>
69 <td>
70 <?php choose_from_menu ($BLOG_YES_NO_MODES, 'blog_enable_pingback_out', $CFG->blog_enable_pingback_out, '', '', ''); ?>
71 </td>
72 <td>
73 <?php print_string('enablepingbackoutdesc', 'blog') ?>
74 </td>
75</tr>
76
77<tr valign="top">
78 <td align="right"><p>blog_useweblog_rpc:</td>
79 <td>
80 <?php choose_from_menu ($BLOG_YES_NO_MODES, 'blog_useweblog_rpc', $CFG->blog_useweblog_rpc, '', '', ''); ?>
81 </td>
82 <td>
83 <?php print_string('useweblogrpcdesc', 'blog') ?>
84 </td>
85</tr>
86<?php if (! isset($CFG->blog_default_fetch_num_entries) ) { ?>
87 <tr valign="top">
88 <td align="right"><p>blog_default_fetch_num_entries:</td>
89 <td>
90 <input name="blog_default_fetch_num_entries" type="text" size="5" value="<?php
91 if (isset($CFG->blog_default_fetch_num_entries)) {
92 p($CFG->blog_default_fetch_num_entries);
93 }?>" />
94 </td>
95 <td>
96 Default number of entries to display per page
97 <?php print_string('defaultfetchnumentriesdesc', 'blog') ?>
98 </td>
99 </tr>
100<?php } ?>
101<tr valign="top">
102 <td align="right"><p>blog_ratename:</td>
103 <td>
104 <input name="blog_ratename" type="text" size="10" value="<?php
105 if (isset($CFG->blog_ratename)) {
106 p($CFG->blog_ratename);
107 }?>" />
108 </td>
109 <td>
110 <?php print_string('ratenamedesc', 'blog') ?>
111 </td>
112</tr>
113<tr valign="top">
114 <td align="right"><p>blog_anon:</td>
115 <td>
116 <input name="blog_anon" type="text" size="10" value="<?php
117 if (isset($CFG->blog_anon)) {
118 p($CFG->blog_anon);
119 }?>" />
120 </td>
121 <td>
122 <?php print_string('anondesc', 'blog') ?>
123 </td>
124</tr>
125<tr valign="top">
126 <td align="right"><p>blog_default_title:</td>
127 <td>
128 <input name="blog_default_title" type="text" size="10" value="<?php
129 if (isset($CFG->blog_default_title)) {
130 p($CFG->blog_default_title);
131 }?>" />
132 </td>
133 <td>
134 <?php print_string('defaulttitledesc', 'blog') ?>
135 </td>
136</tr>
137<tr valign="top">
138 <td align="right">
139 <p>blog_enable_moderation:</p>
140 </td>
141 <td>
142 <?php choose_from_menu ($BLOG_YES_NO_MODES, 'blog_enable_moderation', $CFG->blog_enable_moderation, '', '', ''); ?>
143 </td>
144 <td>
145 <?php print_string('enablemoderationdesc', 'blog') ?>
146 </td>
147</tr>
148<tr>
149 <td colspan="3" align="center">
150 <input type="submit" value="<?php print_string('savechanges') ?>"></td>
151</tr>
152</table>
153</form>