mirror of
https://github.com/Xkeeper0/jul.git
synced 2025-07-26 09:42:01 -07:00
add font size options to profiles
This commit is contained in:
@@ -183,6 +183,8 @@
|
|||||||
$tccell2l>$seplist<tr>
|
$tccell2l>$seplist<tr>
|
||||||
$tccell1><b>Color scheme / layout:$descbr You can select from a few color schemes here.</td>
|
$tccell1><b>Color scheme / layout:$descbr You can select from a few color schemes here.</td>
|
||||||
$tccell2l>$schlist<tr>
|
$tccell2l>$schlist<tr>
|
||||||
|
$tccell1><b>Font size:$descbr Change the default font size of the forum.</td>
|
||||||
|
$tccell2l>$inpt=fontsize VALUE=\"". ($loguser['fontsize'] ? $loguser['fontsize'] : 100) ."\" SIZE=5 MAXLENGTH=5>%</td><tr>
|
||||||
|
|
||||||
$tccellh colspan='2'> </td><tr>
|
$tccellh colspan='2'> </td><tr>
|
||||||
$tccell1> </td>$tccell2l>
|
$tccell1> </td>$tccell2l>
|
||||||
@@ -277,6 +279,7 @@
|
|||||||
`postbg` = '$postbg',
|
`postbg` = '$postbg',
|
||||||
`postheader` = '$postheader',
|
`postheader` = '$postheader',
|
||||||
`birthday` = '$birthday',
|
`birthday` = '$birthday',
|
||||||
|
`fontsize` = ". (($_POST['fontsize'] || $_POST['fontsize'] == 100) ? intval($_POST['fontsize']) : "NULL") .",
|
||||||
`scheme` = '$sscheme',
|
`scheme` = '$sscheme',
|
||||||
`threadsperpage` = '$threadsperpage',
|
`threadsperpage` = '$threadsperpage',
|
||||||
`viewsig` = '$viewsig',
|
`viewsig` = '$viewsig',
|
||||||
|
@@ -157,6 +157,7 @@
|
|||||||
$lft View signatures and post headers $rgt $vsig
|
$lft View signatures and post headers $rgt $vsig
|
||||||
$lft Thread layout $rgt $laylist
|
$lft Thread layout $rgt $laylist
|
||||||
$lft Color scheme / layout $rgt $schlist
|
$lft Color scheme / layout $rgt $schlist
|
||||||
|
$lft Font size $rgt $inpt=fontsize SIZE=5 MAXLENGTH=5 VALUE=$user[fontsize]>%
|
||||||
|
|
||||||
$lft  </td>$tccell2l>
|
$lft  </td>$tccell2l>
|
||||||
$inph=action VALUE=saveprofile>
|
$inph=action VALUE=saveprofile>
|
||||||
@@ -223,6 +224,7 @@
|
|||||||
`minipic` = '$minipic',
|
`minipic` = '$minipic',
|
||||||
`homepagename` = '$pagename',
|
`homepagename` = '$pagename',
|
||||||
`scheme` = '$sscheme',
|
`scheme` = '$sscheme',
|
||||||
|
`fontsize` = ". (($_POST['fontsize'] || $_POST['fontsize'] == 100) ? intval($_POST['fontsize']) : "NULL") .",
|
||||||
`threadsperpage` = '$threadsperpage',
|
`threadsperpage` = '$threadsperpage',
|
||||||
`viewsig` = '$viewsig',
|
`viewsig` = '$viewsig',
|
||||||
`layout` = '$tlayout',".
|
`layout` = '$tlayout',".
|
||||||
|
@@ -93,12 +93,17 @@
|
|||||||
a:visited { color: #$linkcolor2; }
|
a:visited { color: #$linkcolor2; }
|
||||||
a:active { color: #$linkcolor3; }
|
a:active { color: #$linkcolor3; }
|
||||||
a:hover { color: #$linkcolor4; }
|
a:hover { color: #$linkcolor4; }
|
||||||
|
html { font-size: 83%; }
|
||||||
body {
|
body {
|
||||||
color: #$textcolor;
|
color: #$textcolor;
|
||||||
font: 83% $font;
|
font-family: $font;
|
||||||
background: #$bgcolor$bgimage;
|
background: #$bgcolor$bgimage;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
". ($loguser['fontsize'] ? "
|
||||||
|
body { font-size: $loguser[fontsize]%; }
|
||||||
|
" : "") ."
|
||||||
|
|
||||||
table {
|
table {
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
}
|
}
|
||||||
@@ -201,20 +206,20 @@
|
|||||||
border: #$inputborder solid 1px;
|
border: #$inputborder solid 1px;
|
||||||
background:#000000;
|
background:#000000;
|
||||||
color: #$formtextcolor;
|
color: #$formtextcolor;
|
||||||
font: 10pt $font;}
|
font: 100% $font;}
|
||||||
textarea:focus {
|
textarea:focus {
|
||||||
border: #$inputborder solid 1px;
|
border: #$inputborder solid 1px;
|
||||||
background:#000000;
|
background:#000000;
|
||||||
color: #$formtextcolor;
|
color: #$formtextcolor;
|
||||||
font: 10pt $font;}
|
font: 100% $font;}
|
||||||
.radio{
|
.radio{
|
||||||
border: none;
|
border: none;
|
||||||
background:none;
|
background:none;
|
||||||
color: #$formtextcolor;
|
color: #$formtextcolor;
|
||||||
font: 10pt $font;}
|
font: 100% $font;}
|
||||||
.submit{
|
.submit{
|
||||||
border: #$inputborder solid 2px;
|
border: #$inputborder solid 2px;
|
||||||
font: 10pt $font;}
|
font: 100% $font;}
|
||||||
";
|
";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user