Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/.vagrant/machines/staging/managed/vagrant_cwd b/.vagrant/machines/staging/managed/vagrant_cwd
- deleted file mode 100644
- index 9ae457f..0000000
- --- a/.vagrant/machines/staging/managed/vagrant_cwd
- +++ /dev/null
- @@ -1 +0,0 @@
- -/Users/BrentEllis/Code/alumni_toolkit
- \ No newline at end of file
- diff --git a/deploy/config/sass-init b/deploy/config/sass-init
- old mode 100755
- new mode 100644
- diff --git a/deploy/config/sass-watch b/deploy/config/sass-watch
- old mode 100755
- new mode 100644
- diff --git a/deploy/scripts/init-puppet.sh b/deploy/scripts/init-puppet.sh
- old mode 100755
- new mode 100644
- diff --git a/deploy/scripts/vagrant-setup.bat b/deploy/scripts/vagrant-setup.bat
- old mode 100755
- new mode 100644
- diff --git a/deploy/scripts/vagrant-setup.sh b/deploy/scripts/vagrant-setup.sh
- old mode 100755
- new mode 100644
- diff --git a/downloads/sample_csv.csv b/downloads/sample_csv.csv
- index 41a4639..7f8341f 100644
- --- a/downloads/sample_csv.csv
- +++ b/downloads/sample_csv.csv
- @@ -1,24 +1,24 @@
- -first_name,last_name,email
- -Quentin,Del Viento,abc@gmail.com
- -Antoine,Del Torro,abc1@gmail.com
- -Arthur,Vincente,abc2@gmail.com
- -Quentin,Del Viento,abc@gmail.com
- -Antoine,Del Torro,abc1@gmail.com
- -Arthur,Vincente,abc2@gmail.com
- -Quentin,Del Viento,abc@gmail.com
- -Antoine,Del Torro,abc1@gmail.com
- -Arthur,Vincente,abc2@gmail.com
- -Quentin,Del Viento,abc@gmail.com
- -Antoine,Del Torro,abc1@gmail.com
- -Arthur,Vincente,abc2@gmail.com
- -Quentin,Del Viento,abc@gmail.com
- -Antoine,Del Torro,abc1@gmail.com
- -Arthur,Vincente,abc2@gmail.com
- -Quentin,Del Viento,abc@gmail.com
- -Antoine,Del Torro,abc1@gmail.com
- -Arthur,Vincente,abc2@gmail.com
- -Quentin,Del Viento,abc@gmail.com
- -Antoine,Del Torro,abc1@gmail.com
- -Arthur,Vincente,abc2@gmail.com
- -Quentin,Del Viento,abc@gmail.com
- -Antoine,Del Torro,abc1@gmail.com
- +first_name,last_name,email
- +Quentin,Del Viento,abc@gmail.com
- +Antoine,Del Torro,abc1@gmail.com
- +Arthur,Vincente,abc2@gmail.com
- +Quentin,Del Viento,abc@gmail.com
- +Antoine,Del Torro,abc1@gmail.com
- +Arthur,Vincente,abc2@gmail.com
- +Quentin,Del Viento,abc@gmail.com
- +Antoine,Del Torro,abc1@gmail.com
- +Arthur,Vincente,abc2@gmail.com
- +Quentin,Del Viento,abc@gmail.com
- +Antoine,Del Torro,abc1@gmail.com
- +Arthur,Vincente,abc2@gmail.com
- +Quentin,Del Viento,abc@gmail.com
- +Antoine,Del Torro,abc1@gmail.com
- +Arthur,Vincente,abc2@gmail.com
- +Quentin,Del Viento,abc@gmail.com
- +Antoine,Del Torro,abc1@gmail.com
- +Arthur,Vincente,abc2@gmail.com
- +Quentin,Del Viento,abc@gmail.com
- +Antoine,Del Torro,abc1@gmail.com
- +Arthur,Vincente,abc2@gmail.com
- +Quentin,Del Viento,abc@gmail.com
- +Antoine,Del Torro,abc1@gmail.com
- diff --git a/scripts/drupal.sh b/scripts/drupal.sh
- old mode 100755
- new mode 100644
- diff --git a/scripts/password-hash.sh b/scripts/password-hash.sh
- old mode 100755
- new mode 100644
- diff --git a/scripts/run-tests.sh b/scripts/run-tests.sh
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/atk/atk_stats.module b/sites/all/modules/custom/atk/atk_stats.module
- index bd18576..cf823d1 100644
- --- a/sites/all/modules/custom/atk/atk_stats.module
- +++ b/sites/all/modules/custom/atk/atk_stats.module
- @@ -1,5 +1,60 @@
- <?php
- +/**
- + * Implements hook_menu().
- + */
- +function atk_stats_menu() {
- + $items['stats'] = array(
- + 'page callback' => 'atk_stats_stats_page',
- + 'access callback' => 'atk_stats_stats_access',
- + );
- + $items['stats/%/%'] = array(
- + 'page callback' => 'atk_stats_details_page',
- + 'page arguments' => array(1, 2),
- + 'access callback' => 'atk_stats_stats_access',
- + );
- + return $items;
- +}
- +
- +function atk_stats_stats_access() {
- + return true;
- +}
- +
- +function atk_stats_stats_page() {
- + $instances = field_info_instances('alumni', 'alumni');
- + $output = '<script>
- + jQuery(function($) {
- + $(\'table.tableheader-processed\').addClass(\'table\');
- + });
- +</script>
- +<style>
- + .messages {
- + display: none;
- + }
- + .col h2 {
- + visibility: hidden;
- + }
- + .col h3 {
- + margin-top: 50px;
- + }
- +</style>';
- + foreach($instances as $instance) {
- + $output .= '<h3>'.$instance['label'].'</h3>';
- + $report = new FieldAnalyticsReports($instance);
- + $output .= $report->reports();
- + }
- + return $output;
- +}
- +
- +function atk_stats_theme($existing, $type, $theme, $path) {
- + $items['atk_contact_upload_form'] = array(
- + 'render element' => 'form',
- + 'template' => 'atk_contact_upload_form',
- + 'path' => drupal_get_path('module', 'atk_contact_upload'),
- + );
- + return $items;
- +}
- +
- function atk_stats_node_view($node, $view_mode, $langcode) {
- if ($node->type == 'stats_page') {
- @@ -68,9 +123,154 @@ function atk_stats_node_view($node, $view_mode, $langcode) {
- }
- unset($group);
- }
- + foreach($results['alumni'] as $alumni) {
- + $alumni = entity_metadata_wrapper('alumni', $alumni->id);
- + foreach($structure as &$group) {
- + foreach($group['fields'] as &$field) {
- + $val = $alumni->{$field['slug']}->value();
- + $fname = $field['slug'];
- + if (is_array($val)) {
- + foreach($val as $v) {
- + if (!empty($v->name)) {
- + $fval = $v->tid;
- + $field['stats'][$v->name] = "<a href=\"/stats/${fname}/${fval}\">" . $field['stats'][$v->name] . '</a>';
- + }
- + }
- + }
- + else if (!empty($val->name)) {
- + $fval = $val->tid;
- + $field['stats'][$val->name] = "<a href=\"/stats/${fname}/${fval}\">" . $field['stats'][$val->name] . '</a>';
- + }
- + else if ($val === true) {
- + $field['stats']['True'] = "<a href=\"/stats/${fname}/true\">" . $field['stats']['True'] . '</a>';
- + }
- + else if ($val === false) {
- + $field['stats']['False'] = "<a href=\"/stats/${fname}/false\">" . $field['stats']['False'] . '</a>';
- + }
- + else if ($val === null) {
- + $field['stats']['Unanswered'] = "<a href=\"/stats/${fname}/unanswered\">" . $field['stats']['Unanswered'] . '</a>';
- + }
- + else if (!empty($val)) {
- + $field['stats']['Text Answer'] = "<a href=\"/stats/${fname}/text\">" . $field['stats']['Text Answer'] . '</a>';
- + }
- + }
- + }
- + }
- }
- $node->content['school'] = $school;
- $node->content['stats'] = $structure;
- }
- }
- +
- +function atk_stats_details_page($fieldname, $fieldvalue) {
- + if ($fieldvalue === 'true') {
- + $fieldvalue = 1;
- + }
- + else if ($fieldvalue === 'false') {
- + $fieldvalue = 0;
- + }
- + $instinfo = field_info_instance('alumni', $fieldname, 'alumni');
- + $fieldinfo = field_info_field($fieldname);
- + $showvalue = FALSE;
- + $query = new EntityFieldQuery();
- + $query->entityCondition('entity_type', 'alumni')->entityCondition('bundle', 'alumni');
- + $query->fieldname = $fieldname;
- + $query->fieldvalue = $fieldvalue;
- + if ($fieldinfo['type'] == 'taxonomy_term_reference') {
- + $vocab = $fieldinfo['settings']['allowed_values'][0]['vocabulary'];
- + if ($fieldvalue == 'unanswered') {
- + $titlevalue = 'Unanswered';
- + $query->addTag('atk_stats_unanswered_term');
- + }
- + else {
- + $term = taxonomy_term_load($fieldvalue);
- + $titlevalue = $term->name;
- + $query->fieldCondition($fieldname, 'tid', $fieldvalue);
- + }
- + }
- + else if ($fieldinfo['type'] == 'list_boolean') {
- + $titlevalue = 'No';
- + if ($fieldvalue == 'unanswered') {
- + $titlevalue = 'Unanswered';
- + $query->addTag('atk_stats_unanswered_bool');
- + }
- + else {
- + if ($fieldvalue) {
- + $titlevalue = 'Yes';
- + }
- + $query->fieldCondition($fieldname, 'value', $fieldvalue);
- + }
- + }
- + else if ($fieldinfo['type'] == 'text') {
- + $titlevalue = 'Custom';
- + $query->addTag('atk_stats_answered_text');
- + $showvalue = TRUE;
- + }
- + drupal_set_title($instinfo['label'] . ': ' . $titlevalue);
- + $results = $query->execute();
- + $rows = [];
- + if (empty($results['alumni'])) {
- + return array(
- + '#type' => 'markup',
- + '#markup' => t('No results found.')
- + );
- + }
- + else {
- + $alumnis = entity_load('alumni', array_keys($results['alumni']));
- + $alumni = reset($alumnis);
- + foreach($alumnis as &$alumni) {
- + $uid = $alumni->field_profile_user_id[LANGUAGE_NONE][0]['value'];
- + $name = $alumni->field_profile_user_name[LANGUAGE_NONE][0]['value'];
- + $tds = array();
- + $tds[] = $alumni->field_profile_user_name[LANGUAGE_NONE][0]['value'];
- + if ($showvalue) {
- + $tds[] = $alumni->$fieldname[LANGUAGE_NONE][0]['value'];
- + }
- + $tds[] = "<a href=\"/user/${uid}\">view</a>";
- + $rows[] = $tds;
- + }
- + }
- + $header = array();
- + $header[] = 'Alunmni';
- + if ($showvalue) {
- + $header[] = 'Custom value';
- + }
- + $header[] = 'View Profile';
- + return array(
- + '#theme' => 'table',
- + '#attributes' => array('style' => 'width: 100%; margin: 0 2em;'),
- + '#header' => $header,
- + '#rows' => $rows,
- + );
- +}
- +
- +/**
- + * Implements hook_query_TAG_alter() for atk_stats_unanswered_term.
- + */
- +function atk_stats_query_atk_stats_unanswered_term_alter(QueryAlterableInterface $query) {
- + $efq = $query->alterMetaData['entity_field_query'];
- + $fieldname = $efq->fieldname;
- + $query->leftJoin('field_data_' . $fieldname, 'o', 'eck_alumni.id = o.entity_id AND o.entity_type = :entity_type');
- + $query->isNull('o.' . $fieldname . '_tid');
- +}
- +
- +/**
- + * Implements hook_query_TAG_alter() for atk_stats_unanswered_bool.
- + */
- +function atk_stats_query_atk_stats_unanswered_bool_alter(QueryAlterableInterface $query) {
- + $efq = $query->alterMetaData['entity_field_query'];
- + $fieldname = $efq->fieldname;
- + $query->leftJoin('field_data_' . $fieldname, 'o', 'eck_alumni.id = o.entity_id AND o.entity_type = :entity_type');
- + $query->isNull('o.' . $fieldname . '_value');
- +}
- +
- +/**
- + * Implements hook_query_TAG_alter() for atk_stats_answered_text.
- + */
- +function atk_stats_query_atk_stats_answered_text_alter(QueryAlterableInterface $query) {
- + $efq = $query->alterMetaData['entity_field_query'];
- + $fieldname = $efq->fieldname;
- + $query->leftJoin('field_data_' . $fieldname, 'o', 'eck_alumni.id = o.entity_id AND o.entity_type = :entity_type');
- + $query->isNotNull('o.' . $fieldname . '_value');
- +}
- diff --git a/sites/all/modules/custom/atk/atk_stats.tpl.php b/sites/all/modules/custom/atk/atk_stats.tpl.php
- index 8df4fff..b3d9bbc 100644
- --- a/sites/all/modules/custom/atk/atk_stats.tpl.php
- +++ b/sites/all/modules/custom/atk/atk_stats.tpl.php
- @@ -1,51 +1 @@
- <?php
- -
- -/**
- - * Implements hook_menu().
- - */
- -function atk_stats_menu() {
- - $items['stats'] = array(
- - 'page callback' => 'atk_stats_stats_page',
- - 'access callback' => 'atk_stats_stats_access',
- - );
- - return $items;
- -}
- -
- -function atk_stats_stats_access() {
- - return true;
- -}
- -
- -function atk_stats_stats_page() {
- - $instances = field_info_instances('alumni', 'alumni');
- - $output = '<script>
- - jQuery(function($) {
- - $(\'table.tableheader-processed\').addClass(\'table\');
- - });
- -</script>
- -<style>
- - .messages {
- - display: none;
- - }
- - .col h2 {
- - visibility: hidden;
- - }
- - .col h3 {
- - margin-top: 50px;
- - }
- -</style>';
- - foreach($instances as $instance) {
- - $output .= '<h3>'.$instance['label'].'</h3>';
- - $report = new FieldAnalyticsReports($instance);
- - $output .= $report->reports();
- - }
- - return $output;
- -}
- -
- -function atk_stats_theme($existing, $type, $theme, $path) {
- - $items['atk_contact_upload_form'] = array(
- - 'render element' => 'form',
- - 'template' => 'atk_contact_upload_form',
- - 'path' => drupal_get_path('module', 'atk_contact_upload'),
- - );
- - return $items;
- -}
- diff --git a/sites/all/modules/custom/atk/atk_views/atk.views.inc b/sites/all/modules/custom/atk/atk_views/atk.views.inc
- index 7d3aa25..4971d0f 100644
- --- a/sites/all/modules/custom/atk/atk_views/atk.views.inc
- +++ b/sites/all/modules/custom/atk/atk_views/atk.views.inc
- @@ -1,61 +1,61 @@
- -<?php
- -
- -function atk_views_data() {
- - // Build an array named after each DB table you're describing. In our case,
- - // just mymodule_table.
- - $data['mymodule_table'] = array(
- - // First give some general information about the table as a data source.
- - 'table' => array(
- - // The grouping for this field/filter/sort in the Views UI.
- - 'group' => t('Example Views Stuff'),
- - 'base' => array(
- - 'field' => 'naid', // This is the identifier field for the view.
- - 'title' => t('Example Views API Data'),
- - 'help' => t('Names provided by the Mymodule module.'),
- - ),
- - ),
- - // Now we describe each field that Views needs to know about, starting
- - // with the identifier field.
- - 'naid' => array(
- - 'title' => t('Name ID'),
- - 'help' => t("The unique Name ID."),
- - 'field' => array(
- - 'handler' => 'views_handler_field_numeric',
- - 'click sortable' => TRUE,
- - ),
- - 'sort' => array(
- - 'handler' => 'views_handler_sort',
- - ),
- - 'filter' => array(
- - 'handler' => 'views_handler_filter_numeric',
- - ),
- - ),
- - // Now the name field.
- - 'name' => array(
- - 'title' => t('Name'),
- - 'help' => t("The Name."),
- - 'field' => array(
- - 'handler' => 'views_handler_field',
- - 'click sortable' => TRUE,
- - ),
- - 'sort' => array(
- - 'handler' => 'views_handler_sort',
- - ),
- - 'filter' => array(
- - 'handler' => 'views_handler_filter_string',
- - ),
- - ),
- - );
- - return $data;
- -}
- -
- -class mymodule_handler_field_firstname extends views_handler_field {
- - /**
- - * Render the name field.
- - */
- - public function render($values) {
- - $value = $this->get_value($values);
- - $return = explode(' ', $value);
- - return 'First name: ' . $return['0'];
- - }
- +<?php
- +
- +function atk_views_data() {
- + // Build an array named after each DB table you're describing. In our case,
- + // just mymodule_table.
- + $data['mymodule_table'] = array(
- + // First give some general information about the table as a data source.
- + 'table' => array(
- + // The grouping for this field/filter/sort in the Views UI.
- + 'group' => t('Example Views Stuff'),
- + 'base' => array(
- + 'field' => 'naid', // This is the identifier field for the view.
- + 'title' => t('Example Views API Data'),
- + 'help' => t('Names provided by the Mymodule module.'),
- + ),
- + ),
- + // Now we describe each field that Views needs to know about, starting
- + // with the identifier field.
- + 'naid' => array(
- + 'title' => t('Name ID'),
- + 'help' => t("The unique Name ID."),
- + 'field' => array(
- + 'handler' => 'views_handler_field_numeric',
- + 'click sortable' => TRUE,
- + ),
- + 'sort' => array(
- + 'handler' => 'views_handler_sort',
- + ),
- + 'filter' => array(
- + 'handler' => 'views_handler_filter_numeric',
- + ),
- + ),
- + // Now the name field.
- + 'name' => array(
- + 'title' => t('Name'),
- + 'help' => t("The Name."),
- + 'field' => array(
- + 'handler' => 'views_handler_field',
- + 'click sortable' => TRUE,
- + ),
- + 'sort' => array(
- + 'handler' => 'views_handler_sort',
- + ),
- + 'filter' => array(
- + 'handler' => 'views_handler_filter_string',
- + ),
- + ),
- + );
- + return $data;
- +}
- +
- +class mymodule_handler_field_firstname extends views_handler_field {
- + /**
- + * Render the name field.
- + */
- + public function render($values) {
- + $value = $this->get_value($values);
- + $return = explode(' ', $value);
- + return 'First name: ' . $return['0'];
- + }
- }
- \ No newline at end of file
- diff --git a/sites/all/modules/custom/features/accounts/accounts.features.field_base.inc b/sites/all/modules/custom/features/accounts/accounts.features.field_base.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/accounts/accounts.features.field_instance.inc b/sites/all/modules/custom/features/accounts/accounts.features.field_instance.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/accounts/accounts.features.taxonomy.inc b/sites/all/modules/custom/features/accounts/accounts.features.taxonomy.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/accounts/accounts.features.user_permission.inc b/sites/all/modules/custom/features/accounts/accounts.features.user_permission.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/accounts/accounts.info b/sites/all/modules/custom/features/accounts/accounts.info
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/accounts/accounts.module b/sites/all/modules/custom/features/accounts/accounts.module
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/alumni/alumni.features.field_base.inc b/sites/all/modules/custom/features/alumni/alumni.features.field_base.inc
- old mode 100755
- new mode 100644
- index 4eeb580..1c3e9fe
- --- a/sites/all/modules/custom/features/alumni/alumni.features.field_base.inc
- +++ b/sites/all/modules/custom/features/alumni/alumni.features.field_base.inc
- @@ -1216,8 +1216,8 @@ function alumni_field_default_field_bases() {
- 'locked' => 0,
- 'module' => 'computed_field',
- 'settings' => array(
- - 'code' => '$user = atk_user_apid($entity->id);
- -$school_id = (!empty($user) && !empty($user->field_school->value())) ? $user->field_school->tid->value() : null;
- + 'code' => '$user = atk_user_apid($entity->id);
- +$school_id = (!empty($user) && !empty($user->field_school->value())) ? $user->field_school->tid->value() : null;
- $entity_field[0][\'value\'] = $school_id;',
- 'database' => array(
- 'data_default' => '',
- @@ -1251,7 +1251,7 @@ $entity_field[0][\'value\'] = $school_id;',
- 'locked' => 0,
- 'module' => 'computed_field',
- 'settings' => array(
- - 'code' => '$user = atk_user_apid($entity->id);
- + 'code' => '$user = atk_user_apid($entity->id);
- $entity_field[0][\'value\'] = (!empty($user) && !empty($user->mail->value())) ? $user->mail->value() : \'\';',
- 'database' => array(
- 'data_default' => '',
- @@ -1319,7 +1319,7 @@ $entity_field[0][\'value\'] = (!empty($user) && !empty($user->field_year_graduat
- 'locked' => 0,
- 'module' => 'computed_field',
- 'settings' => array(
- - 'code' => '$user = atk_user_apid($entity->id);
- + 'code' => '$user = atk_user_apid($entity->id);
- $entity_field[0][\'value\'] = (!empty($user)) ? $user->getIdentifier() : null;',
- 'database' => array(
- 'data_default' => '',
- @@ -1353,10 +1353,10 @@ $entity_field[0][\'value\'] = (!empty($user)) ? $user->getIdentifier() : null;',
- 'locked' => 0,
- 'module' => 'computed_field',
- 'settings' => array(
- - 'code' => '$user = atk_user_apid($entity->id);
- -$fname = (!empty($user) && !empty($user->field_name->given->value())) ? $user->field_name->given->value() : \'\';
- -$lname = (!empty($user) && !empty($user->field_name->family->value())) ? $user->field_name->family->value() : \'\';
- -$uname = (!empty($user) && !empty($user->name->value())) ? $user->name->value() : null;
- + 'code' => '$user = atk_user_apid($entity->id);
- +$fname = (!empty($user) && !empty($user->field_name->given->value())) ? $user->field_name->given->value() : \'\';
- +$lname = (!empty($user) && !empty($user->field_name->family->value())) ? $user->field_name->family->value() : \'\';
- +$uname = (!empty($user) && !empty($user->name->value())) ? $user->name->value() : null;
- $entity_field[0][\'value\'] = (!empty($fname) || !empty($lname)) ? trim($fname.\' \'.$lname) : $uname;',
- 'database' => array(
- 'data_default' => '',
- diff --git a/sites/all/modules/custom/features/alumni/alumni.features.field_instance.inc b/sites/all/modules/custom/features/alumni/alumni.features.field_instance.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/alumni/alumni.features.inc b/sites/all/modules/custom/features/alumni/alumni.features.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/alumni/alumni.features.taxonomy.inc b/sites/all/modules/custom/features/alumni/alumni.features.taxonomy.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/alumni/alumni.field_group.inc b/sites/all/modules/custom/features/alumni/alumni.field_group.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/alumni/alumni.info b/sites/all/modules/custom/features/alumni/alumni.info
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/alumni/alumni.module b/sites/all/modules/custom/features/alumni/alumni.module
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/educator/educator.features.field_base.inc b/sites/all/modules/custom/features/educator/educator.features.field_base.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/educator/educator.features.field_instance.inc b/sites/all/modules/custom/features/educator/educator.features.field_instance.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/educator/educator.features.inc b/sites/all/modules/custom/features/educator/educator.features.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/educator/educator.features.taxonomy.inc b/sites/all/modules/custom/features/educator/educator.features.taxonomy.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/educator/educator.field_group.inc b/sites/all/modules/custom/features/educator/educator.field_group.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/educator/educator.info b/sites/all/modules/custom/features/educator/educator.info
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/educator/educator.module b/sites/all/modules/custom/features/educator/educator.module
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/schools/schools.features.field_base.inc b/sites/all/modules/custom/features/schools/schools.features.field_base.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/schools/schools.features.field_instance.inc b/sites/all/modules/custom/features/schools/schools.features.field_instance.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/schools/schools.features.taxonomy.inc b/sites/all/modules/custom/features/schools/schools.features.taxonomy.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/schools/schools.features.user_permission.inc b/sites/all/modules/custom/features/schools/schools.features.user_permission.inc
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/schools/schools.info b/sites/all/modules/custom/features/schools/schools.info
- old mode 100755
- new mode 100644
- diff --git a/sites/all/modules/custom/features/schools/schools.module b/sites/all/modules/custom/features/schools/schools.module
- old mode 100755
- new mode 100644
- diff --git a/sites/all/themes/atkv2/css/style.css b/sites/all/themes/atkv2/css/style.css
- old mode 100755
- new mode 100644
- diff --git a/sites/all/themes/atkv2/css/style.css.map b/sites/all/themes/atkv2/css/style.css.map
- old mode 100755
- new mode 100644
- diff --git a/sites/all/themes/atkv2/js/site.js b/sites/all/themes/atkv2/js/site.js
- index 327f743..014bf6c 100644
- --- a/sites/all/themes/atkv2/js/site.js
- +++ b/sites/all/themes/atkv2/js/site.js
- @@ -22,12 +22,12 @@ newJq(function($) {
- }
- $('.form-item-field-school-und label').text($('.form-item-field-school-und label').text()+' *');
- - $('div.messages').each(function() {
- + /*$('div.messages').each(function() {
- var $this = $(this);
- setTimeout(function() {
- $this.slideUp();
- }, 10000);
- - });
- + });*/
- });
- diff --git a/sites/all/themes/atkv2/templates/html.tpl.php b/sites/all/themes/atkv2/templates/html.tpl.php
- old mode 100755
- new mode 100644
- index b91fe32..99f515b
- --- a/sites/all/themes/atkv2/templates/html.tpl.php
- +++ b/sites/all/themes/atkv2/templates/html.tpl.php
- @@ -49,5 +49,15 @@
- <?php include('inc/footer.php'); ?>
- </div>
- +<!-- Global site tag (gtag.js) - Google Analytics -->
- +<script async src="https://www.googletagmanager.com/gtag/js?id=UA-53094814-1"></script>
- +<script>
- + window.dataLayer = window.dataLayer || [];
- + function gtag(){dataLayer.push(arguments);}
- + gtag('js', new Date());
- +
- + gtag('config', 'UA-53094814-1');
- +</script>
- +
- </body>
- </html>
- diff --git a/sites/all/themes/atkv2/templates/mail/mimemail-message.tpl.php b/sites/all/themes/atkv2/templates/mail/mimemail-message.tpl.php
- index 5883a7a..4089de1 100644
- --- a/sites/all/themes/atkv2/templates/mail/mimemail-message.tpl.php
- +++ b/sites/all/themes/atkv2/templates/mail/mimemail-message.tpl.php
- @@ -1,85 +1,85 @@
- -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- -<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
- -<head>
- - <meta name="viewport" content="width=device-width" />
- - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- - <title>Alerts e.g. approaching your limit</title>
- -
- -
- - <style type="text/css">
- - img {
- - max-width: 100%;
- - }
- - body {
- - -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
- - }
- - body {
- - background-color: #f6f6f6;
- - }
- - @media only screen and (max-width: 640px) {
- - body {
- - padding: 0 !important;
- - }
- - h1 {
- - font-weight: 800 !important; margin: 20px 0 5px !important;
- - }
- - h2 {
- - font-weight: 800 !important; margin: 20px 0 5px !important;
- - }
- - h3 {
- - font-weight: 800 !important; margin: 20px 0 5px !important;
- - }
- - h4 {
- - font-weight: 800 !important; margin: 20px 0 5px !important;
- - }
- - h1 {
- - font-size: 22px !important;
- - }
- - h2 {
- - font-size: 18px !important;
- - }
- - h3 {
- - font-size: 16px !important;
- - }
- - .container {
- - padding: 0 !important; width: 100% !important;
- - }
- - .content {
- - padding: 0 !important;
- - }
- - .content-wrap {
- - padding: 10px !important;
- - }
- - .invoice {
- - width: 100% !important;
- - }
- - }
- - </style>
- -</head>
- -
- -<body itemscope itemtype="http://schema.org/EmailMessage" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
- -
- -<table class="body-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
- - <td class="container" width="600" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
- - <div class="content" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
- - <table class="main" width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="alert alert-warning" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 18px; vertical-align: top; color: #fff; font-weight: bold; text-align: center; border-radius: 3px 3px 0 0; background-color: #6BCAF0; margin: 0; padding: 10px;" align="center" bgcolor="#6BCAF0" valign="top">
- - Alumni Toolkit
- - </td>
- - </tr><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
- - <table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- - <?php echo ($body); ?>
- - </td>
- - </tr><?php if (!empty($message['button']['label']) && !empty($message['button']['link'])): ?><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- - <a href="<?php echo $message['button']['link']; ?>" class="btn-primary" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #146cb6; margin: 0; border-color: #146cb6; border-style: solid; border-width: 10px 20px;"><?php echo $message['button']['label']; ?></a>
- - </td>
- - </tr><?php endif; ?><?php if (!empty($message['afterbutton'])): ?><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- - <?php echo $message['afterbutton']; ?>
- - </td>
- - </tr><?php endif; ?></table></td>
- - </tr></table><?php if (!empty($message['tag'])): ?><div class="footer" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
- - <table width="100%" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="aligncenter content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;" align="center" valign="top"><?php echo $message['tag']; ?></td>
- - </tr></table></div><?php endif; ?></div>
- - </td>
- - <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
- - </tr></table></body>
- +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- +<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
- +<head>
- + <meta name="viewport" content="width=device-width" />
- + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- + <title>Alerts e.g. approaching your limit</title>
- +
- +
- + <style type="text/css">
- + img {
- + max-width: 100%;
- + }
- + body {
- + -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
- + }
- + body {
- + background-color: #f6f6f6;
- + }
- + @media only screen and (max-width: 640px) {
- + body {
- + padding: 0 !important;
- + }
- + h1 {
- + font-weight: 800 !important; margin: 20px 0 5px !important;
- + }
- + h2 {
- + font-weight: 800 !important; margin: 20px 0 5px !important;
- + }
- + h3 {
- + font-weight: 800 !important; margin: 20px 0 5px !important;
- + }
- + h4 {
- + font-weight: 800 !important; margin: 20px 0 5px !important;
- + }
- + h1 {
- + font-size: 22px !important;
- + }
- + h2 {
- + font-size: 18px !important;
- + }
- + h3 {
- + font-size: 16px !important;
- + }
- + .container {
- + padding: 0 !important; width: 100% !important;
- + }
- + .content {
- + padding: 0 !important;
- + }
- + .content-wrap {
- + padding: 10px !important;
- + }
- + .invoice {
- + width: 100% !important;
- + }
- + }
- + </style>
- +</head>
- +
- +<body itemscope itemtype="http://schema.org/EmailMessage" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
- +
- +<table class="body-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
- + <td class="container" width="600" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
- + <div class="content" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
- + <table class="main" width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="alert alert-warning" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 18px; vertical-align: top; color: #fff; font-weight: bold; text-align: center; border-radius: 3px 3px 0 0; background-color: #6BCAF0; margin: 0; padding: 10px;" align="center" bgcolor="#6BCAF0" valign="top">
- + Alumni Toolkit
- + </td>
- + </tr><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
- + <table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- + <?php echo ($body); ?>
- + </td>
- + </tr><?php if (!empty($message['button']['label']) && !empty($message['button']['link'])): ?><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- + <a href="<?php echo $message['button']['link']; ?>" class="btn-primary" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #146cb6; margin: 0; border-color: #146cb6; border-style: solid; border-width: 10px 20px;"><?php echo $message['button']['label']; ?></a>
- + </td>
- + </tr><?php endif; ?><?php if (!empty($message['afterbutton'])): ?><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- + <?php echo $message['afterbutton']; ?>
- + </td>
- + </tr><?php endif; ?></table></td>
- + </tr></table><?php if (!empty($message['tag'])): ?><div class="footer" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
- + <table width="100%" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="aligncenter content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;" align="center" valign="top"><?php echo $message['tag']; ?></td>
- + </tr></table></div><?php endif; ?></div>
- + </td>
- + <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
- + </tr></table></body>
- </html>
- \ No newline at end of file
- diff --git a/sites/all/themes/atkv2/templates/node.tpl.php b/sites/all/themes/atkv2/templates/node.tpl.php
- old mode 100755
- new mode 100644
- diff --git a/sites/all/themes/atkv2/templates/page.tpl.php b/sites/all/themes/atkv2/templates/page.tpl.php
- old mode 100755
- new mode 100644
- diff --git a/sites/all/themes/atkv2/templates/user-login.tpl.php b/sites/all/themes/atkv2/templates/user-login.tpl.php
- index a761b52..5bee95b 100644
- --- a/sites/all/themes/atkv2/templates/user-login.tpl.php
- +++ b/sites/all/themes/atkv2/templates/user-login.tpl.php
- @@ -1,22 +1,22 @@
- -<p><?php print render($intro_text); ?></p>
- -<div class="form-group row">
- - <label for="email_form_to" class="col-2 col-form-label">Name</label>
- - <div class="col-10">
- - <?php echo render($form['name']); ?>
- - </div>
- -</div>
- -<div class="form-group row">
- - <label for="email_form_subject" class="col-2 col-form-label">Password</label>
- - <div class="col-10">
- - <?php echo render($form['pass']); ?>
- - </div>
- -</div>
- -<div class="form-group row">
- - <div class="col-10 offset-2">
- - <?php
- - $form['actions']['submit']['#attributes']['class'][] = 'btn btn-primary';
- - echo render($form['actions']);
- - ?>
- - </div>
- -</div>
- -<?php print drupal_render_children($form); ?>
- +<p><?php print render($intro_text); ?></p>
- +<div class="form-group row">
- + <label for="email_form_to" class="col-2 col-form-label">Name</label>
- + <div class="col-10">
- + <?php echo render($form['name']); ?>
- + </div>
- +</div>
- +<div class="form-group row">
- + <label for="email_form_subject" class="col-2 col-form-label">Password</label>
- + <div class="col-10">
- + <?php echo render($form['pass']); ?>
- + </div>
- +</div>
- +<div class="form-group row">
- + <div class="col-10 offset-2">
- + <?php
- + $form['actions']['submit']['#attributes']['class'][] = 'btn btn-primary';
- + echo render($form['actions']);
- + ?>
- + </div>
- +</div>
- +<?php print drupal_render_children($form); ?>
- diff --git a/sites/all/themes/atkv2_admin/atkv2_admin.info b/sites/all/themes/atkv2_admin/atkv2_admin.info
- index c173b75..652c0c0 100644
- --- a/sites/all/themes/atkv2_admin/atkv2_admin.info
- +++ b/sites/all/themes/atkv2_admin/atkv2_admin.info
- @@ -1,4 +1,4 @@
- -name = AlumniToolkit V2 Admin
- -description = Adminimal subtheme for schools.alumnitoolkit.org theme, version 2.
- -core = 7.x
- -base theme = adminimal
- +name = AlumniToolkit V2 Admin
- +description = Adminimal subtheme for schools.alumnitoolkit.org theme, version 2.
- +core = 7.x
- +base theme = adminimal
- diff --git a/sites/all/themes/atkv2_admin/templates/mail/mimemail-message.tpl.php b/sites/all/themes/atkv2_admin/templates/mail/mimemail-message.tpl.php
- index 5883a7a..4089de1 100644
- --- a/sites/all/themes/atkv2_admin/templates/mail/mimemail-message.tpl.php
- +++ b/sites/all/themes/atkv2_admin/templates/mail/mimemail-message.tpl.php
- @@ -1,85 +1,85 @@
- -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- -<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
- -<head>
- - <meta name="viewport" content="width=device-width" />
- - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- - <title>Alerts e.g. approaching your limit</title>
- -
- -
- - <style type="text/css">
- - img {
- - max-width: 100%;
- - }
- - body {
- - -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
- - }
- - body {
- - background-color: #f6f6f6;
- - }
- - @media only screen and (max-width: 640px) {
- - body {
- - padding: 0 !important;
- - }
- - h1 {
- - font-weight: 800 !important; margin: 20px 0 5px !important;
- - }
- - h2 {
- - font-weight: 800 !important; margin: 20px 0 5px !important;
- - }
- - h3 {
- - font-weight: 800 !important; margin: 20px 0 5px !important;
- - }
- - h4 {
- - font-weight: 800 !important; margin: 20px 0 5px !important;
- - }
- - h1 {
- - font-size: 22px !important;
- - }
- - h2 {
- - font-size: 18px !important;
- - }
- - h3 {
- - font-size: 16px !important;
- - }
- - .container {
- - padding: 0 !important; width: 100% !important;
- - }
- - .content {
- - padding: 0 !important;
- - }
- - .content-wrap {
- - padding: 10px !important;
- - }
- - .invoice {
- - width: 100% !important;
- - }
- - }
- - </style>
- -</head>
- -
- -<body itemscope itemtype="http://schema.org/EmailMessage" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
- -
- -<table class="body-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
- - <td class="container" width="600" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
- - <div class="content" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
- - <table class="main" width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="alert alert-warning" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 18px; vertical-align: top; color: #fff; font-weight: bold; text-align: center; border-radius: 3px 3px 0 0; background-color: #6BCAF0; margin: 0; padding: 10px;" align="center" bgcolor="#6BCAF0" valign="top">
- - Alumni Toolkit
- - </td>
- - </tr><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
- - <table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- - <?php echo ($body); ?>
- - </td>
- - </tr><?php if (!empty($message['button']['label']) && !empty($message['button']['link'])): ?><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- - <a href="<?php echo $message['button']['link']; ?>" class="btn-primary" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #146cb6; margin: 0; border-color: #146cb6; border-style: solid; border-width: 10px 20px;"><?php echo $message['button']['label']; ?></a>
- - </td>
- - </tr><?php endif; ?><?php if (!empty($message['afterbutton'])): ?><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- - <?php echo $message['afterbutton']; ?>
- - </td>
- - </tr><?php endif; ?></table></td>
- - </tr></table><?php if (!empty($message['tag'])): ?><div class="footer" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
- - <table width="100%" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="aligncenter content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;" align="center" valign="top"><?php echo $message['tag']; ?></td>
- - </tr></table></div><?php endif; ?></div>
- - </td>
- - <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
- - </tr></table></body>
- +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- +<html xmlns="http://www.w3.org/1999/xhtml" style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;">
- +<head>
- + <meta name="viewport" content="width=device-width" />
- + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- + <title>Alerts e.g. approaching your limit</title>
- +
- +
- + <style type="text/css">
- + img {
- + max-width: 100%;
- + }
- + body {
- + -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em;
- + }
- + body {
- + background-color: #f6f6f6;
- + }
- + @media only screen and (max-width: 640px) {
- + body {
- + padding: 0 !important;
- + }
- + h1 {
- + font-weight: 800 !important; margin: 20px 0 5px !important;
- + }
- + h2 {
- + font-weight: 800 !important; margin: 20px 0 5px !important;
- + }
- + h3 {
- + font-weight: 800 !important; margin: 20px 0 5px !important;
- + }
- + h4 {
- + font-weight: 800 !important; margin: 20px 0 5px !important;
- + }
- + h1 {
- + font-size: 22px !important;
- + }
- + h2 {
- + font-size: 18px !important;
- + }
- + h3 {
- + font-size: 16px !important;
- + }
- + .container {
- + padding: 0 !important; width: 100% !important;
- + }
- + .content {
- + padding: 0 !important;
- + }
- + .content-wrap {
- + padding: 10px !important;
- + }
- + .invoice {
- + width: 100% !important;
- + }
- + }
- + </style>
- +</head>
- +
- +<body itemscope itemtype="http://schema.org/EmailMessage" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; -webkit-font-smoothing: antialiased; -webkit-text-size-adjust: none; width: 100% !important; height: 100%; line-height: 1.6em; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6">
- +
- +<table class="body-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; background-color: #f6f6f6; margin: 0;" bgcolor="#f6f6f6"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
- + <td class="container" width="600" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; display: block !important; max-width: 600px !important; clear: both !important; margin: 0 auto;" valign="top">
- + <div class="content" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; max-width: 600px; display: block; margin: 0 auto; padding: 20px;">
- + <table class="main" width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; border-radius: 3px; background-color: #fff; margin: 0; border: 1px solid #e9e9e9;" bgcolor="#fff"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="alert alert-warning" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 18px; vertical-align: top; color: #fff; font-weight: bold; text-align: center; border-radius: 3px 3px 0 0; background-color: #6BCAF0; margin: 0; padding: 10px;" align="center" bgcolor="#6BCAF0" valign="top">
- + Alumni Toolkit
- + </td>
- + </tr><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-wrap" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 20px;" valign="top">
- + <table width="100%" cellpadding="0" cellspacing="0" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- + <?php echo ($body); ?>
- + </td>
- + </tr><?php if (!empty($message['button']['label']) && !empty($message['button']['link'])): ?><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- + <a href="<?php echo $message['button']['link']; ?>" class="btn-primary" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; color: #FFF; text-decoration: none; line-height: 2em; font-weight: bold; text-align: center; cursor: pointer; display: inline-block; border-radius: 5px; text-transform: capitalize; background-color: #146cb6; margin: 0; border-color: #146cb6; border-style: solid; border-width: 10px 20px;"><?php echo $message['button']['label']; ?></a>
- + </td>
- + </tr><?php endif; ?><?php if (!empty($message['afterbutton'])): ?><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0; padding: 0 0 20px;" valign="top">
- + <?php echo $message['afterbutton']; ?>
- + </td>
- + </tr><?php endif; ?></table></td>
- + </tr></table><?php if (!empty($message['tag'])): ?><div class="footer" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; width: 100%; clear: both; color: #999; margin: 0; padding: 20px;">
- + <table width="100%" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><tr style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; margin: 0;"><td class="aligncenter content-block" style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 12px; vertical-align: top; color: #999; text-align: center; margin: 0; padding: 0 0 20px;" align="center" valign="top"><?php echo $message['tag']; ?></td>
- + </tr></table></div><?php endif; ?></div>
- + </td>
- + <td style="font-family: 'Helvetica Neue',Helvetica,Arial,sans-serif; box-sizing: border-box; font-size: 14px; vertical-align: top; margin: 0;" valign="top"></td>
- + </tr></table></body>
- </html>
- \ No newline at end of file
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement