X-Git-Url: http://git.harvie.cz/?a=blobdiff_plain;f=data%2Ftemplates%2Fown_templates%2F1817450.tpl;fp=data%2Ftemplates%2Fown_templates%2F1817450.tpl;h=0bf7aedfe8b6125a5901e109537600cda2fbbeff;hb=28a0f9d30ba36c49c48b59cad22a855a0337161a;hp=0000000000000000000000000000000000000000;hpb=a1797ae2365c0b45e3456fd6bc98b2993ffc87a8;p=mirrors%2FKyberia-bloodline.git
diff --git a/data/templates/own_templates/1817450.tpl b/data/templates/own_templates/1817450.tpl
new file mode 100644
index 0000000..0bf7aed
--- /dev/null
+++ b/data/templates/own_templates/1817450.tpl
@@ -0,0 +1,107 @@
+
+{get_movement user_id=1538 offset=$offset listing_amount=$listing_amount}
+
+
+{math equation="max(x)" x=$get_movement}
+
+{*section name=bb loop=$get_movement}
+ {math equation="max(x)" x=$get_movement[bb].node_id}
+{/section*}
+
+
+
+Graph
+{ldelim}
+ ### metadata ###
+ @name="movment graph";
+ @description=;
+ @numNodes=dosadit+1;
+ @numLinks={$listing_amount};
+ @numPaths=0;
+ @numPathLinks=0;
+
+
+ ### structural data ###
+ @links=[
+
+{foreach from=$get_movement name=grafnode item=movement}
+ {ldelim} @source={$movement.node_parent}; @destination={$movement.node_id}; {rdelim} ,
+{if $smarty.foreach.grafnode.last}
+ {ldelim} @source={$movement.node_parent}; @destination={$movement.node_id}; {rdelim}
+{/if}
+{/foreach}
+ ];
+ @paths=;
+
+ ### attribute data ###
+ @enumerations=;
+ @attributeDefinitions=
+ [
+ {ldelim}
+ @name=$root;
+ @type=bool;
+ @default=|| false ||;
+ @nodeValues=[ {ldelim} @id=0; @value=T; {rdelim} ];
+ @linkValues=;
+ @pathValues=;
+ {rdelim},
+ {ldelim}
+ @name=$tree_link;
+ @type=bool;
+ @default=|| true ||;
+ @nodeValues=;
+ @linkValues=;
+ @pathValues=;
+ {rdelim}
+ ];
+ @qualifiers=[
+ {ldelim}
+ @type=$spanning_tree;
+ @name=$sample_spanning_tree;
+ @description=;
+ @attributes=[
+ {ldelim}@attribute=0;@alias=$root;{rdelim},
+ {ldelim}@attribute=1;@alias=$tree_link;{rdelim}
+ ];
+ {rdelim}
+ ];
+
+ ### visualization hints ###
+ @filters=;
+ @selectors=;
+ @displays=;
+ @presentations=;
+
+ ### interface hints ###
+ @presentationMenus=;
+ @displayMenus=;
+ @selectorMenus=;
+ @filterMenus=;
+ @attributeMenus=;
+{rdelim}
+
echo $aMax = max($a);
+