About 830 results: "php empty repo:speedealing/speedealing"
Page 6 of 42
Filter Results
Sources
Languages
Filter Results
Try Search On
menus.php in speedealing https://bitbucket.org/speedealing/speedealing.git | 281 lines | PHP
  1. 
                        
  2. if ($action == 'update' && empty($_POST["cancel"]))
  3. 	print '<td>';
  4. 	print $formadmin->select_menu(empty($conf->global->MAIN_MENU_STANDARD_FORCED)?$conf->global->MAIN_MENU_STANDARD:$conf->global->MAIN_MENU_STANDARD_FORCED, 'MAIN_MENU_STANDARD', $dirstandard, empty($conf->global->MAIN_MENU_STANDARD_FORCED)?'':' disabled="disabled"');
  5. 	print '<td>';
  6. 	print $formadmin->select_menu(empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED)?$conf->global->MAIN_MENUFRONT_STANDARD:$conf->global->MAIN_MENUFRONT_STANDARD_FORCED, 'MAIN_MENUFRONT_STANDARD', $dirstandard, empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED)?'':' disabled="disabled"');
  7. 	print '<td>';
  8. 	print $formadmin->select_menu(empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?$conf->global->MAIN_MENU_SMARTPHONE:$conf->global->MAIN_MENU_SMARTPHONE_FORCED, 'MAIN_MENU_SMARTPHONE', array_merge($dirstandard,$dirsmartphone), empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?'':' disabled="disabled"');
  9. 	print '<td>';
  10. 	print $formadmin->select_menu(empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED)?$conf->global->MAIN_MENUFRONT_SMARTPHONE:$conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED, 'MAIN_MENUFRONT_SMARTPHONE', array_merge($dirstandard,$dirsmartphone), empty($conf->global->MAIN_MENUFRONT_SMARTPHONE_FORCED)?'':' disabled="disabled"');
  11. 	print '<td>';
  12. 	$filelib=preg_replace('/.php$/i','',(empty($conf->global->MAIN_MENU_STANDARD_FORCED)?$conf->global->MAIN_MENU_STANDARD:$conf->global->MAIN_MENU_STANDARD_FORCED));
  13. 	print '<td>';
  14. 	$filelib=preg_replace('/.php$/i','',(empty($conf->global->MAIN_MENUFRONT_STANDARD_FORCED)?$conf->global->MAIN_MENUFRONT_STANDARD:$conf->global->MAIN_MENUFRONT_STANDARD_FORCED));
  15. 	print '<td>';
  16. 	$filelib=preg_replace('/.php$/i','',(empty($conf->global->MAIN_MENU_SMARTPHONE_FORCED)?$conf->global->MAIN_MENU_SMARTPHONE:$conf->global->MAIN_MENU_SMARTPHONE_FORCED));
  17. 	print $filelib;



param_ihm.php in speedealing https://bitbucket.org/speedealing/speedealing.git | 272 lines | PHP
  1.     print '</td>';
  2.     print '<td align="left" nowrap="nowrap" width="20%"><input ' . $bc[$var] . ' name="check_MAIN_LANG_DEFAULT" id="check_MAIN_LANG_DEFAULT" type="checkbox" ' . (!empty($fuser->conf->MAIN_LANG_DEFAULT) ? " checked" : "");
  3.     print !empty($dolibarr_main_demo) ? ' disabled="disabled"' : ''; // Disabled for demo
  4.     print '> ' . $langs->trans("UsePersonalValue") . '</td>';
  5.     print '<td>';
  6.     print $formadmin->select_language((!empty($fuser->conf->MAIN_LANG_DEFAULT) ? $fuser->conf->MAIN_LANG_DEFAULT : ''), 'main_lang_default', 1);
  7.     print '<td>' . $conf->global->MAIN_SIZE_LISTE_LIMIT . '</td>';
  8.     print '<td align="left" nowrap="nowrap" width="20%"><input ' . $bc[$var] . ' name="check_SIZE_LISTE_LIMIT" id="check_SIZE_LISTE_LIMIT" type="checkbox" ' . (!empty($fuser->conf->MAIN_SIZE_LISTE_LIMIT) ? " checked" : "");
  9.     print !empty($dolibarr_main_demo) ? ' disabled="disabled"' : ''; // Disabled for demo
  10.     print '> ' . $langs->trans("UsePersonalValue") . '</td>';
  11.     print '<td><input class="flat" name="main_size_liste_limit" id="main_size_liste_limit" size="4" value="' . (!empty($fuser->conf->SIZE_LISTE_LIMIT) ? $fuser->conf->SIZE_LISTE_LIMIT : '') . '"></td></tr>';
  12.     // Theme
  13.     show_theme($fuser, (($user->admin || empty($dolibarr_main_demo)) ? 1 : 0), true);
  14.     print '</td>';
  15.     print '<td align="left" nowrap="nowrap" width="20%"><input ' . $bc[$var] . ' type="checkbox" disabled ' . (!empty($fuser->conf->MAIN_LANG_DEFAULT) ? " checked" : "") . '> ' . $langs->trans("UsePersonalValue") . '</td>';

















Back to Top