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
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta content="text/html; charset=us-ascii" http-equiv="Content-Type" /> | |
| <title>(HTML) Computer Resume</title> | |
| <style type="text/css"> | |
| h1, h2, h3, ul {margin: 0px; } | |
| h1 {margin-left: 10px; } | |
| p, li, h3, h1 small {font-size:12px;} | |
| p {margin: 6px 0px;} | |
| h2 { color: gray } |
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 | |
| /** | |
| * Adds a class to a form element. | |
| */ | |
| function _custom_attributes_add_class($element, $class) { | |
| if ((!is_array($element)) || ((int)strlen($class) === (int)0)) return $element; | |
| if (isset($element['#attributes'])) { | |
| if (!is_array($element['#attributes'])) return $element; |
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
| today i live, | |
| today i grow. | |
| i will use my energies | |
| to develop myself, | |
| to expand my heart out to others; | |
| to achieve enlightenment for the benefit of all beings. | |
| i will think kind thoughts towards others, | |
| i will be generous, humble and unassuming towards others. |
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 | |
| foreach ( $features as $name => $feature ) { | |
| $info = $feature->info['features']; | |
| foreach ($info['node'] as $nodetype) { | |
| if ($ret_all || (isset($site_features[$name]) && in_array($site_features[$name], $privacy))) { | |
| $bundles[$nodetype] = $feature->info['name']; | |
| } | |
| } |
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 | |
| $template_path = drupal_path('module', 'os_profiles') . '/node--profile.tpl.php'; | |
| if (file_exists($template_path)) { | |
| include_once($template_path)) | |
| } | |
| else { | |
| include_once($default_node_path); | |
| } |
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 | |
| /** | |
| * Returns a new EntityFieldQuery in the current space, if vsite is enabled. | |
| */ | |
| function _os_node_query($type = '') { | |
| // Prepares a new EntityFieldQuery for nodes. | |
| $query = new EntityFieldQuery(); | |
| $query->entityCondition('entity_type', 'node'); |
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
| // From os_biocv.module | |
| /** | |
| * Implements hook_os_widget(). | |
| * | |
| * Exposes blocks as OpenScholar widgets. | |
| */ | |
| function os_biocv_os_widget() { | |
| $items = array(); |
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 | |
| // $Id$ | |
| /** | |
| * @file | |
| * Common functions for working with node content in OpenScholar. | |
| */ | |
| /** |
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 | |
| // $Id$ | |
| /** | |
| * Impements hook_menu(). | |
| * | |
| * @ingroup updatefile | |
| * @ingroup biblioterm | |
| */ | |
| function iqss_gking_menu() { |
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 | |
| /** | |
| * useful | |
| */ | |
| function spoodermoon($puuunnndd, $asyousay, $boolean = 'boolean') { | |
| if ($boolean === 'boolean') | |
| $harrible = 'FALSE'; | |
| if ($puuunnndd) { | |
| $harrible = 'TRUE'; |