Is your scenario that you want a default value ONLY for certain templates or users?
case 'searchable': $new_value = ($new_value=='') ? 0 : $new_value; $output .= '$("input[@name=searchable]").val("'.(int)$new_value.'"); '."\n"; $output .= '$("input[@name=searchablecheck]").attr("checked",""); '."\n"; break;
if (function_exists("mm_default")) { return; }
if( !function_exists( "mm_default" ) ) { function mm_default() {} }
Fatal error: Cannot redeclare mm_default() (previously declared in D:\xampp163a\htdocs\ccz\assets\plugins\managermanager\mm.inc.php:200) in D:\xampp163a\htdocs\ccz\assets\plugins\managermanager\mm.inc.php on line 231
Fatal error: Cannot redeclare mm_default() (previously declared in D:\xampp163a\htdocs\ccz\assets\plugins\managermanager\mm.inc.php:200) in D:\xampp163a\htdocs\ccz\assets\plugins\managermanager\mm.inc.php on line 231
Firefox 2, PHP 5.2.3
.. and half screen is wiped out also.
This discussion is closed to further replies. Keep calm and carry on.