Handle basic HTTP auth using PHP instead of using webserver configuration = better...
[mirrors/Kyberia-bloodline.git] / data / templates / own_templates / 2385382.tpl
1 {if $header_id neq true}
2 <html>
3 <head>
4
5 <meta http-equiv="Default-Style" content="kyberia">
6 <meta http-equiv="Content-Type" content="text/html; charset=windows-1250">
7 <link rel='stylesheet' title="kyberia" type='text/css' href='/data/templates/own_templates/2019722.tpl'>
8 <title>{* title.tpl *}{include file="791948.tpl"}</title>
9
10 <script language="JavaScript" type="text/javascript">
11 <!--
12 {literal}
13 function vymena()
14 {
15 document.formular.mail_to.value = document.formular.mail_to.value.toLowerCase() ;
16 var browser = navigator.appName;
17 if(browser == "Microsoft Internet Explorer")
18 {
19 xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
20 }
21 else
22 {
23 xmlhttp = new XMLHttpRequest();
24 }
25 get_id_url = 'http://kyberia.sk/ajax/get_username_by_id.php?name=';
26 get_id_url += document.formular.mail_to.value;
27 xmlhttp.open("GET", get_id_url);
28 xmlhttp.onreadystatechange = function()
29 {
30 if (xmlhttp.readyState == 4 && xmlhttp.status == 200)
31 {
32 id = xmlhttp.responseText;
33 document.images['fricon'].src = '/images/nodes/'+id.substr(0,1)+'/'+id.substr(1,1)+'/'+id+'.gif';
34 }
35 }
36 xmlhttp.send(null);
37 }
38 function chngto(name,id)
39 {
40 document.formular.mail_to.value = name ;
41 name = name.toLowerCase() ;
42 document.images['fricon'].src = '/images/nodes/'+id.substr(0,1)+'/'+id.substr(1,1)+'/'+id+'.gif';
43 }
44 {/literal}
45 -->
46 </script>
47
48 </head>
49 <body id='configure'>
50
51 {if $user_id eq true}{include file="1549959.tpl"}{/if}
52 {if $error eq true}<center><span class='most_important'>{$error}</span></center>{/if}
53 {if $new_mail eq true}<center><a href='/id/24/' class='mail'>u have {$new_mail} new mail,last from {$new_mail_name}</a></center>{/if}
54 {/if}
55 {if $user_id eq false}<center>{* loginbox *}{include file="1549885.tpl"}</center><br /><br />{/if}
56 {if $node.node_creator eq $user_id or $node.node_permission eq 'master'}
57 <form method='post' enctype="multipart/form-data" action='/id/{$node.node_id}/'>
58 <input type='text' name='node_name' value='{$node.node_name}' />
59 <input type='submit' name='event' value='configure_node_name' />
60 <br>
61 <select name='node_system_access'>
62 <option value='public' {if $node.node_system_access eq 'public'}selected{/if}>public</option>
63 <option value='moderated' {if $node.node_system_access eq 'moderated'}selected{/if}>moderated</option>
64 <option value='private' {if $node.node_system_access eq 'private'}selected{/if}>private</option>
65 <option value='cube' {if $node.node_system_access eq 'cube'}selected{/if}>cube</option>
66 <option value='crypto' {if $node.node_system_access eq 'crypto'}selected{/if}>crypto</option>
67 </select>
68 <input type='submit' name='event' value='configure_system_access' />
69 <br>
70 <input name='node_external_access' type='checkbox' value='yes' {if $node.node_external_access eq 'yes'}checked{/if} />
71 <input type='submit' name='event' value='configure_external_access' />
72 <br>
73 {if $node.node_creator eq $user_id}
74 <input type='file' name='description_image' />
75 <input type='submit' name='event' value='configure_image' />
76 {/if}
77 <br>
78 <input type='text' name='template_id' value='{$node.template_id}' title='[submission: 4 | forum: 3 | nodeshell: 2 | article: 5 | data: 12 | user: 7]' />
79 <input type='submit' name='event' value='configure_template_id' />
80 <br>
81 apply on vector ??? <input type='checkbox' name='apply_on_vector' />
82
83
84 </form>
85 {/if}
86 </body>
87 </html>
This page took 1.22855 seconds and 4 git commands to generate.