|
21 | 21 | $ssl_home = ''; |
22 | 22 | } |
23 | 23 | if (strlen($data[$key]['NGINX_EXT']) > 16 ) { |
| 24 | + $nginx_ext_title = str_replace(',', ', ', $data[$key]['NGINX_EXT']); |
24 | 25 | $nginx_ext = substr($data[$key]['NGINX_EXT'], 0, 16); |
25 | 26 | $nginx_ext = trim($nginx_ext, ","); |
26 | 27 | $nginx_ext = str_replace(',', ', ', $nginx_ext); |
27 | 28 | $nginx_ext = $nginx_ext.", ..."; |
28 | 29 | } else { |
| 30 | + $nginx_ext_title = ''; |
29 | 31 | $nginx_ext = str_replace(',', ', ', $data[$key]['NGINX_EXT']); |
30 | 32 | } |
31 | 33 |
|
|
83 | 85 | <td class="data-dotted" width="830px" style="vertical-align:top;"> |
84 | 86 | <table width="830px"><tr> |
85 | 87 | <td></td> |
| 88 | + <?php if (!empty($data[$key]['STATS'])) { |
| 89 | + echo ' <td class="data-controls" width="114px"><img src="/images/new_window.png" width="8px" height="8px">'; |
| 90 | + echo "<a href='http://".$key."/vstats/' target='_blank'> open webstats </a></td>"; |
| 91 | + } ?> |
86 | 92 | <td class="data-controls" width="50px"><img src="/images/edit.png" width="8px" height="8px"><a href="/edit/web/?domain=<?php echo "$key" ?>"> edit</a></td> |
87 | 93 | <td class="data-controls" width="80px"> |
88 | 94 | <img src="/images/suspend.png" width="7px" height="8px"> |
|
127 | 133 | <tr><td class="counter-name" width="40%">SSL Support:</td><td class="counter-value"><?php echo $data[$key]['SSL'] ?></td></tr> |
128 | 134 | <tr><td class="counter-name">SSL Home:</td><td class="counter-value"><?php echo $ssl_home ?></td></tr> |
129 | 135 | <tr><td class="counter-name">Nginx Template:</td><td class="counter-value"><?php echo $data[$key]['NGINX'] ?></td></tr> |
130 | | - <tr><td class="counter-name">Nginx Extentions:</td><td class="counter-value"><?php echo $nginx_ext ?></td></tr> |
| 136 | + <tr><td class="counter-name">Nginx Extentions:</td><td class="counter-value" <?php if (!empty($nginx_ext_title)) echo "title='".$nginx_ext_title."'" ?>><?php echo $nginx_ext ?></td></tr> |
131 | 137 | </table> |
132 | 138 | </td> |
133 | 139 | </tr> |
|
0 commit comments