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