Display addon address to use (server side)
This commit is contained in:
parent
67d21ff3ef
commit
875b48899c
|
@ -111,6 +111,14 @@ else
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
</form>
|
</form>
|
||||||
|
<?php
|
||||||
|
global $user;
|
||||||
|
if ($_SERVER['HTTPS'] == "")
|
||||||
|
echo "<div id=\"addon_address\">Current addon address is : http://" . $_SERVER['SERVER_NAME'] . "/" . $user . "</div>\n";
|
||||||
|
else
|
||||||
|
echo "<div id=\"addon_address\">Current addon address is : https://" . $_SERVER['SERVER_NAME'] . "/" . $user . "</div>\n";
|
||||||
|
|
||||||
|
?>
|
||||||
<div id="passwords">
|
<div id="passwords">
|
||||||
<?php
|
<?php
|
||||||
global $user;
|
global $user;
|
||||||
|
|
|
@ -51,6 +51,12 @@ body {
|
||||||
margin : 15px;
|
margin : 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#addon_address {
|
||||||
|
padding:10px;
|
||||||
|
text-align:center;
|
||||||
|
font-size:xx-large;
|
||||||
|
}
|
||||||
|
|
||||||
.hash {
|
.hash {
|
||||||
width : 700px;
|
width : 700px;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user