Changeset 7130
- Timestamp:
- May 10, 2008, 7:06:10 PM (14 years ago)
- Location:
- OpenPNE/trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
OpenPNE/trunk/public_html/xhtml_style.php
r7123 r7130 10 10 11 11 $custom_css = p_common_c_siteadmin4target_pagename('inc_custom_css'); 12 $decoration_config = db_decoration_enable_list(); 12 13 $old_colors = util_get_color_config(); 13 14 $colors = array( … … 22 23 9 => $old_colors['bg_10'], // (9)左メニュー枠色 23 24 ); 25 24 26 function getSkin($name) 25 27 { … … 2070 2072 2071 2073 /*============================================================================== 2074 * 文字装飾 2075 *----------------------------------------------------------------------------*/ 2076 <?php if ($decoration_config['op_b']) : ?> 2077 span.op_b { 2078 text-decoration : inherit; 2079 font-style : inherit; 2080 font-weight : bold; 2081 color : inherit; 2082 font-size: inherit; 2083 } 2084 <?php endif; ?> 2085 2086 <?php if ($decoration_config['op_u']) : ?> 2087 span.op_u { 2088 text-decoration : underline; 2089 font-style : inherit; 2090 font-weight : inherit; 2091 color : inherit; 2092 font-size: inherit; 2093 } 2094 <?php endif; ?> 2095 2096 <?php if ($decoration_config['op_s']) : ?> 2097 span.op_s { 2098 text-decoration : line-through; 2099 font-style : inherit; 2100 font-weight : inherit; 2101 color : inherit; 2102 font-size: inherit; 2103 } 2104 <?php endif; ?> 2105 2106 <?php if ($decoration_config['op_i']) : ?> 2107 span.op_i { 2108 text-decoration : inherit; 2109 font-style : italic; 2110 font-weight : inherit; 2111 color : inherit; 2112 font-size: inherit; 2113 } 2114 <?php endif; ?> 2115 2116 <?php if ($decoration_config['op_large']) : ?> 2117 span.op_large { 2118 text-decoration : inherit; 2119 font-style : inherit; 2120 font-weight : inherit; 2121 color : inherit; 2122 font-size : 20px; 2123 } 2124 <?php endif; ?> 2125 2126 <?php if ($decoration_config['op_small']) : ?> 2127 span.op_small { 2128 text-decoration : inherit; 2129 font-style : inherit; 2130 font-weight : inherit; 2131 color : inherit; 2132 font-size : 8px; 2133 } 2134 <?php endif; ?> 2135 2136 <?php if ($decoration_config['op_color']) : ?> 2137 span.op_color { 2138 text-decoration : inherit; 2139 font-style : inherit; 2140 font-weight : inherit; 2141 color : inherit; 2142 font-size: inherit; 2143 } 2144 <?php else : ?> 2145 span.op_color { 2146 text-decoration : inherit; 2147 font-style : inherit; 2148 font-weight : inherit; 2149 color : #000 !important; 2150 font-size: inherit; 2151 } 2152 <?php endif; ?> 2153 2154 /*============================================================================== 2072 2155 * 2073 2156 *----------------------------------------------------------------------------*/ -
OpenPNE/trunk/webapp/modules/pc/templates/common/layout.tpl
r7028 r7130 12 12 <script type="text/javascript" src="./js/Selection.js"></script> 13 13 <script type="text/javascript" src="./js/pne.js"></script> 14 <style type="text/css">15 /* 文字装飾 */16 ({if $INC_HEADER_decoration_config.op_b})17 span.op_b {18 text-decoration : inherit;19 font-style : inherit;20 font-weight : bold;21 color : inherit;22 font-size: inherit;23 }24 ({/if})25 26 ({if $INC_HEADER_decoration_config.op_u})27 span.op_u {28 text-decoration : underline;29 font-style : inherit;30 font-weight : inherit;31 color : inherit;32 font-size: inherit;33 }34 ({/if})35 36 ({if $INC_HEADER_decoration_config.op_s})37 span.op_s {38 text-decoration : line-through;39 font-style : inherit;40 font-weight : inherit;41 color : inherit;42 font-size: inherit;43 }44 ({/if})45 46 ({if $INC_HEADER_decoration_config.op_i})47 span.op_i {48 text-decoration : inherit;49 font-style : italic;50 font-weight : inherit;51 color : inherit;52 font-size: inherit;53 }54 ({/if})55 56 ({if $INC_HEADER_decoration_config.op_large})57 span.op_large {58 text-decoration : inherit;59 font-style : inherit;60 font-weight : inherit;61 color : inherit;62 font-size : 20px;63 }64 ({/if})65 66 ({if $INC_HEADER_decoration_config.op_small})67 span.op_small {68 text-decoration : inherit;69 font-style : inherit;70 font-weight : inherit;71 color : inherit;72 font-size : 8px;73 }74 ({/if})75 76 ({if !$INC_HEADER_decoration_config.op_color})77 span.op_color {78 text-decoration : inherit;79 font-style : inherit;80 font-weight : inherit;81 color : #000 !important;82 font-size: inherit;83 }84 ({else})85 span.op_color {86 text-decoration : inherit;87 font-style : inherit;88 font-weight : inherit;89 color : inherit;90 font-size: inherit;91 }92 ({/if})93 94 </style>95 14 </head> 96 15 <body id="pc_page_({$INC_HEADER_page_name})"><div id="Body"> -
OpenPNE/trunk/webapp_biz/modules/biz/templates/common/layout.tpl
r7105 r7130 12 12 <script type="text/javascript" src="./js/Selection.js"></script> 13 13 <script type="text/javascript" src="./js/pne.js"></script> 14 <style type="text/css">15 /* 文字装飾 */16 ({if $INC_HEADER_decoration_config.op_b})17 span.op_b {18 text-decoration : inherit;19 font-style : inherit;20 font-weight : bold;21 color : inherit;22 font-size: inherit;23 }24 ({/if})25 26 ({if $INC_HEADER_decoration_config.op_u})27 span.op_u {28 text-decoration : underline;29 font-style : inherit;30 font-weight : inherit;31 color : inherit;32 font-size: inherit;33 }34 ({/if})35 36 ({if $INC_HEADER_decoration_config.op_s})37 span.op_s {38 text-decoration : line-through;39 font-style : inherit;40 font-weight : inherit;41 color : inherit;42 font-size: inherit;43 }44 ({/if})45 46 ({if $INC_HEADER_decoration_config.op_i})47 span.op_i {48 text-decoration : inherit;49 font-style : italic;50 font-weight : inherit;51 color : inherit;52 font-size: inherit;53 }54 ({/if})55 56 ({if $INC_HEADER_decoration_config.op_large})57 span.op_large {58 text-decoration : inherit;59 font-style : inherit;60 font-weight : inherit;61 color : inherit;62 font-size : 20px;63 }64 ({/if})65 66 ({if $INC_HEADER_decoration_config.op_small})67 span.op_small {68 text-decoration : inherit;69 font-style : inherit;70 font-weight : inherit;71 color : inherit;72 font-size : 8px;73 }74 ({/if})75 76 ({if !$INC_HEADER_decoration_config.op_color})77 span.op_color {78 text-decoration : inherit;79 font-style : inherit;80 font-weight : inherit;81 color : #000 !important;82 font-size: inherit;83 }84 ({else})85 span.op_color {86 text-decoration : inherit;87 font-style : inherit;88 font-weight : inherit;89 color : inherit;90 font-size: inherit;91 }92 ({/if})93 94 </style>95 14 </script> 96 15 </head> -
OpenPNE/trunk/webapp_biz/modules/pc/templates/common/layout.tpl
r7073 r7130 12 12 <script type="text/javascript" src="./js/Selection.js"></script> 13 13 <script type="text/javascript" src="./js/pne.js"></script> 14 <style type="text/css">15 /* 文字装飾 */16 ({if $INC_HEADER_decoration_config.op_b})17 span.op_b {18 text-decoration : inherit;19 font-style : inherit;20 font-weight : bold;21 color : inherit;22 font-size: inherit;23 }24 ({/if})25 26 ({if $INC_HEADER_decoration_config.op_u})27 span.op_u {28 text-decoration : underline;29 font-style : inherit;30 font-weight : inherit;31 color : inherit;32 font-size: inherit;33 }34 ({/if})35 36 ({if $INC_HEADER_decoration_config.op_s})37 span.op_s {38 text-decoration : line-through;39 font-style : inherit;40 font-weight : inherit;41 color : inherit;42 font-size: inherit;43 }44 ({/if})45 46 ({if $INC_HEADER_decoration_config.op_i})47 span.op_i {48 text-decoration : inherit;49 font-style : italic;50 font-weight : inherit;51 color : inherit;52 font-size: inherit;53 }54 ({/if})55 56 ({if $INC_HEADER_decoration_config.op_large})57 span.op_large {58 text-decoration : inherit;59 font-style : inherit;60 font-weight : inherit;61 color : inherit;62 font-size : 20px;63 }64 ({/if})65 66 ({if $INC_HEADER_decoration_config.op_small})67 span.op_small {68 text-decoration : inherit;69 font-style : inherit;70 font-weight : inherit;71 color : inherit;72 font-size : 8px;73 }74 ({/if})75 76 ({if !$INC_HEADER_decoration_config.op_color})77 span.op_color {78 text-decoration : inherit;79 font-style : inherit;80 font-weight : inherit;81 color : #000 !important;82 font-size: inherit;83 }84 ({else})85 span.op_color {86 text-decoration : inherit;87 font-style : inherit;88 font-weight : inherit;89 color : inherit;90 font-size: inherit;91 }92 ({/if})93 94 </style>95 14 </script> 96 15 </head>
Note: See TracChangeset
for help on using the changeset viewer.