1 <div class='default' style='margin:12px;' >
2 <div style='float:left;'>
4 <h2>{t}Configuration File{/t}</h2>
5 <p>
6 {t}GOsa setup has collected all data needed to create an initial configuration file.{/t}
7 </p>
8 <p>
9 {$msg1}
10 </p>
11 <p>
12 <b>{t}Automatically write configuration{/t}</b>
13 </p>
14 <p>
15 {if $writeable}
16 {t}Write configuration file{/t}
17 <input type='submit' name='saveconf' value='{t}Save configuration{/t}'>
19 {if $exists}
20 <br>
21 <input type='hidden' name='create_backup_visible' value='1'>
22 <input {if $create_backup} checked {/if} type='checkbox' value='1' name='create_backup'>
23 {t}Create a backup from existing configuration file{/t}
24 {/if}
26 {if $err_msg != ""}
27 <div style='color:red ; font-weight:bold '>{$err_msg}</div>
28 {else}
29 {if $save_requested}
30 <div style='color:green ; font-weight:bold '>{t}Configuration succesfully written.{/t}</div>
31 {/if}
32 {/if}
34 {if $last_backup_name}
35 <br>
36 <div style='padding-left:20px;'>{t}Last created backup{/t}: <i>{$last_backup_name}</i></div>
37 <br>
38 {/if}
42 {if $exists}
43 <br>
44 <br>
45 <b>{t}Use GOsa with current configuration file{/t}</b>
46 <br>
47 <input type='submit' name='use_gosa' value='{t}Use GOsa now{/t}'>
48 {/if}
49 {else}
50 <div style='font-weight: bold; color: red;'>{t}Can't write configuration file, please check permissions.{/t}</div>
51 <pre>
52 {$msg_permissions}
53 {$CONFIG_DIR}
54 {$CONFIG_DIR}/{$CONFIG_FILE}
55 </pre>
56 {/if}
57 <br>
58 <p>
59 <b>{t}Manually create configuration file{/t}</b>
60 </p>
61 <p>
62 {t}Download the configuration file{/t}
63 <input type='submit' name='getconf' value='{t}Download configuration{/t}'>
64 </p>
65 <p>
66 {$msg2}
67 </p>
68 <pre>
69 # chown root.{$webgroup} {$CONFIG_DIR}/{$CONFIG_FILE}
70 # chmod 640 {$CONFIG_DIR}/{$CONFIG_FILE}
71 </pre>
75 </div>
76 </div>
77 <input type='hidden' value='1' name='step8_posted'>