cryptonas/plugins/volume_automount/volume_automount.cs
lars 3e1bfda98e added some exception catching for writing setting files
added help texts for all plugins
fixed 'encryption status' bug in 'volume_details'
improved rendering of 'volume_properties' and 'user_manager'
chmod root directory of mounted volumes to 0777 to avoid later permission problems for samba or WebDAV
2006-12-13 10:01:58 +00:00

26 lines
1.1 KiB
C#

<?cs # $Id$ ?>
<<?cs var:plugin_heading ?>><?cs var:html_escape(Lang.Plugins.volume_automount.Title.AutoMountVolume) ?></<?cs var:plugin_heading ?>>
<?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.volume_automount.Help.AutoMount) ?>
<?cs if:!Data.CurrentDisk.encryption ?>
<p><?cs call:print_form_header("automount", "volume_automount") ?>
<input type="hidden" name="device" value="<?cs var:html_escape(Data.CurrentDisk.device) ?>" />
<?cs if:Data.Plugins.volume_automount.automount_setting ?>
<?cs var:html_escape(Lang.Plugins.volume_automount.Text.AutoIsOn) ?>
<input type="hidden" name="action" value="disable" />
<button type="submit"><?cs var:html_escape(Lang.Plugins.volume_automount.Button.AutoMountOff) ?></button>
<?cs else ?>
<?cs var:html_escape(Lang.Plugins.volume_automount.Text.AutoIsOff) ?>
<input type="hidden" name="action" value="enable" />
<button type="submit"><?cs var:html_escape(Lang.Plugins.volume_automount.Button.AutoMountOn) ?></button>
<?cs /if ?>
</form></p>
<?cs else ?>
<?cs call:hint("Plugins.volume_automount.NoAutoMountForEncryptedVolumes") ?>
<?cs /if ?>