Changeset 3725:b47f38c701ee for plugins/blowupConfig/index.php
- Timestamp:
- 03/02/18 15:55:06 (8 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/blowupConfig/index.php
r3710 r3725 205 205 <?php 206 206 echo dcPage::jsLoad(dcPage::getPF('blowupConfig/js/config.js')); 207 echo dcPage::jsColorPicker();208 207 echo dcPage::jsVars(array( 209 208 'dotclear.blowup_public_url' => blowupConfig::imagesURL(), … … 240 239 echo 241 240 '<p class="field"><label for="body_bg_c">' . __('Background color:') . '</label> ' . 242 form:: field('body_bg_c', 7, 7, $blowup_user['body_bg_c'], 'colorpicker') . '</p>' .241 form::color('body_bg_c', array('default' => $blowup_user['body_bg_c'])) . '</p>' . 243 242 244 243 '<p class="field"><label for="body_bg_g">' . __('Background color fill:') . '</label> ' . … … 254 253 255 254 '<p class="field"><label for="body_txt_c">' . __('Main text color:') . '</label> ' . 256 form:: field('body_txt_c', 7, 7, $blowup_user['body_txt_c'], 'colorpicker') . '</p>' .255 form::color('body_txt_c', array('default' => $blowup_user['body_txt_c'])) . '</p>' . 257 256 258 257 '<p class="field"><label for="body_line_height">' . __('Text line height:') . '</label> ' . … … 261 260 '<h4 class="border-top">' . __('Links') . '</h4>' . 262 261 '<p class="field"><label for="body_link_c">' . __('Links color:') . '</label> ' . 263 form:: field('body_link_c', 7, 7, $blowup_user['body_link_c'], 'colorpicker') . '</p>' .262 form::color('body_link_c', array('default' => $blowup_user['body_link_c'])) . '</p>' . 264 263 265 264 '<p class="field"><label for="body_link_v_c">' . __('Visited links color:') . '</label> ' . 266 form:: field('body_link_v_c', 7, 7, $blowup_user['body_link_v_c'], 'colorpicker') . '</p>' .265 form::color('body_link_v_c', array('default' => $blowup_user['body_link_v_c'])) . '</p>' . 267 266 268 267 '<p class="field"><label for="body_link_f_c">' . __('Focus links color:') . '</label> ' . 269 form:: field('body_link_f_c', 7, 7, $blowup_user['body_link_f_c'], 'colorpicker') . '</p>' .268 form::color('body_link_f_c', array('default' => $blowup_user['body_link_f_c'])) . '</p>' . 270 269 271 270 '<h4 class="border-top">' . __('Page top') . '</h4>'; … … 274 273 echo 275 274 '<p class="field"><label for="prelude_c">' . __('Prelude color:') . '</label> ' . 276 form:: field('prelude_c', 7, 7, $blowup_user['prelude_c'], 'colorpicker') . '</p>';275 form::color('prelude_c', array('default' => $blowup_user['prelude_c'])) . '</p>'; 277 276 } 278 277 … … 288 287 289 288 '<p class="field"><label for="blog_title_c">' . __('Main title color:') . '</label> ' . 290 form:: field('blog_title_c', 7, 7, $blowup_user['blog_title_c'], 'colorpicker') . '</p>' .289 form::color('blog_title_c', array('default' => $blowup_user['blog_title_c'])) . '</p>' . 291 290 292 291 '<p class="field"><label for="blog_title_a">' . __('Main title alignment:') . '</label> ' . … … 332 331 333 332 '<p class="field"><label for="sidebar_text_c">' . __('Sidebar text color:') . '</label> ' . 334 form:: field('sidebar_text_c', 7, 7, $blowup_user['sidebar_text_c'], 'colorpicker') . '</p>' .333 form::color('sidebar_text_c', array('default' => $blowup_user['sidebar_text_c'])) . '</p>' . 335 334 336 335 '<p class="field"><label for="sidebar_title_f">' . __('Sidebar titles font:') . '</label> ' . … … 341 340 342 341 '<p class="field"><label for="sidebar_title_c">' . __('Sidebar titles color:') . '</label> ' . 343 form:: field('sidebar_title_c', 7, 7, $blowup_user['sidebar_title_c'], 'colorpicker') . '</p>' .342 form::color('sidebar_title_c', array('default' => $blowup_user['sidebar_title_c'])) . '</p>' . 344 343 345 344 '<p class="field"><label for="sidebar_title2_f">' . __('Sidebar 2nd level titles font:') . '</label> ' . … … 350 349 351 350 '<p class="field"><label for="sidebar_title2_c">' . __('Sidebar 2nd level titles color:') . '</label> ' . 352 form:: field('sidebar_title2_c', 7, 7, $blowup_user['sidebar_title2_c'], 'colorpicker') . '</p>' .351 form::color('sidebar_title2_c', array('default' => $blowup_user['sidebar_title2_c'])) . '</p>' . 353 352 354 353 '<p class="field"><label for="sidebar_line_c">' . __('Sidebar lines color:') . '</label> ' . 355 form:: field('sidebar_line_c', 7, 7, $blowup_user['sidebar_line_c'], 'colorpicker') . '</p>' .354 form::color('sidebar_line_c', array('default' => $blowup_user['sidebar_line_c'])) . '</p>' . 356 355 357 356 '<p class="field"><label for="sidebar_link_c">' . __('Sidebar links color:') . '</label> ' . 358 form:: field('sidebar_link_c', 7, 7, $blowup_user['sidebar_link_c'], 'colorpicker') . '</p>' .357 form::color('sidebar_link_c', array('default' => $blowup_user['sidebar_link_c'])) . '</p>' . 359 358 360 359 '<p class="field"><label for="sidebar_link_v_c">' . __('Sidebar visited links color:') . '</label> ' . 361 form:: field('sidebar_link_v_c', 7, 7, $blowup_user['sidebar_link_v_c'], 'colorpicker') . '</p>' .360 form::color('sidebar_link_v_c', array('default' => $blowup_user['sidebar_link_v_c'])) . '</p>' . 362 361 363 362 '<p class="field"><label for="sidebar_link_f_c">' . __('Sidebar focus links color:') . '</label> ' . 364 form:: field('sidebar_link_f_c', 7, 7, $blowup_user['sidebar_link_f_c'], 'colorpicker') . '</p>' .363 form::color('sidebar_link_f_c', array('default' => $blowup_user['sidebar_link_f_c'])) . '</p>' . 365 364 366 365 '<h4 class="border-top">' . __('Entries') . '</h4>' . … … 372 371 373 372 '<p class="field"><label for="date_title_c">' . __('Date title color:') . '</label> ' . 374 form:: field('date_title_c', 7, 7, $blowup_user['date_title_c'], 'colorpicker') . '</p>' .373 form::color('date_title_c', array('default' => $blowup_user['date_title_c'])) . '</p>' . 375 374 376 375 '<p class="field"><label for="post_title_f">' . __('Entry title font:') . '</label> ' . … … 381 380 382 381 '<p class="field"><label for="post_title_c">' . __('Entry title color:') . '</label> ' . 383 form:: field('post_title_c', 7, 7, $blowup_user['post_title_c'], 'colorpicker') . '</p>';382 form::color('post_title_c', array('default' => $blowup_user['post_title_c'])) . '</p>'; 384 383 385 384 if ($can_write_images) { 386 385 echo 387 386 '<p class="field"><label for="post_comment_bg_c">' . __('Comment background color:') . '</label> ' . 388 form:: field('post_comment_bg_c', 7, 7, $blowup_user['post_comment_bg_c'], 'colorpicker') . '</p>';387 form::color('post_comment_bg_c', array('default' => $blowup_user['post_comment_bg_c'])) . '</p>'; 389 388 } 390 389 391 390 echo 392 391 '<p class="field"><label for="post_comment_c">' . __('Comment text color:') . '</label> ' . 393 form:: field('post_comment_c', 7, 7, $blowup_user['post_comment_c'], 'colorpicker') . '</p>';392 form::color('post_comment_c', array('default' => $blowup_user['post_comment_c'])) . '</p>'; 394 393 395 394 if ($can_write_images) { 396 395 echo 397 396 '<p class="field"><label for="post_commentmy_bg_c">' . __('My comment background color:') . '</label> ' . 398 form:: field('post_commentmy_bg_c', 7, 7, $blowup_user['post_commentmy_bg_c'], 'colorpicker') . '</p>';397 form::color('post_commentmy_bg_c', array('default' => $blowup_user['post_commentmy_bg_c'])) . '</p>'; 399 398 } 400 399 401 400 echo 402 401 '<p class="field"><label for="post_commentmy_c">' . __('My comment text color:') . '</label> ' . 403 form:: field('post_commentmy_c', 7, 7, $blowup_user['post_commentmy_c'], 'colorpicker') . '</p>' .402 form::color('post_commentmy_c', array('default' => $blowup_user['post_commentmy_c'])) . '</p>' . 404 403 405 404 '<h4 class="border-top">' . __('Footer') . '</h4>' . … … 411 410 412 411 '<p class="field"><label for="footer_c">' . __('Footer color:') . '</label> ' . 413 form:: field('footer_c', 7, 7, $blowup_user['footer_c'], 'colorpicker') . '</p>' .412 form::color('footer_c', array('default' => $blowup_user['footer_c'])) . '</p>' . 414 413 415 414 '<p class="field"><label for="footer_l_c">' . __('Footer links color:') . '</label> ' . 416 form:: field('footer_l_c', 7, 7, $blowup_user['footer_l_c'], 'colorpicker') . '</p>' .415 form::color('footer_l_c', array('default' => $blowup_user['footer_l_c'])) . '</p>' . 417 416 418 417 '<p class="field"><label for="footer_bg_c">' . __('Footer background color:') . '</label> ' . 419 form:: field('footer_bg_c', 7, 7, $blowup_user['footer_bg_c'], 'colorpicker') . '</p>';418 form::color('footer_bg_c', array('default' => $blowup_user['footer_bg_c'])) . '</p>'; 420 419 421 420 echo
Note: See TracChangeset
for help on using the changeset viewer.