undefined

TitleWindow draggable border

  1.                         private function makeBorderDraggable(): void {
  2.                                 this.addEventListener(MouseEvent.MOUSE_DOWN, function(event: MouseEvent): void {
  3.                                 if (enabled && isPopUp) {

Fix for installation profile create user

  1. <?php
  2.  $edit = array(
  3.     'name' => 'admin',
  4.     'pass' => '123',
  5.     'init' => 'admin',
  6.     'mail' => 'info@website.com',
  7.     'status' => 1
  8.   );
  9.   user_save('', $edit);

installation profile create user

  1. <?php
  2.  $edit = array(
  3.     'name' => 'admin',
  4.     'pass' => 'drop',
  5.     'init' => 'admin',
  6.     'mail' => 'info@website.com',
  7.     'status' => 1
  8.   );
  9.   user_save('', $edit);

Fix for Updating user_force_term from D5 to D6

  1. /*
  2.   hook_user() gets called without a valid account.
  3.  
  4.   Merlinofchaos suggested an empty() check but a quick test revealed that more was needed in this case.
  5.  

Updating user_force_term from D5 to D6

  1. /*
  2. I am in the process of updating the user_force_term module from Drupal 5 to Drupal 6.
  3.  
  4. Update seems completed except for this notice:
  5.  

theme own checkbox

  1. function theme_my_checkbox($element) {
  2.  return '<' . $element[$id] . '>';
  3. }

Fix for Code

  1. <?php
  2. class test {
  3.   function pass() {
  4.     echo "Pass\n";
  5.   }
  6.   function fail() {
  7.     echo "Fail\n";
  8.   }
  9. }

Fix for Code

  1. <?php
  2.  
  3. class test {
  4.   function pass() {
  5.     echo "Pass\n";
  6.   }
  7.   function fail() {
  8.     echo "Fail\n";
  9.   }
  10. }

Fix for Code

  1. <?php
  2.  
  3. define ('TEST_LOAD', 0);
  4. define ('TEST_START', 1);
  5. define ('TEST_IN', 2);
  6.  
  7. /**
  8.  * on the first call, you pass in one argument, the test array.
  9.  
Syndicate content