From fd71528ea4c376ea8e506e72249df9f6c4c2efed Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 3 Jul 2007 06:28:27 +0000 Subject: [PATCH] Updated mime addon git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6749 594d385d-05f5-0310-b6e9-bd551577e9d8 --- html/images/list_mime.png | Bin 0 -> 851 bytes html/images/list_new_mime.png | Bin 0 -> 698 bytes html/images/mime_embedding.png | Bin 0 -> 692 bytes html/images/mime_leftclick.png | Bin 0 -> 946 bytes html/images/mimetypes.png | Bin 0 -> 4235 bytes html/images/select_mimetype.png | Bin 0 -> 851 bytes .../mimetypes/class_divListMimeTypes.inc | 1 + plugins/admin/mimetypes/generic.tpl | 77 ++++-------------- 8 files changed, 19 insertions(+), 59 deletions(-) create mode 100755 html/images/list_mime.png create mode 100755 html/images/list_new_mime.png create mode 100755 html/images/mime_embedding.png create mode 100755 html/images/mime_leftclick.png create mode 100755 html/images/mimetypes.png create mode 100755 html/images/select_mimetype.png diff --git a/html/images/list_mime.png b/html/images/list_mime.png new file mode 100755 index 0000000000000000000000000000000000000000..8210b43eb12353cc6f993947f5fea5d1641d99cb GIT binary patch literal 851 zcmV-Z1FZasP)z@;j(q!3lK=n!AY({UO#lFTB>(_`g8%^e{{R4h=>PzA zFaQARU;qF*m;eA5Z<1fdMgRZ;$w@>(RCwBA?C^QBY98z;HI3f#D}3 z1H*rA1_o9>28O3c7#QyFfT%*Z0>m%*&oE)a1O|WrJdC>y03Z-TUt#4aI+Lq7xSod; z#)3}>P=44aWWovX4{ey1eWDP13CVCLt@X{W074kRA&z3h=N}9Vm!JJ**m;MML0OQ2 zA=-=yWE|LhhTp&8N&x~0ZotoRKL2?N6m1_oxvuMBMO4#K?v5I}Gj@V?r>;G%Yf;p5lK3^Q-ZGQ9g} z#~>@kz+kKNkHJBSk%9laC&P;?QVbG29~n6Qo`D+x5I}GP4!)LV5EA5Pc*#-1;9;P~ zVE64SgNncphHqcKF!23kV&Gr{2Aq-)1B19Q0~@O_+yH<8f*YWq;LIRv63k!#j32wt zzZkY3eZ;`S@P$D~`VWK9>zfRce||8qv0E@OeBfgE$Hm3~^E*HQ!40sK{loD7`FnJUz_dX{5uzC#KE7{OJt?!^c|;zyEMByyq8Z_{qx7@P}8JK?bT1Ab{WosK{_L zynX)}m_;vp-!?&N`8UD%XF??s|V>o#1I8^mB28MH&!7P9Pf*Zib z#>^lsAqY-{|M(0UzJB_^z`(@Fz{11Nz|6|V!1(nGSY3E{IG6?{JrH#ax3X1I9(0mK3mBo-iR d1_6Ko0|4SW*7X~+Jplj!002ovPDHLkV1nV3al`-s literal 0 HcmV?d00001 diff --git a/html/images/list_new_mime.png b/html/images/list_new_mime.png new file mode 100755 index 0000000000000000000000000000000000000000..d9afa9a9d80280d9f14b76a44d418cd863fd4907 GIT binary patch literal 698 zcmV;r0!96aP)+^Ykcs|N74BqP@^`#T_X9@wvglIJC008J42ipd#0t)CI0ZO23q#~3{f`}lt zjV(gc;R*ooo~+A|--o57#j6!Xw;%3ac2UCNQ!dwA05DC9bk1UNt<0yiFrRYqIj^&l zbkp5vGIab0t$TBrXq3*}f<{k0;K{oRt9chY6%QFpC#}I|7TAMrcLU$%AJW$F6i=az zTtgo|-z5NCzX5HHX@*-DxUMF#%0-q}A(wXUe17<7UWA|ERt5CT)ZZ44Zoc4J&osM* zB_1z#lG(jNX8;DfY_4`G?tKV5(MP~*y{`hQ6-;e)Ft>G#H{LOZF7z-ySYWM1@hs=Y zXRg;8eEL4#r3r{BXKxsWh={~qXJx%0vL_;$oGJ1M5ebOQP}34{^bA#9wGiyAkWFPt zmn&!+Z{g;5{IPQo8i8Ox(CY+-z5t65ixVvwwH};3)y#G_kH@Feq6N^4`;=~cMUS0_ zfj9&Ye9sO;0wzv8hg7Nt&~-N*?S2$s`vxfFc4(e#cPgMC*gPop0R$Jh9lL`XrKt*V zDOdHID@{9i9Dvz4B;t++h$UeF2n7(5#VSD4wEBSwNv+d|bhKm;NsK}wi3+3Czm9W6 g9|b^#QHRfe0l!-QCDtA^Pyhe`07*qoM6N<$f?;VU5&!@I literal 0 HcmV?d00001 diff --git a/html/images/mime_embedding.png b/html/images/mime_embedding.png new file mode 100755 index 0000000000000000000000000000000000000000..1930fb233f6ac09c41a8b0107c911a6fb8a27633 GIT binary patch literal 692 zcmV;l0!#ggP)z@;j(q!3lK=n!AY({UO#lFTB>(_`g8%^e{{R4h=>PzA zFaQARU;qF*m;eA5Z<1fdMgRZ;DoI2^RCwBA?C^QBY98aO&=VhA%(< zGCXHBYn=d(;1CQO*X01!YdFq2q+J!KGJ zVr1YE`p2Lx#?J8h%NGVlCKiU@zyB~WF|#mm^9nNj2fFpo-+w^-7w!Up0D>DJ%=Mdr zk&%(%@1H*m92^V`KiU5=Ff;#U;NjtAU}t9sPl`sGhKyU+icz76CSXjUcKn8&f0RfOkkT{4B zas>y-e@FlzfG`XIna;_{2{z>4zkhH;e*gXrb_pvhE7%ek00TmtzJU$@{{1`HV33%lr6pKBKmfrF067nYVcq~?5Fg}pE-o%`*nkX$g$E1(1Q6T+ zkVcrZLC)pl;{$sOWDrOU7I=S=(f|km1Q6VSSFc_{q7i5-$f@t%y@UH5WH?CUlP6Cw zk}^O5!3_Xu28A%lzfw|C@OTFq07^t(zkUT95FQ>5Ru4+Xg@uLO009IyKtMnMY=DS} z2!p7oDA)j4+=Bqffb-|iBWnif{R!SI-Y;XMNwpXV^<{*aN^_Vx3-ct!@s`>bqi46H0{3;+Ry)quaBJ~J?XSj52m z8_4<2#PIAXBg0pVFh+JBcH2kypF44Kam~GP<{HE8o0k~?0tl-C3?KJ1F#oy8!0>~O z;s49O3@@au7-U_78NS`V&T#4b=bvxiykyw3V+~N@9|nK`V#22X|HH`)th}5I3|}}H z-hbp{_@d#*AS5Hjz|8QMfrW*Y;mV~eKvn;Mn2iA-fG}L}_r(bYW{z7x&A^!b#K7>5 zM~y+yA(Vmh|4#-!9$tnc2M;mayK^3>l9deH=U0|9du%fr$es{1a&N2Ofs^ zGM)^AQql}8zy!d^%*gQO^-E5WZXgx`Vs3x{Vu3~JPf*mnxX8f5{*Zz3k06l4&hY9x zJA-IYEW@ua9~gfB`pNL=<0l3tMkZjIVT8Gy7a)M(Uib&{(%&CIhBN~M2QR~y=T8~l z2wO97{9|VL`T7k|BO}8A2nZd^1@wcFmECVAWI1(5D0*HkP2*F7gh&7GP8B`2R8JGoxfHwbT z_$|Q8z{<`B^!tAXHa2DkW@Z)!E-p@{@TgdZTeog9+`n_30U&@_?%sL$VbzK?JRm1B zG6Q1=6j*LX{7Jy;#>&w?K3pF07*qoM6N<$g5Dym0RR91 literal 0 HcmV?d00001 diff --git a/html/images/mimetypes.png b/html/images/mimetypes.png new file mode 100755 index 0000000000000000000000000000000000000000..5031409ba270d791a3fcb127314187f5e1a3b690 GIT binary patch literal 4235 zcmW+)e>{`x`+v5FXTxJA2haRmC7cwSb*O{3iKxVK`j$Fn&xYxTqNo(v)@u48l%y!s zr#ikTCrYPO;$eOzzbZ;UXDL$3{2rU_vp#>^_w~B(*ZsO)*L7dl`+Z;6eS#AjWNK_< z3;=-Xs^EZdy`=pdL`Xkx#80Q|g;7HArbGZRvG_S~K>j5}ziAN5Udsl6+nK5AbvgPq zH7YoKEdU%^001Hh08H!jau5La>9u`D0pRxw0AL+|mfNrr0LZvi0qph3Z}=LWjtLS& zF3=RZ$0<`EH0mamnJb>n5urR|jbx8Ds>Hv0beOrnqBBq{`%QGQ`A$d%oUu9IhHq$S zm_eh906zPr&-Uj|=2A9EggaeFAX2Sh%e<`!qCM$JORcKKuwBiVvJcGO5Q`=!o)9ZW za1gYI07-p(C`e^Af&?rP?-0^ysfXa`oxp$kJV4pu;(SNBsP-7McpWg`+?}vl#yPc} z$O3qWdYNvZB*YE`J(@vQ(5$uaesv$+8EJam|doMmlZED7$v|*VQ??XFa-SYl56e&9ypRl(}T|%%BkC zBLxHifBe|yi-S60*9>sEgLuk3ZnT+xv^D644i|MK$59rkkL{IRl#wFwF~iNF8XXuq zrqgPxW7u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2 zA=-=yWE|LhhTp&8N&x~0ZotoRKL2?N6m1_oxvuMBMO4#K?v5I}Gj@V?r>;G%Yf;p5lK3^Q-ZGQ9g} z#~>@kz+kKNkHJBSk%9laC&P;?QVbG29~n6Qo`D+x5I}GP4!)LV5EA5Pc*#-1;9;P~ zVE64SgNncphHqcKF!23kV&Gr{2Aq-)1B19Q0~@O_+yH<8f*YWq;LIRv63k!#j32wt zzZkY3eZ;`S@P$D~`VWK9>zfRce||8qv0E@OeBfgE$Hm3~^E*HQ!40sK{loD7`FnJUz_dX{5uzC#KE7{OJt?!^c|;zyEMByyq8Z_{qx7@P}8JK?bT1Ab{WosK{_L zynX)}m_;vp-!?&N`8UD%XF??s|V>o#1I8^mB28MH&!7P9Pf*Zib z#>^lsAqY-{|M(0UzJB_^z`(@Fz{11Nz|6|V!1(nGSY3E{IG6?{JrH#ax3X1I9(0mK3mBo-iR d1_6Ko0|4SW*7X~+Jplj!002ovPDHLkV1nV3al`-s literal 0 HcmV?d00001 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}
-- 2.30.2