| 1 |
<?php
|
| 2 |
|
| 3 |
function phptemplate_settings($saved_settings) {
|
| 4 |
|
| 5 |
$settings = theme_get_settings('denver');
|
| 6 |
|
| 7 |
$defaults = array(
|
| 8 |
'denver_bodybg' => '',
|
| 9 |
'denver_custombodybg' => '',
|
| 10 |
'denver_font' => '',
|
| 11 |
'denver_customfont' => '',
|
| 12 |
'denver_width' => '',
|
| 13 |
'denver_customwidth' => '',
|
| 14 |
'denver_padding' => '',
|
| 15 |
'denver_custompadding' => '',
|
| 16 |
'denver_pgheader' => '',
|
| 17 |
'denver_custompgheader' => '',
|
| 18 |
'denver_pgheaderh' => '',
|
| 19 |
'denver_custompgheaderh' => '',
|
| 20 |
'denver_logohalign' => '',
|
| 21 |
'denver_navbg' => '',
|
| 22 |
'denver_customnavbg' => '',
|
| 23 |
'denver_ptabsposition' => '',
|
| 24 |
'denver_ptabs' => '',
|
| 25 |
'denver_customptabs' => '',
|
| 26 |
'denver_customptabsah' => '',
|
| 27 |
'denver_customptabsaa' => '',
|
| 28 |
'denver_plinksa' => '',
|
| 29 |
'denver_customplinksa' => '',
|
| 30 |
'denver_customplinksah' => '',
|
| 31 |
'denver_customplinksaa' => '',
|
| 32 |
'denver_searchposition' => '',
|
| 33 |
'denver_secposition' => '',
|
| 34 |
'denver_secbg' => '',
|
| 35 |
'denver_customsecbg' => '',
|
| 36 |
'denver_pgbg' => '',
|
| 37 |
'denver_custompgbg' => '',
|
| 38 |
'denver_centerbg' => '',
|
| 39 |
'denver_customcenterbg' => '',
|
| 40 |
'denver_pgcontentbg' => '',
|
| 41 |
'denver_custompgcontentbg' => '',
|
| 42 |
'denver_mainbg' => '',
|
| 43 |
'denver_custommainbg' => '',
|
| 44 |
'denver_nodebg' => '',
|
| 45 |
'denver_customnodebg' => '',
|
| 46 |
'denver_nodecontentbg' => '',
|
| 47 |
'denver_customnodecontentbg' => '',
|
| 48 |
'denver_leftsidebarwidth' => '',
|
| 49 |
'denver_customleftsidebarwidth' => '',
|
| 50 |
'denver_rightsidebarwidth' => '',
|
| 51 |
'denver_customrightsidebarwidth' => '',
|
| 52 |
'denver_leftbg' => '',
|
| 53 |
'denver_customleftbg' => '',
|
| 54 |
'denver_blocklbg' => '',
|
| 55 |
'denver_customblocklbg' => '',
|
| 56 |
'denver_blockltitle' => '',
|
| 57 |
'denver_customblockltitle' => '',
|
| 58 |
'denver_blocklcontent' => '',
|
| 59 |
'denver_customblocklcontent' => '',
|
| 60 |
'denver_rightbg' => '',
|
| 61 |
'denver_customrightbg' => '',
|
| 62 |
'denver_blockrbg' => '',
|
| 63 |
'denver_customblockrbg' => '',
|
| 64 |
'denver_blockrtitle' => '',
|
| 65 |
'denver_customblockrtitle' => '',
|
| 66 |
'denver_blockrcontent' => '',
|
| 67 |
'denver_customblockrcontent' => '',
|
| 68 |
'denver_footerbg' => '',
|
| 69 |
'denver_customfooterbg' => '',
|
| 70 |
'denver_style' => '',
|
| 71 |
'denver_cssfile' => 0,
|
| 72 |
'denver_customcssfile' => '',
|
| 73 |
'denver_csstype' => 0,
|
| 74 |
'denver_customcsstype' => '',
|
| 75 |
'denver_jsfile' => 0,
|
| 76 |
'denver_customjsfile' => '',
|
| 77 |
'denver_jstype' => 0,
|
| 78 |
'denver_customjstype' => '',
|
| 79 |
'denver_breadcrumb' => 0,
|
| 80 |
'denver_iepngfix' => 1,
|
| 81 |
'denver_themelogo' => 0,
|
| 82 |
'denver_suckerfish' => 0,
|
| 83 |
'denver_suckerfishcolor' => '',
|
| 84 |
);
|
| 85 |
|
| 86 |
$settings = array_merge($defaults, $settings);
|
| 87 |
$form['denver_style'] = array(
|
| 88 |
'#type' => 'select',
|
| 89 |
'#title' => t('Style'),
|
| 90 |
'#default_value' => $settings['denver_style'],
|
| 91 |
'#options' => array(
|
| 92 |
'blue' => t('Blue (default)'),
|
| 93 |
),
|
| 94 |
);
|
| 95 |
|
| 96 |
$settings = array_merge($defaults, $settings);
|
| 97 |
$form['denver_bodybg'] = array(
|
| 98 |
'#type' => 'select',
|
| 99 |
'#title' => t('Body Background'),
|
| 100 |
'#default_value' => $settings['denver_bodybg'],
|
| 101 |
'#options' => array(
|
| 102 |
'bodybg-gradient' => t('Gray Gradient (default)'),
|
| 103 |
'bodybg-teal-gradient' => t('Teal Gradient'),
|
| 104 |
'bodybg-white' => t('White'),
|
| 105 |
'bodybg-light-gray' => t('Light Gray'),
|
| 106 |
'bodybg-dark-gray' => t('Dark Gray'),
|
| 107 |
'bodybg-black' => t('Black'),
|
| 108 |
'bodybg-none' => t('None'),
|
| 109 |
'bodybg-custom-color' => t('Custom Body Background Color'),
|
| 110 |
'bodybg-custom' => t('Custom Body Background'),
|
| 111 |
),
|
| 112 |
);
|
| 113 |
|
| 114 |
$form['denver_custombodybg'] = array(
|
| 115 |
'#type' => 'textfield',
|
| 116 |
'#title' => t('Custom Body Background (must select Custom Body Background above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/body-bg.gif) 0 0 repeat-x, etc. Using <i>Custom Body Background Color</i> will keep the rounded top corners. Using <i>Custom Body Background</i> will remove the rounded top corners. Use regular css with full URL to image'),
|
| 117 |
'#default_value' => $settings['denver_custombodybg'],
|
| 118 |
'#size' => 40,
|
| 119 |
'#maxlength' => 100,
|
| 120 |
);
|
| 121 |
|
| 122 |
$form['denver_font'] = array(
|
| 123 |
'#type' => 'select',
|
| 124 |
'#title' => t('Font Family'),
|
| 125 |
'#default_value' => $settings['denver_font'],
|
| 126 |
'#options' => array(
|
| 127 |
'font-arial-verdana-sansserif' => t('Arial, Verdana, sans-serif (Default)'),
|
| 128 |
'font-arialnarrow-arial-helvetica-sansserif' => t('"Arial Narrow", Arial, Helvetica, sans-serif'),
|
| 129 |
'font-timesnewroman-times-serif' => t('"Times New Roman", Times, serif'),
|
| 130 |
'font-lucidasans-verdana-arial-sansserif' => t('"Lucida Sans", Verdana, Arial, sans-serif'),
|
| 131 |
'font-lucidagrande-verdana-sansserif' => t('"Lucida Grande", Verdana, sans-serif'),
|
| 132 |
'font-tahoma-verdana-arial-helvetica-sansserif' => t('Tahoma, Verdana, Arial, Helvetica, sans-serif'),
|
| 133 |
'font-georgia-timesnewroman-times-serif' => t('Georgia, "Times New Roman", Times, serif'),
|
| 134 |
'font-custom' => t('Custom Font (specify below)'),
|
| 135 |
),
|
| 136 |
);
|
| 137 |
|
| 138 |
$form['denver_customfont'] = array(
|
| 139 |
'#type' => 'textfield',
|
| 140 |
'#title' => t('Custom Font-Family Setting'),
|
| 141 |
'#default_value' => $settings['denver_customfont'],
|
| 142 |
'#size' => 40,
|
| 143 |
'#maxlength' => 100,
|
| 144 |
);
|
| 145 |
|
| 146 |
$settings = array_merge($defaults, $settings);
|
| 147 |
$form['denver_width'] = array(
|
| 148 |
'#type' => 'select',
|
| 149 |
'#title' => t('Page Width'),
|
| 150 |
'#default_value' => $settings['denver_width'],
|
| 151 |
'#options' => array(
|
| 152 |
'width-80' => t('80% (default)'),
|
| 153 |
'width-100' => t('100%'),
|
| 154 |
'width-700px' => t('700px'),
|
| 155 |
'width-850px' => t('850px'),
|
| 156 |
'width-custom' => t('Custom Page Width'),
|
| 157 |
),
|
| 158 |
);
|
| 159 |
|
| 160 |
$form['denver_customwidth'] = array(
|
| 161 |
'#type' => 'textfield',
|
| 162 |
'#title' => t('Custom Page Width in pixels or percent (must select Custom Page Width above) - i.e. 850px, 95%, etc'),
|
| 163 |
'#default_value' => $settings['denver_customwidth'],
|
| 164 |
'#size' => 6,
|
| 165 |
'#maxlength' => 6,
|
| 166 |
);
|
| 167 |
|
| 168 |
$settings = array_merge($defaults, $settings);
|
| 169 |
$form['denver_padding'] = array(
|
| 170 |
'#type' => 'select',
|
| 171 |
'#title' => t('Body Padding'),
|
| 172 |
'#default_value' => $settings['denver_padding'],
|
| 173 |
'#options' => array(
|
| 174 |
'padding-20px-0' => t('20px 0 (default)'),
|
| 175 |
'padding-20px' => t('20px'),
|
| 176 |
'padding-5em-0' => t('5em 0'),
|
| 177 |
'padding-5em' => t('5em'),
|
| 178 |
'padding-0' => t('0 (None)'),
|
| 179 |
'padding-custom' => t('Custom Body Padding'),
|
| 180 |
),
|
| 181 |
);
|
| 182 |
|
| 183 |
$form['denver_custompadding'] = array(
|
| 184 |
'#type' => 'textfield',
|
| 185 |
'#title' => t('Custom Body Padding in pixels or em (must select Custom Body Padding above) - i.e. 10px 0, 10px, 3em 0, 3em, 20px 40px 5px, etc. Use regular css'),
|
| 186 |
'#default_value' => $settings['denver_custompadding'],
|
| 187 |
'#size' => 27,
|
| 188 |
'#maxlength' => 27,
|
| 189 |
);
|
| 190 |
|
| 191 |
$settings = array_merge($defaults, $settings);
|
| 192 |
$form['denver_pgheader'] = array(
|
| 193 |
'#type' => 'select',
|
| 194 |
'#title' => t('Header Background'),
|
| 195 |
'#default_value' => $settings['denver_pgheader'],
|
| 196 |
'#options' => array(
|
| 197 |
'pgheader-tealgradient' => t('Teal Gradient (default)'),
|
| 198 |
'pgheader-trans' => t('Transparent'),
|
| 199 |
'pgheader-none' => t('No Page Header'),
|
| 200 |
'pgheader-custom-color' => t('Custom Header Color'),
|
| 201 |
'pgheader-custom' => t('Custom Header Background'),
|
| 202 |
),
|
| 203 |
);
|
| 204 |
|
| 205 |
$form['denver_custompgheader'] = array(
|
| 206 |
'#type' => 'textfield',
|
| 207 |
'#title' => t('Custom Header Background (must select Custom Header Background above) - i.e. #000, red, #fff url(http://mysite.com/images/header-bg.gif) 0 0 repeat-x, etc. Using <i>Custom Header Color</i> will keep the rounded top corners. Using <i>Custom Header Background</i> will remove the rounded top corners. Use regular css with full URL to image'),
|
| 208 |
'#default_value' => $settings['denver_custompgheader'],
|
| 209 |
'#size' => 40,
|
| 210 |
'#maxlength' => 300,
|
| 211 |
);
|
| 212 |
|
| 213 |
$settings = array_merge($defaults, $settings);
|
| 214 |
$form['denver_pgheaderh'] = array(
|
| 215 |
'#type' => 'select',
|
| 216 |
'#title' => t('Header Height'),
|
| 217 |
'#default_value' => $settings['denver_pgheaderh'],
|
| 218 |
'#options' => array(
|
| 219 |
'pgheaderh-auto' => t('Auto (default)'),
|
| 220 |
'pgheaderh-custom' => t('Custom Header Height'),
|
| 221 |
),
|
| 222 |
);
|
| 223 |
|
| 224 |
$form['denver_custompgheaderh'] = array(
|
| 225 |
'#type' => 'textfield',
|
| 226 |
'#title' => t('Custom Header Height (must select Custom Header Height above) - i.e. 60px, 10em, etc.'),
|
| 227 |
'#default_value' => $settings['denver_custompgheaderh'],
|
| 228 |
'#size' => 6,
|
| 229 |
'#maxlength' => 6,
|
| 230 |
);
|
| 231 |
|
| 232 |
$settings = array_merge($defaults, $settings);
|
| 233 |
$form['denver_logohalign'] = array(
|
| 234 |
'#type' => 'select',
|
| 235 |
'#title' => t('Logo Horizontal Alignment'),
|
| 236 |
'#default_value' => $settings['denver_logohalign'],
|
| 237 |
'#options' => array(
|
| 238 |
'logohalign-left' => t('Left (default)'),
|
| 239 |
'logohalign-center' => t('Center'),
|
| 240 |
'logohalign-right' => t('Right'),
|
| 241 |
),
|
| 242 |
);
|
| 243 |
|
| 244 |
$settings = array_merge($defaults, $settings);
|
| 245 |
$form['denver_navbg'] = array(
|
| 246 |
'#type' => 'select',
|
| 247 |
'#title' => t('Navigation Area'),
|
| 248 |
'#default_value' => $settings['denver_navbg'],
|
| 249 |
'#options' => array(
|
| 250 |
'navbg-silvergradient' => t('Silver Gradient (default)'),
|
| 251 |
'navbg-blackgradient' => t('Black Gradient'),
|
| 252 |
'navbg-blackshiny' => t('Shiny Black'),
|
| 253 |
'navbg-trans' => t('Transparent'),
|
| 254 |
'navbg-none' => t('No Navigation Area'),
|
| 255 |
'navbg-custom' => t('Custom Navigation Background'),
|
| 256 |
'navbg-customgradient' => t('Gradient Overlay (Set Background Color Below)'),
|
| 257 |
),
|
| 258 |
);
|
| 259 |
|
| 260 |
$form['denver_customnavbg'] = array(
|
| 261 |
'#type' => 'textfield',
|
| 262 |
'#title' => t('Navigation Background (must use <i>Custom Navigation Background</i> or <i>Gradient Overlay</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/nav-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 263 |
'#default_value' => $settings['denver_customnavbg'],
|
| 264 |
'#size' => 40,
|
| 265 |
'#maxlength' => 100,
|
| 266 |
);
|
| 267 |
|
| 268 |
$settings = array_merge($defaults, $settings);
|
| 269 |
$form['denver_ptabsposition'] = array(
|
| 270 |
'#type' => 'select',
|
| 271 |
'#title' => t('Tabs Position'),
|
| 272 |
'#default_value' => $settings['denver_ptabsposition'],
|
| 273 |
'#options' => array(
|
| 274 |
'ptabs-navleft' => t('Left Navigation Area (default)'),
|
| 275 |
'ptabs-navright' => t('Right Navigation Area'),
|
| 276 |
'ptabs-headleft' => t('Left Header Area'),
|
| 277 |
'ptabs-headright' => t('Right Header Area'),
|
| 278 |
),
|
| 279 |
);
|
| 280 |
|
| 281 |
$settings = array_merge($defaults, $settings);
|
| 282 |
$form['denver_ptabs'] = array(
|
| 283 |
'#type' => 'select',
|
| 284 |
'#title' => t('Tabs'),
|
| 285 |
'#default_value' => $settings['denver_ptabs'],
|
| 286 |
'#options' => array(
|
| 287 |
'ptabs-blue' => t('Blue Tabs (default)'),
|
| 288 |
'ptabs-gold' => t('Gold Tabs'),
|
| 289 |
'ptabs-green' => t('Green Tabs'),
|
| 290 |
'ptabs-red' => t('Red Tabs'),
|
| 291 |
'ptabs-teal' => t('Teal Tabs'),
|
| 292 |
'ptabs-custom-color' => t('Custom Tabs Color'),
|
| 293 |
'ptabs-custom' => t('Custom Tabs Background'),
|
| 294 |
),
|
| 295 |
);
|
| 296 |
|
| 297 |
$form['denver_customptabs'] = array(
|
| 298 |
'#type' => 'textfield',
|
| 299 |
'#title' => t('Custom Tabs (must select <i>Custom Tabs Color</i> or <i>Custom Tabs Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/tabs.gif) - use regular css'),
|
| 300 |
'#default_value' => $settings['denver_customptabs'],
|
| 301 |
'#size' => 40,
|
| 302 |
'#maxlength' => 100,
|
| 303 |
);
|
| 304 |
|
| 305 |
$form['denver_customptabsah'] = array(
|
| 306 |
'#type' => 'textfield',
|
| 307 |
'#title' => t('Custom Tabs Hover (must select <i>Custom Tabs Color</i> or <i>Custom Tabs Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/tabs-hover.gif) - use regular css'),
|
| 308 |
'#default_value' => $settings['denver_customptabsah'],
|
| 309 |
'#size' => 40,
|
| 310 |
'#maxlength' => 100,
|
| 311 |
);
|
| 312 |
|
| 313 |
$form['denver_customptabsaa'] = array(
|
| 314 |
'#type' => 'textfield',
|
| 315 |
'#title' => t('Custom Tabs Active (must select <i>Custom Tabs Color</i> or <i>Custom Tabs Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/tabs-active.gif) - use regular css'),
|
| 316 |
'#default_value' => $settings['denver_customptabsaa'],
|
| 317 |
'#size' => 40,
|
| 318 |
'#maxlength' => 100,
|
| 319 |
);
|
| 320 |
|
| 321 |
$settings = array_merge($defaults, $settings);
|
| 322 |
$form['denver_plinksa'] = array(
|
| 323 |
'#type' => 'select',
|
| 324 |
'#title' => t('Tabs Link Colors'),
|
| 325 |
'#default_value' => $settings['denver_plinksa'],
|
| 326 |
'#options' => array(
|
| 327 |
'plinksa-gray' => t('Gray/White/White (default)'),
|
| 328 |
'plinksa-black' => t('Black/Blue/Blue'),
|
| 329 |
'plinksa-custom' => t('Custom Tabs Link Colors'),
|
| 330 |
),
|
| 331 |
);
|
| 332 |
|
| 333 |
$form['denver_customplinksa'] = array(
|
| 334 |
'#type' => 'textfield',
|
| 335 |
'#title' => t('Custom Tabs Link Color (must select <i>Custom Tabs Link Colors</i> above) - i.e. #000000, red, #ffffff - use regular css'),
|
| 336 |
'#default_value' => $settings['denver_customplinksa'],
|
| 337 |
'#size' => 40,
|
| 338 |
'#maxlength' => 100,
|
| 339 |
);
|
| 340 |
|
| 341 |
$form['denver_customplinksah'] = array(
|
| 342 |
'#type' => 'textfield',
|
| 343 |
'#title' => t('Custom Tabs Link Hover Color (must select <i>Custom Tabs Link Colors</i> above) - i.e. #000000, red, #ffffff - use regular css'),
|
| 344 |
'#default_value' => $settings['denver_customplinksah'],
|
| 345 |
'#size' => 40,
|
| 346 |
'#maxlength' => 100,
|
| 347 |
);
|
| 348 |
|
| 349 |
$form['denver_customplinksaa'] = array(
|
| 350 |
'#type' => 'textfield',
|
| 351 |
'#title' => t('Custom Tabs Link Active Color (must select <i>Custom Tabs Link Colors</i> above) - i.e. #000000, red, #ffffff - use regular css'),
|
| 352 |
'#default_value' => $settings['denver_customplinksaa'],
|
| 353 |
'#size' => 40,
|
| 354 |
'#maxlength' => 100,
|
| 355 |
);
|
| 356 |
|
| 357 |
$settings = array_merge($defaults, $settings);
|
| 358 |
$form['denver_searchposition'] = array(
|
| 359 |
'#type' => 'select',
|
| 360 |
'#title' => t('Search Position'),
|
| 361 |
'#default_value' => $settings['denver_searchposition'],
|
| 362 |
'#options' => array(
|
| 363 |
'search-navright' => t('Right Navigation Area (default)'),
|
| 364 |
'search-navcenter' => t('Center Navigation Area'),
|
| 365 |
'search-navleft' => t('Left Navigation Area'),
|
| 366 |
'search-headright' => t('Right Header Area'),
|
| 367 |
'search-headcenter' => t('Center Header Area'),
|
| 368 |
'search-headleft' => t('Left Header Area'),
|
| 369 |
),
|
| 370 |
);
|
| 371 |
|
| 372 |
$settings = array_merge($defaults, $settings);
|
| 373 |
$form['denver_secposition'] = array(
|
| 374 |
'#type' => 'select',
|
| 375 |
'#title' => t('Secondary Links Position'),
|
| 376 |
'#default_value' => $settings['denver_secposition'],
|
| 377 |
'#options' => array(
|
| 378 |
'secondary-center' => t('Center Secondary Links (default)'),
|
| 379 |
'secondary-left' => t('Left Secondary Links'),
|
| 380 |
'secondary-right' => t('Right Secondary Links'),
|
| 381 |
),
|
| 382 |
);
|
| 383 |
|
| 384 |
$settings = array_merge($defaults, $settings);
|
| 385 |
$form['denver_secbg'] = array(
|
| 386 |
'#type' => 'select',
|
| 387 |
'#title' => t('Secondary Links Background'),
|
| 388 |
'#default_value' => $settings['denver_secbg'],
|
| 389 |
'#options' => array(
|
| 390 |
'secbg-gray' => t('Gray (default)'),
|
| 391 |
'secbg-blue' => t('Blue'),
|
| 392 |
'secbg-gold' => t('Gold'),
|
| 393 |
'secbg-trans' => t('Transparent'),
|
| 394 |
'secbg-custom' => t('Custom Secondary Links Background'),
|
| 395 |
),
|
| 396 |
);
|
| 397 |
|
| 398 |
$form['denver_customsecbg'] = array(
|
| 399 |
'#type' => 'textfield',
|
| 400 |
'#title' => t('Custom Secondary Links Background (must select <i>Custom Secondary Links Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/secondary-links-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 401 |
'#default_value' => $settings['denver_customsecbg'],
|
| 402 |
'#size' => 40,
|
| 403 |
'#maxlength' => 100,
|
| 404 |
);
|
| 405 |
|
| 406 |
$settings = array_merge($defaults, $settings);
|
| 407 |
$form['denver_pgbg'] = array(
|
| 408 |
'#type' => 'select',
|
| 409 |
'#title' => t('Page Background'),
|
| 410 |
'#default_value' => $settings['denver_pgbg'],
|
| 411 |
'#options' => array(
|
| 412 |
'pgbg-lightgradient' => t('Light Gradient (default)'),
|
| 413 |
'pgbg-tealgradient' => t('Teal Gradient'),
|
| 414 |
'pgbg-trans' => t('Transparent'),
|
| 415 |
'pgbg-custom' => t('Custom Page Background'),
|
| 416 |
),
|
| 417 |
);
|
| 418 |
|
| 419 |
$form['denver_custompgbg'] = array(
|
| 420 |
'#type' => 'textfield',
|
| 421 |
'#title' => t('Custom Page Background (must select <i>Custom Page Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/page-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 422 |
'#default_value' => $settings['denver_custompgbg'],
|
| 423 |
'#size' => 40,
|
| 424 |
'#maxlength' => 100,
|
| 425 |
);
|
| 426 |
|
| 427 |
$settings = array_merge($defaults, $settings);
|
| 428 |
$form['denver_centerbg'] = array(
|
| 429 |
'#type' => 'select',
|
| 430 |
'#title' => t('Center Column Background'),
|
| 431 |
'#default_value' => $settings['denver_centerbg'],
|
| 432 |
'#options' => array(
|
| 433 |
'centerbg-trans' => t('Transparent (default)'),
|
| 434 |
'centerbg-white' => t('White'),
|
| 435 |
'centerbg-lightgray' => t('Light Gray'),
|
| 436 |
'centerbg-gray' => t('Gray'),
|
| 437 |
'centerbg-black' => t('Black'),
|
| 438 |
'centerbg-custom' => t('Custom Center Column Background'),
|
| 439 |
),
|
| 440 |
);
|
| 441 |
|
| 442 |
$form['denver_customcenterbg'] = array(
|
| 443 |
'#type' => 'textfield',
|
| 444 |
'#title' => t('Custom Center Column Background (must select <i>Custom Center Column Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/center-column-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 445 |
'#default_value' => $settings['denver_customcenterbg'],
|
| 446 |
'#size' => 40,
|
| 447 |
'#maxlength' => 100,
|
| 448 |
);
|
| 449 |
|
| 450 |
$settings = array_merge($defaults, $settings);
|
| 451 |
$form['denver_pgcontentbg'] = array(
|
| 452 |
'#type' => 'select',
|
| 453 |
'#title' => t('Page Content Background'),
|
| 454 |
'#default_value' => $settings['denver_pgcontentbg'],
|
| 455 |
'#options' => array(
|
| 456 |
'pgcontentbg-lightgradient' => t('Light Gradient (default)'),
|
| 457 |
'pgcontentbg-tealgradient' => t('Teal Gradient'),
|
| 458 |
'pgcontentbg-trans' => t('Transparent'),
|
| 459 |
'pgcontentbg-custom' => t('Custom Page Content Background'),
|
| 460 |
),
|
| 461 |
);
|
| 462 |
|
| 463 |
$form['denver_custompgcontentbg'] = array(
|
| 464 |
'#type' => 'textfield',
|
| 465 |
'#title' => t('Custom Page Content Background (must select <i>Custom Page Content Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/page-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 466 |
'#default_value' => $settings['denver_custompgcontentbg'],
|
| 467 |
'#size' => 40,
|
| 468 |
'#maxlength' => 100,
|
| 469 |
);
|
| 470 |
|
| 471 |
$settings = array_merge($defaults, $settings);
|
| 472 |
$form['denver_mainbg'] = array(
|
| 473 |
'#type' => 'select',
|
| 474 |
'#title' => t('Main Content Background'),
|
| 475 |
'#default_value' => $settings['denver_mainbg'],
|
| 476 |
'#options' => array(
|
| 477 |
'mainbg-trans' => t('Transparent (default)'),
|
| 478 |
'mainbg-white' => t('White'),
|
| 479 |
'mainbg-lightgray' => t('Light Gray'),
|
| 480 |
'mainbg-gray' => t('Gray'),
|
| 481 |
'mainbg-black' => t('Black'),
|
| 482 |
'mainbg-custom' => t('Custom Main Content Background'),
|
| 483 |
),
|
| 484 |
);
|
| 485 |
|
| 486 |
$form['denver_custommainbg'] = array(
|
| 487 |
'#type' => 'textfield',
|
| 488 |
'#title' => t('Custom Main Content Background (must select <i>Custom Main Content Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/main-content-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 489 |
'#default_value' => $settings['denver_custommainbg'],
|
| 490 |
'#size' => 40,
|
| 491 |
'#maxlength' => 100,
|
| 492 |
);
|
| 493 |
|
| 494 |
$settings = array_merge($defaults, $settings);
|
| 495 |
$form['denver_nodebg'] = array(
|
| 496 |
'#type' => 'select',
|
| 497 |
'#title' => t('Node Background'),
|
| 498 |
'#default_value' => $settings['denver_nodebg'],
|
| 499 |
'#options' => array(
|
| 500 |
'nodebg-trans' => t('Transparent (default)'),
|
| 501 |
'nodebg-white' => t('White'),
|
| 502 |
'nodebg-lightgray' => t('Light Gray'),
|
| 503 |
'nodebg-gray' => t('Gray'),
|
| 504 |
'nodebg-black' => t('Black'),
|
| 505 |
'nodebg-custom' => t('Custom Node Background'),
|
| 506 |
),
|
| 507 |
);
|
| 508 |
|
| 509 |
$form['denver_customnodebg'] = array(
|
| 510 |
'#type' => 'textfield',
|
| 511 |
'#title' => t('Custom Node Background (must select <i>Custom Node Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/node-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 512 |
'#default_value' => $settings['denver_customnodebg'],
|
| 513 |
'#size' => 40,
|
| 514 |
'#maxlength' => 100,
|
| 515 |
);
|
| 516 |
|
| 517 |
$settings = array_merge($defaults, $settings);
|
| 518 |
$form['denver_nodecontentbg'] = array(
|
| 519 |
'#type' => 'select',
|
| 520 |
'#title' => t('Node Content Background'),
|
| 521 |
'#default_value' => $settings['denver_nodecontentbg'],
|
| 522 |
'#options' => array(
|
| 523 |
'nodecontentbg-trans' => t('Transparent (default)'),
|
| 524 |
'nodecontentbg-white' => t('White'),
|
| 525 |
'nodecontentbg-lightgray' => t('Light Gray'),
|
| 526 |
'nodecontentbg-gray' => t('Gray'),
|
| 527 |
'nodecontentbg-black' => t('Black'),
|
| 528 |
'nodecontentbg-custom' => t('Custom Node Content Background'),
|
| 529 |
),
|
| 530 |
);
|
| 531 |
|
| 532 |
$form['denver_customnodecontentbg'] = array(
|
| 533 |
'#type' => 'textfield',
|
| 534 |
'#title' => t('Custom Node Content Background (must select <i>Custom Node Content Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/node-content-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 535 |
'#default_value' => $settings['denver_customnodecontentbg'],
|
| 536 |
'#size' => 40,
|
| 537 |
'#maxlength' => 100,
|
| 538 |
);
|
| 539 |
|
| 540 |
$settings = array_merge($defaults, $settings);
|
| 541 |
$form['denver_leftsidebarwidth'] = array(
|
| 542 |
'#type' => 'select',
|
| 543 |
'#title' => t('Left Sidebar Width'),
|
| 544 |
'#default_value' => $settings['denver_leftsidebarwidth'],
|
| 545 |
'#options' => array(
|
| 546 |
'leftsidebarwidth-200' => t('200px (default)'),
|
| 547 |
'leftsidebarwidth-300' => t('300px'),
|
| 548 |
'leftsidebarwidth-150' => t('150px'),
|
| 549 |
'leftsidebarwidth-custom' => t('Custom Left Sidebar Width'),
|
| 550 |
),
|
| 551 |
);
|
| 552 |
|
| 553 |
$form['denver_customleftsidebarwidth'] = array(
|
| 554 |
'#type' => 'textfield',
|
| 555 |
'#title' => t('Custom Left Sidebar Width in pixels (must select Custom Left Sidebar Width above) - i.e. 180px, etc'),
|
| 556 |
'#default_value' => $settings['denver_customleftsidebarwidth'],
|
| 557 |
'#size' => 6,
|
| 558 |
'#maxlength' => 6,
|
| 559 |
);
|
| 560 |
|
| 561 |
$settings = array_merge($defaults, $settings);
|
| 562 |
$form['denver_rightsidebarwidth'] = array(
|
| 563 |
'#type' => 'select',
|
| 564 |
'#title' => t('Right Sidebar Width'),
|
| 565 |
'#default_value' => $settings['denver_rightsidebarwidth'],
|
| 566 |
'#options' => array(
|
| 567 |
'rightsidebarwidth-200' => t('200px (default)'),
|
| 568 |
'rightsidebarwidth-300' => t('300px'),
|
| 569 |
'rightsidebarwidth-150' => t('150px'),
|
| 570 |
'rightsidebarwidth-custom' => t('Custom Right Sidebar Width'),
|
| 571 |
),
|
| 572 |
);
|
| 573 |
|
| 574 |
$form['denver_customrightsidebarwidth'] = array(
|
| 575 |
'#type' => 'textfield',
|
| 576 |
'#title' => t('Custom Right Sidebar Width in pixels or em (must select Custom Right Sidebar Width above) - i.e. 180px, 20em, etc'),
|
| 577 |
'#default_value' => $settings['denver_customrightsidebarwidth'],
|
| 578 |
'#size' => 6,
|
| 579 |
'#maxlength' => 6,
|
| 580 |
);
|
| 581 |
|
| 582 |
$settings = array_merge($defaults, $settings);
|
| 583 |
$form['denver_leftbg'] = array(
|
| 584 |
'#type' => 'select',
|
| 585 |
'#title' => t('Left Column Background'),
|
| 586 |
'#default_value' => $settings['denver_leftbg'],
|
| 587 |
'#options' => array(
|
| 588 |
'leftbg-trans' => t('Transparent (default)'),
|
| 589 |
'leftbg-white' => t('White'),
|
| 590 |
'leftbg-lightgray' => t('Light Gray'),
|
| 591 |
'leftbg-gray' => t('Gray'),
|
| 592 |
'leftbg-black' => t('Black'),
|
| 593 |
'leftbg-custom' => t('Custom Left Column Background'),
|
| 594 |
),
|
| 595 |
);
|
| 596 |
|
| 597 |
$form['denver_customleftbg'] = array(
|
| 598 |
'#type' => 'textfield',
|
| 599 |
'#title' => t('Custom Left Column Background (must select <i>Custom Left Column Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/left-column-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 600 |
'#default_value' => $settings['denver_customleftbg'],
|
| 601 |
'#size' => 40,
|
| 602 |
'#maxlength' => 100,
|
| 603 |
);
|
| 604 |
|
| 605 |
$settings = array_merge($defaults, $settings);
|
| 606 |
$form['denver_blocklbg'] = array(
|
| 607 |
'#type' => 'select',
|
| 608 |
'#title' => t('Left Blocks Background'),
|
| 609 |
'#default_value' => $settings['denver_blocklbg'],
|
| 610 |
'#options' => array(
|
| 611 |
'blocklbg-trans' => t('Transparent (default)'),
|
| 612 |
'blocklbg-white' => t('White'),
|
| 613 |
'blocklbg-lightgray' => t('Light Gray'),
|
| 614 |
'blocklbg-gray' => t('Gray'),
|
| 615 |
'blocklbg-black' => t('Black'),
|
| 616 |
'blocklbg-custom' => t('Custom Left Blocks Background'),
|
| 617 |
),
|
| 618 |
);
|
| 619 |
|
| 620 |
$form['denver_customblocklbg'] = array(
|
| 621 |
'#type' => 'textfield',
|
| 622 |
'#title' => t('Custom Left Blocks Background (must select <i>Custom Left Blocks Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/left-blocks-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 623 |
'#default_value' => $settings['denver_customblocklbg'],
|
| 624 |
'#size' => 40,
|
| 625 |
'#maxlength' => 100,
|
| 626 |
);
|
| 627 |
|
| 628 |
$settings = array_merge($defaults, $settings);
|
| 629 |
$form['denver_blockltitle'] = array(
|
| 630 |
'#type' => 'select',
|
| 631 |
'#title' => t('Left Blocks Title Background'),
|
| 632 |
'#default_value' => $settings['denver_blockltitle'],
|
| 633 |
'#options' => array(
|
| 634 |
'blockltitle-lightblue' => t('Light Blue (default)'),
|
| 635 |
'blockltitle-blue' => t('Blue'),
|
| 636 |
'blockltitle-gold' => t('Gold'),
|
| 637 |
'blockltitle-gray' => t('Gray'),
|
| 638 |
'blockltitle-red' => t('Red'),
|
| 639 |
'blockltitle-mauve' => t('Mauve'),
|
| 640 |
'blockltitle-trans' => t('Transparent'),
|
| 641 |
'blockltitle-custom' => t('Custom Left Blocks Title Background'),
|
| 642 |
),
|
| 643 |
);
|
| 644 |
|
| 645 |
$form['denver_customblockltitle'] = array(
|
| 646 |
'#type' => 'textfield',
|
| 647 |
'#title' => t('Left Blocks Title Background (must select <i>Custom Left Blocks Title Background</i> above) - i.e. #000000, navy, #ffffff url(http://mysite.com/left-blocks-title-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 648 |
'#default_value' => $settings['denver_customblockltitle'],
|
| 649 |
'#size' => 40,
|
| 650 |
'#maxlength' => 100,
|
| 651 |
);
|
| 652 |
|
| 653 |
$settings = array_merge($defaults, $settings);
|
| 654 |
$form['denver_blocklcontent'] = array(
|
| 655 |
'#type' => 'select',
|
| 656 |
'#title' => t('Left Blocks Content Background'),
|
| 657 |
'#default_value' => $settings['denver_blocklcontent'],
|
| 658 |
'#options' => array(
|
| 659 |
'blocklcontent-lightgray' => t('Light Gray (default)'),
|
| 660 |
'blocklcontent-white' => t('White'),
|
| 661 |
'blocklcontent-gray' => t('Gray'),
|
| 662 |
'blocklcontent-black' => t('Black'),
|
| 663 |
'blocklcontent-trans' => t('Transparent'),
|
| 664 |
'blocklcontent-custom' => t('Custom Left Blocks Content Background'),
|
| 665 |
),
|
| 666 |
);
|
| 667 |
|
| 668 |
$form['denver_customblocklcontent'] = array(
|
| 669 |
'#type' => 'textfield',
|
| 670 |
'#title' => t('Custom Left Blocks Content Background (must select <i>Custom Left Blocks Content Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/left-blocks-content-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 671 |
'#default_value' => $settings['denver_customblocklcontent'],
|
| 672 |
'#size' => 40,
|
| 673 |
'#maxlength' => 100,
|
| 674 |
);
|
| 675 |
|
| 676 |
$settings = array_merge($defaults, $settings);
|
| 677 |
$form['denver_rightbg'] = array(
|
| 678 |
'#type' => 'select',
|
| 679 |
'#title' => t('Right Column Background'),
|
| 680 |
'#default_value' => $settings['denver_rightbg'],
|
| 681 |
'#options' => array(
|
| 682 |
'rightbg-trans' => t('Transparent (default)'),
|
| 683 |
'rightbg-white' => t('White'),
|
| 684 |
'rightbg-lightgray' => t('Light Gray'),
|
| 685 |
'rightbg-gray' => t('Gray'),
|
| 686 |
'rightbg-black' => t('Black'),
|
| 687 |
'rightbg-custom' => t('Custom Right Column Background'),
|
| 688 |
),
|
| 689 |
);
|
| 690 |
|
| 691 |
$form['denver_customrightbg'] = array(
|
| 692 |
'#type' => 'textfield',
|
| 693 |
'#title' => t('Custom Right Column Background (must select <i>Custom Right Column Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/right-column-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 694 |
'#default_value' => $settings['denver_customrightbg'],
|
| 695 |
'#size' => 40,
|
| 696 |
'#maxlength' => 100,
|
| 697 |
);
|
| 698 |
|
| 699 |
$settings = array_merge($defaults, $settings);
|
| 700 |
$form['denver_blockrbg'] = array(
|
| 701 |
'#type' => 'select',
|
| 702 |
'#title' => t('Right Blocks Background'),
|
| 703 |
'#default_value' => $settings['denver_blockrbg'],
|
| 704 |
'#options' => array(
|
| 705 |
'blockrbg-trans' => t('Transparent (default)'),
|
| 706 |
'blockrbg-white' => t('White'),
|
| 707 |
'blockrbg-lightgray' => t('Light Gray'),
|
| 708 |
'blockrbg-gray' => t('Gray'),
|
| 709 |
'blockrbg-black' => t('Black'),
|
| 710 |
'blockrbg-custom' => t('Custom Right Blocks Background'),
|
| 711 |
),
|
| 712 |
);
|
| 713 |
|
| 714 |
$form['denver_customblockrbg'] = array(
|
| 715 |
'#type' => 'textfield',
|
| 716 |
'#title' => t('Custom Right Blocks Background (must select <i>Custom Right Blocks Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/right-blocks-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 717 |
'#default_value' => $settings['denver_customblockrbg'],
|
| 718 |
'#size' => 40,
|
| 719 |
'#maxlength' => 100,
|
| 720 |
);
|
| 721 |
|
| 722 |
$settings = array_merge($defaults, $settings);
|
| 723 |
$form['denver_blockrtitle'] = array(
|
| 724 |
'#type' => 'select',
|
| 725 |
'#title' => t('Right Blocks Title Background'),
|
| 726 |
'#default_value' => $settings['denver_blockrtitle'],
|
| 727 |
'#options' => array(
|
| 728 |
'blockrtitle-lightblue' => t('Light Blue (default)'),
|
| 729 |
'blockrtitle-blue' => t('Blue'),
|
| 730 |
'blockrtitle-gold' => t('Gold'),
|
| 731 |
'blockrtitle-gray' => t('Gray'),
|
| 732 |
'blockrtitle-red' => t('Red'),
|
| 733 |
'blockrtitle-mauve' => t('Mauve'),
|
| 734 |
'blockrtitle-trans' => t('Transparent'),
|
| 735 |
'blockrtitle-custom' => t('Custom Right Blocks Title Background'),
|
| 736 |
),
|
| 737 |
);
|
| 738 |
|
| 739 |
$form['denver_customblockrtitle'] = array(
|
| 740 |
'#type' => 'textfield',
|
| 741 |
'#title' => t('Right Blocks Title Background - i.e. #000000, navy, #ffffff url(http://mysite.com/right-blocks-title-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 742 |
'#default_value' => $settings['denver_customblockrtitle'],
|
| 743 |
'#size' => 40,
|
| 744 |
'#maxlength' => 100,
|
| 745 |
);
|
| 746 |
|
| 747 |
$settings = array_merge($defaults, $settings);
|
| 748 |
$form['denver_blockrcontent'] = array(
|
| 749 |
'#type' => 'select',
|
| 750 |
'#title' => t('Right Blocks Content Background'),
|
| 751 |
'#default_value' => $settings['denver_blockrcontent'],
|
| 752 |
'#options' => array(
|
| 753 |
'blockrcontent-lightgray' => t('Light Gray (default)'),
|
| 754 |
'blockrcontent-white' => t('White'),
|
| 755 |
'blockrcontent-gray' => t('Gray'),
|
| 756 |
'blockrcontent-black' => t('Black'),
|
| 757 |
'blockrcontent-trans' => t('Transparent'),
|
| 758 |
'blockrcontent-custom' => t('Custom Right Blocks Content Background'),
|
| 759 |
),
|
| 760 |
);
|
| 761 |
|
| 762 |
$form['denver_customblockrcontent'] = array(
|
| 763 |
'#type' => 'textfield',
|
| 764 |
'#title' => t('Custom Right Blocks Content Background (must select <i>Custom Right Blocks Content Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/right-blocks-content-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 765 |
'#default_value' => $settings['denver_customblockrcontent'],
|
| 766 |
'#size' => 40,
|
| 767 |
'#maxlength' => 100,
|
| 768 |
);
|
| 769 |
|
| 770 |
$settings = array_merge($defaults, $settings);
|
| 771 |
$form['denver_footerbg'] = array(
|
| 772 |
'#type' => 'select',
|
| 773 |
'#title' => t('Footer Background'),
|
| 774 |
'#default_value' => $settings['denver_footerbg'],
|
| 775 |
'#options' => array(
|
| 776 |
'footerbg-darkgray' => t('Dark Gray (default)'),
|
| 777 |
'footerbg-white' => t('White'),
|
| 778 |
'footerbg-lightgray' => t('Light Gray'),
|
| 779 |
'footerbg-gray' => t('Gray'),
|
| 780 |
'footerbg-black' => t('Black'),
|
| 781 |
'footerbg-trans' => t('Transparent'),
|
| 782 |
'footerbg-custom' => t('Custom Footer Background'),
|
| 783 |
),
|
| 784 |
);
|
| 785 |
|
| 786 |
$form['denver_customfooterbg'] = array(
|
| 787 |
'#type' => 'textfield',
|
| 788 |
'#title' => t('Custom Footer Background (must select <i>Custom Footer Background</i> above) - i.e. #000000, red, #ffffff url(http://mysite.com/images/footer-bg.gif) 0 0 repeat-x, etc. Use regular css with full URL to image'),
|
| 789 |
'#default_value' => $settings['denver_customfooterbg'],
|
| 790 |
'#size' => 40,
|
| 791 |
'#maxlength' => 100,
|
| 792 |
);
|
| 793 |
|
| 794 |
$form['css']['denver_cssfile'] = array(
|
| 795 |
'#type' => 'checkbox',
|
| 796 |
'#title' => t('Use CSS File'),
|
| 797 |
'#default_value' => $settings['denver_cssfile'],
|
| 798 |
);
|
| 799 |
|
| 800 |
$form['css']['denver_customcssfile'] = array(
|
| 801 |
'#type' => 'textfield',
|
| 802 |
'#title' => t('CSS File Location - i.e. http://mysite.com/my-stylesheet.css - Use full URL to file'),
|
| 803 |
'#default_value' => $settings['denver_customcssfile'],
|
| 804 |
'#size' => 40,
|
| 805 |
'#maxlength' => 100,
|
| 806 |
);
|
| 807 |
|
| 808 |
$form['css']['denver_csstype'] = array(
|
| 809 |
'#type' => 'checkbox',
|
| 810 |
'#title' => t('Use Inline CSS'),
|
| 811 |
'#default_value' => $settings['denver_csstype'],
|
| 812 |
);
|
| 813 |
|
| 814 |
$form['css']['denver_customcsstype'] = array(
|
| 815 |
'#type' => 'textarea',
|
| 816 |
'#title' => t('Inline CSS - Type in some regular css as in a .css file with full URLs to any images. Use this to add or override styles for this theme. This also overrides the above Custom CSS File'),
|
| 817 |
'#default_value' => $settings['denver_customcsstype'],
|
| 818 |
'#cols' => 80,
|
| 819 |
'#rows' => 10,
|
| 820 |
'#maxlength' => 10000,
|
| 821 |
);
|
| 822 |
|
| 823 |
$form['js']['denver_jsfile'] = array(
|
| 824 |
'#type' => 'checkbox',
|
| 825 |
'#title' => t('Use Javascript File'),
|
| 826 |
'#default_value' => $settings['denver_jsfile'],
|
| 827 |
);
|
| 828 |
|
| 829 |
$form['js']['denver_customjsfile'] = array(
|
| 830 |
'#type' => 'textfield',
|
| 831 |
'#title' => t('Javascript File Location - i.e. http://mysite.com/my-stylesheet.js - Use full URL to file'),
|
| 832 |
'#default_value' => $settings['denver_customjsfile'],
|
| 833 |
'#size' => 40,
|
| 834 |
'#maxlength' => 100,
|
| 835 |
);
|
| 836 |
|
| 837 |
$form['js']['denver_jstype'] = array(
|
| 838 |
'#type' => 'checkbox',
|
| 839 |
'#title' => t('Use Inline Javascript'),
|
| 840 |
'#default_value' => $settings['denver_jstype'],
|
| 841 |
);
|
| 842 |
|
| 843 |
$form['js']['denver_customjstype'] = array(
|
| 844 |
'#type' => 'textarea',
|
| 845 |
'#title' => t('Inline Javascript - Type in some regular javascript as in a .js file with full URLs to any images. Use this to add or override styles for this theme. This is inserted into the <head> of page.tpl.php'),
|
| 846 |
'#default_value' => $settings['denver_customjstype'],
|
| 847 |
'#cols' => 80,
|
| 848 |
'#rows' => 10,
|
| 849 |
'#maxlength' => 10000,
|
| 850 |
);
|
| 851 |
|
| 852 |
$form['denver_breadcrumb'] = array(
|
| 853 |
'#type' => 'checkbox',
|
| 854 |
'#title' => t('Show Breadcrumbs'),
|
| 855 |
'#default_value' => $settings['denver_breadcrumb'],
|
| 856 |
);
|
| 857 |
|
| 858 |
$form['denver_iepngfix'] = array(
|
| 859 |
'#type' => 'checkbox',
|
| 860 |
'#title' => t('Use IE PNG Fix'),
|
| 861 |
'#default_value' => $settings['denver_iepngfix'],
|
| 862 |
);
|
| 863 |
|
| 864 |
$form['denver_themelogo'] = array(
|
| 865 |
'#type' => 'checkbox',
|
| 866 |
'#title' => t('Use Themed Logo'),
|
| 867 |
'#default_value' => $settings['denver_themelogo'],
|
| 868 |
);
|
| 869 |
|
| 870 |
$form['denver_suckerfish'] = array(
|
| 871 |
'#type' => 'checkbox',
|
| 872 |
'#title' => t('Use Suckerfish Menus'),
|
| 873 |
'#default_value' => $settings['denver_suckerfish'],
|
| 874 |
);
|
| 875 |
|
| 876 |
$settings = array_merge($defaults, $settings);
|
| 877 |
$form['denver_suckerfishcolor'] = array(
|
| 878 |
'#type' => 'select',
|
| 879 |
'#title' => t('Suckerfish Menu Color'),
|
| 880 |
'#default_value' => $settings['denver_suckerfishcolor'],
|
| 881 |
'#options' => array(
|
| 882 |
'blue' => t('blue (default)'),
|
| 883 |
'green' => t('Green'),
|
| 884 |
'brown' => t('Brown'),
|
| 885 |
'red' => t('Red'),
|
| 886 |
),
|
| 887 |
);
|
| 888 |
|
| 889 |
return $form;
|
| 890 |
}
|