Project

General

Profile

« Previous | Next » 

Revision 652

Added by thorn almost 17 years ago

captcha admin-tool: fixed display-issue with Firefox.

View differences:

tool.php
140 140
	echo '<p>' .$MOD_CAPTCHA_CONTROL['HOWTO'] .'</p>';
141 141
?>
142 142
<form name="store_settings" action="<?php echo $_SERVER['REQUEST_URI']; ?>" method="post">
143
	<table width="98%" cellspacing="0" cellpadding="5px" class="row_a">
143
	<table width="98%" cellspacing="0" border="0" cellpadding="5px" class="row_a">
144 144
	<tr><td colspan="2"><strong><?php echo $MOD_CAPTCHA_CONTROL['CAPTCHA_CONF'];?>:</strong></td></tr>
145
	<tr><td>
146
		<table>
147
			<tr height="50px">
148
			<td><?php echo $MOD_CAPTCHA_CONTROL['CAPTCHA_TYPE'];?>:</td>
149
			<td align="right" width="150px"><img name="captcha_example" id="captcha_example" src="<?php echo WB_URL.'/include/captcha/captchas/'.$captcha_type.'.png'?>" ></td>
150
			</tr>
151
		</table>
145
	<tr>
146
		<td width="30%"><?php echo $MOD_CAPTCHA_CONTROL['CAPTCHA_TYPE'];?>:</td>
152 147
		<td>
153
			<select name="captcha_type" id="captcha_type" onchange="load_captcha_image()" style="width: 98%;">
148
		<select name="captcha_type" id="captcha_type" onchange="load_captcha_image()" style="width: 98%;">
154 149
			<?php foreach($useable_captchas AS $key=>$text) {
155
				echo "<option value=\"$key\" ".($captcha_type==$key?'selected':'').">$text</option>";
150
			echo "<option value=\"$key\" ".($captcha_type==$key?'selected':'').">$text</option>";
156 151
			} ?>
157 152
		</select>
158 153
		</td>
159 154
	</tr>
155
	<tr height="55px">
156
		<td>&nbsp;</td>
157
		<td align="left" width="150px"><img name="captcha_example" id="captcha_example" src="<?php echo WB_URL.'/include/captcha/captchas/'.$captcha_type.'.png'?>" ></td>
158
	</tr>
160 159
	<tr id="text_qa" style="display:<?php if($captcha_type=='text') echo ''; else echo 'none'; ;?>;">
161
		<td class="setting_name"><?php echo $MOD_CAPTCHA_CONTROL['CAPTCHA_ENTER_TEXT'];?>:</td>
160
		<td valign="top" class="setting_name"><?php echo $MOD_CAPTCHA_CONTROL['CAPTCHA_ENTER_TEXT'];?>:</td>
162 161
		<td class="setting_value" colspan="2">
163
			<textarea name="text_qa" wrap="off" cols="50" rows="10"><?php echo $text_qa; ?></textarea>
162
			<textarea name="text_qa" wrap="off" cols="60" rows="10"><?php echo $text_qa; ?></textarea>
164 163
		</td>
165 164
	</tr>
166 165
	<tr>

Also available in: Unified diff