cryptonas-archive/v0.3.1/plugins/volume_rename/volume_rename.cs

21 lines
941 B
C#
Raw Normal View History

2006-12-20 04:29:20 +01:00
<?cs # $Id$ ?>
<<?cs var:plugin_heading ?>><?cs var:html_escape(Lang.Plugins.volume_rename.Title.ChangeVolumeName) ?></<?cs var:plugin_heading ?>>
<?cs call:handle_messages() ?>
<?cs call:show_help(Lang.Plugins.volume_rename.Help.Rename) ?>
<?cs if:Data.CurrentDisk.active ?>
<?cs call:hint("Plugins.volume_rename.NoRenameIfActive") ?>
<?cs else ?>
<?cs call:print_form_header("set_name", "volume_rename") ?>
<p><label for="vol_name"><?cs var:html_escape(Lang.Text.ContainerName) ?>: </label>
<input type="text" name="vol_name" tabindex="10" size="15" id="vol_name" value="<?cs var:html_escape(Data.CurrentDisk.name) ?>" />
<input type="hidden" name="device" value="<?cs var:html_escape(Data.CurrentDisk.device) ?>" />
<input type="hidden" name="store" value="set_name" />
<button type="submit" tabindex="11"><?cs var:html_escape(Lang.Plugins.volume_rename.Button.ContainerNameSet) ?></button></p>
</form>
<?cs /if ?>