From d84018f58926264922160b5d3182f58a49e55db8 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 13 Apr 2010 10:36:12 +0000 Subject: [PATCH] Added templates git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17608 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../ihtml/themes/modern/copyPasteDialog.tpl | 34 +++++++ .../ihtml/themes/modern/snapshotdialog.tpl | 99 +++++++++++++++++++ 2 files changed, 133 insertions(+) create mode 100644 gosa-core/ihtml/themes/modern/copyPasteDialog.tpl create mode 100644 gosa-core/ihtml/themes/modern/snapshotdialog.tpl diff --git a/gosa-core/ihtml/themes/modern/copyPasteDialog.tpl b/gosa-core/ihtml/themes/modern/copyPasteDialog.tpl new file mode 100644 index 000000000..049b9984c --- /dev/null +++ b/gosa-core/ihtml/themes/modern/copyPasteDialog.tpl @@ -0,0 +1,34 @@ +

{t}Copy & paste wizard{/t}

+ +{$message} +
+
+{if $Complete == false} + {t}Some values need to be unique in the complete directory while some combinations make no sense. GOsa shows the relevant attributes. Please maintain the values below to fullfill the policies.{/t} +
+{t}Remember that some properties like taken snapshots will not be copied!{/t}  +{t}Or if you copy or cut an entry within GOsa and delete the source object, you may get errors while pasting this object again!{/t} + +
+
+ {$AttributesToFix} + {if $SubDialog == false} +
+ +
+   + {if $type == "modified"} + + {/if} + + +
+ {/if} +{else} +
+
+

{t}Operation complete{/t}

+
+   +
+{/if} diff --git a/gosa-core/ihtml/themes/modern/snapshotdialog.tpl b/gosa-core/ihtml/themes/modern/snapshotdialog.tpl new file mode 100644 index 000000000..aee26e6dc --- /dev/null +++ b/gosa-core/ihtml/themes/modern/snapshotdialog.tpl @@ -0,0 +1,99 @@ +{if $RestoreMode} + +

{t}Restoring object snapshots{/t}

+
+
+{t}This procedure will restore a snapshot of the selected object. It will replace the existing object after pressing the restore button.{/t} +
+
+{t}Remember that DNS configuration and database entries could not be restored. For some objects it is only nescessary to open and save them again (goFon), but some entries must be recreated manually (glpi).{/t} +
+
+{t}Don't forget to check references to other objects, for example does the selected printer still exists ?{/t} +
+
+
+ + {if !$restore_deleted} + + + + {/if} + + + + + + +
+ {t}Object{/t}  + {$CurrentDN} +
+
+ {if $CountSnapShots==0} + {t}There is no snapshot available that could be restored{/t} + {else} + {t}Choose a snapshot and click the folder image, to restore the snapshot{/t} + {/if} +
+ {$SnapShotDivlist} +
+ +
+
+ + +
+ +{else} + +

{t}Creating object snapshots{/t}

+
+
+{t}This procedure will create a snapshot of the selected object. It will be stored inside a special branch of your directory system and can be restored later on.{/t} +
+
+{t}Remember that database entries, DNS configurations and possibly created zones in server extensions will not be stored in the snapshot.{/t} +
+
+
+ + + + + + + + + + + + +
+ {t}Object{/t} + + {$CurrentDN} +
+ {t}Timestamp{/t} + + {$CurrentDate} +
+
+ {t}Reason for generating this snapshot{/t}
+ +
+ +
+
+ + + + +
+ + +{/if} -- 2.30.2