psql db schema test
[mirrors/Kyberia-bloodline.git] / inc / eventz / upload_own_template.inc
diff --git a/inc/eventz/upload_own_template.inc b/inc/eventz/upload_own_template.inc
deleted file mode 100644 (file)
index fb14d27..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
-       function upload_own_template() {
-
-               global $db,$error,$node;
-               $node_id=$node['node_id'];
-               $node_template=$_POST['node_template'];
-
-               if (Is_Array($_FILES['template_file'])) {
-                       copy($_FILES['template_file']['tmp_name'],OWN_TEMPLATE_DIR.'/'.$node['node_id'].".tpl");
-               }
-               $db->query("update nodes set node_template='$node_template' where node_id='$node_id'");
-       }
-
-?>
\ No newline at end of file
This page took 0.136389 seconds and 4 git commands to generate.