This file contains 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
<div class="ajax-progress ajax-progress-throbber"> | |
<div class="throbber"> </div> | |
<div class=“message”>Add product</div> | |
</div> | |
<!-- Drupal Commerce --> | |
<span class="checkout-processing"></span> |
This file contains 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
function no_greek_punctuation($source){ | |
$newphrase=""; | |
$newphrase= str_replace("ά", "α", $source); | |
$newphrase= str_replace("έ", "ε", $newphrase); | |
$newphrase= str_replace("ί", "ι", $newphrase); | |
$newphrase= str_replace("ό", "ο", $newphrase); | |
$newphrase= str_replace("ή", "η", $newphrase); | |
$newphrase= str_replace("ύ", "υ", $newphrase); | |
$newphrase= str_replace("ώ", "ω", $newphrase); | |
$newphrase= str_replace("Ά", "Α", $newphrase); |
This file contains 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
/** | |
* @file | |
* A JavaScript file for the theme. | |
* | |
* Add a read more / less functionality. | |
*/ | |
(function ($, Drupal, window, document) { | |
'use strict'; |
This file contains 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
$all_views = views_get_all_views(); | |
foreach ($all_views as $view) { | |
$displays = $view->display; | |
foreach ($displays as $views_display) { | |
$display_options = $views_display->display_options; | |
$disable_sql_rewrite = $display_options['query']['options']['disable_sql_rewrite']; | |
if ($disable_sql_rewrite) { | |
dpm($view->name . ': ' . $views_display->display_title); | |
} | |
} |
This file contains 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 | |
$greek = array(); | |
$greek['AD'] = 'Ανδόρρα'; | |
$greek['AE'] = 'Ηνωμένα Αραβικά Εμιράτα'; | |
$greek['AF'] = 'Αφγανιστάν'; | |
$greek['AG'] = 'Αντίγκουα και Μπαρμπούντα'; | |
$greek['AI'] = 'Ανγκουίλα'; | |
$greek['AL'] = 'Αλβανία'; | |
$greek['AM'] = 'Αρμενία'; | |
$greek['AN'] = 'Ολλανδικές Αντίλλες'; |
This file contains 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
/** | |
* @file | |
* A JavaScript file for the theme. | |
* | |
* Resizes all elements having the class equal-height-parent to the same height. | |
*/ | |
(function ($, Drupal, window, document, undefined) { | |
This file contains 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
<div class="contextual-links-region"> | |
<p>Some HTML content here.</p> | |
<?php | |
$element = array('#contextual_links' => array( | |
'node' => array('node', array('1')), | |
)); | |
$links = contextual_pre_render_links($element); | |
$links['#type'] = 'contextual_links'; | |
dpm($links); | |