Code

Made datepicker language sensitive
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Oct 2009 11:04:24 +0000 (11:04 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 1 Oct 2009 11:04:24 +0000 (11:04 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14432 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/opsi/admin/opsiLicenses/licenseGeneric.tpl

index 1803b0f398682d47e093c677128020b7ec069214..7fd85a635e660d5d898920dc4ee65129b136477d 100644 (file)
@@ -81,7 +81,7 @@
                   enableCloseEffect : false,
                   enableShowEffect : false,
                   relative    : 'date1',
-                  language    : 'de'
+                  language    : '{/literal}{$lang}{literal}'
                   });
                   /*]]>*/
               </script>
                   enableCloseEffect : false,
                   enableShowEffect : false,
                   relative    : 'date2',
-                  language    : 'de'
+                  language    : '{/literal}{$lang}{literal}'
                   });
                   /*]]>*/
               </script>
                   enableCloseEffect : false,
                   enableShowEffect : false,
                   relative    : 'date3',
-                  language    : 'de'
+                  language    : '{/literal}{$lang}{literal}'
                   });
                   /*]]>*/
               </script>
     </td> 
   </tr>
 </table>
-{literal}
-<script type="text/javascript">
-    /*<[CDATA[*/
-    var datepicker    = new DatePicker({
-    relative    : 'date',
-    language    : 'de'
-    });
-    /*]]>*/
-</script>
-{/literal}
 <input name='opsiLicensesPosted' value='1' type='hidden'>
 {/if}