1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
<?php $lang->setModule("core"); $lang->setBlock("hyperlink");
$spaw_a_targets = $config->getConfigValue("a_targets"); ?> <script type="text/javascript" src="<?php echo SpawConfig::getStaticConfigValue('SPAW_DIR') ?>plugins/core/dialogs/hyperlink.js"></script>
<form name="a_prop"> <table border="0" cellpadding="2" cellspacing="0"> <tr> <td width="50%"><?php echo $lang->m('a_type')?>:</td> <td width="50%"> <select name="catype" id="catype" size="1" class="input" onchange="SpawHyperlinkDialog.changeType(this.options[this.selectedIndex].value);"> <option value="link"><?php echo $lang->m('type_link')?></option> <option value="anchor"><?php echo $lang->m('type_anchor')?></option> <option value="link2anchor"><?php echo $lang->m('type_link2anchor')?></option> </select> </td> </tr> <tr id="url_row"> <td width="50%"><?php echo $lang->m('url')?>:</td> <td width="50%" nowrap><input type="text" name="chref" id="chref" class="input" size="32"> <input type="button" value="..." onClick="SpawHyperlinkDialog.browseClick()" class="bt"></td> </tr> <tr id="name_row"> <td width="50%"><?php echo $lang->m('name')?>:</td> <td width="50%"><input type="text" name="cname" id="cname" class="input" size="32"></td> </tr> <tr id="anchor_row"> <td width="50%"><?php echo $lang->m('anchors')?>:</td> <td width="50%"> <select name="canchor" id="canchor" size="1" class="input"> <option></option> </select> </td> </tr> <tr id="target_row"> <td width="50%"><?php echo $lang->m('target')?>:</td> <td width="50%" align="left"> <select name="ctarget" id="ctarget" size="1" class="input"> <?php foreach($spaw_a_targets as $key=>$value) { if ($lang->m($key,'hyperlink_targets')!='') $value = $lang->m($key,'hyperlink_targets'); echo '<option value="'.$key.'">'.$value."</option>"; } ?> </select> </td> </tr> <tr id="title_row"> <td width="50%"><?php echo $lang->m('title_attr')?>:</td> <td width="50%" align="left"> <input type="text" name="ctitle" id="ctitle" size="32" class="input"> </td> </tr> <tr> <td colspan="2" nowrap> <hr width="100%"> </td> </tr> <tr> <td colspan="2" align="right" valign="bottom" nowrap> <input type="button" value="<?php echo $lang->m('ok')?>" onClick="SpawHyperlinkDialog.okClick()" class="bt"> <input type="button" value="<?php echo $lang->m('cancel')?>" onClick="SpawHyperlinkDialog.cancelClick()" class="bt"> </td> </tr> </table>
</form>
|