File tree Expand file tree Collapse file tree 2 files changed +29
-3
lines changed
modules/servers/namecranemail Expand file tree Collapse file tree 2 files changed +29
-3
lines changed Original file line number Diff line number Diff line change @@ -229,14 +229,15 @@ function namecranemail_ClientArea($vars) {
229229 if (!$ stats ['status ' ]) {
230230 $ error = 'Couldn \'t get domain statistics. ' ;
231231 }
232-
232+
233233 return [
234234 'templatefile ' => 'templates/clientarea ' ,
235235 'vars ' => [
236236 'vars ' => $ vars ,
237237 'error ' => $ error ,
238238 'info ' => $ stats ['data ' ]['data ' ],
239- 'dns ' => $ stats ['data ' ]['data ' ]['dns ' ]
239+ 'dns ' => $ stats ['data ' ]['data ' ]['dns ' ],
240+ 'dkim ' => $ stats ['data ' ]['data ' ]['dkim ' ]
240241 ]
241242 ];
242243
Original file line number Diff line number Diff line change 1818 <a class =" nav-link active" href =" #" data-toggle =" tab" data-target =" #nav-resources" role =" tab" aria-controls =" nav-home" aria-selected =" true" >Resource Usage</a >
1919 </li >
2020 <li class =" nav-item" >
21- <a class =" nav-link" href =" #" data-toggle =" tab" data-target =" #nav-dns" role =" tab" aria-controls =" nav-home" aria-selected =" true" >DNS Records</a >
21+ <a class =" nav-link" href =" #" data-toggle =" tab" data-target =" #nav-dns" role =" tab" aria-controls =" nav-home" aria-selected =" true" >DNS Records</a >
2222 </li >
23+ { if $dkim }
24+ <li class =" nav-item" >
25+ <a class =" nav-link" href =" #" data-toggle =" tab" data-target =" #nav-dkim" role =" tab" aria-controls =" nav-home" aria-selected =" true" >DKIM Records</a >
26+ </li >
27+ { /if }
2328</ul >
2429<div class =" tab-content" id =" nav-tabContent" >
2530 <div class =" tab-pane fade show active" id =" nav-resources" role =" tabpanel" style =" padding-top : 10px ;" >
9297 </tbody >
9398 </table >
9499 </div >
100+ { if $dkim }
101+ <div class =" tab-pane fade" id =" nav-dkim" role =" tabpanel" style =" padding-top : 10px ;" >
102+ <table cellspacing =" 0" cellpadding =" 3" >
103+ <thead >
104+ <th >Type</th >
105+ <th >Name / Host</th >
106+ <th >Value</th >
107+ </thead >
108+ <tbody >
109+ <tr >
110+ <td >TXT</td >
111+ <td >{ $dkim [' selector' ]} </td >
112+ <td >
113+ <textarea class =" form-control" rows =" 12" disabled >v=DKIM1;k=rsa;h={ $dkim [' algo' ]} ;p={ $dkim [' key' ]} </textarea >
114+ </td >
115+ </tr >
116+ </tbody >
117+ </table >
118+ </div >
119+ { /if }
95120</div >
96121{ /if }
You can’t perform that action at this time.
0 commit comments