- if (_alertString.length==0) {
- document.Aform.submit();
- } else {
- alertString2 = _("Form not submitted because of the following problem(s)\n");
- alertString2 += "------------------------------------------------------------------------------------\n\n";
- alertString2 += _alertString;
- alert(alertString2);
- }
- }
+ if (_alertString.length==0) {
+ document.Aform.submit();
+ } else {
+ alertString2 = _("Form not submitted because of the following problem(s)");
+ alertString2 += "\n------------------------------------------------------------------------------------\n\n";
+ alertString2 += _alertString;
+ alert(alertString2);
+ }
+ }
+//]]>
+</script>
+<!-- TMPL_ELSE -->
+<link href="<!-- TMPL_VAR NAME="themelang" -->/lib/jquery/plugins/treetable/stylesheets/jquery.treeTable.css" rel="stylesheet" type="text/css" />
+
+<script type="text/javascript" src="<!-- TMPL_VAR NAME="themelang" -->/lib/jquery/plugins/jquery.tablesorter.min.js"></script>
+<script type="text/javascript" src="<!-- TMPL_VAR NAME="themelang" -->/lib/jquery/plugins/treetable/jquery.treeTable.min.js"></script>
+<script type="text/javascript" src="<!-- TMPL_VAR NAME="themelang" -->/lib/jquery/plugins/jquery.qtip.js"></script>
+
+<script type="text/javascript">
+//<![CDATA[
+ //
+ $(document).ready(function() {
+ var tooltipcontent = $(".tooltipcontent");
+ tooltipcontent.hide();
+
+ $(".tooltiped td").each(function (){
+ contentelem = $(this).parent().children().filter(".tooltipcontent");
+ if(contentelem.html() != ""){
+ $(this).qtip({
+ content: contentelem.html(),
+ show: "mouseover",
+ hide: "mouseout",
+ style: {
+ name: "light",
+ tip: "bottomLeft",
+ border: {
+ radius: 5,
+ color: "#356CA1"
+ }
+ },
+ position: {
+ corner: {
+ target: "topRight",
+ tooltip: "bottomRight"
+ }
+ }
+ });
+ }
+ });
+ <!-- TMPL_IF NAME="notree" -->
+ $("#budgeth").tablesorter({
+ widgets : ['zebra'],
+ sortList: [[0,0]],
+ headers: { 7: { sorter: false }}
+ });
+ <!-- TMPL_ELSE -->
+ $("#budgeth").treeTable();
+ <!-- /TMPL_IF -->
+ });