Commit e56c67dff3853535c2b34646272f2cd6ae2a5fe6
1 parent
2f8d5912
Commit features
Showing
3 changed files
with
3 additions
and
2 deletions
lib/smbind.class.php
... | ... | @@ -211,7 +211,7 @@ |
211 | 211 | if (is_string($path)) { |
212 | 212 | $_CONF['smbind_ng'] = $path; |
213 | 213 | $_CONF['title'] = "SMBind-ng"; |
214 | - $_CONF['version'] = 'v0.91c'; | |
214 | + $_CONF['version'] = 'v0.91d'; | |
215 | 215 | $_CONF['footer'] = $_CONF['title'] . $_CONF['version']; |
216 | 216 | $_CONF['marker'] = "Forked by PtY 2015(GPL)"; |
217 | 217 | $_CONF['template'] = "default"; | ... | ... |
src/include.php
templates/mainpage.tpl
... | ... | @@ -4,7 +4,7 @@ |
4 | 4 | {if $status == 0}DNS Service is <b>running</b>.{/if} |
5 | 5 | {if $status == 1}DNS Service is <b><span class=attention>stopped</span></b>.{/if} |
6 | 6 | <p>You maintain <strong>{$zones}</strong> master zone{if $zones > 1}s{/if} and <strong>{$slave_zones}</strong> slave zone{if $slave_zones > 1}s{/if}.</p> |
7 | -{if $bad || $bad_slaves}<h4>Zones need to be check or modify</h4><p>{if $bad}Master: {section name=i loop=$bad}<a class=attention href="{$src}record.php?i={$bad[i].id}"><b>{$bad[i].name}</b></a> {/section}<br />{/if} | |
7 | +{if $bad || $bad_slaves}<h4>Zones need to be check or modify</h4><p>{if $bad}Master: {section name=i loop=$bad}<a class=attention title="Modify" alt="Modify" href="{$src}record.php?i={$bad[i].id}"><b>{$bad[i].name}</b></a>|<a class=attention title="Check" alt="Check" href="{$src}zonelist.php?i={$bad[i].id}&check=y"><b>✓</b></a> {/section}<br />{/if} | |
8 | 8 | {if $bad_slaves}Slave: {section name=i loop=$bad_slaves}<a class=attention href="{$src}slave_record.php?i={$bad_slaves[i].id}"><b>{$bad_slaves[i].name}</b></a> {/section}{/if}</p>{/if} |
9 | 9 | {if $comm || $comm_slaves}<h4>Zones need to be commit</h4><p>{if $comm}Master: {section name=i loop=$comm}<a class=attention href="{$src}record.php?i={$comm[i].id}"><b>{$comm[i].name}</b></a> {/section}<br />{/if} |
10 | 10 | {if $comm_slaves}Slave: {section name=i loop=$comm_slaves}<a class=attention href="{$src}slave_record.php?i={$comm_slaves[i].id}"><b>{$comm_slaves[i].name}</b></a> {/section}{/if}</p>{/if} | ... | ... |