From: hickert Date: Tue, 3 Jul 2007 06:28:27 +0000 (+0000) Subject: Updated mime addon X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fd71528ea4c376ea8e506e72249df9f6c4c2efed;p=gosa.git Updated mime addon git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6749 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/html/images/list_mime.png b/html/images/list_mime.png new file mode 100755 index 000000000..8210b43eb Binary files /dev/null and b/html/images/list_mime.png differ diff --git a/html/images/list_new_mime.png b/html/images/list_new_mime.png new file mode 100755 index 000000000..d9afa9a9d Binary files /dev/null and b/html/images/list_new_mime.png differ diff --git a/html/images/mime_embedding.png b/html/images/mime_embedding.png new file mode 100755 index 000000000..1930fb233 Binary files /dev/null and b/html/images/mime_embedding.png differ diff --git a/html/images/mime_leftclick.png b/html/images/mime_leftclick.png new file mode 100755 index 000000000..a8b69f73f Binary files /dev/null and b/html/images/mime_leftclick.png differ diff --git a/html/images/mimetypes.png b/html/images/mimetypes.png new file mode 100755 index 000000000..5031409ba Binary files /dev/null and b/html/images/mimetypes.png differ diff --git a/html/images/select_mimetype.png b/html/images/select_mimetype.png new file mode 100755 index 000000000..8210b43eb Binary files /dev/null and b/html/images/select_mimetype.png differ diff --git a/plugins/admin/mimetypes/class_divListMimeTypes.inc b/plugins/admin/mimetypes/class_divListMimeTypes.inc index 98c1ab0c4..dc4b36ec1 100755 --- a/plugins/admin/mimetypes/class_divListMimeTypes.inc +++ b/plugins/admin/mimetypes/class_divListMimeTypes.inc @@ -95,6 +95,7 @@ class divListMimeTypes extends MultiSelectWindow } } + $listhead = MultiSelectWindow::get_default_header(); $listhead .= "  "; $add_sep = true; diff --git a/plugins/admin/mimetypes/generic.tpl b/plugins/admin/mimetypes/generic.tpl index 36d255361..edd7047ef 100644 --- a/plugins/admin/mimetypes/generic.tpl +++ b/plugins/admin/mimetypes/generic.tpl @@ -12,9 +12,7 @@ {t}Mime type{/t}{$must} -{render acl=$gotoMimeGroupACL} - -{/render} + @@ -22,11 +20,9 @@ {t}Mime group{/t} -{render acl=$gotoMimeGroupACL} - {html_options output=$gotoMimeGroups values=$gotoMimeGroups selected=$gotoMimeGroup} -{/render} @@ -34,28 +30,19 @@ {t}Description{/t} -{render acl=$descriptionACL} - -{/render} + {if !$isReleaseMimeType} - {render acl=$baseACL} - - {/render} - {if !$isReleaseMimeType} - {render acl=$baseACL disable_picture='images/folder_gray.png'} - - {/render} - {/if} + + - {/if} @@ -71,14 +58,10 @@  
-{render acl=$gotoMimeIconACL} - -{/render} -{render acl=$gotoMimeIconACL} - -{/render} @@ -97,28 +80,16 @@ {t}File patterns{/t}{$must} -{render acl=$gotoMimeFilePatternACL} {$gotoMimeFilePatterns} -{/render} -{render acl=$gotoMimeFilePatternACL} - -{/render} -{render acl=$gotoMimeFilePatternACL} - -{/render} + + {t}Applications{/t} -{render acl=$gotoMimeApplicationACL} {$gotoMimeApplications} -{/render} -{render acl=$gotoMimeApplicationACL} - -{/render} -{render acl=$gotoMimeApplicationACL} - -{/render} + + @@ -137,24 +108,18 @@ @@ -163,17 +128,11 @@
-{render acl=$gotoMimeLeftClickActionACL} - -{/render} {t}Show file in embedded viewer{/t}
-{render acl=$gotoMimeLeftClickActionACL} - -{/render} {t}Show file in external viewer{/t}
-{render acl=$gotoMimeLeftClickActionACL} - -{/render} {t}Ask whether to save to local disk{/t}
{t}Applications{/t} -{render acl=$gotoMimeEmbeddedApplicationACL} {$gotoMimeEmbeddedApplications} -{/render} -{render acl=$gotoMimeEmbeddedApplicationACL} - -{/render} -{render acl=$gotoMimeEmbeddedApplicationACL} - -{/render}