blob: 7f6333f00a13b83ca0ba52d5ee825741139fda09 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!-- dir -->
<?% global.widgetcount = global.widgetcount + 1 %?>
<tr<?% ' class="two"' IF global.widgetcount mod 2 == 0 %?>>
<?% INCLUDE widgets/topic.inc abbr=data.msg %?>
<td>
<?% val = cgi.param(data.NAME) || data.def %?>
<?% TRY %?>
<?% USE File(reentities(val), root => reentities(realbin)) %?>
<input style="width:395px;" size="<?% val.length + 3 %?>" type="text" name="<?% data.NAME %?>" value="<?% val %?>" />
<?% CATCH File %?>
<?% UNLESS File.isdir %?>
<input style="width:395px;" size="<?% val.length + 3 %?>" type="text" name="<?% data.NAME %?>" value="<?% val %?>" class="error" /><br />
<font class="error"><?% gettext("Directory '%s' does not exist!") | replace('%s',val)%?></font>
<?% END %?>
<?% END %?>
</td>
</tr>
|