Changeset 851 in ExiteCMS


Ignore:
Timestamp:
09/28/07 22:31:53 (4 years ago)
Author:
hverton
Message:

fixed html entities issue in the escape plugin
added a CSS tag for links in the thumbnail tag

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/includes/template-plugins/modifier.escape.php

    r848 r851  
    2929    switch ($esc_type) { 
    3030        case 'entities': 
    31             $string = htmlspecialchars($string, ENT_NOQUOTES, $char_set); 
     31//            $string = htmlspecialchars($string, ENT_NOQUOTES, $char_set); 
    3232            return str_replace("&lt;", "<", str_replace("&gt;", ">", $string)); 
    3333 
  • trunk/themes/PLiTheme/styles.css

    r850 r851  
    11/* --- General settings ------------------------------------ */ 
    22 
    3 a                   { color:#0C386F; text-decoration:none; } 
    4 a img               { border:none; } 
    5 a:hover             { color:#0C386F; text-decoration:underline; } 
    6 a.side              { color:#0C386F; text-decoration:none; } 
    7 a:hover.side        { color:#0C386F; text-decoration:underline; } 
    8 a.white             { color:#eee; text-decoration:none; } 
    9 a:hover.white       { color:#eee; text-decoration:underline; } 
     3a                       { color:#0C386F; text-decoration:none; } 
     4a img                   { border:none; } 
     5a:hover                 { color:#0C386F; text-decoration:underline; } 
     6a.side                  { color:#0C386F; text-decoration:none; } 
     7a:hover.side            { color:#0C386F; text-decoration:underline; } 
     8a.white                 { color:#eee; text-decoration:none; } 
     9a:hover.white           { color:#eee; text-decoration:underline; } 
    1010 
    11 hr                  { border:none; color:#ccc; background-color:#ccc; height:1px; } 
     11hr                      { border:none; color:#ccc; background-color:#ccc; height:1px; } 
    1212 
    1313/* --- HTML form settings ---------------------------------- */ 
    1414 
    15 form                { margin:0px; } 
     15form                    { margin:0px; } 
    1616 
    17 .button             { font:0.9em Arial,Sans-Serif; Sans-Serif; font-weight: bold; color:#606060; background-color:#e0e0e0; border-top:1px #ddd solid; border-left:1px #ddd solid; border-bottom:1px #666 solid; border-right:1px #666 solid; cursor:pointer; margin-top:2px; padding: 1px 2px; background:url(/themes/PLiTheme/images/buttonbg.jpg) repeat-x left top; } 
    18 .textbox            { font:1em Verdana, Arial,Sans-Serif; color:#000; background-color:#eee; border:1px #666 solid; } 
     17.button                 { font:0.9em Arial,Sans-Serif; Sans-Serif; font-weight: bold; color:#606060; background-color:#e0e0e0; border-top:1px #ddd solid; border-left:1px #ddd solid; border-bottom:1px #666 solid; border-right:1px #666 solid; cursor:pointer; margin-top:2px; padding: 1px 2px; background:url(/themes/PLiTheme/images/buttonbg.jpg) repeat-x left top; } 
     18.textbox                { font:1em Verdana, Arial,Sans-Serif; color:#000; background-color:#eee; border:1px #666 solid; } 
    1919 
    2020/* --- Website template ------------------------------------ */ 
    2121 
    22 body                { font:0.7em Verdana,Arial,Sans-Serif; margin: 5px 5px 5px 5px; color:#000; background-color:#bbbbbc; } 
     22body                    { font:0.7em Verdana,Arial,Sans-Serif; margin: 5px 5px 5px 5px; color:#000; background-color:#bbbbbc; } 
    2323 
    24 .main-bg            { padding:5px 0px 5px 0px; } 
    25 .main-body          { color:#000; background-color:#eee; padding:3px 4px 3px 4px; } 
     24.main-bg                { padding:5px 0px 5px 0px; } 
     25.main-body              { color:#000; background-color:#eee; padding:3px 4px 3px 4px; } 
    2626 
    27 .alt                { color:#666; } 
     27.alt                    { color:#666; } 
    2828 
    29 .small              { font-weight:normal; color:#444; } 
    30 .small2             { font-weight:normal; color:#888; } 
    31 .smallalt           { color:#0C386F; } 
     29.small                  { font-weight:normal; color:#444; } 
     30.small2                 { font-weight:normal; color:#888; } 
     31.smallalt               { color:#0C386F; } 
    3232 
    33 .infobar            { color:#000; background-color:#ddd; padding:3px 4px 3px 4px; } 
     33.infobar                { color:#000; background-color:#ddd; padding:3px 4px 3px 4px; } 
    3434 
    35 .comment-name       { font-weight:bold; color:#113355; } 
     35.comment-name           { font-weight:bold; color:#113355; } 
    3636 
    3737/* --- Header ---------------------------------------------- */ 
    3838 
    39 .border-tleft       { width:5px; height:16px; background-image:url(images/border-tleft.gif); } 
    40 .border-tright      { width:5px; height:16px; background-image:url(images/border-tright.gif); } 
    41 .border-tmain       { height:16px; background-image:url(images/border-tmain.gif); background-repeat:repeat-x; } 
     39.border-tleft           { width:5px; height:16px; background-image:url(images/border-tleft.gif); } 
     40.border-tright          { width:5px; height:16px; background-image:url(images/border-tright.gif); } 
     41.border-tmain           { height:16px; background-image:url(images/border-tmain.gif); background-repeat:repeat-x; } 
    4242 
    43 .headerbanner       { color:#333; background-color:#eee; padding:0px; } 
     43.headerbanner           { color:#333; background-color:#eee; padding:0px; } 
    4444 
    45 .header             { color:#333; background-color:#eee; padding:5px; } 
     45.header                 { color:#333; background-color:#eee; padding:5px; } 
    4646 
    47 .sub-cap-left       { width:5px; height:21px; background-image:url(images/sub-cap-left.gif); } 
    48 .sub-cap-right      { width:5px; height:21px; background-image:url(images/sub-cap-right.gif); } 
    49 .sub-cap-main       { color:#333; height:21px; padding:0px 2px 0px 2px; background-image:url(images/sub-cap-main.gif); background-repeat:repeat-x; } 
     47.sub-cap-left           { width:5px; height:21px; background-image:url(images/sub-cap-left.gif); } 
     48.sub-cap-right          { width:5px; height:21px; background-image:url(images/sub-cap-right.gif); } 
     49.sub-cap-main           { color:#333; height:21px; padding:0px 2px 0px 2px; background-image:url(images/sub-cap-main.gif); background-repeat:repeat-x; } 
    5050 
    5151/* --- Panels ---------------------------------------------- */ 
    5252 
    53 .cap-left           { width:5px; height:21px; background-image:url(images/cap-left.gif); } 
    54 .cap-right          { width:5px; height:21px; background-image:url(images/cap-right.gif); } 
    55 .cap-main           { font-weight:normal; color:#333; height:21px; padding:0px 2px 0px 2px; background-image:url(images/cap-main.gif); background-repeat:repeat-x; } 
     53.cap-left               { width:5px; height:21px; background-image:url(images/cap-left.gif); } 
     54.cap-right              { width:5px; height:21px; background-image:url(images/cap-right.gif); } 
     55.cap-main               { font-weight:normal; color:#333; height:21px; padding:0px 2px 0px 2px; background-image:url(images/cap-main.gif); background-repeat:repeat-x; } 
    5656 
    57 .border-left        { width:5px; background-image:url(images/border-left.gif); background-repeat:repeat-y; } 
    58 .border-right       { width:5px; background-image:url(images/border-right.gif); background-repeat:repeat-y; } 
     57.border-left            { width:5px; background-image:url(images/border-left.gif); background-repeat:repeat-y; } 
     58.border-right           { width:5px; background-image:url(images/border-right.gif); background-repeat:repeat-y; } 
    5959 
    60 .border-bleft       { width:5px; height:16px; background-image:url(images/border-bleft.gif); } 
    61 .border-bright      { width:5px; height:16px; background-image:url(images/border-bright.gif); } 
    62 .border-bmain       { height:16px; background-image:url(images/border-bmain.gif); background-repeat:repeat-x; } 
     60.border-bleft           { width:5px; height:16px; background-image:url(images/border-bleft.gif); } 
     61.border-bright          { width:5px; height:16px; background-image:url(images/border-bright.gif); } 
     62.border-bmain           { height:16px; background-image:url(images/border-bmain.gif); background-repeat:repeat-x; } 
    6363 
    64 .side-border-left   { padding:5px 5px 0px 0px; } 
    65 .side-border-right  { padding:5px 0px 0px 5px; } 
    66 .side-body          { color:#000; background-color:#eee; padding:4px 4px 6px 4px; } 
    67 .side-body-nm       { color:#000; background-color:#eee; } 
    68 .side-body-sub      { background-color:#ddd; border-bottom:1px #ccc solid; border-top:1px #eee solid; } 
     64.side-border-left       { padding:5px 5px 0px 0px; } 
     65.side-border-right      { padding:5px 0px 0px 5px; } 
     66.side-body              { color:#000; background-color:#eee; padding:4px 4px 6px 4px; } 
     67.side-body-nm           { color:#000; background-color:#eee; } 
     68.side-body-sub          { background-color:#ddd; border-bottom:1px #ccc solid; border-top:1px #eee solid; } 
    6969 
    70 .side-caption       { font-weight:bold; color:#eee; background-color:#004a80; padding:0px 4px 3px 4px; } 
     70.side-caption           { font-weight:bold; color:#eee; background-color:#004a80; padding:0px 4px 3px 4px; } 
    7171 
    72 .side-small         { font-weight:normal; color:#333; } 
     72.side-small             { font-weight:normal; color:#333; } 
    7373 
    74 .side-label         { color:#00244f; background-color:#e3e3e3; margin:2px 0px 2px 0px; padding:1px 0px 1px 8px; white-space:nowrap;overflow:hidden; } 
    75 .side-label-link    { white-space:nowrap;overflow:hidden;} 
    76 .side-label-button  { position:relative; float:right; top:2px; right:2px; } 
     74.side-label             { color:#00244f; background-color:#e3e3e3; margin:2px 0px 2px 0px; padding:1px 0px 1px 8px; white-space:nowrap;overflow:hidden; } 
     75.side-label-link        { white-space:nowrap;overflow:hidden;} 
     76.side-label-button      { position:relative; float:right; top:2px; right:2px; } 
    7777 
    78 hr.side-hr          { border:1px #ccc solid; border-bottom:1px #eee solid; } 
     78hr.side-hr              { border:1px #ccc solid; border-bottom:1px #eee solid; } 
    7979 
    8080/* --- Footer ---------------------------------------------- */ 
    8181 
    82 .footer             { font:55% Tahoma,Verdana,Arial,Sans-Serif; color:#333; background-color:#bbb; border:#aaa 1px solid; padding:10px; } 
     82.footer                 { font:55% Tahoma,Verdana,Arial,Sans-Serif; color:#333; background-color:#bbb; border:#aaa 1px solid; padding:10px; } 
    8383 
    84 .footer2            { text-align:center; color: #555; } 
    85 .footer2 img        { border: 0px; vertical-align: -30%; } 
    86 .footer2 a:link     { color: #555; } 
    87 .footer2 a:visited  { color: #555; } 
     84.footer2                { text-align:center; color: #555; } 
     85.footer2 img            { border: 0px; vertical-align: -30%; } 
     86.footer2 a:link         { color: #555; } 
     87.footer2 a:visited      { color: #555; } 
    8888 
    8989/* --- Forum ----------------------------------------------- */ 
    9090 
    91 .tbl-border         { background-color:#bbb; } 
    92 .tbl                { padding:3px 4px 3px 4px; } 
    93 .tbl1               { color:#000; background-color:#eee; padding:4px; } 
    94 .tbl_title          { text-align: right; padding: 4px; } 
    95 .tbl_space          { background-color: #eeeeee; height: 8px; } 
    96 .tbl_left           { color:#333333; background-color:#fbf9f9; padding:4px; border-left: 1px solid #bbbbbb; border-top: 1px solid #bbbbbb; } 
    97 .tbl_left_bottom    { background-color:#fbf9f9; padding:4px; border-left: 1px solid #bbbbbb; border-bottom: 1px solid #bbbbbb; } 
    98 .tbl_right          { background-color:#eeeeee; padding:4px; border: 1px solid #bbbbbb; } 
    99 .tbl_right a        { text-decoration:underline; } 
    100 .tbl2               { color:#333333; background-color:#e3e3e3; padding:4px; } 
    101 .tbl_top_left       { color:#333333; font-weight: bold; background-color:#e3e3e3; padding:4px; border-left: 1px solid #bbbbbb; border-top: 1px solid #bbbbbb; } 
    102 .tbl_top_mid        { font-weight: bold; color:#333333; background-color:#e3e3e3; padding:4px; border-top: 1px solid #bbbbbb; } 
    103 .tbl_top_right      { color:#333333; background-color:#e3e3e3; padding:4px; border-top: 1px solid #bbbbbb; border-right: 1px solid #bbbbbb; } 
    104 .tbl_top_right img  { margin-right: 2px; } 
    105 .unread             { color:#000000; background-color:#e0f5f9; padding:4px; border: 1px solid #bbbbbb; } 
    106 .forum-caption      { font-weight:bold; color:#333; background-color:#ccc; padding:2px 4px 4px 4px; } 
    107 .quote              { color:#000; background-color:#fff; padding:2px; margin:5px 20px 5px 20px; border:1px #bbbbbb solid; } 
    108 .codeblock          { font-family: courier, monospace; margin:5px 20px 5px 20px; overflow-x:auto; white-space: nowrap} 
    109 .code               { margin:0px; padding:0 0 0 5px; border:1px #bbb solid; background-color:#fff; overflow-x:hidden} 
    110 .codenr             { margin:0px; padding:0px 3px 0px 3px; border:1px #bbb solid; background-color:#ddd; float:left; } 
    111 .thumbnail          { color:#ddd;background-color:#333;text-align:center } 
     91.tbl-border             { background-color:#bbb; } 
     92.tbl                    { padding:3px 4px 3px 4px; } 
     93.tbl1                   { color:#000; background-color:#eee; padding:4px; } 
     94.tbl_title              { text-align: right; padding: 4px; } 
     95.tbl_space              { background-color: #eeeeee; height: 8px; } 
     96.tbl_left               { color:#333333; background-color:#fbf9f9; padding:4px; border-left: 1px solid #bbbbbb; border-top: 1px solid #bbbbbb; } 
     97.tbl_left_bottom        { background-color:#fbf9f9; padding:4px; border-left: 1px solid #bbbbbb; border-bottom: 1px solid #bbbbbb; } 
     98.tbl_right              { background-color:#eeeeee; padding:4px; border: 1px solid #bbbbbb; } 
     99.tbl_right a            { text-decoration:underline; } 
     100.tbl2                   { color:#333333; background-color:#e3e3e3; padding:4px; } 
     101.tbl_top_left           { color:#333333; font-weight: bold; background-color:#e3e3e3; padding:4px; border-left: 1px solid #bbbbbb; border-top: 1px solid #bbbbbb; } 
     102.tbl_top_mid            { font-weight: bold; color:#333333; background-color:#e3e3e3; padding:4px; border-top: 1px solid #bbbbbb; } 
     103.tbl_top_right          { color:#333333; background-color:#e3e3e3; padding:4px; border-top: 1px solid #bbbbbb; border-right: 1px solid #bbbbbb; } 
     104.tbl_top_right img      { margin-right: 2px; } 
     105.unread                 { color:#000000; background-color:#e0f5f9; padding:4px; border: 1px solid #bbbbbb; } 
     106.forum-caption          { font-weight:bold; color:#333; background-color:#ccc; padding:2px 4px 4px 4px; } 
     107.quote                  { color:#000; background-color:#fff; padding:2px; margin:5px 20px 5px 20px; border:1px #bbbbbb solid; } 
     108.codeblock              { font-family: courier, monospace; margin:5px 20px 5px 20px; overflow-x:auto; white-space: nowrap} 
     109.code                   { margin:0px; padding:0 0 0 5px; border:1px #bbb solid; background-color:#fff; overflow-x:hidden} 
     110.codenr                 { margin:0px; padding:0px 3px 0px 3px; border:1px #bbb solid; background-color:#ddd; float:left; } 
     111.thumbnail              { color:#ddd;background-color:#333;text-align:center; } 
     112.thumbnail a:link       { color: #ddd; } 
     113.thumbnail a:visited    { color: #ddd; } 
    112114 
    113115/* --- Pollbox --------------------------------------------- */ 
    114116 
    115 .poll               { height:12px; border:1px #333 solid; } 
     117.poll                   { height:12px; border:1px #333 solid; } 
    116118 
    117119/* --- TinyMCE overrides ------------------------------------ */ 
    118120 
    119 body.mceContentBody { background-color:#eee; } 
     121body.mceContentBody     { background-color:#eee; } 
    120122 
    121123/* --- Shoutbox -------------------------------------------- */ 
    122124 
    123 .shoutboxname       { font-weight:bold; color:#113355; } 
    124 .shoutbox           { color:#555; } 
    125 .shoutboxdate       { color:#333; text-align:right; } 
     125.shoutboxname           { font-weight:bold; color:#113355; } 
     126.shoutbox               { color:#555; } 
     127.shoutboxdate           { color:#333; text-align:right; } 
    126128 
    127129/* --- Download Panel --------------------------------------- */ 
    128130 
    129 .bar                { width:36px; margin-left:10px;margin-right:-1px; } 
    130 #bar1               { background-image:url(images/bar-1.png); background-position: 0% 100%; float:right; position:relative; } 
    131 #bar2               { background-image:url(images/bar-2.png); background-position: 0% 100%; float:right; position:relative; } 
    132 #bar3               { background-image:url(images/bar-3.png); background-position: 0% 100%; float:right; position:relative; } 
    133 #bar4               { background-image:url(images/bar-4.png); background-position: 0% 100%; float:right; position:relative; } 
    134 #bar5               { background-image:url(images/bar-5.png); background-position: 0% 100%; float:right; position:relative; } 
    135 #bar6               { background-image:url(images/bar-6.png); background-position: 0% 100%; float:right; position:relative; } 
    136 #bar7               { background-image:url(images/bar-7.png); background-position: 0% 100%; float:right; position:relative; } 
    137 #bar8               { background-image:url(images/bar-8.png); background-position: 0% 100%; float:right; position:relative; } 
    138 #bar9               { background-image:url(images/bar-9.png); background-position: 0% 100%; float:right; position:relative; } 
     131.bar                    { width:36px; margin-left:10px;margin-right:-1px; } 
     132#bar1                   { background-image:url(images/bar-1.png); background-position: 0% 100%; float:right; position:relative; } 
     133#bar2                   { background-image:url(images/bar-2.png); background-position: 0% 100%; float:right; position:relative; } 
     134#bar3                   { background-image:url(images/bar-3.png); background-position: 0% 100%; float:right; position:relative; } 
     135#bar4                   { background-image:url(images/bar-4.png); background-position: 0% 100%; float:right; position:relative; } 
     136#bar5                   { background-image:url(images/bar-5.png); background-position: 0% 100%; float:right; position:relative; } 
     137#bar6                   { background-image:url(images/bar-6.png); background-position: 0% 100%; float:right; position:relative; } 
     138#bar7                   { background-image:url(images/bar-7.png); background-position: 0% 100%; float:right; position:relative; } 
     139#bar8                   { background-image:url(images/bar-8.png); background-position: 0% 100%; float:right; position:relative; } 
     140#bar9                   { background-image:url(images/bar-9.png); background-position: 0% 100%; float:right; position:relative; } 
    139141 
    140 #bullet             { margin:0 0 1px 0; } 
    141 #total-downloads    { padding-top:4px; } 
    142 .boxheader          { width:45px; padding-top:0px; padding-right:1px; text-align:center; white-space: nowrap; } 
    143 .boxtypes           { width:45px; padding-top:4px; padding-right:1px; text-align:center; white-space: nowrap; } 
     142#bullet                 { margin:0 0 1px 0; } 
     143#total-downloads        { padding-top:4px; } 
     144.boxheader              { width:45px; padding-top:0px; padding-right:1px; text-align:center; white-space: nowrap; } 
     145.boxtypes               { width:45px; padding-top:4px; padding-right:1px; text-align:center; white-space: nowrap; } 
    144146 
    145147/* --- VirtualWeb ------------------------------------------ */ 
    146148 
    147 .tree-border        { border-collapse: collapse; } 
    148 .tree_header        { color:#333333; background-color:#e3e3e3; padding:4px; border: solid 1px #bbb } 
    149 .tree_lr            { color:#000; background-color:#eee; padding:1px; border-left: solid 1px #bbb; border-right: solid 1px #bbb } 
    150 .tree_lrb           { color:#000; background-color:#eee; padding:1px; border: solid 1px #bbb; border-top: 0px } 
     149.tree-border            { border-collapse: collapse; } 
     150.tree_header            { color:#333333; background-color:#e3e3e3; padding:4px; border: solid 1px #bbb } 
     151.tree_lr                { color:#000; background-color:#eee; padding:1px; border-left: solid 1px #bbb; border-right: solid 1px #bbb } 
     152.tree_lrb               { color:#000; background-color:#eee; padding:1px; border: solid 1px #bbb; border-top: 0px } 
    151153 
    152154/* --- Donations -------------------------------------------- */ 
    153155 
    154 .donate_title       { font-weight:bold;color:#004a80; } 
    155 .donate_box         { width:24em; height:24em; margin:1px; padding:0.5em; border:1px solid #CCC; -moz-border-radius:10px; background:#9d9ab7; } 
     156.donate_title           { font-weight:bold;color:#004a80; } 
     157.donate_box             { width:24em; height:24em; margin:1px; padding:0.5em; border:1px solid #CCC; -moz-border-radius:10px; background:#9d9ab7; } 
    156158 
    157159/* --- Google Maps ------------------------------------------ */ 
    158160 
    159 #tooltip            { width: 200px; z-index: 99999; } 
    160 .tooltip            { font-weight:bold;padding: 2px;border:1px #036 solid;border-width:1px 2px 2px 1px;border-color: #000 #666 #666 #000;background-color:#FF9;color: #000;} 
     161#tooltip                { width: 200px; z-index: 99999; } 
     162.tooltip                { font-weight:bold;padding: 2px;border:1px #036 solid;border-width:1px 2px 2px 1px;border-color: #000 #666 #666 #000;background-color:#FF9;color: #000;} 
    161163 
    162164/* ---------------------------------------------------------- */ 
Note: See TracChangeset for help on using the changeset viewer.