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
/** | |
* Implements hook_date_format_types() | |
*/ | |
function ucsf_pharmacy_tools_date_format_types() { | |
return array( | |
'pharmacy_compact' => t('Compact'), | |
'pharmacy_compact_time' => t('Compact + time'), | |
'pharmacy_full' => t('Full'), | |
'pharmacy_full_time' => t('Full + time'), | |
); |
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 | |
/** | |
* Checks if this entity is the default revision (published). | |
* | |
* @param object $entity | |
* The entity object, e.g., $node. | |
* | |
* @return bool | |
* TRUE if the entity is the default revision, FALSE otherwise. |
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
/** | |
* Theme the way an 'all day' label will look. | |
*/ | |
function pharmacyoa_date_all_day_label() { | |
return '(' . t('all day', array(), array('context' => 'datetime')) .')'; | |
} |
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
include drupal_get_path('theme','pharmacyoa') . '/templates/footer.tpl.php'; |
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 | |
/** | |
* @file | |
* UCSF workbench tweaks module using the workbench_moderation API. | |
*/ | |
/** | |
* Allows modules to respond to state transitions. | |
* |
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
rr | |
updb | |
fr ucsf_starterkit_images|ucsf_starterkit_images | |
fr ucsf_pharmacy_images|ucsf_pharmacy_images | |
fr ucsf_pharmacy_syndicated_events|ucsf_pharmacy_syndicated_events | |
pm-disable better_login|better_login | |
pm-uninstall better_login|better_login | |
cc all |
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
html.cke_panel_container | |
, body.webedit-content { | |
.columns-2 | |
, .columns-3 | |
, .columns-4 { | |
&:before { | |
display: block; | |
border-bottom: 1px dashed $ucsf-gray; | |
font-size: 12px; | |
color: $ucsf-gray; |
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
// set up $node | |
if ( isset($vars['node']) ) { | |
$node = $vars['node']; | |
} | |
// Is this the front page? | |
if (module_exists('workbench_moderation')) { | |
if (module_exists('domain')) { | |
global $_domain; | |
// Get the domain site_frontpage path for this domain |
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
if (module_exists('workbench_moderation')) { | |
// Is this a draft? | |
// dpm($vars); | |
$vars['is_draft'] = FALSE; | |
$state = $node->workbench_moderation; | |
if (!empty($state['published']) && $state['published']->vid != $state['current']->vid) { | |
$vars['is_draft'] = TRUE; | |
} | |
} |
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
<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://preview-pharmacy.ucsf.edu/news.xml" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:og="http://ogp.me/ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#" xmlns:sioc="http://rdfs.org/sioc/ns#" xmlns:sioct="http://rdfs.org/sioc/types#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:xsd="http://www.w3.org/2001/XMLSchema#"> | |
<channel> | |
<title>School of Pharmacy - News</title> | |
<link>https://preview-pharmacy.ucsf.edu/news.xml</link> | |
<description></description> | |
<language>en</language> | |
<item> | |
<title>Burchard commentary calls for more diversity in biomedical research </title> | |
<link>https://preview-pharmacy.ucsf.edu/news/5291/burchard-commentary-calls-more-diversity-biomedical-research</link> | |
<description><p>Authoring the lead commentary in the cu |