1<?php 2/** 3 * Coppermine Photo Gallery 4 * 5 * v1.0 originally written by Gregory Demar 6 * 7 * @copyright Copyright (c) 2003-2018 Coppermine Dev Team 8 * @license GNU General Public License version 3 or later; see LICENSE 9 * 10 * include/admin.inc.php 11 * @since 1.6.05 12 */ 13 14/********************************************** 15 Defines the scope of configuration variables 16**********************************************/ 17 18if (!defined('IN_COPPERMINE')) die('Not in Coppermine...'); 19 20$config_data = array( 21 'general_settings' => array( 22 'gallery_name' => array( 23 'type' => 'textfield', 24 'help_link' => 'f=configuration.htm&as=admin_general_name&ae=admin_general_name_end', 25 'regex_not' => '^Your gallery name here$', 26 'default_value' => '', 27 ), 28 'gallery_description' => array( 29 'type' => 'textfield', 30 'help_link' => 'f=configuration.htm&as=admin_general_description&ae=admin_general_description_end', 31 'regex_not' => '^Your gallery description here$', 32 'default_value' => '', 33 ), 34 'ecards_more_pic_target' => array( 35 'type' => 'textfield', 36 'help_link' => 'f=configuration.htm&as=admin_general_coppermine-url&ae=admin_general_coppermine-url_end', 37 'regex' => '^' 38 .'(https?://){1,1}' // leading 'http://' or 'https://' 39 .'(([0-9a-z_!~*\'().&=+$%-]+: ){0,1}' //password, separated with a colon 40 .'[0-9a-z_!~*\'().&=+$%-]+@){0,1}' //username, separated with an @ 41 .'(([0-9]{1,3}\.){3}[0-9]{1,3}' // IP- 199.194.52.184 42 .'|' // allows either IP or domain or localhost 43 .'(' // domain start 44 .'([0-9a-z_!~*\'()-]+\.)*' // tertiary domain(s)- www. 45 .'([0-9a-z][0-9a-z-]{0,61})?[0-9a-z]\.' // second level domain 46 .'[a-z]{2,63}' // first level domain- .com or .museum 47 .')' // domain end 48 .'|' // allows either IP or domain or localhost 49 .'(localhost)' // allow localhost 50 .')' // end of domain / IP address 51 .'(:[0-9]{1,5}){0,1}' // port number- :80 52 .'[/]{1,1}' // trailing slash after domain-part of URL 53 .'(' 54 .'([0-9a-zA-Z_!~.()-])+/{1}' 55 .'){0,}' 56 .'$', 57 'regex_not' => '^http://yoursite.tld/your_coppermine_folder/$', 58 'additional_description' => $lang_admin_php['ecards_more_pic_target_detail'], 59 'default_value' => '', 60 ), 61 'home_target' => array( 62 'type' => 'textfield', 63 'default_value' => 'index.php', 64 'help_link' => 'f=configuration.htm&as=admin_general_home-url&ae=admin_general_home-url_end', 65 ), 66 'enable_zipdownload' => array( 67 'type' => 'radio', 68 'default_value' => '0', 69 'help_link' => 'f=configuration.htm&as=admin_general_zip-download&ae=admin_general_zip-download_end', 70 'options' => array( 71 $lang_common['no'], 72 $lang_common['yes'].': '.$lang_admin_php['enable_zipdownload_no_textfile'], 73 $lang_common['yes'].': '.$lang_admin_php['enable_zipdownload_additional_textfile'], 74 ), 75 'linebreak' => '<br />', 76 ), 77 'time_offset' => array( 78 'type' => 'textfield', 79 'min' => '-24', 80 'max' => '24', 81 'default_value' => '0', 82 'help_link' => 'f=configuration.htm&as=admin_general_time-offset&ae=admin_general_time-offset_end&top=1', 83 'regex' => '^[+-]?([0-9]{1,2})*\.?[0-9]+$', 84 'size' => '5', 85 'width' => '75', 86 'maxlength' => '5', 87 'end_description' => $lang_admin_php['time_offset_detail'], 88 ), 89 'enable_help' => array( 90 'type' => 'radio', 91 'default_value' => '1', 92 'help_link' => 'f=configuration.htm&as=admin_general_help&ae=admin_general_help_end', 93 'options' => array( 94 $lang_common['no'], 95 $lang_common['yes'].': '.$lang_admin_php['debug_everyone'], 96 $lang_common['yes'].': '.$lang_admin_php['debug_admin'], 97 ), 98 'additional_description' => ' (' . $lang_admin_php['enable_help_description'] .')', 99 ), 100 'clickable_keyword_search' => array( 101 'type' => 'checkbox', 102 'default_value' => '1', 103 'help_link' => 'f=configuration.htm&as=admin_general_keywords_start&ae=admin_general_keywords_end', 104 'end_description' => ' (<a href="keywordmgr.php">'.$lang_admin_php['manage_keyword'].'</a>)', 105 ), 106 'keyword_separator' => array( 107 'type' => 'select', 108 'default_value' => ';', 109 'help_link' => 'f=configuration.htm&as=admin_general_keyword_separator_start&ae=admin_general_keyword_separator_end', 110 'options' => $lang_common['keyword_separators'], 111 'end_description' => ' (<a href="util.php">'.$lang_admin_php['keyword_convert'].'</a>)<br />'.$lang_admin_php['do_not_change'], 112 ), 113 'enable_plugins' => array( 114 'type' => 'checkbox', 115 'default_value' => '1', 116 'help_link' => 'f=configuration.htm&as=admin_general_enable-plugins&ae=admin_general_enable-plugins_end', 117 'end_description' => ' (<a href="pluginmgr.php">'.$lang_admin_php['manage_plugins'].'</a>)', 118 ), 119 'only_empty_albums' => array( 120 'type' => 'radio', 121 'default_value' => '0', 122 'help_link' => 'f=configuration.htm&as=admin_general_only_empty_albums&ae=admin_general_only_empty_albums_end', 123 'options' => array( 124 $lang_common['no'], 125 $lang_common['yes'] . ': ' . $lang_admin_php['debug_everyone'], 126 $lang_common['yes'] . ': ' . $lang_admin_php['debug_admin'], 127 ), 128 ), 129 'browse_batch_add' => array( 130 'type' => 'checkbox', 131 'default_value' => '1', 132 'help_link' => 'f=configuration.htm&as=admin_general_browsable_batch_add&ae=admin_general_browsable_batch_add_end', 133 ), 134 'batch_add_hide_existing_files' => array( 135 'type' => 'checkbox', 136 'default_value' => '0', 137 'help_link' => 'f=configuration.htm&as=admin_general_batch_add_hide_existing_files&ae=admin_general_batch_add_hide_existing_files_end', 138 ), 139 'batch_proc_limit' => array( 140 'type' => 'textfield', 141 'min' => '1', 142 'max' => '20', 143 'default_value' => '2', 144 'help_link' => 'f=configuration.htm&as=admin_general_batch_proc_limit&ae=admin_general_batch_proc_limit_end', 145 'regex' => '^[0-9]{1,2}$', 146 'size' => '2', 147 'width' => '75', 148 'maxlength' => '2', 149 ), 150 'display_thumbs_batch_add' => array( 151 'type' => 'checkbox', 152 'default_value' => '1', 153 'help_link' => 'f=configuration.htm&as=admin_general_display_thumbs_batch_add&ae=admin_general_display_thumbs_batch_add_end', 154 ), 155 'form_token_lifetime' => array( 156 'type' => 'textfield', 157 'min' => '30', 158 'max' => '604800', 159 'step' => '10', 160 'default_value' => '900', 161 'help_link' => 'f=configuration.htm&as=admin_general_form_token_lifetime&ae=admin_general_form_token_lifetime_end', 162 'regex' => '^[0-9]{1,6}$', 163 'size' => '5', 164 'width' => '75', 165 'maxlength' => '6', 166 'end_description' => $lang_admin_php['seconds'] 167 ), 168 ), 169 'language_charset_settings' => array( 170 'lang' => array( 171 'type' => 'select', 172 'default_value' => 'english', 173 'help_link' => 'f=configuration.htm&as=admin_language_language&ae=admin_language_language_end', 174 'options' => cpg_get_available_languages(), 175 'end_description' => ' (<a href="langmgr.php">'.$lang_admin_php['manage_languages'].'</a>)', 176 'force_config' => '1', 177 ), 178 'language_autodetect' => array( 179 'type' => 'checkbox', 180 'default_value' => '0', 181 'help_link' => 'f=configuration.htm&as=admin_language_autodetect&ae=admin_language_autodetect_end', 182 ), 183 'charset' => array( 184 'type' => 'select', 185 'default_value' => 'utf-8', 186 'help_link' => 'f=configuration.htm&as=admin_language_charset&ae=admin_language_charset_end', 187 'options' => array( 188 'language file' => 'Default (not recommended)', 189 'iso-8859-6' => 'Arabic (iso-8859-6)', 190 'iso-8859-4' => 'Baltic (iso-8859-4)', 191 'iso-8859-2' => 'Central European (iso-8859-2)', 192 'euc-cn' => 'Chinese Simplified (euc-cn)', 193 'big5' => 'Chinese Traditional (big5)', 194 'koi8-r' => 'Cyrillic (koi8-r)', 195 'iso-8859-7' => 'Greek (iso-8859-7)', 196 'iso-8859-8-i' => 'Hebrew (iso-8859-8-i)', 197 'x-mac-icelandic' => 'Icelandic (x-mac-icelandic)', 198 'euc-jp' => 'Japanese (euc-jp)', 199 'euc-kr' => 'Korean (euc-kr)', 200 'iso-8859-3' => 'Maltese (iso-8859-3)', 201 'windows-874 ' => 'Thai (windows-874)', 202 'iso-8859-9' => 'Turkish (iso-8859-9)', 203 'utf-8' => 'Unicode (utf-8)', 204 'windows-1258' => 'Vietnamese (windows-1258)', 205 'iso-8859-1' => 'Western (iso-8859-1)', 206 ), 207 'additional_description' => ' (Unicode '.$lang_admin_php['recommended'].'!)', 208 'end_description' => '<br />'.$lang_admin_php['do_not_change'], 209 ), 210 ), 211 'themes_settings' => array( 212 'theme' => array( 213 'type' => 'select', 214 'help_link' => 'f=configuration.htm&as=admin_theme_theme&ae=admin_theme_theme_end', 215 'options' => form_get_foldercontent('themes/', 'folder', '', array('sample', '.svn')), 216 'default_value' => 'curve', 217 'force_config' => '1', 218 ), 219 'display_sidebar_user' => array( 220 'type' => 'radio', 221 'default_value' => '2', 222 'help_link' => 'f=configuration.htm&as=admin_sidebar&ae=admin_sidebar_end', 223 'options' => array( 224 $lang_common['no'], 225 $lang_common['yes'] . ': ' . $lang_admin_php['allow_no_link'], 226 $lang_common['yes'] . ': ' . $lang_admin_php['allow_show_link'], 227 ), 228 'linebreak' => '<br />', 229 ), 230 'display_sidebar_guest' => array( 231 'type' => 'radio', 232 'default_value' => '1', 233 'help_link' => 'f=configuration.htm&as=admin_sidebar&ae=admin_sidebar_end', 234 'options' => array( 235 $lang_common['no'], 236 $lang_common['yes'] . ': ' . $lang_admin_php['allow_no_link'], 237 $lang_common['yes'] . ': ' . $lang_admin_php['allow_show_link'], 238 ), 239 'linebreak' => '<br />', 240 ), 241 'custom_lnk_name' => array( 242 'type' => 'textfield', 243 'default_value' => '', 244 'help_link' => 'f=configuration.htm&as=admin_theme_custom_lnk_name&ae=admin_theme_custom_lnk_name_end', 245 ), 246 'custom_lnk_url' => array( 247 'type' => 'textfield', 248 'default_value' => '', 249 'help_link' => 'f=configuration.htm&as=admin_language_custom_lnk_url&ae=admin_language_custom_lnk_url_end', 250 ), 251 'enable_menu_icons' => array( 252 'type' => 'radio', 253 'default_value' => '2', 254 'help_link' => 'f=configuration.htm&as=admin_enable_menu_icons&ae=admin_enable_menu_icons_end', 255 'options' => array( 256 $lang_common['no'], 257 $lang_common['yes'] . ': ' . $lang_admin_php['menu_only'], 258 $lang_common['yes'] . ': ' . $lang_admin_php['everywhere'], 259 ), 260 ), 261 'show_bbcode_help' => array( 262 'type' => 'checkbox', 263 'default_value' => '1', 264 'help_link' => 'f=configuration.htm&as=admin_theme_bbcode&ae=admin_theme_bbcode_end&top=1', 265 ), 266 'custom_header_path' => array( 267 'type' => 'textfield', 268 'default_value' => '', 269 'help_link' => 'f=configuration.htm&as=admin_theme_include_path_start&ae=admin_theme_include_path_end', 270 ), 271 'custom_footer_path' => array( 272 'type' => 'textfield', 273 'default_value' => '', 274 'help_link' => 'f=configuration.htm&as=admin_theme_include_path_start&ae=admin_theme_include_path_end', 275 ), 276 'browse_by_date' => array( 277 'type' => 'checkbox', 278 'default_value' => '0', 279 'help_link' => 'f=configuration.htm&as=admin_theme_browse_by_date&ae=admin_theme_browse_by_date_end', 280 ), 281 'display_redirection_page' => array( 282 'type' => 'radio', 283 'default_value' => '0', 284 'help_link' => 'f=configuration.htm&as=admin_theme_display_redirection_page&ae=admin_theme_display_redirection_page_end', 285 'options' => array($lang_common['no'], $lang_common['yes']), 286 'end_description' => '('.$lang_admin_php['recommended'].': '.$lang_common['no'].')', 287 ), 288 ), 289 'album_list_view' => array( 290 'main_table_width' => array( 291 'type' => 'textfield', 292 'default_value' => '100%', 293 'help_link' => 'f=configuration.htm&as=admin_album_table-width&ae=admin_album_table-width_end', 294 'regex' => '^([0-9]{1,3}){1}([%]{0,1})$', 295 'size' => '5', 296 'width' => '75', 297 'maxlength' => '5', 298 'end_description' => $lang_admin_php['pixels_or_percent'], 299 ), 300 'subcat_level' => array( 301 'type' => 'textfield', 302 'min' => '0', 303 'max' => '10', 304 'default_value' => '2', 305 'help_link' => 'f=configuration.htm&as=admin_album_category-levels&ae=admin_album_category-levels_end', 306 'regex' => '^[0-9]{1,2}$', 307 'size' => '2', 308 'width' => '75', 309 'maxlength' => '2', 310 ), 311 'albums_per_page' => array( 312 'type' => 'textfield', 313 'min' => '1', 314 'max' => '999', 315 'default_value' => '12', 316 'help_link' => 'f=configuration.htm&as=admin_album_number&ae=admin_album_number_end', 317 'regex' => '^[0-9]{1,3}$', 318 'size' => '3', 319 'width' => '75', 320 'maxlength' => '3', 321 ), 322 'album_list_cols' => array( 323 'type' => 'textfield', 324 'min' => '1', 325 'max' => '20', 326 'default_value' => '2', 327 'help_link' => 'f=configuration.htm&as=admin_album_columns&ae=admin_album_columns_end', 328 'regex' => '^[0-9]{1,2}$', 329 'size' => '2', 330 'width' => '75', 331 'maxlength' => '2', 332 ), 333 'alb_list_thumb_size' => array( 334 'type' => 'textfield', 335 'min' => '0', 336 'max' => '1000', 337 'default_value' => '50', 338 'help_link' => 'f=configuration.htm&as=admin_album_thumbnail-size&ae=admin_album_thumbnail-size_end', 339 'regex' => '^[0-9]{1,4}$', 340 'size' => '4', 341 'width' => '75', 342 'maxlength' => '4', 343 'end_description' => $lang_admin_php['pixels'], 344 ), 345 'main_page_layout' => array( 346 'type' => 'textfield', 347 'default_value' => 'breadcrumb/catlist/alblist/random,2/lastup,2', 348 'help_link' => 'f=configuration.htm&as=admin_album_list_content&ae=admin_album_list_content_end', 349 'regex' => '^' 350 .'(' 351 .'([0-9a-z]){1,}' 352 .'(' // start of optional number that must be separated with a coma 353 .'([,]){0,1}' // coma-separator 354 .'([0-9]){1,2}' // numerical expression 355 .'){0,1}' // end of optional number that must be separated with a coma 356 .'){1,1}' // alphanumerical string without special chars 357 .'(' 358 .'(/){1,1}' 359 .'(' 360 .'[0-9a-z]{1,}' 361 .'(' // start of optional number that must be separated with a coma 362 .'([,]){0,1}' // coma-separator 363 .'([0-9]){1,2}' // numerical expression 364 .'){0,1}' // end of optional number that must be separated with a coma 365 .')' 366 .'){0,}' 367 .'$', 368 ), 369 'allow_private_albums' => array( 370 'type' => 'checkbox', 371 'default_value' => '1', 372 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_private_toggle&ae=admin_picture_thumb_advanced_private_toggle_end', 373 'additional_description' => $lang_admin_php['allow_private_albums_note'], 374 'end_description' => '('.$lang_admin_php['recommended'].')', 375 ), 376 'show_private' => array( 377 'type' => 'checkbox', 378 'default_value' => '0', 379 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_private_icon_show&ae=admin_picture_thumb_advanced_private_icon_show_end', 380 ), 381 'first_level' => array( 382 'type' => 'checkbox', 383 'default_value' => '1', 384 'help_link' => 'f=configuration.htm&as=admin_album_first-level_thumbs&ae=admin_album_first-level_thumbs_end', 385 ), 386 'categories_alpha_sort' => array( 387 'type' => 'checkbox', 388 'default_value' => '0', 389 'help_link' => 'f=configuration.htm&as=admin_album_list_alphasort_start&ae=admin_album_list_alphasort_end', 390 'additional_description' => $lang_admin_php['categories_alpha_sort_details'], 391 ), 392 'album_sort_order' => array( 393 'type' => 'select', 394 'default_value' => 'pa', 395 'help_link' => 'f=configuration.htm&as=admin_album_sort_order_start&ae=admin_album_sort_order_end', 396 'options' => array('ta' => $lang_admin_php['title_a'], 397 'td' => $lang_admin_php['title_d'], 398 'da' => $lang_admin_php['date_a'], 399 'dd' => $lang_admin_php['date_d'], 400 'pa' => $lang_admin_php['pos_a'], 401 'pd' => $lang_admin_php['pos_d'], 402 'va' => $lang_admin_php['view_a'], 403 'vd' => $lang_admin_php['view_d'], 404 ), 405 ), 406 'link_pic_count' => array( 407 'type' => 'checkbox', 408 'default_value' => '1', 409 'help_link' => 'f=configuration.htm&as=admin_album_linked_files_start&ae=admin_album_linked_files_end', 410 ), 411 'link_last_upload' => array( 412 'type' => 'checkbox', 413 'default_value' => '0', 414 'help_link' => 'f=configuration.htm&as=admin_album_linked_files_upload_time_start&ae=admin_album_linked_files_upload_time_end', 415 ), 416 ), 417 'thumbnail_view' => array( 418 'thumbcols' => array( 419 'type' => 'textfield', 420 'min' => '1', 421 'max' => '20', 422 'default_value' => '4', 423 'help_link' => 'f=configuration.htm&as=admin_thumbnail_columns&ae=admin_thumbnail_columns_end', 424 'regex' => '^[0-9]{1,2}$', 425 'size' => '2', 426 'width' => '75', 427 'maxlength' => '2', 428 ), 429 'thumbrows' => array( 430 'type' => 'textfield', 431 'min' => '1', 432 'max' => '100', 433 'default_value' => '3', 434 'help_link' => 'f=configuration.htm&as=admin_thumbnail_rows&ae=admin_thumbnail_rows_end', 435 'regex' => '^[0-9]{1,3}$', 436 'size' => '3', 437 'width' => '75', 438 'maxlength' => '3', 439 ), 440 'max_tabs' => array( 441 'type' => 'textfield', 442 'min' => '5', 443 'max' => '25', 444 'default_value' => '12', 445 'help_link' => 'f=configuration.htm&as=admin_thumbnail_tabs&ae=admin_thumbnail_tabs_end', 446 'regex' => '^[0-9]{1,2}$', 447 'size' => '2', 448 'width' => '75', 449 'maxlength' => '2', 450 ), 451 'tabs_dropdown' => array( 452 'type' => 'checkbox', 453 'default_value' => '1', 454 'help_link' => 'f=configuration.htm&as=admin_thumbnail_tabs_dropdown&ae=admin_thumbnail_tabs_dropdown_end', 455 ), 456 'caption_in_thumbview' => array( 457 'type' => 'checkbox', 458 'default_value' => '1', 459 'help_link' => 'f=configuration.htm&as=admin_thumbnail_display_caption&ae=admin_thumbnail_display_caption_end', 460 ), 461 'views_in_thumbview' => array( 462 'type' => 'checkbox', 463 'default_value' => '1', 464 'help_link' => 'f=configuration.htm&as=admin_thumbnail_display_views&ae=admin_thumbnail_display_views_end', 465 ), 466 'display_comment_count' => array( 467 'type' => 'checkbox', 468 'default_value' => '0', 469 'help_link' => 'f=configuration.htm&as=admin_thumbnail_display_comments&ae=admin_thumbnail_display_comments_end', 470 ), 471 'display_uploader' => array( 472 'type' => 'checkbox', 473 'default_value' => '0', 474 'help_link' => 'f=configuration.htm&as=admin_thumbnail_display_uploader&ae=admin_thumbnail_display_uploader_end', 475 ), 476 'display_filename' => array( 477 'type' => 'checkbox', 478 'default_value' => '0', 479 'help_link' => 'f=configuration.htm&as=admin_thumbnail_display_filename&ae=admin_thumbnail_display_filename_end', 480 ), 481 'display_thumbnail_rating' => array( 482 'type' => 'checkbox', 483 'default_value' => '0', 484 'help_link' => 'f=configuration.htm&as=admin_thumbnail_display_rating&ae=admin_thumbnail_display_rating_end', 485 ), 486 'alb_desc_thumb' => array( 487 'type' => 'hidden', // not implemented yet 488 'default_value' => '1', 489 'help_link' => 'f=configuration.htm&as=admin_thumbnail_display_description&ae=admin_thumbnail_display_description_end', 490 ), 491 'thumbnail_to_fullsize' => array( 492 'type' => 'checkbox', 493 'default_value' => '0', 494 'help_link' => 'f=configuration.htm&as=admin_thumbnail_to_fullsize&ae=admin_thumbnail_to_fullsize_end', 495 ), 496 'default_sort_order' => array( 497 'type' => 'select', 498 'default_value' => 'na', 499 'help_link' => 'f=configuration.htm&as=admin_thumbnail_default_sortorder&ae=admin_thumbnail_default_sortorder_end', 500 'options' => array('ta' => $lang_admin_php['title_a'], 501 'td' => $lang_admin_php['title_d'], 502 'na' => $lang_admin_php['name_a'], 503 'nd' => $lang_admin_php['name_d'], 504 'da' => $lang_admin_php['date_a'], 505 'dd' => $lang_admin_php['date_d'], 506 'pa' => $lang_admin_php['pos_a'], 507 'pd' => $lang_admin_php['pos_d'], 508 ), 509 ), 510 'custom_sortorder_thumbs' => array( 511 'type' => 'checkbox', 512 'default_value' => '1', 513 'help_link' => 'f=configuration.htm&as=admin_thumbnail_custom_sortorder_thumbs&ae=admin_thumbnail_custom_sortorder_thumbs_end', 514 ), 515 'min_votes_for_rating' => array( 516 'type' => 'textfield', 517 'min' => '0', 518 'max' => '999', 519 'default_value' => '1', 520 'help_link' => 'f=configuration.htm&as=admin_thumbnail_minimum_votes&ae=admin_thumbnail_minimum_votes_end', 521 'regex' => '^[0-9]{1,3}$', 522 'size' => '3', 523 'width' => '75', 524 'maxlength' => '3', 525 ), 526 ), 527 'image_view' => array( 528 'picture_table_width' => array( 529 'type' => 'textfield', 530 'default_value' => '100%', 531 'help_link' => 'f=configuration.htm&as=admin_image_comment_table-width&ae=admin_image_comment_table-width_end', 532 'size' => '5', 533 'width' => '75', 534 'maxlength' => '5', 535 'end_description' => '(' . $lang_admin_php['pixels_or_percent'] . ')', 536 ), 537 'display_pic_info' => array( 538 'type' => 'checkbox', 539 'default_value' => '0', 540 'help_link' => 'f=configuration.htm&as=admin_image_comment_info_visible&ae=admin_image_comment_info_visible_end', 541 ), 542 'picinfo_movie_download_link' => array( 543 'type' => 'checkbox', 544 'default_value' => '0', 545 'help_link' => 'f=configuration.htm&as=admin_image_movie_download_link_visible&ae=admin_image_movie_download_link_visible_end', 546 ), 547 'max_img_desc_length' => array( 548 'type' => 'textfield', 549 'min' => '0', 550 'max' => '99999', 551 'default_value' => '512', 552 'help_link' => 'f=configuration.htm&as=admin_image_comment_descr_length&ae=admin_image_comment_descr_length_end', 553 'regex' => '^[0-9]{1,5}$', 554 'size' => '5', 555 'width' => '75', 556 'maxlength' => '5', 557 ), 558 'display_film_strip' => array( 559 'type' => 'checkbox', 560 'default_value' => '1', 561 'help_link' => 'f=configuration.htm&as=admin_image_comment_filmstrip_toggle&ae=admin_image_comment_filmstrip_toggle_end', 562 ), 563 'max_film_strip_items' => array( 564 'type' => 'textfield', 565 'min' => '1', 566 'max' => '99', 567 'default_value' => '5', 568 'help_link' => 'f=configuration.htm&as=admin_image_comment_filmstrip_number&ae=admin_image_comment_filmstrip_number_end', 569 'regex' => '^[0-9]{1,2}$', 570 'size' => '2', 571 'width' => '75', 572 'maxlength' => '2', 573 ), 574 'slideshow_interval' => array( 575 'type' => 'textfield', 576 'min' => '0', 577 'max' => '900000', 578 'step' => '10', 579 'default_value' => '5000', 580 'help_link' => 'f=configuration.htm&as=admin_image_comment_slideshow_interval&ae=admin_image_comment_slideshow_interval_end', 581 'regex' => '^[0-9]{1,6}$', 582 'size' => '6', 583 'width' => '75', 584 'maxlength' => '6', 585 'end_description' => $lang_admin_php['milliseconds'] . ' (' . $lang_admin_php['slideshow_interval_detail'] . ')', 586 ), 587 'slideshow_hits' => array( 588 'type' => 'checkbox', 589 'default_value' => '1', 590 'help_link' => 'f=configuration.htm&as=admin_image_slideshow_hits&ae=admin_image_slideshow_hits_end', 591 ), 592 'ecard_captcha' => array( 593 'type' => 'radio', 594 'default_value' => '1', 595 'help_link' => 'f=configuration.htm&as=admin_ecard_captcha_start&ae=admin_ecard_captcha_end', 596 'options' => array( 597 $lang_common['no'], 598 $lang_common['yes'].': '.$lang_admin_php['debug_everyone'], 599 $lang_common['yes'].': '.$lang_admin_php['guests_only'], 600 ), 601 ), 602 'ecard_flash' => array( 603 'type' => 'checkbox', 604 'default_value' => '0', 605 'help_link' => 'f=configuration.htm&as=admin_image_ecard_flash_start&ae=admin_image_ecard_flash_end', 606 'end_description' => '('.$lang_admin_php['not_recommended'].')', 607 ), 608 'transparent_overlay' => array( 609 'type' => 'checkbox', 610 'default_value' => '0', 611 'help_link' => 'f=configuration.htm&as=admin_image_transparent_overlay_start&ae=admin_image_transparent_overlay_end', 612 ), 613 'old_style_rating' => array( 614 'type' => 'checkbox', 615 'default_value' => '0', 616 'help_link' => 'f=configuration.htm&as=admin_image_old_style_rating_start&ae=admin_image_old_style_rating_end', 617 'end_description' => '('.$lang_admin_php['old_style_rating_extra'].')', 618 ), 619 'rating_stars_amount' => array( 620 'type' => 'textfield', 621 'min' => '1', 622 'max' => '20', 623 'default_value' => '5', 624 'help_link' => 'f=configuration.htm&as=admin_image_rating_stars_amount_start&ae=admin_image_rating_stars_amount_end', 625 'regex' => '^[0-9]{0,2}', 626 'size' => '2', 627 'width' => '75', 628 'maxlength' => '2', 629 ), 630 'fullsize_padding_x' => array( 631 'type' => 'textfield', 632 'min' => '0', 633 'max' => '100', 634 'default_value' => '5', 635 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_fullsize_padding_x&ae=admin_picture_thumbnail_fullsize_padding_x_end', 636 'regex' => '^[0-9]{1,3}$', 637 'size' => '3', 638 'width' => '75', 639 'maxlength' => '3', 640 'end_description' => $lang_admin_php['pixels'], 641 ), 642 'fullsize_padding_y' => array( 643 'type' => 'textfield', 644 'min' => '0', 645 'max' => '100', 646 'default_value' => '3', 647 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_fullsize_padding_y&ae=admin_picture_thumbnail_fullsize_padding_y_end', 648 'regex' => '^[0-9]{1,3}$', 649 'size' => '3', 650 'width' => '75', 651 'maxlength' => '3', 652 'end_description' => $lang_admin_php['pixels'], 653 ), 654 ), 655 'comment_settings' => array( 656 'filter_bad_words' => array( 657 'type' => 'checkbox', 658 'default_value' => '0', 659 'help_link' => 'f=configuration.htm&as=admin_image_comment_bad_words&ae=admin_image_comment_bad_words_end', 660 ), 661 'enable_smilies' => array( 662 'type' => 'checkbox', 663 'default_value' => '1', 664 'help_link' => 'f=configuration.htm&as=admin_image_comment_smilies&ae=admin_image_comment_smilies_end', 665 ), 666 'disable_comment_flood_protect' => array( 667 'type' => 'checkbox', 668 'default_value' => '0', 669 'help_link' => 'f=configuration.htm&as=admin_image_comment_flood&ae=admin_image_comment_flood_end', 670 'additional_description' => $lang_admin_php['disable_comment_flood_protect_details'], 671 ), 672 'max_com_lines' => array( 673 'type' => 'textfield', 674 'min' => '1', 675 'max' => '100', 676 'default_value' => '10', 677 'help_link' => 'f=configuration.htm&as=admin_image_comment_lines&ae=admin_image_comment_lines_end', 678 'regex' => '^[0-9]{1,3}$', 679 'size' => '3', 680 'width' => '75', 681 'maxlength' => '3', 682 ), 683 'max_com_size' => array( 684 'type' => 'textfield', 685 'min' => '1', 686 'max' => '99999', 687 'default_value' => '512', 688 'help_link' => 'f=configuration.htm&as=admin_image_comment_length&ae=admin_image_comment_length_end', 689 'regex' => '^[0-9]{1,5}$', 690 'size' => '5', 691 'width' => '75', 692 'maxlength' => '5', 693 694 ), 695 'max_com_wlength' => array( 696 'type' => 'textfield', 697 'min' => '0', 698 'max' => '999', 699 'default_value' => '38', 700 'help_link' => 'f=configuration.htm&as=admin_image_comment_chars_per_word&ae=admin_image_comment_chars_per_word_end', 701 'regex' => '^[0-9]{1,3}$', 702 'size' => '3', 703 'width' => '75', 704 'maxlength' => '3', 705 ), 706 'email_comment_notification' => array( 707 'type' => 'checkbox', 708 'default_value' => '0', 709 'help_link' => 'f=configuration.htm&as=admin_image_comment_admin_notify&ae=admin_image_comment_admin_notify_end', 710 ), 711 'comments_sort_descending' => array( 712 'type' => 'radio', 713 'default_value' => '0', 714 'help_link' => 'f=configuration.htm&as=admin_comment_sort_start&ae=admin_comment_sort_end', 715 'options' => array($lang_admin_php['ascending'], $lang_admin_php['descending']), 716 ), 717 'comments_per_page' => array( 718 'type' => 'textfield', 719 'min' => '1', 720 'max' => '999', 721 'default_value' => '20', 722 'help_link' => 'f=configuration.htm&as=admin_comment_pagination_start&ae=admin_comment_pagination_end', 723 'regex' => '^[0-9]{1,3}$', 724 'size' => '3', 725 'width' => '75', 726 'maxlength' => '3', 727 ), 728 'comments_anon_pfx' => array( 729 'type' => 'textfield', 730 'default_value' => 'Guest_', 731 'help_link' => 'f=configuration.htm&as=comments_anon_pfx&ae=comments_anon_pfx_end', 732 ), 733 'comment_approval' => array( 734 'type' => 'radio', 735 'default_value' => '0', 736 'help_link' => 'f=configuration.htm&as=admin_comment_approval&ae=admin_comment_approval_end', 737 'options' => array( 738 $lang_common['no'], 739 $lang_common['yes'].': '.$lang_admin_php['debug_everyone'], 740 $lang_common['yes'].': '.$lang_admin_php['guests_only'], 741 ), 742 ), 743 'display_comment_approval_only' => array( 744 'type' => 'checkbox', 745 'default_value' => '0', 746 'help_link' => 'f=configuration.htm&as=admin_comment_display_comment_approval_only_start&ae=admin_comment_display_comment_approval_only_end', 747 ), 748 'comment_placeholder' => array( 749 'type' => 'checkbox', 750 'default_value' => '1', 751 'help_link' => 'f=configuration.htm&as=admin_comment_display_placeholder_start&ae=admin_comment_display_placeholder_end', 752 ), 753 'comment_user_edit' => array( 754 'type' => 'checkbox', 755 'default_value' => '1', 756 'help_link' => 'f=configuration.htm&as=admin_comment_user_edit_start&ae=admin_comment_user_edit_end', 757 ), 758 'comment_captcha' => array( 759 'type' => 'radio', 760 'default_value' => '1', 761 'help_link' => 'f=configuration.htm&as=admin_comment_captcha_start&ae=admin_comment_captcha_end', 762 'options' => array( 763 $lang_common['no'], 764 $lang_common['yes'].': '.$lang_admin_php['debug_everyone'], 765 $lang_common['yes'].': '.$lang_admin_php['guests_only'], 766 ), 767 ), 768 'comment_akismet_api_key' => array( 769 'type' => 'textfield', 770 'default_value' => '', 771 'regex' => '^[0-9A-Za-z]{0,12}$', 772 'regex_not' => '^[0-9A-Za-z]{1,11}$', 773 'help_link' => 'f=configuration.htm&as=admin_comment_akismet_api_key&ae=admin_comment_akismet_api_key_end', 774 'additional_description' => '('.$lang_admin_php['comment_akismet_api_key_description'].')', 775 ), 776 'comment_akismet_enable' => array( 777 'type' => 'radio', 778 'default_value' => '0', 779 'help_link' => 'f=configuration.htm&as=admin_comment_akismet_enable&ae=admin_comment_akismet_enable_end', 780 'additional_description' => ': ' . $lang_admin_php['comment_akismet_enable_description'] . '<br />('.$lang_admin_php['comment_akismet_applicable_only'].')', 781 'options' => array( 782 $lang_admin_php['comment_akismet_enable_approval'], 783 $lang_admin_php['comment_akismet_drop_tell'], 784 $lang_admin_php['comment_akismet_drop_lie'], 785 ), 786 'linebreak' => '<br />', 787 ), 788 'comment_akismet_group' => array( 789 'type' => 'radio', 790 'default_value' => '0', 791 'help_link' => 'f=configuration.htm&as=admin_comment_akismet_group&ae=admin_comment_akismet_group_end', 792 'additional_description' => '<br />('.$lang_admin_php['comment_akismet_applicable_only'].')', 793 'options' => array( 794 $lang_admin_php['debug_everyone'], 795 $lang_admin_php['guests_only'], 796 ), 797 ), 798 'comment_promote_registration' => array( 799 'type' => 'checkbox', 800 'default_value' => '0', 801 'help_link' => 'f=configuration.htm&as=admin_comment_promote_registration_start&ae=admin_comment_promote_registration_end', 802 ), 803 ), 804 'contact_form_settings' => array( 805 'contact_form_guest_enable' => array( 806 'type' => 'radio', 807 'default_value' => '0', 808 'help_link' => 'f=configuration.htm&as=admin_contact_guest_enable&ae=admin_contact_guest_enable_end', 809 'options' => array( 810 $lang_common['no'], 811 $lang_common['yes'].' ('.$lang_admin_php['with_captcha'].')', 812 $lang_common['yes'].' ('.$lang_admin_php['without_captcha'].')', 813 ), 814 ), 815 'contact_form_guest_name_field' => array( 816 'type' => 'radio', 817 'default_value' => '2', 818 'help_link' => 'f=configuration.htm&as=admin_contact_guest_name_field&ae=admin_contact_guest_name_field_end', 819 'options' => array( 820 $lang_common['no'], 821 $lang_common['yes'].' ('.$lang_admin_php['optional'].')', 822 $lang_common['yes'].' ('.$lang_admin_php['mandatory'].')', 823 ), 824 ), 825 'contact_form_guest_email_field' => array( 826 'type' => 'radio', 827 'default_value' => '2', 828 'help_link' => 'f=configuration.htm&as=admin_contact_guest_email_field&ae=admin_contact_guest_email_field_end', 829 'options' => array( 830 $lang_common['no'], 831 $lang_common['yes'].' ('.$lang_admin_php['optional'].')', 832 $lang_common['yes'].' ('.$lang_admin_php['mandatory'].')', 833 ), 834 ), 835 'contact_form_registered_enable' => array( 836 'type' => 'radio', 837 'default_value' => '1', 838 'help_link' => 'f=configuration.htm&as=admin_contact_registered_enable&ae=admin_contact_registered_enable_end', 839 'options' => array( 840 $lang_common['no'], 841 $lang_common['yes'].' ('.$lang_admin_php['with_captcha'].')', 842 $lang_common['yes'].' ('.$lang_admin_php['without_captcha'].')', 843 ), 844 ), 845 'contact_form_subject_content' => array( 846 'type' => 'textfield', 847 'default_value' => 'Coppermine gallery contact form', 848 'help_link' => 'f=configuration.htm&as=admin_contact_subject_content&ae=admin_contact_subject_content_end', 849 ), 850 'contact_form_subject_field' => array( 851 'type' => 'radio', 852 'default_value' => '0', 853 'help_link' => 'f=configuration.htm&as=admin_contact_subject_field&ae=admin_contact_subject_field_end', 854 'options' => array( 855 $lang_common['no'], 856 $lang_common['yes'].' ('.$lang_admin_php['optional'].')', 857 $lang_common['yes'].' ('.$lang_admin_php['mandatory'].')', 858 ), 859 ), 860 'contact_form_sender_email' => array( 861 'type' => 'checkbox', 862 'default_value' => '1', 863 'help_link' => 'f=configuration.htm&as=admin_contact_sender_email&ae=admin_contact_sender_email_end', 864 ), 865 ), 866 'thumbnail_settings' => array( 867 'thumb_use' => array( 868 'type' => 'select', 869 'default_value' => 'any', 870 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_use-dimension&ae=admin_picture_thumbnail_use-dimension_end', 871 'options' => array( 872 'any' => $lang_admin_php['th_any'], 873 'ht' => $lang_admin_php['th_ht'], 874 'wd' => $lang_admin_php['th_wd'], 875 'ex' => $lang_admin_php['th_ex'], 876 ), 877 'additional_description' => $lang_admin_php['thumb_use_detail'], 878 'warning' => 'warning_change', 879 ), 880 'thumb_width' => array( 881 'type' => 'textfield', 882 'min' => '0', 883 'max' => '1000', 884 'default_value' => '128', 885 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_max-dimension&ae=admin_picture_thumbnail_max-dimension_end', 886 'regex' => '^[0-9]{1,4}$', 887 'size' => '4', 888 'width' => '75', 889 'maxlength' => '4', 890 'warning' => 'warning_change', 891 'end_description' => $lang_admin_php['pixels'], 892 ), 893 'thumb_height' => array( 894 'type' => 'textfield', 895 'min' => '0', 896 'max' => '1000', 897 'default_value' => '128', 898 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_height&ae=admin_picture_thumbnail_height_end', 899 'regex' => '^[0-9]{1,4}$', 900 'size' => '4', 901 'width' => '75', 902 'maxlength' => '4', 903 'additional_description' => $lang_admin_php['thumb_height_detail'], 904 'warning' => 'warning_change', 905 'end_description' => $lang_admin_php['pixels'], 906 ), 907 'thumb_pfx' => array( 908 'type' => 'textfield', 909 'default_value' => 'thumb_', 910 'only_display_if_not' => 'thumb_', 911 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_thumbs_prefix&ae=admin_picture_thumb_advanced_thumbs_prefix_end', 912 'warning' => 'warning_change', 913 ), 914 'enable_unsharp' => array( 915 'type' => 'checkbox', 916 'default_value' => '0', 917 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_sharpening_enable&ae=admin_picture_thumb_sharpening_enable_end', 918 ), 919 'unsharp_amount' => array( 920 'type' => 'textfield', 921 'min' => '0', 922 'max' => '999', 923 'default_value' => '120', 924 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_sharpening_amount&ae=admin_picture_thumb_sharpening_amount_end', 925 'regex' => '^[0-9]{1,3}$', 926 'size' => '3', 927 'width' => '75', 928 'maxlength' => '3', 929 'end_description' => '%', 930 ), 931 'unsharp_radius' => array( 932 'type' => 'textfield', 933 'default_value' => '0.5', 934 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_sharpening_radius&ae=admin_picture_thumb_sharpening_radius_end', 935 'regex' => '^[0-9]{1,1}([.]+([0-9]){0,1}){0,1}$', 936 'size' => '3', 937 'width' => '75', 938 'maxlength' => '3', 939 ), 940 'unsharp_threshold' => array( 941 'type' => 'textfield', 942 'min' => '0', 943 'max' => '100', 944 'default_value' => '3', 945 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_sharpening_threshold&ae=admin_picture_thumb_sharpening_threshold_end', 946 'regex' => '^[0-9]{1,3}$', 947 'size' => '3', 948 'width' => '75', 949 'maxlength' => '3', 950 ), 951 ), 952 'file_settings' => array( 953 'jpeg_qual' => array( 954 'type' => 'textfield', 955 'default_value' => '80', 956 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_jpeg_quality&ae=admin_picture_thumbnail_jpeg_quality_end', 957 'regex' => '^[0-9]{1,3}$', 958 'size' => '3', 959 'width' => '75', 960 'maxlength' => '3', 961 'end_description' => '%', 962 ), 963 'make_intermediate' => array( 964 'type' => 'checkbox', 965 'default_value' => '1', 966 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_intermediate_toggle&ae=admin_picture_thumbnail_intermediate_toggle_end', 967 ), 968 'picture_use' => array( 969 'type' => 'select', 970 'default_value' => 'any', 971 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_intermediate_use-dimension&ae=admin_picture_thumbnail_intermediate_use-dimension_end', 972 'options' => array( 973 'any' => $lang_admin_php['th_any'], 974 'ht' => $lang_admin_php['th_ht'], 975 'wd' => $lang_admin_php['th_wd'], 976 'thumb' => $lang_admin_php['picture_use_thumb'], 977 ), 978 'additional_description' => $lang_admin_php['picture_use_detail'], 979 'warning' => 'warning_change', 980 ), 981 'picture_width' => array( 982 'type' => 'textfield', 983 'min' => '0', 984 'max' => '10000', 985 'default_value' => '400', 986 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_intermediate_dimension&ae=admin_picture_thumbnail_intermediate_dimension_end', 987 'regex' => '^[0-9]{1,5}$', 988 'size' => '5', 989 'width' => '75', 990 'maxlength' => '5', 991 'warning' => 'warning_change', 992 'end_description' => $lang_admin_php['pixels'], 993 ), 994 'max_upl_size' => array( 995 'type' => 'KMG', 996 'min' => '8', 997 'max' => '1073741824', 998// 'step' => '0.1', 999 'default_value' => '1024', 1000 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_max_upload_size&ae=admin_picture_thumbnail_max_upload_size_end', 1001 'regex' => '^[0-9]{1,7}$', 1002 'size' => '7', 1003 'width' => '50', 1004 'maxlength' => '7', 1005 'end_description' => '', 1006 ), 1007 'max_upl_width_height' => array( 1008 'type' => 'textfield', 1009 'min' => '0', 1010 'max' => '10000', 1011 'default_value' => '2048', 1012 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_max_upload_dimension&ae=admin_picture_thumbnail_max_upload_dimension_end', 1013 'regex' => '^[0-9]{1,5}$', 1014 'size' => '5', 1015 'width' => '75', 1016 'maxlength' => '5', 1017 'end_description' => $lang_admin_php['pixels'], 1018 ), 1019 'auto_resize' => array( 1020 'type' => 'radio', 1021 'default_value' => '1', 1022 'help_link' => 'f=configuration.htm&as=admin_picture_thumbnail_auto-resize&ae=admin_picture_thumbnail_auto-resize_end', 1023 'options' => array( 1024 $lang_common['no'], 1025 $lang_common['yes'].': '.$lang_admin_php['auto_resize_everyone'], 1026 $lang_common['yes'].': '.$lang_admin_php['auto_resize_user'], 1027 ), 1028 ), 1029 'forbiden_fname_char' => array( 1030 'type' => 'textfield', 1031 'default_value' => '$/\\\\:*?"'<>|` &#@', 1032 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_filename_forbidden_chars&ae=admin_picture_thumb_advanced_filename_forbidden_chars_end', 1033 ), 1034 'silly_safe_mode' => array( 1035 'type' => 'checkbox', 1036 'default_value' => '0', 1037 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_silly_safe_mode_start&ae=admin_picture_thumb_advanced_silly_safe_mode_end', 1038 ), 1039 'allowed_img_types' => array( 1040 'type' => 'textfield', 1041 'default_value' => 'jpeg/jpg/png/gif', 1042 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_pic_extensions&ae=admin_picture_thumb_advanced_pic_extensions_end', 1043 'regex' => '^(([a-z0-9]{1,}){1}([/]{1,1})){0,}([a-z0-9]{1,}){1}$|^$', 1044 'regex_not' => '^ALL$', 1045 ), 1046 'allowed_mov_types' => array( 1047 'type' => 'textfield', 1048 'default_value' => 'asf/asx/mpg/mpeg/wmv/swf/avi/mov', 1049 'help_link' => 'f=configuration.htm&as=admin_thumbs_advanced_movie&ae=admin_thumbs_advanced_movie_end', 1050 'regex' => '^(([a-z0-9]{1,}){1}([/]{1,1})){0,}([a-z0-9]{1,}){1}$|^$', 1051 'regex_not' => '^ALL$', 1052 ), 1053 'media_autostart' => array( 1054 'type' => 'checkbox', 1055 'default_value' => '1', 1056 'help_link' => 'f=configuration.htm&as=admin_movie_autoplay&ae=admin_movie_autoplay_end', 1057 ), 1058 'allowed_snd_types' => array( 1059 'type' => 'textfield', 1060 'default_value' => 'mp3/midi/mid/wma/wav/ogg', 1061 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_audio_extensions&ae=admin_picture_thumb_advanced_audio_extensions_end', 1062 'regex' => '^(([a-z0-9]{1,}){1}([/]{1,1})){0,}([a-z0-9]{1,}){1}$|^$', 1063 'regex_not' => '^ALL$', 1064 ), 1065 'allowed_doc_types' => array( 1066 'type' => 'textfield', 1067 'default_value' => 'doc/txt/rtf/pdf/xls/pps/ppt/zip/gz/mdb', 1068 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_doc_extensions&ae=admin_picture_thumb_advanced_doc_extensions_end', 1069 'regex' => '^(([a-z0-9]{1,}){1}([/]{1,1})){0,}([a-z0-9]{1,}){1}$|^$', 1070 'regex_not' => '^ALL$', 1071 ), 1072 'thumb_method' => array( 1073 'type' => 'select', 1074 'default_value' => 'gd2', 1075 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_resize_method&ae=admin_picture_thumb_advanced_resize_method_end', 1076 'options' => array( 1077 'imx' => 'Imagick Extension', 1078 'im' => 'ImageMagick', 1079 'gd2' => 'GD version 2.x', 1080 ), 1081 ), 1082 'impath' => array( 1083 'type' => 'textfield', 1084 'default_value' => '', 1085 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_im_path&ae=admin_picture_thumb_advanced_im_path_end', 1086 'regex' => '/$|^$', 1087 ), 1088 'im_options' => array( 1089 'type' => 'textfield', 1090 'default_value' => '-antialias', 1091 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_im_commandline&ae=admin_picture_thumb_advanced_im_commandline_end', 1092 ), 1093 'read_exif_data' => array( 1094 'type' => 'checkbox', 1095 'default_value' => '0', 1096 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_exif&ae=admin_picture_thumb_advanced_exif_end', 1097 'end_description' => ' (<a href="exifmgr.php">'.$lang_admin_php['manage_exif'].'</a>)', 1098 ), 1099 'read_iptc_data' => array( 1100 'type' => 'checkbox', 1101 'default_value' => '0', 1102 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_iptc&ae=admin_picture_thumb_advanced_iptc_end', 1103 ), 1104 'fullpath' => array( 1105 'type' => 'textfield', 1106 'default_value' => 'albums/', 1107 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_albums_dir&ae=admin_picture_thumb_advanced_albums_dir_end', 1108 'warning' => 'warning_exist', 1109 'additional_description' => '<br />('.$lang_admin_php['warning_exist'].')', 1110 ), 1111 'userpics' => array( 1112 'type' => 'textfield', 1113 'default_value' => 'userpics/', 1114 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_userpics_dir&ae=admin_picture_thumb_advanced_userpics_dir_end', 1115 'warning' => 'warning_exist', 1116 'additional_description' => '<br />('.$lang_admin_php['warning_exist'].')', 1117 ), 1118 'upload_create_album_directory' => array( 1119 'type' => 'checkbox', 1120 'default_value' => '1', 1121 'help_link' => 'f=configuration.htm&as=admin_picture_upload_create_album_directory&ae=admin_picture_upload_create_album_directory_end', 1122 ), 1123 'normal_pfx' => array( 1124 'type' => 'textfield', 1125 'default_value' => 'normal_', 1126 'only_display_if_not' => 'normal_', 1127 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_intermediate_prefix&ae=admin_picture_thumb_advanced_intermediate_prefix_end', 1128 'warning' => 'warning_exist', 1129 'additional_description' => '<br />('.$lang_admin_php['warning_exist'].')', 1130 ), 1131 'default_dir_mode' => array( 1132 'type' => 'textfield', 1133 'default_value' => '0755', 1134 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_chmod_folder&ae=admin_picture_thumb_advanced_chmod_folder_end', 1135 'regex' => '^[0-9]{0,4}$', 1136 'size' => '4', 1137 'width' => '75', 1138 'maxlength' => '4', 1139 ), 1140 'default_file_mode' => array( 1141 'type' => 'textfield', 1142 'default_value' => '0644', 1143 'help_link' => 'f=configuration.htm&as=admin_picture_thumb_advanced_chmod_files&ae=admin_picture_thumb_advanced_chmod_files_end', 1144 'regex' => '^[0-9]{0,4}$', 1145 'size' => '4', 1146 'width' => '75', 1147 'maxlength' => '4', 1148 ), 1149 ), 1150 'image_watermarking' => array( 1151 'enable_watermark' => array( 1152 'type' => 'checkbox', 1153 'default_value' => '0', 1154 'help_link' => 'f=configuration.htm&as=admin_watermarking_enable&ae=admin_watermarking_enable_end', 1155 ), 1156 'enable_thumb_watermark' => array( 1157 'type' => 'checkbox', 1158 'default_value' => '1', 1159 'help_link' => 'f=configuration.htm&as=admin_watermarking_custom_thumb&ae=admin_watermarking_custom_thumb_end', 1160 'additional_description' => '('.$lang_admin_php['movie_audio_document'].')', 1161 ), 1162 'where_put_watermark' => array( 1163 'type' => 'select', 1164 'default_value' => 'southeast', 1165 'help_link' => 'f=configuration.htm&as=admin_watermarking_orientation&ae=admin_watermarking_orientation_end', 1166 'options' => array( 1167 'southeast' => $lang_admin_php['wm_bottomright'], 1168 'southwest' => $lang_admin_php['wm_bottomleft'], 1169 'northwest' => $lang_admin_php['wm_topleft'], 1170 'northeast' => $lang_admin_php['wm_topright'], 1171 'center' => $lang_admin_php['wm_center'], 1172 ), 1173 ), 1174 'which_files_to_watermark' => array( 1175 'type' => 'select', 1176 'default_value' => 'both', 1177 'help_link' => 'f=configuration.htm&as=admin_watermarking_filetype&ae=admin_watermarking_filetype_end', 1178 'options' => array( 1179 'both' => $lang_admin_php['wm_both'], 1180 'original' => $lang_admin_php['wm_original'], 1181 'resized' => $lang_admin_php['wm_resized'], 1182 ), 1183 ), 1184 'watermark_file' => array( 1185 'type' => 'textfield', 1186 'default_value' => 'images/watermark.png', 1187 'help_link' => 'f=configuration.htm&as=admin_watermarking_filepath&ae=admin_watermarking_filepath_end', 1188 ), 1189 'watermark_transparency' => array( 1190 'type' => 'textfield', 1191 'min' => '0', 1192 'max' => '100', 1193 'default_value' => '40', 1194 'help_link' => 'f=configuration.htm&as=admin_watermarking_transparency&ae=admin_watermarking_transparency_end', 1195 'regex' => '^[0-9]{0,3}$', 1196 'size' => '3', 1197 'width' => '75', 1198 'maxlength' => '3', 1199 'end_description' => '('.$lang_admin_php['zero_2_hundred'].')', 1200 ), 1201 'reduce_watermark' => array( 1202 'type' => 'textfield', 1203 'default_value' => '0', 1204 'min' => '0', 1205 'max' => '10000', 1206 'regex' => '^[0-9]{0,5}$', 1207 'size' => '5', 1208 'width' => '75', 1209 'help_link' => 'f=configuration.htm&as=admin_watermarking_downsize&ae=admin_watermarking_downsize_end', 1210 ), 1211 'watermark_transparency_featherx' => array( 1212 'type' => 'textfield', 1213 'min' => '0', 1214 'max' => '99999', 1215 'default_value' => '0', 1216 'help_link' => 'f=configuration.htm&as=admin_watermarking_transparent_x&ae=admin_watermarking_transparent_x_end', 1217 'regex' => '^[0-9]{0,5}$', 1218 'size' => '5', 1219 'width' => '75', 1220 'maxlength' => '5', 1221 'additional_description' => '('.$lang_admin_php['gd2_only'].')', 1222 ), 1223 'watermark_transparency_feathery' => array( 1224 'type' => 'textfield', 1225 'min' => '0', 1226 'max' => '99999', 1227 'default_value' => '0', 1228 'help_link' => 'f=configuration.htm&as=admin_watermarking_transparent_y&ae=admin_watermarking_transparent_y_end', 1229 'regex' => '^[0-9]{0,5}$', 1230 'size' => '5', 1231 'width' => '75', 1232 'maxlength' => '5', 1233 'additional_description' => '('.$lang_admin_php['gd2_only'].')', 1234 ), 1235 ), 1236 'registration' => array( 1237 'allow_user_registration' => array( 1238 'type' => 'checkbox', 1239 'default_value' => '0', 1240 'help_link' => 'f=configuration.htm&as=admin_allow_registration&ae=admin_allow_registration_end', 1241 ), 1242 'global_registration_pw' => array( 1243 'type' => 'textfield', 1244 'default_value' => '', 1245 'bridged' => 'hide', 1246 'help_link' => 'f=configuration.htm&as=admin_global_registration_pw&ae=admin_global_registration_pw_end', 1247 ), 1248 'user_registration_disclaimer' => array( 1249 'type' => 'radio', 1250 'default_value' => '1', 1251 'bridged' => 'hide', 1252 'help_link' => 'f=configuration.htm&as=admin_user_registration_disclaimer&ae=admin_user_registration_disclaimer_end', 1253 'options' => array($lang_common['no'], 1254 $lang_common['yes'].': '.$lang_admin_php['separate_page'], 1255 $lang_common['yes'].': '.$lang_admin_php['inline'], 1256 ), 1257 ), 1258 'registration_captcha' => array( 1259 'type' => 'checkbox', 1260 'default_value' => '0', 1261 'bridged' => 'hide', 1262 'help_link' => 'f=configuration.htm&as=admin_registration_captcha_start&ae=admin_registration_captcha_end', 1263 ), 1264 'reg_requires_valid_email' => array( 1265 'type' => 'checkbox', 1266 'default_value' => '1', 1267 'bridged' => 'hide', 1268 'help_link' => 'f=configuration.htm&as=admin_registration_verify&ae=admin_registration_verify_end', 1269 ), 1270 'reg_notify_admin_email' => array( 1271 'type' => 'checkbox', 1272 'default_value' => '0', 1273 'bridged' => 'hide', 1274 'help_link' => 'f=configuration.htm&as=admin_registration_notify&ae=admin_registration_notify_end', 1275 ), 1276 'admin_activation' => array( 1277 'type' => 'checkbox', 1278 'default_value' => '0', 1279 'bridged' => 'hide', 1280 'help_link' => 'f=configuration.htm&as=admin_activation&ae=admin_activation_end', 1281 ), 1282 'personal_album_on_registration' => array( 1283 'type' => 'checkbox', 1284 'default_value' => '0', 1285 'bridged' => 'hide', 1286 'help_link' => 'f=configuration.htm&as=admin_personal_album_on_registration&ae=admin_personal_album_on_registration_end', 1287 'end_description' => '('.$lang_admin_php['not_recommended'].')', 1288 ), 1289 ), 1290 'user_settings' => array( 1291 'allow_unlogged_access' => array( 1292 'type' => 'radio', 1293 'default_value' => '3', 1294 'help_link' => 'f=configuration.htm&as=admin_allow_unlogged_access&ae=admin_allow_unlogged_access_end', 1295 'options' => array( 1296 $lang_common['no'], 1297 $lang_common['yes'].': '.$lang_admin_php['thumbnail_only'], 1298 $lang_common['yes'].': '.$lang_admin_php['thumbnail_intermediate'], 1299 $lang_common['yes'].': '.$lang_admin_php['thumbnail_intermediate_full'], 1300 ), 1301 'linebreak' => '<br />', 1302 ), 1303 'upload_mechanism' => array( 1304 'type' => 'select', 1305 'default_value' => 'upload_h5a', 1306 'help_link' => 'f=configuration.htm&as=admin_upload_mechanism&ae=admin_upload_mechanism_end', 1307 'options' => array( 1308 //'swfupload' => $lang_admin_php['upload_swf'], 1309 //'html_single' => $lang_admin_php['upload_single'], 1310 ), 1311 ), 1312 'allow_user_upload_choice' => array( 1313 'type' => 'checkbox', 1314 'default_value' => '1', 1315 'help_link' => 'f=configuration.htm&as=admin_allow_user_upload_choice&ae=admin_allow_user_upload_choice_end', 1316 ), 1317 'editpics_ignore_newer_than' => array( 1318 'type' => 'checkbox', 1319 'default_value' => '0', 1320 'help_link' => 'f=configuration.htm&as=admin_editpics_ignore_newer_than_start&ae=admin_editpics_ignore_newer_than_end', 1321 ), 1322 'allow_duplicate_emails_addr' => array( 1323 'type' => 'checkbox', 1324 'default_value' => '0', 1325 'bridged' => 'hide', 1326 'only_display_if' => '1', 1327 'help_link' => 'f=configuration.htm&as=admin_allow_duplicate_emails_addr&ae=admin_allow_duplicate_emails_addr_end', 1328 ), 1329 'upl_notify_admin_email' => array( 1330 'type' => 'checkbox', 1331 'default_value' => '0', 1332 'help_link' => 'f=configuration.htm&as=admin_approval_notify&ae=admin_approval_notify_end', 1333 ), 1334 'user_manager_hide_file_stats' => array( 1335 'type' => 'checkbox', 1336 'default_value' => '0', 1337 'help_link' => 'f=configuration.htm&as=admin_user_manager_hide_file_stats&ae=admin_user_manager_hide_file_stats_end', 1338 ), 1339 'allow_memberlist' => array( 1340 'type' => 'checkbox', 1341 'default_value' => '0', 1342 'help_link' => 'f=configuration.htm&as=admin_user_memberlist&ae=admin_user_memberlist_end', 1343 ), 1344 'allow_email_change' => array( 1345 'type' => 'checkbox', 1346 'default_value' => '0', 1347 'bridged' => 'hide', 1348 'help_link' => 'f=configuration.htm&as=admin_user_allow_email_change&ae=admin_user_allow_email_change_end', 1349 ), 1350 'allow_user_account_delete' => array( 1351 'type' => 'checkbox', 1352 'default_value' => '0', 1353 'bridged' => 'hide', 1354 'help_link' => 'f=configuration.htm&as=admin_user_allow_account_delete&ae=admin_user_allow_account_delete_end', 1355 ), 1356 'users_can_edit_pics' => array( 1357 'type' => 'checkbox', 1358 'default_value' => '0', 1359 'help_link' => 'f=configuration.htm&as=admin_user_editpics_public_start&ae=admin_user_editpics_public_end', 1360 ), 1361 'allow_user_move_album' => array( 1362 'type' => 'checkbox', 1363 'default_value' => '0', 1364 'help_link' => 'f=configuration.htm&as=admin_user_allow_album_move&ae=admin_user_allow_album_move_end', 1365 ), 1366 'allow_user_edit_after_cat_close' => array( 1367 'type' => 'checkbox', 1368 'default_value' => '0', 1369 'help_link' => 'f=configuration.htm&as=admin_allow_user_edit_after_cat_close&ae=admin_allow_user_edit_after_cat_close_end', 1370 ), 1371 'allow_user_album_keyword' => array( 1372 'type' => 'checkbox', 1373 'default_value' => '0', 1374 'help_link' => 'f=configuration.htm&as=admin_allow_user_album_keyword&ae=admin_allow_user_album_keyword_end', 1375 ), 1376 'album_uploads_default' => array( 1377 'type' => 'select', 1378 'default_value' => 'NO', 1379 'help_link' => 'f=configuration.htm&as=admin_user_album_uploads_default_start&ae=admin_user_album_uploads_default_end', 1380 'warning' => 'warning_just_new_albums', 1381 'options' => array( 1382 'YES' => $lang_common['yes'], 1383 'NO' => $lang_common['no'], 1384 ), 1385 ), 1386 'login_method' => array( 1387 'type' => 'select', 1388 'default_value' => 'username', 1389 'bridged' => 'hide', 1390 'help_link' => 'f=configuration.htm&as=admin_user_login_start&ae=admin_user_login_method_end', 1391 'options' => array( 1392 'username' => $lang_admin_php['login_method_username'], 1393 'email' => $lang_admin_php['login_method_email'], 1394 'both' => $lang_admin_php['login_method_both'], 1395 ), 1396 ), 1397 'login_threshold' => array( 1398 'type' => 'textfield', 1399 'min' => '1', 1400 'max' => '999', 1401 'default_value' => '5', 1402 'bridged' => 'hide', 1403 'help_link' => 'f=configuration.htm&as=admin_user_login_threshold_start&ae=admin_user_login_threshold_end', 1404 'regex' => '^1?[1-9]$|^[1-2]0$', 1405 'regex_not' => '^0$', 1406 'size' => '3', 1407 'width' => '75', 1408 'maxlength' => '3', 1409 'additional_description' => $lang_admin_php['login_threshold_detail'], 1410 ), 1411 'login_expiry' => array( 1412 'type' => 'textfield', 1413 'min' => '0', 1414 'max' => '999', 1415 'default_value' => '10', 1416 'bridged' => 'hide', 1417 'help_link' => 'f=configuration.htm&as=admin_user_login_expiry_start&ae=admin_user_login_expiry_end', 1418 'regex' => '^[0-9]{1,3}$', 1419 'size' => '3', 1420 'width' => '75', 1421 'maxlength' => '3', 1422 'end_description' => $lang_admin_php['minutes'], 1423 ), 1424 'purge_expired_bans' => array( 1425 'type' => 'checkbox', 1426 'default_value' => '0', 1427 'help_link' => 'f=configuration.htm&as=admin_user_purge_expired_bans&ae=admin_user_purge_expired_bans_end', 1428 ), 1429 'report_post' => array( 1430 'type' => 'checkbox', 1431 'default_value' => '0', 1432 'help_link' => 'f=configuration.htm&as=admin_user_enable_report&ae=admin_user_enable_report_end', 1433 ), 1434 'rate_own_files' => array( 1435 'type' => 'radio', 1436 'default_value' => '0', 1437 'help_link' => 'f=configuration.htm&as=admin_user_rate_own_files_start&ae=admin_user_rate_own_files_end', 1438 'options' => array( 1439 $lang_common['no'], 1440 $lang_common['yes'] . ': ' . $lang_admin_php['debug_everyone'], 1441 $lang_common['yes'] . ': ' . $lang_admin_php['debug_admin'], 1442 ), 1443 ), 1444 ), 1445 'custom_fields_user_profile' => array( 1446 'user_profile1_name' => array( 1447 'type' => 'textfield', 1448 'default_value' => 'Location', 1449 'bridged' => 'hide', 1450 'help_link' => 'f=configuration.htm&as=admin_custom&ae=admin_custom_end', 1451 ), 1452 'user_profile2_name' => array( 1453 'type' => 'textfield', 1454 'default_value' => 'Interests', 1455 'bridged' => 'hide', 1456 'help_link' => '', 1457 ), 1458 'user_profile3_name' => array( 1459 'type' => 'textfield', 1460 'default_value' => 'Website', 1461 'bridged' => 'hide', 1462 'help_link' => '', 1463 ), 1464 'user_profile4_name' => array( 1465 'type' => 'textfield', 1466 'default_value' => 'Occupation', 1467 'bridged' => 'hide', 1468 'help_link' => '', 1469 ), 1470 'user_profile5_name' => array( 1471 'type' => 'textfield', 1472 'default_value' => '', 1473 'bridged' => 'hide', 1474 'help_link' => '', 1475 ), 1476 'user_profile6_name' => array( 1477 'type' => 'textfield', 1478 'default_value' => 'Biography', 1479 'bridged' => 'hide', 1480 'help_link' => '', 1481 ), 1482 ), 1483 'custom_fields_image_description' => array( 1484 'user_field1_name' => array( 1485 'type' => 'textfield', 1486 'default_value' => '', 1487 'help_link' => 'f=configuration.htm&as=admin_custom_image&ae=admin_custom_image_end', 1488 ), 1489 'user_field2_name' => array( 1490 'type' => 'textfield', 1491 'default_value' => '', 1492 'help_link' => '', 1493 ), 1494 'user_field3_name' => array( 1495 'type' => 'textfield', 1496 'default_value' => '', 1497 'help_link' => '', 1498 ), 1499 'user_field4_name' => array( 1500 'type' => 'textfield', 1501 'default_value' => '', 1502 'help_link' => '', 1503 ), 1504 ), 1505 'cookie_settings' => array( 1506 'cookie_name' => array( 1507 'type' => 'textfield', 1508 'default_value' => 'cpg16x', 1509 'help_link' => 'f=configuration.htm&as=admin_cookie_name&ae=admin_cookie_name_end', 1510 'regex' => '^([a-z0-9_-]){1,}$', 1511 'regex_not' => '\.', 1512 ), 1513 'cookie_path' => array( 1514 'type' => 'textfield', 1515 'default_value' => '/', 1516 'help_link' => 'f=configuration.htm&as=admin_cookie_path&ae=admin_cookie_path_end', 1517 ), 1518 ), 1519 'email_settings' => array( 1520 'gallery_admin_email' => array( 1521 'type' => 'textfield', 1522 'help_link' => 'f=configuration.htm&as=admin_email_email&ae=admin_email_email_end', 1523 'regex' => '^' 1524 .'(' 1525 .'[a-zA-Z0-9]((\.|\-|\_){0,1}' 1526 .'[a-zA-Z0-9]){0,}' 1527 .')' 1528 .'@' 1529 .'(' 1530 .'[a-zA-Z0-9]((\.|\-){0,1}' 1531 .'[a-zA-Z0-9]){0,}' 1532 .')' 1533 .'\.' 1534 .'([a-zA-Z]{2,63})' 1535 .'$', 1536 'regex_not' => '^you@somewhere\.com$', 1537 'default_value' => '', 1538 ), 1539 'smtp_host' => array( 1540 'type' => 'textfield', 1541 'default_value' => '', 1542 'help_link' => 'f=configuration.htm&as=admin_email&ae=admin_email_end', 1543 ), 1544 'smtp_username' => array( 1545 'type' => 'textfield', 1546 'default_value' => '', 1547 'help_link' => '', 1548 ), 1549 'smtp_password' => array( 1550 'type' => 'textfield', 1551 'default_value' => '', 1552 'help_link' => '', 1553 ), 1554 ), 1555 'logging_stats' => array( 1556 'log_mode' => array( 1557 'type' => 'radio', 1558 'default_value' => '0', 1559 'help_link' => 'f=configuration.htm&as=admin_logging_log_mode&ae=admin_logging_log_mode_end', 1560 'options' => array( 1561 $lang_admin_php['no_logs'], 1562 $lang_admin_php['log_normal'], 1563 $lang_admin_php['log_all'], 1564 ), 1565 'end_description' => ' (<a href="viewlog.php">'.$lang_admin_php['view_logs'].'</a>)', 1566 'additional_description' => '<br />('.$lang_admin_php['log_mode_details'].')', 1567 ), 1568 'log_ecards' => array( 1569 'type' => 'checkbox', 1570 'default_value' => '0', 1571 'help_link' => 'f=configuration.htm&as=admin_general_log_ecards&ae=admin_general_log_ecards_end', 1572 'additional_description' => '<br />('.$lang_admin_php['log_ecards_detail'].')', 1573 ), 1574 'vote_details' => array( 1575 'type' => 'checkbox', 1576 'default_value' => '0', 1577 'help_link' => 'f=configuration.htm&as=admin_logging_votedetails&ae=admin_logging_votedetails_end', 1578 ), 1579 'hit_details' => array( 1580 'type' => 'checkbox', 1581 'default_value' => '0', 1582 'help_link' => 'f=configuration.htm&as=admin_logging_hitdetails&ae=admin_logging_hitdetails_end', 1583 ), 1584 'display_stats_on_index' => array( 1585 'type' => 'checkbox', 1586 'default_value' => '1', 1587 'help_link' => 'f=configuration.htm&as=admin_logging_display_stats_on_index&ae=admin_logging_display_stats_on_index_end', 1588 ), 1589 'count_file_hits' => array( 1590 'type' => 'checkbox', 1591 'default_value' => '1', 1592 'help_link' => 'f=configuration.htm&as=admin_count_file_hits&ae=admin_count_file_hits_end', 1593 ), 1594 'count_album_hits' => array( 1595 'type' => 'checkbox', 1596 'default_value' => '1', 1597 'help_link' => 'f=configuration.htm&as=admin_count_album_hits&ae=admin_count_album_hits_end', 1598 ), 1599 'count_admin_hits' => array( 1600 'type' => 'checkbox', 1601 'default_value' => '0', 1602 'help_link' => 'f=configuration.htm&as=admin_count_admin_hits&ae=admin_count_admin_hits_end', 1603 ), 1604 ), 1605 'maintenance_settings' => array( 1606 'debug_mode' => array( 1607 'type' => 'radio', 1608 'default_value' => '0', 1609 'help_link' => 'f=configuration.htm&as=debug_mode&ae=debug_mode_end', 1610 'options' => array( 1611 $lang_common['no'], 1612 $lang_common['yes'] . ': ' . $lang_admin_php['debug_everyone'], 1613 $lang_common['yes'] . ': ' . $lang_admin_php['debug_admin'], 1614 ), 1615 ), 1616 'debug_notice' => array( 1617 'type' => 'checkbox', 1618 'default_value' => '0', 1619 'help_link' => 'f=configuration.htm&as=admin_misc_debug_notices&ae=admin_misc_debug_notices_end', 1620 ), 1621 'offline' => array( 1622 'type' => 'checkbox', 1623 'default_value' => '0', 1624 'help_link' => 'f=configuration.htm&as=admin_general_offline&ae=admin_general_offline_end', 1625 ), 1626 'display_coppermine_news' => array( 1627 'type' => 'checkbox', 1628 'default_value' => '1', 1629 'help_link' => 'f=configuration.htm&as=admin_general_coppermine_news&ae=admin_general_coppermine_news_end', 1630 'end_description' => '(' . $lang_admin_php['display_coppermine_detail'] . ')', 1631 ), 1632 'display_reset_boxes_in_config' => array( 1633 'type' => 'checkbox', 1634 'default_value' => '0', 1635 'help_link' => 'f=configuration.htm&as=admin_misc_reset_boxes&ae=admin_misc_reset_boxes_end', 1636 'end_description' => '(' . $lang_admin_php['not_recommended'] . ')', 1637 ), 1638 ), 1639); 1640 1641//EOF