From fdff598a29a5b5c6ea6c2ed18fbecdf21fe0074d Mon Sep 17 00:00:00 2001 From: lars Date: Wed, 15 Nov 2006 11:46:32 +0000 Subject: [PATCH] moved message handling back to each plugin adapted plugin interface specification replaced some more transparent png files with gif added "Get help" links to all plugins --- plugins/date/form_date.cs | 8 ++++++-- plugins/disks/disks.cs | 2 ++ plugins/help/doc.cs | 2 ++ plugins/language_selection/language_selection.cs | 2 ++ plugins/logs/show_log.cs | 8 ++++---- plugins/network/form_network.cs | 2 ++ plugins/partition/select_device.cs | 4 ++++ plugins/partition/set_partitions.cs | 4 ++++ plugins/partition/show_format_progress.cs | 2 ++ plugins/plugin-interface.txt | 1 + plugins/plugin_manager/plugin_list.cs | 12 ++++++++---- plugins/shutdown/form_shutdown.cs | 9 +++++++-- plugins/shutdown/progress_reboot.cs | 2 ++ plugins/shutdown/progress_shutdown.cs | 2 ++ plugins/system_preferences/show_plugins.cs | 2 ++ plugins/user_manager/user_list.cs | 4 +++- plugins/volume_automount/volume_automount.cs | 4 ++++ plugins/volume_chpasswd/volume_chpasswd.cs | 4 ++++ plugins/volume_details/volume_details.cs | 2 ++ plugins/volume_format_fs/volume_format.cs | 4 ++++ plugins/volume_format_fs/volume_format_luks.cs | 4 ++++ plugins/volume_mount/volume_mount.cs | 4 ++++ plugins/volume_mount/volume_umount.cs | 4 ++++ plugins/volume_props/volume_properties.cs | 2 ++ plugins/volume_rename/volume_rename.cs | 4 ++++ 25 files changed, 85 insertions(+), 13 deletions(-) diff --git a/plugins/date/form_date.cs b/plugins/date/form_date.cs index fe378b1..ea2c8e6 100644 --- a/plugins/date/form_date.cs +++ b/plugins/date/form_date.cs @@ -2,6 +2,8 @@

+ +


@@ -34,9 +36,11 @@ else ?>

- +

- +

+ + diff --git a/plugins/disks/disks.cs b/plugins/disks/disks.cs index 099d77e..8857774 100644 --- a/plugins/disks/disks.cs +++ b/plugins/disks/disks.cs @@ -2,6 +2,8 @@

+ + diff --git a/plugins/help/doc.cs b/plugins/help/doc.cs index af93071..f163cb7 100644 --- a/plugins/help/doc.cs +++ b/plugins/help/doc.cs @@ -1,5 +1,7 @@ + +
diff --git a/plugins/language_selection/language_selection.cs b/plugins/language_selection/language_selection.cs index cae329c..4e7b213 100644 --- a/plugins/language_selection/language_selection.cs +++ b/plugins/language_selection/language_selection.cs @@ -2,6 +2,8 @@

+ +
    diff --git a/plugins/logs/show_log.cs b/plugins/logs/show_log.cs index 623b4b7..d6f225a 100644 --- a/plugins/logs/show_log.cs +++ b/plugins/logs/show_log.cs @@ -4,12 +4,12 @@ +

    + + +
    -

    - - -

    diff --git a/plugins/network/form_network.cs b/plugins/network/form_network.cs index 107459d..509e2d5 100644 --- a/plugins/network/form_network.cs +++ b/plugins/network/form_network.cs @@ -6,6 +6,8 @@

    + +

    diff --git a/plugins/partition/select_device.cs b/plugins/partition/select_device.cs index adbe58a..6458bff 100644 --- a/plugins/partition/select_device.cs +++ b/plugins/partition/select_device.cs @@ -4,6 +4,8 @@

    + + 0 ?> @@ -41,3 +43,5 @@ + + diff --git a/plugins/partition/set_partitions.cs b/plugins/partition/set_partitions.cs index 5d52c61..6e80b4d 100644 --- a/plugins/partition/set_partitions.cs +++ b/plugins/partition/set_partitions.cs @@ -7,6 +7,8 @@

    + +
    @@ -74,5 +76,7 @@

    + + diff --git a/plugins/partition/show_format_progress.cs b/plugins/partition/show_format_progress.cs index d5530ab..126d37b 100644 --- a/plugins/partition/show_format_progress.cs +++ b/plugins/partition/show_format_progress.cs @@ -4,6 +4,8 @@

    + +

      diff --git a/plugins/plugin-interface.txt b/plugins/plugin-interface.txt index ef0de4b..a90f379 100644 --- a/plugins/plugin-interface.txt +++ b/plugins/plugin-interface.txt @@ -58,6 +58,7 @@ Language file structure: Clearsilver template: - should start with a "

      " tag (volume plugins: "h3") + - the title should be followd by '' - links to the plugin (e.g. in form headers) could look like the following: diff --git a/plugins/plugin_manager/plugin_list.cs b/plugins/plugin_manager/plugin_list.cs index b0c8b82..6fbd194 100644 --- a/plugins/plugin_manager/plugin_list.cs +++ b/plugins/plugin_manager/plugin_list.cs @@ -16,6 +16,7 @@ } table.plugin_list a img { +moved border: none; } @@ -23,6 +24,8 @@

      + + @@ -59,9 +62,9 @@ each:x = Settings.PluginList ?>checked="checked" />
    @@ -98,9 +101,9 @@ each:x = Settings.PluginList ?>checked="checked" /> @@ -113,4 +116,5 @@ each:x = Settings.PluginList ?> + diff --git a/plugins/shutdown/form_shutdown.cs b/plugins/shutdown/form_shutdown.cs index 81e07be..5f80441 100644 --- a/plugins/shutdown/form_shutdown.cs +++ b/plugins/shutdown/form_shutdown.cs @@ -2,12 +2,17 @@

    + + + + + diff --git a/plugins/shutdown/progress_reboot.cs b/plugins/shutdown/progress_reboot.cs index 3e5eba6..d36ce78 100644 --- a/plugins/shutdown/progress_reboot.cs +++ b/plugins/shutdown/progress_reboot.cs @@ -2,3 +2,5 @@

    + + diff --git a/plugins/shutdown/progress_shutdown.cs b/plugins/shutdown/progress_shutdown.cs index a0d1aad..a4afd10 100644 --- a/plugins/shutdown/progress_shutdown.cs +++ b/plugins/shutdown/progress_shutdown.cs @@ -2,3 +2,5 @@

    + + diff --git a/plugins/system_preferences/show_plugins.cs b/plugins/system_preferences/show_plugins.cs index a38ab79..6946f78 100644 --- a/plugins/system_preferences/show_plugins.cs +++ b/plugins/system_preferences/show_plugins.cs @@ -2,6 +2,8 @@

    + + - +

    @@ -72,3 +72,5 @@
    &x=#volume_plugins"> - <?cs var:html_escape(Lang.Plugins.plugin_manager.Button.Down) ?> + <?cs var:html_escape(Lang.Plugins.plugin_manager.Button.Down) ?> &x=#volume_plugins" > - <?cs var:html_escape(Lang.Plugins.plugin_manager.Button.Up) ?> + <?cs var:html_escape(Lang.Plugins.plugin_manager.Button.Up) ?>
    &x=#system_plugins"> - <?cs var:html_escape(Lang.Plugins.plugin_manager.Button.Down) ?> + <?cs var:html_escape(Lang.Plugins.plugin_manager.Button.Down) ?> &x=#" > - <?cs var:html_escape(Lang.Plugins.plugin_manager.Button.Up) ?> + <?cs var:html_escape(Lang.Plugins.plugin_manager.Button.Up) ?>
    + + diff --git a/plugins/volume_automount/volume_automount.cs b/plugins/volume_automount/volume_automount.cs index 5c57ca9..9bb26e1 100644 --- a/plugins/volume_automount/volume_automount.cs +++ b/plugins/volume_automount/volume_automount.cs @@ -2,6 +2,8 @@

    + +

    @@ -19,3 +21,5 @@ + + diff --git a/plugins/volume_chpasswd/volume_chpasswd.cs b/plugins/volume_chpasswd/volume_chpasswd.cs index 92395e1..bdd8823 100644 --- a/plugins/volume_chpasswd/volume_chpasswd.cs +++ b/plugins/volume_chpasswd/volume_chpasswd.cs @@ -2,6 +2,8 @@

    + + @@ -31,3 +33,5 @@ + + diff --git a/plugins/volume_details/volume_details.cs b/plugins/volume_details/volume_details.cs index 5be6f9f..4df7ed5 100644 --- a/plugins/volume_details/volume_details.cs +++ b/plugins/volume_details/volume_details.cs @@ -2,6 +2,8 @@

    + +
    • :
    • :
    • diff --git a/plugins/volume_format_fs/volume_format.cs b/plugins/volume_format_fs/volume_format.cs index a781e9f..0578974 100644 --- a/plugins/volume_format_fs/volume_format.cs +++ b/plugins/volume_format_fs/volume_format.cs @@ -2,6 +2,8 @@

      + + @@ -30,3 +32,5 @@ + + diff --git a/plugins/volume_format_fs/volume_format_luks.cs b/plugins/volume_format_fs/volume_format_luks.cs index fe13884..90f1c12 100644 --- a/plugins/volume_format_fs/volume_format_luks.cs +++ b/plugins/volume_format_fs/volume_format_luks.cs @@ -2,6 +2,8 @@

      + + @@ -25,3 +27,5 @@ + + diff --git a/plugins/volume_mount/volume_mount.cs b/plugins/volume_mount/volume_mount.cs index fbd7301..b898ddf 100644 --- a/plugins/volume_mount/volume_mount.cs +++ b/plugins/volume_mount/volume_mount.cs @@ -1,5 +1,7 @@

      + +

      @@ -14,3 +16,5 @@

      + + diff --git a/plugins/volume_mount/volume_umount.cs b/plugins/volume_mount/volume_umount.cs index 31dbe6d..2a365ac 100644 --- a/plugins/volume_mount/volume_umount.cs +++ b/plugins/volume_mount/volume_umount.cs @@ -1,8 +1,12 @@

      + +

      + + diff --git a/plugins/volume_props/volume_properties.cs b/plugins/volume_props/volume_properties.cs index ef107f2..01c7ee8 100644 --- a/plugins/volume_props/volume_properties.cs +++ b/plugins/volume_props/volume_properties.cs @@ -2,6 +2,8 @@

      + + diff --git a/plugins/volume_rename/volume_rename.cs b/plugins/volume_rename/volume_rename.cs index cbea4dc..edbe42d 100644 --- a/plugins/volume_rename/volume_rename.cs +++ b/plugins/volume_rename/volume_rename.cs @@ -2,6 +2,8 @@

      + + @@ -14,3 +16,5 @@

      + +