FINAL suepr merge step : added all modules to this super repos
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
/*
|
||||
Available variables are:
|
||||
$content The messages to put inside Better Messages. Drupal originally calls theme_status_messages() to theme this output.
|
||||
With this module enabled you'll always have to call theme_better_messages_content() instead of theme_status_messages().
|
||||
*/
|
||||
?><div id="better-messages-default">
|
||||
<div id="messages-inner">
|
||||
<div class="content">
|
||||
<?php /* If you want to theme further.. theme_better_messages_content() */ ?>
|
||||
<?php print $content ?>
|
||||
</div>
|
||||
<div class="footer"><span class="message-timer"></span><a class="message-close" href="#"></a></div>
|
||||
</div>
|
||||
</div>
|
@@ -0,0 +1,18 @@
|
||||
|
||||
<section id="<?php print $block_html_id; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
||||
|
||||
<?php print render($title_prefix); ?>
|
||||
<?php if ($block->subject): ?>
|
||||
<h2<?php print $title_attributes; ?>><?php print $block->subject; ?></h2>
|
||||
<?php endif; ?>
|
||||
<?php print render($title_suffix); ?>
|
||||
|
||||
<?php if ($block->module == "menu"): ?>
|
||||
<div class="menu-wrapper">
|
||||
<?php endif; ?>
|
||||
<?php print render($content); ?>
|
||||
<?php if ($block->module == "menu"): ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</section>
|
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to present the feedback form.
|
||||
*
|
||||
* @see template_preprocess_feedback_form_display()
|
||||
*/
|
||||
?>
|
||||
<div id="block-feedback-form">
|
||||
<h2><span class="feedback-link"><span class="title"><?php print $title; ?></span></span></h2>
|
||||
<div class="content"><?php print drupal_render($content); ?></div>
|
||||
</div>
|
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<div class="<?php print $classes; ?> field-item"<?php print $item_attributes[$delta]; ?>>
|
||||
<div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>: </div>
|
||||
<?php print render($item); ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<div class="<?php print $classes; ?> field-item"<?php print $item_attributes[$delta]; ?>>
|
||||
<div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>: </div>
|
||||
<?php print render($item); ?>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
<section class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php print render($item); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</section>
|
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php print render($item); ?>
|
||||
<?php break; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php $item['#item']['delta'] = $delta; ?>
|
||||
<?php print render($item); ?>
|
||||
<?php //break; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php $item['#item']['delta'] = $delta; ?>
|
||||
<?php print render($item); ?>
|
||||
<?php //break; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php $item['#item']['delta'] = $delta; ?>
|
||||
<?php print render($item); ?>
|
||||
<?php //break; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php $item['#item']['delta'] = $delta; ?>
|
||||
<?php print render($item); ?>
|
||||
<?php //break; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,52 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php print render($item); ?>
|
||||
<?php break; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php $item['#item']['delta'] = $delta; ?>
|
||||
<?php print render($item); ?>
|
||||
<?php //break; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php $item['#item']['delta'] = $delta; ?>
|
||||
<?php print render($item); ?>
|
||||
<?php //break; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php $item['#item']['delta'] = $delta; ?>
|
||||
<?php print render($item); ?>
|
||||
<?php //break; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,53 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php //dsm($items, '$items '.$label); ?>
|
||||
|
||||
<?php if(count($items)): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php $item['#item']['delta'] = $delta; ?>
|
||||
<?php print render($item); ?>
|
||||
<?php //break; ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,63 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file field.tpl.php
|
||||
* Default template implementation to display the value of a field.
|
||||
*
|
||||
* This file is not used and is here as a starting point for customization only.
|
||||
* @see theme_field()
|
||||
*
|
||||
* Available variables:
|
||||
* - $items: An array of field values. Use render() to output them.
|
||||
* - $label: The item label.
|
||||
* - $label_hidden: Whether the label display is set to 'hidden'.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the
|
||||
* following:
|
||||
* - field: The current template type, i.e., "theming hook".
|
||||
* - field-name-[field_name]: The current field name. For example, if the
|
||||
* field name is "field_description" it would result in
|
||||
* "field-name-field-description".
|
||||
* - field-type-[field_type]: The current field type. For example, if the
|
||||
* field type is "text" it would result in "field-type-text".
|
||||
* - field-label-[label_display]: The current label position. For example, if
|
||||
* the label position is "above" it would result in "field-label-above".
|
||||
*
|
||||
* Other variables:
|
||||
* - $element['#object']: The entity to which the field is attached.
|
||||
* - $element['#view_mode']: View mode, e.g. 'full', 'teaser'...
|
||||
* - $element['#field_name']: The field name.
|
||||
* - $element['#field_type']: The field type.
|
||||
* - $element['#field_language']: The field language.
|
||||
* - $element['#field_translatable']: Whether the field is translatable or not.
|
||||
* - $element['#label_display']: Position of label display, inline, above, or
|
||||
* hidden.
|
||||
* - $field_name_css: The css-compatible field name.
|
||||
* - $field_type_css: The css-compatible field type.
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
*
|
||||
* @see template_preprocess_field()
|
||||
* @see theme_field()
|
||||
*/
|
||||
?>
|
||||
<?php if(count($items)): ?>
|
||||
<section class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
||||
<?php if (!$label_hidden): ?>
|
||||
<div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>: </div>
|
||||
<?php endif; ?>
|
||||
<?php if(count($items)>1): ?>
|
||||
<div class="field-items"<?php print $content_attributes; ?>>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<div class="field-item <?php print $delta % 2 ? 'odd' : 'even'; ?>"<?php print $item_attributes[$delta]; ?>><?php print render($item); ?></div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php if(count($items)==1): ?>
|
||||
<?php foreach ($items as $delta => $item): ?>
|
||||
<?php print render($item); ?>
|
||||
<?php endforeach; ?>
|
||||
<?php endif; ?>
|
||||
</section>
|
||||
<?php endif; ?>
|
54
sites/all/themes/gui/materiobasetheme/templates/flag.tpl.php
Normal file
54
sites/all/themes/gui/materiobasetheme/templates/flag.tpl.php
Normal file
@@ -0,0 +1,54 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to display a flag link, and a message after the action
|
||||
* is carried out.
|
||||
*
|
||||
* Available variables:
|
||||
*
|
||||
* - $flag: The flag object itself. You will only need to use it when the
|
||||
* following variables don't suffice.
|
||||
* - $flag_name_css: The flag name, with all "_" replaced with "-". For use in 'class'
|
||||
* attributes.
|
||||
* - $flag_classes: A space-separated list of CSS classes that should be applied to the link.
|
||||
*
|
||||
* - $action: The action the link is about to carry out, either "flag" or "unflag".
|
||||
* - $status: The status of the item; either "flagged" or "unflagged".
|
||||
*
|
||||
* - $link_href: The URL for the flag link.
|
||||
* - $link_text: The text to show for the link.
|
||||
* - $link_title: The title attribute for the link.
|
||||
*
|
||||
* - $message_text: The long message to show after a flag action has been carried out.
|
||||
* - $after_flagging: This template is called for the link both before and after being
|
||||
* flagged. If displaying to the user immediately after flagging, this value
|
||||
* will be boolean TRUE. This is usually used in conjunction with immedate
|
||||
* JavaScript-based toggling of flags.
|
||||
*
|
||||
* NOTE: This template spaces out the <span> tags for clarity only. When doing some
|
||||
* advanced theming you may have to remove all the whitespace.
|
||||
*/
|
||||
?>
|
||||
<span class="<?php print $flag_wrapper_classes; ?>">
|
||||
<?php if ($link_href): ?>
|
||||
<a href="<?php print $link_href; ?>" title="<?php print $link_title; ?>" class="<?php print $flag_classes ?>" rel="nofollow">
|
||||
<span class="op">
|
||||
<?php if($action == "flag"): ?>
|
||||
+
|
||||
<?php elseif ($action == 'unflag'): ?>
|
||||
x
|
||||
<?php endif; ?>
|
||||
</span>
|
||||
<span><?php print $link_text; ?></span>
|
||||
</a>
|
||||
<?php //<span class="flag-throbber"> </span> ?>
|
||||
<?php else: ?>
|
||||
<span class="<?php print $flag_classes ?>"><?php print $link_text; ?></span>
|
||||
<?php endif; ?>
|
||||
<?php if ($after_flagging && false): ?>
|
||||
<span class="flag-message flag-<?php print $status; ?>-message">
|
||||
<?php print $message_text; ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</span>
|
106
sites/all/themes/gui/materiobasetheme/templates/html.tpl.php
Normal file
106
sites/all/themes/gui/materiobasetheme/templates/html.tpl.php
Normal file
@@ -0,0 +1,106 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to display the basic html structure of a single
|
||||
* Drupal page.
|
||||
*
|
||||
* Variables:
|
||||
* - $css: An array of CSS files for the current page.
|
||||
* - $language: (object) The language the site is being displayed in.
|
||||
* $language->language contains its textual representation.
|
||||
* $language->dir contains the language direction. It will either be 'ltr' or 'rtl'.
|
||||
* - $rdf_namespaces: All the RDF namespace prefixes used in the HTML document.
|
||||
* - $grddl_profile: A GRDDL profile allowing agents to extract the RDF data.
|
||||
* - $head_title: A modified version of the page title, for use in the TITLE
|
||||
* tag.
|
||||
* - $head_title_array: (array) An associative array containing the string parts
|
||||
* that were used to generate the $head_title variable, already prepared to be
|
||||
* output as TITLE tag. The key/value pairs may contain one or more of the
|
||||
* following, depending on conditions:
|
||||
* - title: The title of the current page, if any.
|
||||
* - name: The name of the site.
|
||||
* - slogan: The slogan of the site, if any, and if there is no title.
|
||||
* - $head: Markup for the HEAD section (including meta tags, keyword tags, and
|
||||
* so on).
|
||||
* - $styles: Style tags necessary to import all CSS files for the page.
|
||||
* - $scripts: Script tags necessary to load the JavaScript files and settings
|
||||
* for the page.
|
||||
* - $page_top: Initial markup from any modules that have altered the
|
||||
* page. This variable should always be output first, before all other dynamic
|
||||
* content.
|
||||
* - $page: The rendered page content.
|
||||
* - $page_bottom: Final closing markup from any modules that have altered the
|
||||
* page. This variable should always be output last, after all other dynamic
|
||||
* content.
|
||||
* - $classes String of classes that can be used to style contextually through
|
||||
* CSS.
|
||||
*
|
||||
* @see template_preprocess()
|
||||
* @see template_preprocess_html()
|
||||
* @see template_process()
|
||||
*/
|
||||
?>
|
||||
|
||||
<?php print $doctype; ?>
|
||||
|
||||
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
|
||||
<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>" <?php print $rdf_namespaces; ?>> <![endif]-->
|
||||
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>" <?php print $rdf_namespaces; ?>> <![endif]-->
|
||||
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>" <?php print $rdf_namespaces; ?>> <![endif]-->
|
||||
<!-- Consider adding an manifest.appcache: h5bp.com/d/Offline -->
|
||||
<!--[if gt IE 8]><!--> <html class="no-js" lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>" <?php print $rdf_namespaces; ?>> <!--<![endif]-->
|
||||
|
||||
|
||||
<head<?php print $rdf_profile; ?>>
|
||||
<!-- remove the no-js as fast as possible -->
|
||||
<script>(function(H){H.className=H.className.replace(/\bno-js\b/,'js')})(document.documentElement)</script>
|
||||
|
||||
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
|
||||
Remove this if you use the .htaccess -->
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
|
||||
|
||||
|
||||
<?php print $head; ?>
|
||||
|
||||
<title><?php print $head_title; ?></title>
|
||||
<?php print $styles; ?>
|
||||
|
||||
|
||||
<!-- All JavaScript at the bottom, except for Modernizr / Respond.
|
||||
Modernizr enables HTML5 elements & feature detects; Respond is a polyfill for min/max-width CSS3 Media Queries
|
||||
For optimal performance, use a custom Modernizr build: www.modernizr.com/download/ -->
|
||||
<script src="<?php print $theme_path ?>/js/libs/modernizr-2.6.1.min.js" type="text/javascript"></script>
|
||||
|
||||
|
||||
<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->
|
||||
</head>
|
||||
|
||||
<body class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
||||
<div id="root">
|
||||
|
||||
<div id="container">
|
||||
|
||||
<?php print $page_top; ?>
|
||||
<?php print $page; ?>
|
||||
<?php print $page_bottom; ?>
|
||||
|
||||
</div>
|
||||
<!-- /container -->
|
||||
|
||||
</div>
|
||||
<!-- /root -->
|
||||
|
||||
<!-- Javascript at the bottom for fast page loading -->
|
||||
<?php print $scripts; ?>
|
||||
|
||||
|
||||
<!-- Prompt IE 6 users to install Chrome Frame. Remove this if you want to support IE 6.
|
||||
chromium.org/developers/how-tos/chrome-frame-getting-started -->
|
||||
<!--[if lt IE 7 ]>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/chrome-frame/1.0.3/CFInstall.min.js"></script>
|
||||
<script>window.attachEvent('onload',function(){CFInstall.check({mode:'overlay'})})</script>
|
||||
<![endif]-->
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
@@ -0,0 +1,177 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to format an HTML mail.
|
||||
*
|
||||
* Copy this file in your default theme folder to create a custom themed mail.
|
||||
* Rename it to mimemail-message--[key].tpl.php to override it for a
|
||||
* specific mail.
|
||||
*
|
||||
* Available variables:
|
||||
* - $recipient: The recipient of the message
|
||||
* - $subject: The message subject
|
||||
* - $body: The message body
|
||||
* - $css: Internal style sheets
|
||||
* - $key: The message identifier
|
||||
*
|
||||
* @see template_preprocess_mimemail_message()
|
||||
*/
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<?php if ($css): ?>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
<?php print $css ?>
|
||||
-->
|
||||
</style>
|
||||
<?php endif; ?>
|
||||
</head>
|
||||
|
||||
<body id="mimemail-body" style="font-family: "Ubuntu", Arial, "MS Trebuchet", sans-serif; background-color: #FEFEFE; color: #000000 !important; margin-bottom: 0; margin-left: 0px; margin-right: 0;
|
||||
margin-top: 0px; width: 100%;" bgcolor="#FEFEFE"
|
||||
<?php if ($key): print 'class="'. $key .'"'; endif; ?>>
|
||||
|
||||
<center id="maildrupal">
|
||||
|
||||
<!-- // Début du tableau \\ -->
|
||||
|
||||
<table width="100%" cellspacing="0" cellpadding="0" border="0" style="align: center; border-color:#FFFFFF; background-color: #FEFEFE; border-width:0px; border-style:none;
|
||||
border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none;
|
||||
border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px;
|
||||
margin-right: 0px; margin-top: 0px;" bgcolor="#FEFEFE">
|
||||
|
||||
<!-- // Début du Template Header\\ -->
|
||||
<table border="0" style=" width: 500px; align: center; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; " >
|
||||
|
||||
<thead border="0" style=" width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; " >
|
||||
|
||||
<tr border="0" style=" width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
|
||||
|
||||
<td class="headerContent" style=" width: 500px; border-bottom-style: none; border-width:0px; border-style:none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
|
||||
|
||||
|
||||
|
||||
<!-- <img src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/mailheader_600.gif" alt="materiO'" style="max-width:600px;"
|
||||
id="headerImage campaign-icon" mc:label="header_image" mc:edit="header_image" mc:allowdesigner mc:allowtext /> -->
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
<!-- // Fin du Template Header\\ -->
|
||||
|
||||
<!-- // Début du Template Body\\ -->
|
||||
<center>
|
||||
<table border="0" style="width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; padding:10px;" >
|
||||
|
||||
<tbody border="0" cellpadding="20" cellspacing="0" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
|
||||
border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px;
|
||||
border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
|
||||
<tr>
|
||||
<td valign="middle" class="bodyContent" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
|
||||
border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px;
|
||||
border-top-style: none; border-top-width: 0px; padding:30px; padding-top:30px; padding-right:0px; padding-bottom:10px; padding-left:40px; ">
|
||||
|
||||
<?php print $body; ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- // Fin du Template Body\\ -->
|
||||
|
||||
<!-- // Début du Template Footer\\ -->
|
||||
|
||||
<table valign="left" border="0" style="width: 550px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; padding:0px;" >
|
||||
|
||||
<tfoot valign="left" border="0" cellpadding="15" cellspacing="0" class="templateButton" style=" width: 540px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
|
||||
border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px;
|
||||
border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
|
||||
<tr>
|
||||
<td valign="left" class="templateButtonContent" style=" width: 550px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse;
|
||||
border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none;
|
||||
border-top-width: 0px; padding:0px; padding-top:10px; padding-right:0px; padding-bottom: 0px; padding-left:0px;">
|
||||
|
||||
<!-- signature -->
|
||||
<div mc:edit="std_content01" >
|
||||
<a href="http://www.materio.com/" target="_blank"><img src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/logo_materio.png" alt="materiO'" style="max-width:200px; width:150;"
|
||||
id="signimage campaign-icon" mc:label="sign_image" mc:edit="sign_image" mc:allowdesigner mc:allowtext /></a><br>
|
||||
|
||||
|
||||
<div class= "boutons" style="margin:10px; margin-top:10px; margin-right:0px; margin-bottom:0px; margin-left:0px;">
|
||||
|
||||
<p></p>
|
||||
|
||||
<a title="Partager avec Twitter" href="http://twitter.com/intent/tweet?url=http://www.materio.com/">
|
||||
<img src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/bouton-twitter-160px.png"
|
||||
style="border:0 none; height:25px;" alt="Partager avec Twitter"></a>
|
||||
|
||||
<a href="https://www.facebook.com/pages/mat%C3%A9riO/133485040188070?ref=hl">
|
||||
<img title="Facebook Page" src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/facebook_logo_transparent.png" style="border:0 none; height:25px;" alt="Facebook Page" />
|
||||
</a>
|
||||
|
||||
<a href="http://facebook.com/sharer.php?u=http://www.materio.com/">
|
||||
<img title="Facebook Share Button" src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/partager-sur-facebook.jpg" style="border:0 none; height:25px;" alt="Facebook Share Button" />
|
||||
</a>
|
||||
|
||||
<a href="http://www.pinterest.com/hello0691/ze-daily-mat%C3%A9rio/">
|
||||
<img title="Pinterest" src="http://dev.materio.com/sites/all/themes/gui/materiobasetheme/img/pinterest-icon.png" style="border:0 none; height:25px;" alt="Pinterest" />
|
||||
</a>
|
||||
|
||||
<p></p>
|
||||
|
||||
</div>
|
||||
|
||||
<span class='adressContent' style="color: #202020; font-size: 11px; line-height: auto; padding-top:4px;">
|
||||
matériO' SAS <br>8, rue Chaptal<br>75009 Paris</span>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="middle" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse;
|
||||
border-left-style: none;border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;
|
||||
font-size:11px; padding:10px; padding-top:5px; padding-right:0px; padding-bottom: 10px; padding-left:0px;">
|
||||
|
||||
<div mc:edit="std_footer">
|
||||
<em>Copyright © 2015 materiO', All rights reserved.</em>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="middle" id="utility" style="width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
|
||||
<div mc:edit="std_utility">
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
<!-- // Fin du Template Footer\\ -->
|
||||
</center>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<!-- // Fin du tableau \\ -->
|
||||
</center>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,174 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to format an HTML mail.
|
||||
*
|
||||
* Copy this file in your default theme folder to create a custom themed mail.
|
||||
* Rename it to mimemail-message--[key].tpl.php to override it for a
|
||||
* specific mail.
|
||||
*
|
||||
* Available variables:
|
||||
* - $recipient: The recipient of the message
|
||||
* - $subject: The message subject
|
||||
* - $body: The message body
|
||||
* - $css: Internal style sheets
|
||||
* - $key: The message identifier
|
||||
*
|
||||
* @see template_preprocess_mimemail_message()
|
||||
*/
|
||||
?>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<?php if ($css): ?>
|
||||
<style type="text/css">
|
||||
<!--
|
||||
<?php print $css ?>
|
||||
-->
|
||||
</style>
|
||||
<?php endif; ?>
|
||||
</head>
|
||||
|
||||
<body id="mimemail-body" style="font-family: "Ubuntu", Arial, "MS Trebuchet", sans-serif; background-color: #FEFEFE; color: #000000 !important; margin-bottom: 0; margin-left: 0px; margin-right: 0;
|
||||
margin-top: 0px; width: 500px;" bgcolor="#FEFEFE"
|
||||
<?php if ($key): print 'class="'. $key .'"'; endif; ?>>
|
||||
|
||||
<center id="maildrupal">
|
||||
|
||||
<!-- // Début du tableau \\ -->
|
||||
|
||||
<table width="500px" cellspacing="0" cellpadding="0" border="0" style="align:left; border-color:#FFFFFF; background-color: #FEFEFE; border-width:0px; border-style:none;
|
||||
border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none;
|
||||
border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px;
|
||||
margin-right: 0px; margin-top: 0px;" bgcolor="#FEFEFE">
|
||||
|
||||
<!-- // Début du Template Header\\ -->
|
||||
<table border="0" style=" width: 500px; align: left; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; " >
|
||||
|
||||
<!-- <thead border="0" style=" width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; " >
|
||||
|
||||
<tr border="0" style=" width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
|
||||
|
||||
<td class="headerContent" style=" width: 500px; border-bottom-style: none; border-width:0px; border-style:none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
|
||||
|
||||
|
||||
|
||||
<!-- <img src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/mailheader_600.gif" alt="materiO'" style="max-width:600px;"
|
||||
id="headerImage campaign-icon" mc:label="header_image" mc:edit="header_image" mc:allowdesigner mc:allowtext /> -->
|
||||
<!--
|
||||
</td>
|
||||
</tr> -->
|
||||
</thead>
|
||||
|
||||
</table>
|
||||
|
||||
<!-- // Fin du Template Header\\ -->
|
||||
|
||||
<!-- // Début du Template Body\\ -->
|
||||
<center>
|
||||
<table border="0" style="width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; padding:10px;" >
|
||||
|
||||
<tbody border="0" cellpadding="20" cellspacing="0" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
|
||||
border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px;
|
||||
border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
|
||||
<tr>
|
||||
<td valign="left" class="bodyContent" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
|
||||
border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px;
|
||||
border-top-style: none; border-top-width: 0px; padding:10px; padding-top:10px; padding-right:0px; padding-bottom:10px; padding-left:10px; ">
|
||||
|
||||
<?php print $body; ?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<!-- // Fin du Template Body\\ -->
|
||||
|
||||
<!-- // Début du Template Footer\\ -->
|
||||
|
||||
<table border="0" style="width: 500px; border: none; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px; padding:10px;" >
|
||||
|
||||
<tfoot border="0" cellpadding="15" cellspacing="0" class="templateButton" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px;
|
||||
border-collapse: collapse; border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px;
|
||||
border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
|
||||
<tr>
|
||||
<td valign="left" class="templateButtonContent" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse;
|
||||
border-left-style: none; border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none;
|
||||
border-top-width: 0px; padding:5px; padding-top:5px; padding-right:0px; padding-bottom: 0px; padding-left:10px;">
|
||||
|
||||
|
||||
<!-- signature -->
|
||||
<div mc:edit="std_content01" >
|
||||
<a href="http://www.materio.com/" target="_blank"><img src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/logo_materio.png" alt="materiO'" style="max-width:200px; width:150;"
|
||||
id="signimage campaign-icon" mc:label="sign_image" mc:edit="sign_image" mc:allowdesigner mc:allowtext /></a><br>
|
||||
|
||||
|
||||
|
||||
<div class= "boutons" style="margin:10px; margin-top:10px; margin-right:0px; margin-bottom:0px; margin-left:0px;">
|
||||
|
||||
<p></p>
|
||||
|
||||
<a title="Partager avec Twitter" href="http://twitter.com/intent/tweet?url=http://www.materio.com/">
|
||||
<img src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/bouton-twitter-160px.png"
|
||||
style="border:0 none; height:25px;" alt="Partager avec Twitter"></a>
|
||||
|
||||
<a href="https://www.facebook.com/pages/mat%C3%A9riO/133485040188070?ref=hl">
|
||||
<img title="Facebook Page" src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/facebook_logo_transparent.png" style="border:0 none; height:25px;" alt="Facebook Page" />
|
||||
</a>
|
||||
|
||||
<a href="http://facebook.com/sharer.php?u=http://www.materio.com/">
|
||||
<img title="Facebook Share Button" src="http://www.materio.com/sites/all/themes/gui/materiobasetheme/img/partager-sur-facebook.jpg" style="border:0 none; height:25px;" alt="Facebook Share Button" />
|
||||
</a>
|
||||
<p></p>
|
||||
|
||||
</div>
|
||||
|
||||
<span class='adressContent' style="color: #202020; font-size: 11px; line-height: auto; padding-top:4px;">
|
||||
matériO' SAS <br>8, rue Chaptal<br>75009 Paris<br>info@materio.com</span>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="left" style=" width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse;
|
||||
border-left-style: none;border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;
|
||||
font-size:11px; padding:10px; padding-top:10px; padding-right:0px; padding-bottom: 40px; padding-left:10px;">
|
||||
|
||||
<div mc:edit="std_footer">
|
||||
<em>Copyright © 2013 materiO', All rights reserved.</em>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td valign="left" id="utility" style="width: 500px; border-width:0px; border-style:none; border-bottom-style: none; border-bottom-width: 0px; border-collapse: collapse; border-left-style: none;
|
||||
border-left-width: 0px; border-right-style: none; border-right-width: 0px; border-spacing: 0px; border-top-style: none; border-top-width: 0px;">
|
||||
<div mc:edit="std_utility">
|
||||
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tfoot>
|
||||
</table>
|
||||
|
||||
<!-- // Fin du Template Footer\\ -->
|
||||
</center>
|
||||
|
||||
</table>
|
||||
|
||||
|
||||
<!-- // Fin du tableau \\ -->
|
||||
</center>
|
||||
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,43 @@
|
||||
|
||||
<?php //dsm($content); ?>
|
||||
<article class="<?php print $classes; ?>">
|
||||
|
||||
|
||||
<?php
|
||||
hide($content['comments']);
|
||||
hide($content['links']);
|
||||
hide($content['print_links']);
|
||||
hide($content['flaglistslinks']);
|
||||
print render($content);
|
||||
?>
|
||||
|
||||
|
||||
|
||||
<nav class="nav">
|
||||
|
||||
<?php if ($links = render($content['links'])): ?>
|
||||
<section class="links">
|
||||
<i class="icon-share-alt"></i>
|
||||
<?php print $links; ?>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($flags = render($content['flaglistslinks'])): ?>
|
||||
<section class="flags">
|
||||
<i class="icon-folder-open"></i>
|
||||
<?php print $flags; ?>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (FALSE && $print_links = render($content['print_links'])): ?>
|
||||
<section class="print-links">
|
||||
<i class="icon-file"></i>
|
||||
<?php print $print_links; ?>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
</nav>
|
||||
|
||||
|
||||
|
||||
</article>
|
@@ -0,0 +1,19 @@
|
||||
<?php //dsm($content, 'content'); ?>
|
||||
|
||||
<article class="<?php print $classes; ?>">
|
||||
<section class="content">
|
||||
<?php
|
||||
hide($content['comments']);
|
||||
hide($content['links']);
|
||||
hide($content['print_links']);
|
||||
print render($content);
|
||||
?>
|
||||
</section>
|
||||
|
||||
<?php if ($links = render($content['links'])): ?>
|
||||
<nav class="nav">
|
||||
<?php print $links; ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
</article>
|
@@ -0,0 +1,16 @@
|
||||
<?php //dsm($content); ?>
|
||||
<article class="<?php print $classes; ?>">
|
||||
|
||||
<?php
|
||||
hide($content['comments']);
|
||||
hide($content['links']);
|
||||
print render($content);
|
||||
?>
|
||||
|
||||
<?php //if ($links = render($content['links'])): ?>
|
||||
<!-- <nav class="nav"> -->
|
||||
<?php //print $links; ?>
|
||||
<!-- </nav> -->
|
||||
<?php //endif; ?>
|
||||
|
||||
</article>
|
@@ -0,0 +1,66 @@
|
||||
|
||||
<?php //dsm($content); ?>
|
||||
<article class="<?php print $classes; ?>">
|
||||
|
||||
|
||||
<?php
|
||||
hide($content['comments']);
|
||||
hide($content['links']);
|
||||
hide($content['print_links']);
|
||||
hide($content['flaglistslinks']);
|
||||
print render($content);
|
||||
?>
|
||||
|
||||
<?php
|
||||
global $user;
|
||||
$vm = array('cardmedium', 'cardbig'); //, upgrade with 'cardfull' needs more design works, postponed
|
||||
if( isset($user->roles[1]) && in_array($view_mode, $vm)):
|
||||
?>
|
||||
<div class="side oops">
|
||||
<p>
|
||||
<?php print t("<strong>Oops!</strong></br> In order to access information matériO collected about thousands of manufacturers of emerging materials, you need to be part of materiO... ") . l(t('Join us!'), 'node/11187'); ?>
|
||||
</p>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php
|
||||
/* if( (isset($user->roles[7]) || isset($user->roles[9])) && in_array($view_mode, $vm) ):
|
||||
?>
|
||||
<div class="upgrade">
|
||||
<p>
|
||||
<?php print t("In order to access information about manufacturers and more, you need to upgrade your account.") . l(t('Pricing'), 'node/11187'); ?>
|
||||
</p>
|
||||
</div>
|
||||
<?php endif; */ ?>
|
||||
|
||||
|
||||
<?php if($workflow == 5): ?>
|
||||
<div class="workflow"> <i class="icon-warning-sign"></i><span><?php print t("in progress"); ?></span></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<nav class="nav">
|
||||
|
||||
<?php if ($links = render($content['links'])): ?>
|
||||
<section class="links">
|
||||
<i class="icon-share-alt"></i>
|
||||
<?php print $links; ?>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($flags = render($content['flaglistslinks'])): ?>
|
||||
<section class="flags">
|
||||
<i class="icon-folder-open"></i>
|
||||
<?php print $flags; ?>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if (FALSE && $print_links = render($content['print_links'])): ?>
|
||||
<section class="print-links">
|
||||
<i class="icon-file"></i>
|
||||
<?php print $print_links; ?>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
</nav>
|
||||
|
||||
</article>
|
29
sites/all/themes/gui/materiobasetheme/templates/node.tpl.php
Normal file
29
sites/all/themes/gui/materiobasetheme/templates/node.tpl.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<!-- start article.node -->
|
||||
<article class="<?php print $classes; ?>">
|
||||
|
||||
<?php if ($page == 0): ?>
|
||||
<a href="<?php print $node_url?>"><h1 class="nodetitle"><?php print $title?></h1></a>
|
||||
<?php endif; ?>
|
||||
|
||||
<section class="content">
|
||||
<?php
|
||||
hide($content['comments']);
|
||||
hide($content['links']);
|
||||
print render($content);
|
||||
?>
|
||||
</section>
|
||||
|
||||
<?php //if ($submitted): ?>
|
||||
<!-- <aside class="submitted"> -->
|
||||
<?php //print $submitted?>
|
||||
<!-- </aside> -->
|
||||
<?php //endif; ?>
|
||||
|
||||
<?php if ($links = render($content['links'])): ?>
|
||||
<nav class="nav">
|
||||
<?php print $links; ?>
|
||||
</nav>
|
||||
<?php endif; ?>
|
||||
|
||||
</article>
|
||||
<!-- end article.node -->
|
146
sites/all/themes/gui/materiobasetheme/templates/page.tpl.php
Normal file
146
sites/all/themes/gui/materiobasetheme/templates/page.tpl.php
Normal file
@@ -0,0 +1,146 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to display a single Drupal page.
|
||||
*
|
||||
* Available variables:
|
||||
*
|
||||
* General utility variables:
|
||||
* - $base_path: The base URL path of the Drupal installation. At the very
|
||||
* least, this will always default to /.
|
||||
* - $directory: The directory the template is located in, e.g. modules/system
|
||||
* or themes/bartik.
|
||||
* - $is_front: TRUE if the current page is the front page.
|
||||
* - $logged_in: TRUE if the user is registered and signed in.
|
||||
* - $is_admin: TRUE if the user has permission to access administration pages.
|
||||
*
|
||||
* Site identity:
|
||||
* - $front_page: The URL of the front page. Use this instead of $base_path,
|
||||
* when linking to the front page. This includes the language domain or
|
||||
* prefix.
|
||||
* - $logo: The path to the logo image, as defined in theme configuration.
|
||||
* - $site_name: The name of the site, empty when display has been disabled
|
||||
* in theme settings.
|
||||
* - $site_slogan: The slogan of the site, empty when display has been disabled
|
||||
* in theme settings.
|
||||
*
|
||||
* Navigation:
|
||||
* - $main_menu (array): An array containing the Main menu links for the
|
||||
* site, if they have been configured.
|
||||
* - $secondary_menu (array): An array containing the Secondary menu links for
|
||||
* the site, if they have been configured.
|
||||
* - $breadcrumb: The breadcrumb trail for the current page.
|
||||
*
|
||||
* Page content (in order of occurrence in the default page.tpl.php):
|
||||
* - $title_prefix (array): An array containing additional output populated by
|
||||
* modules, intended to be displayed in front of the main title tag that
|
||||
* appears in the template.
|
||||
* - $title: The page title, for use in the actual HTML content.
|
||||
* - $title_suffix (array): An array containing additional output populated by
|
||||
* modules, intended to be displayed after the main title tag that appears in
|
||||
* the template.
|
||||
* - $messages: HTML for status and error messages. Should be displayed
|
||||
* prominently.
|
||||
* - $tabs (array): Tabs linking to any sub-pages beneath the current page
|
||||
* (e.g., the view and edit tabs when displaying a node).
|
||||
* - $action_links (array): Actions local to the page, such as 'Add menu' on the
|
||||
* menu administration interface.
|
||||
* - $feed_icons: A string of all feed icons for the current page.
|
||||
* - $node: The node object, if there is an automatically-loaded node
|
||||
* associated with the page, and the node ID is the second argument
|
||||
* in the page's path (e.g. node/12345 and node/12345/revisions, but not
|
||||
* comment/reply/12345).
|
||||
*
|
||||
* Regions:
|
||||
* - $page['help']: Dynamic help text, mostly for admin pages.
|
||||
* - $page['highlighted']: Items for the highlighted content region.
|
||||
* - $page['content']: The main content of the current page.
|
||||
* - $page['sidebar_first']: Items for the first sidebar.
|
||||
* - $page['sidebar_second']: Items for the second sidebar.
|
||||
* - $page['header']: Items for the header region.
|
||||
* - $page['footer']: Items for the footer region.
|
||||
*
|
||||
* @see template_preprocess()
|
||||
* @see template_preprocess_page()
|
||||
* @see template_process()
|
||||
*/
|
||||
?>
|
||||
<header id="header">
|
||||
<hgroup class="logo"> <?php if ($site_title) { print $site_title; }?> </hgroup>
|
||||
|
||||
<?php if ($page['headerblock_left'] || $page['headerblock_middle'] || $page['headerblock_right']): ?>
|
||||
<div id="header-blocks">
|
||||
<?php print render($page['headerblock_left']); ?>
|
||||
<?php print render($page['headerblock_middle']); ?>
|
||||
<?php print render($page['headerblock_right']); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ($breadcrumb): ?>
|
||||
<section id="breadcrumb"><?php print $breadcrumb; ?></section>
|
||||
<?php endif; ?>
|
||||
|
||||
</header><!-- /header -->
|
||||
|
||||
<div id="utilities">
|
||||
<?php print render($page['highlighted']); ?>
|
||||
|
||||
<?php print render($page['content_top']); ?>
|
||||
|
||||
<?php print render($page['tool_bar']); ?>
|
||||
|
||||
<?php if ($primary_local_tasks || $secondary_local_tasks || $action_links): ?>
|
||||
<div id="tasks">
|
||||
<?php if ($primary_local_tasks): ?>
|
||||
<ul class="tabs primary"><?php print render($primary_local_tasks); ?></ul>
|
||||
<?php endif; ?>
|
||||
<?php if ($secondary_local_tasks): ?>
|
||||
<ul class="tabs secondary"><?php print render($secondary_local_tasks); ?></ul>
|
||||
<?php endif; ?>
|
||||
<?php if ($action_links = render($action_links)): ?>
|
||||
<ul class="action-links"><?php print $action_links; ?></ul>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
</div><!-- /utilities -->
|
||||
|
||||
<div id="main">
|
||||
|
||||
<?php //print render($page['sidebar_first']); ?>
|
||||
|
||||
<section id="center">
|
||||
|
||||
<?php if ($show_messages && $messages): print $messages; endif; ?>
|
||||
|
||||
<?php print render($page['help']); ?>
|
||||
|
||||
<?php if($title): ?><h1 class="page-title"><?php print $title ?></h1><?php endif; ?>
|
||||
<?php print render($page['content']); ?>
|
||||
|
||||
<?php print render($page['content_bottom']); ?>
|
||||
|
||||
</section><!-- /center -->
|
||||
|
||||
<?php //print render($page['sidebar_second']) ?>
|
||||
|
||||
</div><!-- /main -->
|
||||
|
||||
<footer id="footer">
|
||||
|
||||
<?php print render($page['footer_top']); ?>
|
||||
|
||||
<?php if ($page['footer_left'] || $page['footer_middle_left'] || $page['footer_middle_right'] || $page['footer_right']): ?>
|
||||
<div class="footer-blocks">
|
||||
|
||||
<?php print render($page['footer_left']); ?>
|
||||
<?php print render($page['footer_middle-left']); ?>
|
||||
<?php print render($page['footer_midle-right']); ?>
|
||||
<?php print render($page['footer_right']); ?>
|
||||
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<?php print render($page['footer_bottom']); ?>
|
||||
</footer><!-- /footer -->
|
||||
|
@@ -0,0 +1,25 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="<?php print $print['language']; ?>" xml:lang="<?php print $print['language']; ?>">
|
||||
<head>
|
||||
<?php print $print['head']; ?>
|
||||
<?php print $print['base_href']; ?>
|
||||
<title><?php print $print['title']; ?></title>
|
||||
<?php print $print['scripts']; ?>
|
||||
<?php print $print['sendtoprinter']; ?>
|
||||
<?php print $print['robots_meta']; ?>
|
||||
<?php print $print['favicon']; ?>
|
||||
<?php print $print['css']; ?>
|
||||
</head>
|
||||
<body>
|
||||
<div class="print-logo"><?php print $print['logo']; ?></div>
|
||||
<div class="print-site_name"><?php print $print['site_name']; ?></div>
|
||||
<p />
|
||||
<hr class="print-hr" />
|
||||
<div class="print-content"><?php print $print['content']; ?></div>
|
||||
<div class="print-footer"><?php print $print['footer_message']; ?></div>
|
||||
<hr class="print-hr" />
|
||||
<div class="print-source_url"><?php print $print['source_url']; ?></div>
|
||||
<div class="print-links"><?php print $print['pfp_links']; ?></div>
|
||||
<?php print $print['footer_scripts']; ?>
|
||||
</body>
|
||||
</html>
|
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to display a region.
|
||||
*
|
||||
* Available variables:
|
||||
* - $content: The content for this region, typically blocks.
|
||||
* - $classes: String of classes that can be used to style contextually through
|
||||
* CSS. It can be manipulated through the variable $classes_array from
|
||||
* preprocess functions. The default values can be one or more of the following:
|
||||
* - region: The current template type, i.e., "theming hook".
|
||||
* - region-[name]: The name of the region with underscores replaced with
|
||||
* dashes. For example, the page_top region would have a region-page-top class.
|
||||
* - $region: The name of the region variable as defined in the theme's .info file.
|
||||
*
|
||||
* Helper variables:
|
||||
* - $classes_array: Array of html class attribute values. It is flattened
|
||||
* into a string within the variable $classes.
|
||||
* - $is_admin: Flags true when the current user is an administrator.
|
||||
* - $is_front: Flags true when presented in the front page.
|
||||
* - $logged_in: Flags true when the current user is a logged-in member.
|
||||
*
|
||||
* @see template_preprocess()
|
||||
* @see template_preprocess_region()
|
||||
* @see template_process()
|
||||
*/
|
||||
?>
|
||||
|
||||
<section class="<?php print $classes; ?>"<?php print $attributes; ?>>
|
||||
<div class="inner-content">
|
||||
<?php if ($content): ?>
|
||||
<?php print $content; ?>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
</section>
|
@@ -0,0 +1,51 @@
|
||||
<?php
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation for displaying search results.
|
||||
*
|
||||
* This template collects each invocation of theme_search_result(). This and
|
||||
* the child template are dependent to one another sharing the markup for
|
||||
* definition lists.
|
||||
*
|
||||
* Note that modules and themes may implement their own search type and theme
|
||||
* function completely bypassing this template.
|
||||
*
|
||||
* Available variables:
|
||||
* - $result_count: Number of results.
|
||||
* - $spellcheck: Possible spelling suggestions from Search spellcheck module.
|
||||
* - $search_results: All results rendered as list items in a single HTML string.
|
||||
* - $items: All results as it is rendered through search-result.tpl.php.
|
||||
* - $search_performance: The number of results and how long the query took.
|
||||
* - $sec: The number of seconds it took to run the query.
|
||||
* - $pager: Row of control buttons for navigating between pages of results.
|
||||
* - $index:
|
||||
* - $keys: The keywords of the executed search.
|
||||
* - $page_machine_name: Machine name of the current Search API Page.
|
||||
*
|
||||
* View Mode is set in the Search page settings. If you select
|
||||
* "Themed as search results", then the child template will be used for
|
||||
* theming the individual result. Any other view mode will bypass the
|
||||
* child template.
|
||||
*
|
||||
* @see template_preprocess_search_api_page_results()
|
||||
*/
|
||||
|
||||
?>
|
||||
<?php if (!empty($result_count)) : ?>
|
||||
<div class="search-api-page <?php print 'search-api-page-' . $page_machine_name . ' view-mode-' . $variables['view_mode'];?>">
|
||||
<?php if ($result_count) : ?>
|
||||
<?php print render($spellcheck); ?>
|
||||
|
||||
<?php if ($variables['view_mode'] == 'search_api_page_result') : // Uses child template. ?>
|
||||
<?php print render($search_results); ?>
|
||||
<?php else : // All other view modes (Teaser, Full content, RSS and so forth). ?>
|
||||
<div class="search-results">
|
||||
<?php print render(entity_view($index->item_type, $items, $variables['view_mode'])); ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php print $pager; ?>
|
||||
<?php else : ?>
|
||||
<h2><?php print t('Your search yielded no results.');?></h2>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to format the simplenews newsletter body.
|
||||
*
|
||||
* Copy this file in your theme directory to create a custom themed body.
|
||||
* Rename it to override it. Available templates:
|
||||
* simplenews-newsletter-body--[tid].tpl.php
|
||||
* simplenews-newsletter-body--[view mode].tpl.php
|
||||
* simplenews-newsletter-body--[tid]--[view mode].tpl.php
|
||||
* See README.txt for more details.
|
||||
*
|
||||
* Available variables:
|
||||
* - $build: Array as expected by render()
|
||||
* - $build['#node']: The $node object
|
||||
* - $title: Node title
|
||||
* - $language: Language code
|
||||
* - $view_mode: Active view mode
|
||||
* - $simplenews_theme: Contains the path to the configured mail theme.
|
||||
* - $simplenews_subscriber: The subscriber for which the newsletter is built.
|
||||
* Note that depending on the used caching strategy, the generated body might
|
||||
* be used for multiple subscribers. If you created personalized newsletters
|
||||
* and can't use tokens for that, make sure to disable caching or write a
|
||||
* custom caching strategy implemention.
|
||||
*
|
||||
* @see template_preprocess_simplenews_newsletter_body()
|
||||
*/
|
||||
?>
|
||||
<?php
|
||||
$node_url = url('node/'.$build['#node']->nid, array('absolute' => TRUE));
|
||||
?>
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0" align="center">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 37px 0; background-color: #eeeeee;" align="center" bgcolor="#eeeeee">
|
||||
<!-- #nl_container -->
|
||||
<p style="text-align:center; margin:5px 0;"><a href="<?php print $node_url; ?>" style="font-size:9px; color:#444444;">Voir la version en ligne / View this email on the web</a>
|
||||
<table bgcolor="#ffffff" style="margin: 0; border: 1px solid #dddddd; color: #444444; font-family: arial; font-size: 12px; border-color: #dddddd; background-color: #ffffff;" width="600" border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<!-- node content -->
|
||||
<?php print render($build); ?>
|
||||
<table style="margin: 0 0 0 10px; border-collapse: collapse; color: #444444; font-family: arial; font-size: 12px; border-color: #dddddd; background-color: #ffffff;">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="vertical-align: top; padding: 5px 0;" width="580">
|
||||
<table style="border-collapse: collapse; width: 565px; color: #444444; font-family: arial; font-size: 12px; border-color: #dddddd; background-color: #ffffff;" width="565" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 5px 0 5px 5px; line-height: normal;">
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<table border="0" cellspacing="0" cellpadding="0" align="left">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>
|
||||
<table style="border-collapse: collapse; align: left;" cellspacing="0" cellpadding="0" align="left">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="padding: 2px; margin: 0; vertical-align: top;">
|
||||
<a href="http://www.facebook.com/sharer.php?u=<?php print $node_url; ?>" target="_blank" style="display: block; border: none; text-decoration: none;">
|
||||
<img src="http://materio.com/sites/default/files/ico_social_facebook.png" alt="Facebook" style="vertical-align: top; border: none;">
|
||||
</a>
|
||||
</td>
|
||||
<td style="padding: 2px; margin: 0; vertical-align: top;">
|
||||
<a href="http://twitter.com/share?url=<?php print $node_url; ?>" target="_blank" style="display: block; border: none; text-decoration: none;">
|
||||
<img src="http://materio.com/sites/default/files/ico_social_twitter.png" alt="Twitter" style="vertical-align: top; border: none;">
|
||||
</a>
|
||||
</td>
|
||||
<td style="padding: 2px; margin: 0; vertical-align: top;">
|
||||
<a href="http://www.linkedin.com/shareArticle?url=<?php print $node_url; ?>" target="_blank" style="display: block; border: none; text-decoration: none;">
|
||||
<img src="http://materio.com/sites/default/files/ico_social_linkedin.png" alt="Linkedin" style="vertical-align: top; border: none;">
|
||||
</a>
|
||||
</td>
|
||||
<td style="padding: 2px; margin: 0; vertical-align: top;">
|
||||
<a href="http://pinterest.com/hello0691/ze-daily-mat%C3%A9rio/" target="_blank" style="display: block; border: none; text-decoration: none;">
|
||||
<img src="http://materio.com/sites/default/files/ico_social_pinterest.png" alt="Pinterest" style="vertical-align: top; border: none;">
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
@@ -0,0 +1,64 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @file
|
||||
* Default theme implementation to format the simplenews newsletter footer.
|
||||
*
|
||||
* Copy this file in your theme directory to create a custom themed footer.
|
||||
* Rename it to simplenews-newsletter-footer--[tid].tpl.php to override it for a
|
||||
* newsletter using the newsletter term's id.
|
||||
*
|
||||
* @todo Update the available variables.
|
||||
* Available variables:
|
||||
* - $build: Array as expected by render()
|
||||
* - $build['#node']: The $node object
|
||||
* - $language: language code
|
||||
* - $key: email key [node|test]
|
||||
* - $format: newsletter format [plain|html]
|
||||
* - $unsubscribe_text: unsubscribe text
|
||||
* - $test_message: test message warning message
|
||||
* - $simplenews_theme: path to the configured simplenews theme
|
||||
*
|
||||
* Available tokens:
|
||||
* - [simplenews-subscriber:unsubscribe-url]: unsubscribe url to be used as link
|
||||
*
|
||||
* Other available tokens can be found on the node edit form when token.module
|
||||
* is installed.
|
||||
*
|
||||
* @see template_preprocess_simplenews_newsletter_footer()
|
||||
*/
|
||||
?>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<table style="height: 10px; border-collapse: collapse; font-size: 1px;" border="0" cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td style="height: 10px; border-spacing: 0; font-size: 1px;" height="10">
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<?php if (!$opt_out_hidden): ?>
|
||||
<?php if ($format == 'html'): ?>
|
||||
<p style="font-size:11px; margin: 5px 20px 0;"><a style="color:#444444;" href="[simplenews-subscriber:unsubscribe-url]"><?php print $unsubscribe_text ?></a></p>
|
||||
<?php else: ?>
|
||||
-- <?php print $unsubscribe_text ?>: [simplenews-subscriber:unsubscribe-url]
|
||||
<?php endif ?>
|
||||
<?php endif; ?>
|
||||
|
||||
<p id="footer_address" style="color:#444444; text-align: center; margin: 20px 20px 0; line-height:0.7; font-size:10px; ">
|
||||
matériO SAS<br>8, rue Chaptal<br>75009 Paris<br><a href="www.materio.com" style="color:#444444">www.materio.com</a>
|
||||
</p>
|
||||
|
||||
<?php if ($key == 'test'): ?>
|
||||
- - - <?php print $test_message ?> - - -
|
||||
<?php endif ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
Reference in New Issue
Block a user