Chapter is quite ok

ajax loaded content
graphics ok
interactivity ok
remains the video interactions
This commit is contained in:
Bachir Soussi Chiadmi
2015-03-10 20:23:17 +01:00
parent d5edfa75c8
commit dab5226cd7
30 changed files with 3508 additions and 399 deletions
@@ -0,0 +1,7 @@
<section class="<?php print $classes; ?>"<?php print $attributes; ?>>
<div class="field-items"<?php print $content_attributes; ?>>
<?php foreach ($items as $delta => $item): ?>
<?php print render($item); ?>
<?php endforeach; ?>
</div>
</section>
@@ -50,7 +50,7 @@ HTML comment.
-->
<section class="<?php print $classes; ?>"<?php print $attributes; ?>>
<?php if (!$label_hidden): ?>
<div class="field-label"<?php print $title_attributes; ?>><?php print $label ?>:&nbsp;</div>
<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; ?>>
@@ -58,11 +58,10 @@
<!-- 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" />
<meta name="mobile-web-app-capable" content="yes">
<!-- <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> -->
<?php print $head; ?>
<title><?php print $head_title; ?></title>
<?php print $styles; ?>
@@ -0,0 +1,21 @@
<section id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
<?php if (!$page): ?>
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
<?php endif; ?>
<div class="content">
<?php
// We hide the comments and links now so that we can render them later.
// dsm($content, "content");
hide($content['comments']);
hide($content['links']);
hide($content['field_comprendre']);
?>
<div class="texts">
<?php
print render($content['field_comprendre']);
print render($content['links']);
?>
</div>
<?php print render($content); ?>
</div>
</section>
@@ -1,21 +1,13 @@
<section id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?>"<?php print $attributes; ?>>
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<?php if (!$page): ?>
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
<h2<?php print $title_attributes; ?>><?php print $title; ?></h2>
<?php endif; ?>
<div class="content">
<?php
<?php
// We hide the comments and links now so that we can render them later.
// dsm($content, "content");
hide($content['comments']);
hide($content['links']);
hide($content['field_comprendre']);
// hide($content['links']);
print render($content);
// print render($content['links']);
?>
<div class="texts">
<?php
print render($content['field_comprendre']);
print render($content['links']);
?>
</div>
<?php print render($content); ?>
</div>
</section>
</div>
@@ -0,0 +1,17 @@
<?php
/**
* @file
* Default theme implementation to display a video embed field.
*
* Variables available:
* - $url: The URL of the video to display embed code for
* - $style: The style name of the embed code to use
* - $style_settings: The style settings for the embed code
* - $handler: The name of the video handler
* - $embed_code: The embed code
* - $data: Additional video data
*
* @see template_preprocess_video_embed()
*/
?>
<?php print $embed_code; ?>