Changeset 406
- Timestamp:
- 06/10/09 08:26:30 (8 months ago)
- Location:
- trunk/themes/blanktheme
- Files:
-
- 4 modified
-
plugins/function.bt_htmloutput.php (modified) (4 diffs)
-
plugins/function.bt_userlinks.php (modified) (1 diff)
-
style/screen/basemod.css (modified) (1 diff)
-
style/screen/content.css (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/themes/blanktheme/plugins/function.bt_htmloutput.php
r402 r406 26 26 // variables to use 27 27 // parameters 28 $section = $params['section']; 29 unset($params); 28 if (!isset($params['section']) || empty($params['section'])) { 29 return ''; 30 } 31 30 32 // blanktheme vars 31 33 $body = $smarty->_tpl_vars['body']; … … 37 39 // assign the respective output 38 40 $output = ''; 39 switch ($ section)41 switch ($params['section']) 40 42 { 41 43 case 'fontresize': … … 62 64 case 'head': 63 65 // head stylesheets 64 $output = '<link rel="stylesheet" href="'.$smarty->stylepath.'/layout_'.$body.'.css" type="text/css"/> 65 <!--[if lte IE 7]>' 66 /* 67 $output = '<link rel="stylesheet" href="'.$smarty->themepath.'/yaml/core/slim_base.css" type="text/css"/> 68 <link rel="stylesheet" href="'.$smarty->stylepath.'/screen/basemod.css" type="text/css"/> 69 <link rel="stylesheet" href="'.$smarty->stylepath.'/screen/content.css" type="text/css"/> 70 */ 71 $output = '<link rel="stylesheet" href="'.$smarty->stylepath.'/layout_'.$body.'.css" type="text/css"/>' 72 .'<!--[if lte IE 7]>' 66 73 .'<link rel="stylesheet" href="'.$smarty->stylepath.'/patches/patch_'.$body.'.css" type="text/css" />' 67 74 // .'<link rel="stylesheet" href="'.$smarty->themepath.'/yaml/core/slim_iehacks.css" type="text/css" />' … … 116 123 } 117 124 */ 125 if (!isset($params['noempty']) || !$params['noempty']) { 126 $output = !empty($output) ? $output : 'bt-empty'; 127 } 118 128 break; 119 129 } -
trunk/themes/blanktheme/plugins/function.bt_userlinks.php
r402 r406 103 103 if (is_array($option)) { 104 104 $return .= '<li'. (($option[0] == $current)?' id='.$currentclass:'') .'>'; 105 $return .= '<a'. ((isset($option[3]) && is_array($option[3]))?' class="navparent"':''). ' title="'. DataUtil::formatForDisplay($option[1]). '" href="'.DataUtil::formatForDisplay($option[2]).'">'. ($span ? '<span>' : ''). DataUtil::formatForDisplay($option[1]). ($span ? '</span>' : ''). '</a>'; 105 if (!empty($option[2])) { 106 $return .= '<a'. ((isset($option[3]) && is_array($option[3]))?' class="navparent"':''). ' title="'. DataUtil::formatForDisplay($option[1]). '" href="'.DataUtil::formatForDisplay($option[2]).'">'. ($span ? '<span>' : ''). DataUtil::formatForDisplay($option[1]). ($span ? '</span>' : ''). '</a>'; 107 } else { 108 $return .= ($span ? '<span>' : ''). DataUtil::formatForDisplay($option[1]). ($span ? '</span>' : ''); 109 } 106 110 // Render the optional suboptions recursively 107 111 if (isset($option[3]) && is_array($option[3])) { -
trunk/themes/blanktheme/style/screen/basemod.css
r404 r406 193 193 #nav_main ul li a:active { 194 194 background: #3b69ad; 195 border: none; 195 196 color: #fff; 196 197 text-decoration: none; -
trunk/themes/blanktheme/style/screen/content.css
r405 r406 184 184 /* Miscellaneous */ 185 185 186 a img, 187 button img { 188 vertical-align: middle; 189 } 190 186 191 fieldset { 187 192 border: 1px solid #D9DAD5; … … 592 597 margin-bottom: 15px; 593 598 } 594 .pn-block h4{599 .pn-block .pn-block-title { 595 600 font-weight: 700; 596 601 line-height: 22px; 597 602 margin: 0; 598 603 padding: 3px 4px; 604 } 605 .pn-block .pn-block-content { 606 padding: 5px; 599 607 } 600 608 .pn-block ul,
