-
Notifications
You must be signed in to change notification settings - Fork 31
/
preferences.php
40 lines (37 loc) · 1.74 KB
/
preferences.php
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
<?php
include ("include/dbconnect.php");
include ("include/format.inc.php");
?>
<title>Preferences | <?php echo ucfmsg("ADDRESS_BOOK").($group_name != "" ? " ($group_name)":""); ?></title>
<?php include ("include/header.inc.php"); ?>
<h1><?php echo ucfmsg('PREFERENCES'); ?></h1>
<form method="post" action="<?php echo urldecode($_GET['from']); ?>">
<!--
<label><?php echo ucfmsg("LANGUAGE") ?>:</label>
<select name="language" onchange="">
<?php
echo "<option value='auto'>".ucfmsg('auto')."</option>\n";
foreach($supported_langs as $supp_lang) {
echo "<option value='$supp_lang'>".ucfmsg($supp_lang)."</option>\n";
} ?>
</select><br /><br />
-->
<label><?php echo ucfmsg("MAIL_CLIENT") ?>:</label>
<select name="mailer">
<?php
foreach($mailers as $mailer => $url) {
echo "<option value='$mailer'>".ucfirst($mailer)."</option>\n";
} ?>
</select>
<input type="submit" name="update" value="<?php echo ucfmsg("UPDATE") ?>" />
</form>
<br>
<form method="post" name="sso_form" action="<?php echo urldecode($_GET['from']); ?>">
<input name="user" type="hidden"/>
<label><?php echo ucfmsg("SIGN_IN_WITH") ?>:</label>
<a href="javascript:sso_form.user.value='Facebook';sso_form.submit();"><img src="icons/facebook.png"></a>
<a href="javascript:sso_form.user.value='Google';sso_form.submit();"><img src="icons/google.png"></a>
<a href="javascript:sso_form.user.value='Yahoo';sso_form.submit();"><img src="icons/yahoo.png"></a>
<a href="javascript:sso_form.user.value='Live';sso_form.submit();"><img src="icons/microsoft.png"></a>
</form>
<?php include ("include/footer.inc.php"); ?>