This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ### Documentation available at https://wodby.com/docs/stacks/drupal/local | |
| ### Changelog can be found at https://github.com/wodby/docker4drupal/releases | |
| ### Images tags format explained at https://github.com/wodby/docker4drupal#images-tags | |
| ### PROJECT SETTINGS | |
| PROJECT_NAME=myskills_new | |
| PROJECT_BASE_URL=myskills.dev.local | |
| PROJECT_BASE_URL_PORTAL=portal.myskills.dev.local | |
| COMPOSE_CONVERT_WINDOWS_PATHS=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3.7" | |
| services: | |
| mariadb: | |
| image: wodby/mariadb:$MARIADB_TAG | |
| container_name: "${PROJECT_NAME}_mariadb" | |
| stop_grace_period: 30s | |
| ports: | |
| - "3306:3306" | |
| environment: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <header id = "navbar" role = "banner" class = "navbar navbar-static-top navbar-default"> | |
| <div class = "container"> | |
| <div class = "navbar-header"> | |
| <!----> | |
| <!--<a class = "name navbar-brand" href = "/" title = "Home">ma-drupal.dev</a> | |
| --> | |
| <a href = "/" title = "Home"> | |
| <div id = "navbarhome" class = "name navbar-brand glyphicon glyphicon-home"></div> </a> | |
| <!--.btn-navbar is used as the toggle for collapsed navbar content --> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| $collected_results_array = array(); | |
| $marker_data = array(); | |
| $i = 0; | |
| $result = db_query($google_sql); | |
| if ($result) { | |
| while ($record = $result->fetchObject()) { | |
| $markerObject = new stdClass(); | |
| $i++; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $url = 'https://www.ambassadorcard.com.au/api/resync/?return_type=json'; | |
| //$url = 'https://www.ambassadorcard.com.au/api/added/?return_type=json&benefit_type=Dining&start_dt=2016-01-01'; | |
| //$url = 'https://www.ambassadorcard.com.au/api/removed/?return_type=xml&benefit_type=Dining&start_dt=2016-01-01'; | |
| //$url = "https://www.ambassadorcard.com.au/api/updated/?return_type=json&benefit_type=Dining&start_dt=2016-01-01"; | |
| $ch = curl_init(); | |
| curl_setopt($ch, CURLOPT_URL, $url); | |
| curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_HTTPAUTH, CURLAUTH_BASIC); | |
| curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| var currenturl = window.location.href; | |
| var url = "p=75"; | |
| if (currenturl.indexOf("p=75") != -1) | |
| { | |
| var trimurl = currenturl.replace('p=75', ''); | |
| customAlert(); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * To change this license header, choose License Headers in Project Properties. | |
| * To change this template file, choose Tools | Templates | |
| * and open the template in the editor. | |
| */ | |
| ?> | |
| <?php |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Updates the current groups information shown about a user when a user is selected. | |
| * | |
| * @global {Array} userSummaries | |
| * userSummaries is added to the page via /user/selector/lib.php - group_non_members_selector::print_user_summaries() | |
| * as a global that can be used by this function. | |
| */ | |
| function updateUserSummary() { | |
| var selectEl = document.getElementById('addselect'), | |
| summaryDiv = document.getElementById('group-usersummary'), |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Creates a global JS variable (userSummaries) that is used by the group selector | |
| * to print related information when the user clicks on a user in the groups UI. | |
| * | |
| * Used by /group/clientlib.js | |
| * | |
| * @global moodle_database $DB | |
| * @global moodle_page $PAGE | |
| * @param int $courseid | |
| */ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| /* | |
| * Ticket #2129 | |
| * Remove Global Variable $tax_settings from conn.php | |
| * | |
| */ | |
| class MainTaxSettings{ | |
NewerOlder