<?php
- if (!isset($user->htmleditor)) {
+ if (!isset($user->htmleDITOr)) {
$user->htmleditor = 1;
}
if (!isset($user->picture)) {
?>
</td>
</tr>
-<?php } ?>
+<?php } else if (empty($CFG->gdversion) and isadmin()) { ?>
+<tr valign=top>
+ <td align=right><p><?php print_string("newpicture") ?>:</td>
+ <td>
+ <?php
+ echo "<a href=\"$CFG->wwwroot/$CFG->admin/config.php\">";
+ print_string('gdnot');
+ echo "</a>";
+ ?>
+ </td>
+</tr>
+<?php } ?>
<tr valign=top>
<td align=right><p><?php print_string("webpage") ?>:</td>