* $use_js - boolean TRUE if we should use Javascript in the address book
* $backends - array containing list of all available backends.
*
- * @copyright © 1999-2006 The SquirrelMail Project Team
+ * @copyright 1999-2020 The SquirrelMail Project Team
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
* @version $Id$
* @package squirrelmail
<select name="backend" id="backend">
<?php
foreach ($backends as $id=>$name) {
- echo '<option value="'.$id.'">'.htmlspecialchars($name).'</option>'."\n";
+ echo '<option value="'.$id.'">'.sm_encode_html_special_chars($name).'</option>'."\n";
}
?>
</select>
<?php
} else {
?>
- <input type="hidden" name="backend" value="-1">
+ <input type="hidden" name="backend" value="-1" />
<?php
}
?>
<input type="submit" name="listall" value=<?php echo '"'._("List all").'"'; ?> />
<?php
- if ($use_js) {
+ if ($javascript_on && $compose_addr_pop) {
?>
<input type="submit" onclick="parent.close()" value=<?php echo '"'._("Close").'"'; ?> />
</td>
</tr>
</table>
-</div>
\ No newline at end of file
+</div>