Add "Loaded" flag to the user page.

This commit is contained in:
Vasily Fomin
2014-05-29 17:49:41 +02:00
parent 78f7897dfc
commit 3ad285243d
2 changed files with 38 additions and 0 deletions
@@ -172,6 +172,8 @@
<td>Name</td>
<td>Arguments</td>
<td>Description</td>
<td>Loaded globally</td>
<td>Loaded by networks</td>
</tr>
</thead>
<tbody>
@@ -191,6 +193,22 @@
<? ENDIF ?>
</td>
<td class="mod_descr"><? VAR Description ?></td>
<td align="center">
<? IF LoadedGlobally ?>
<input type="checkbox" name="loaded_globally" id="loaded_globally_<? VAR Name ?>" checked="checked" disabled="disabled"/>
<? ENDIF ?>
</td>
<td align="center">
<? IF LoadedByAllNetworks ?>
<input type="checkbox" name="loaded_by_network" id="loaded_by_net_<? VAR Name ?>" checked="checked" disabled="disabled"/>
<? ELSE IF LoadedBySomeNetworks ?>
<input type="checkbox" name="loaded_by_network" id="loaded_by_net_<? VAR Name ?>" checked="checked" disabled="disabled"/>
<script type="text/javascript">
var checkbox = document.getElementById("loaded_by_net_<? VAR Name ?>");
checkbox.indeterminate = true;
</script>
<? ENDIF ?>
</td>
</tr>
<? ENDLOOP ?>