Display addon address to use (server side)
This commit is contained in:
parent
67d21ff3ef
commit
875b48899c
|
@ -111,6 +111,14 @@ else
|
|||
}
|
||||
?>
|
||||
</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">
|
||||
<?php
|
||||
global $user;
|
||||
|
|
|
@ -51,6 +51,12 @@ body {
|
|||
margin : 15px;
|
||||
}
|
||||
|
||||
#addon_address {
|
||||
padding:10px;
|
||||
text-align:center;
|
||||
font-size:xx-large;
|
||||
}
|
||||
|
||||
.hash {
|
||||
width : 700px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user