first import

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-08 11:40:19 +02:00
commit 1bc61b12ad
8435 changed files with 1582817 additions and 0 deletions

View File

@@ -0,0 +1 @@
Ce dossier est généré par Middleman.

View File

@@ -0,0 +1,6 @@
<div class='admin-panel clearfix'>
<div class='content'>
<h3><?php print $block['title']; ?></h3>
</div>
<?php print $block['content']; ?>
</div>

View File

@@ -0,0 +1,24 @@
<!-- %span.btn.btn-success -->
<!-- %i.icon-user.icon-white -->
<!-- test -->
<!-- %div#test_ma_div -->
<!-- contenu -->
<div class='block-wrapper <?php print $block_zebra; ?> <?php print $position; ?>' id='block-<?php print $block->module ."-". $block->delta; ?>'>
<div class='<?php print $classes; ?>'>
<!-- fixme -->
<!-- = php "print $attributes;" -->
<div class='block-inner'>
<?php print render($title_prefix); ?>
<?php if (!empty($block->subject)): ?>
<h3 class='title'><?php print $block->subject; ?></h3>
<!-- fixme -->
<!-- = php "print $title_attributes;" -->
<?php endif; ?>
<?php print render($title_suffix); ?>
<div class='content'>
<?php print $content_attributes; ?>
<?php print $content; ?>
</div>
</div>
</div>
</div>

View File

@@ -0,0 +1,46 @@
<?php
/**
* @file
* Default theme implementation to wrap comments.
*
* Available variables:
* - $content: The array of content-related elements for the node. Use
* render($content) to print them all, or print a subset such as
* render($content['comment_form']).
* - $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 value has the following:
* - comment-wrapper: The current template type, i.e., "theming hook".
*
* The following variables are provided for contextual information.
* - $node: Node object the comments are attached to.
* The constants below the variables show the possible values and should be
* used for comparison.
* - $display_mode
* - COMMENT_MODE_FLAT
* - COMMENT_MODE_THREADED
*
* Other variables:
* - $classes_array: Array of html class attribute values. It is flattened
* into a string within the variable $classes.
*
* @see template_preprocess_comment_wrapper()
*/
?>
<div id="comments" class="<?php print $classes; ?>"<?php print $attributes; ?>>
<?php $comments = render($content['comments']); ?>
<?php if ($node->type != 'forum' && !empty($comments)): ?>
<div class="page-header">
<h2 class="title"><?php print t('Comments'); ?></h2>
</div><!--/.page-header-->
<?php endif; ?>
<?php print $comments; ?>
<?php if ($content['comment_form']): ?>
<div class="page-header">
<h2 class="title comment-form"><?php print t('Add new comment'); ?></h2>
</div><!--/.page-header-->
<?php print render($content['comment_form']); ?>
<?php endif; ?>
</div><!-- /comments -->

View File

@@ -0,0 +1,38 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir='<?php print $language->dir; ?>' lang='<?php print $language->language; ?>'>
<head>
<meta charset='utf-8' />
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible' />
<meta content='width=device-width, initial-scale=1, maximum-scale=1' name='viewport' />
<?php print $head; ?>
<title><?php print $head_title; ?></title>
<meta content='' name='description' />
<meta content='' name='author' />
<?php print $styles; ?>
<script src='/sites/default/themes/popsu/js/libs/respond.min.js' type='text/javascript'></script>
<?php print $scripts; ?>
</head>
<body class='<?php print $classes; ?>' style='background-color: #fff; '>
<div class='container-fluid' id='global-wrapper' style='padding: 0;'>
<div class='container-fluid' id='global-wrapper-secondary' style='padding: 0;'>
<div id='skip-link'>
<a class='element-invisible element-focusable' href='#main-content'>
<?php print t('Skip to main content'); ?>
</a>
</div>
<?php print $page_top; ?>
<?php print $page; ?>
<?php print $page_bottom; ?>
</div>
</div>
<script src='/sites/default/themes/popsu/js/libs/flexslider/jquery.flexslider-min.js' type='text/javascript'></script>
<script src='/sites/default/themes/popsu/js/script.js' type='text/javascript'></script>
<!-- %style -->
<!-- test -->
<!-- = ".popsu-74-26-stacked { .panels-flexible-column-popsu-74-36-stacked-4, .panels-flexible-column-popsu_74_36_stacked-4 {" -->
<!-- = "width: 74%; }" -->
<!-- = ".panels-flexible-column-popsu-74-36-stacked-5, .panels-flexible-column-popsu_74_36_stacked-5 { " -->
<!-- = "width: 26%; }" -->
<!-- = "}" -->
</body>
</html>

View File

@@ -0,0 +1,77 @@
/**
* @file
* Theme implementation to display a node.
*
* Available variables:
* - $title: the (sanitized) title of the node.
* - $content: An array of node items. Use render($content) to print them all,
* or print a subset such as render($content['field_example']). Use
* hide($content['field_example']) to temporarily suppress the printing of a
* given element.
* - $user_picture: The node author's picture from user-picture.tpl.php.
* - $date: Formatted creation date. Preprocess functions can reformat it by
* calling format_date() with the desired parameters on the $created variable.
* - $name: Themed username of node author output from theme_username().
* - $node_url: Direct url of the current node.
* - $display_submitted: Whether submission information should be displayed.
* - $submitted: Submission information created from $name and $date during
* template_preprocess_node().
* - $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:
* - node: The current template type, i.e., "theming hook".
* - node-[type]: The current node type. For example, if the node is a
* "Blog entry" it would result in "node-blog". Note that the machine
* name will often be in a short form of the human readable label.
* - node-teaser: Nodes in teaser form.
* - node-preview: Nodes in preview mode.
* The following are controlled through the node publishing options.
* - node-promoted: Nodes promoted to the front page.
* - node-sticky: Nodes ordered above other non-sticky nodes in teaser
* listings.
* - node-unpublished: Unpublished nodes visible only to administrators.
* - $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_suffix (array): An array containing additional output populated by
* modules, intended to be displayed after the main title tag that appears in
* the template.
*
* Other variables:
* - $node: Full node object. Contains data that may not be safe.
* - $type: Node type, i.e. story, page, blog, etc.
* - $comment_count: Number of comments attached to the node.
* - $uid: User ID of the node author.
* - $created: Time the node was published formatted in Unix timestamp.
* - $classes_array: Array of html class attribute values. It is flattened
* into a string within the variable $classes.
* - $zebra: Outputs either "even" or "odd". Useful for zebra striping in
* teaser listings.
* - $id: Position of the node. Increments each time it's output.
*
* Node status variables:
* - $view_mode: View mode, e.g. 'full', 'teaser'...
* - $teaser: Flag for the teaser state (shortcut for $view_mode == 'teaser').
* - $page: Flag for the full page state.
* - $promote: Flag for front page promotion state.
* - $sticky: Flags for sticky post setting.
* - $status: Flag for published status.
* - $comment: State of comment settings for the node.
* - $readmore: Flags true if the teaser content of the node cannot hold the
* main body content.
* - $is_front: Flags true when presented in the front page.
* - $logged_in: Flags true when the current user is a logged-in member.
* - $is_admin: Flags true when the current user is an administrator.
*
* Field variables: for each field instance attached to the node a corresponding
* variable is defined, e.g. $node->body becomes $body. When needing to access
* a field's raw values, developers/themers are strongly encouraged to use these
* variables. Otherwise they will have to explicitly specify the desired field
* language, e.g. $node->body['en'], thus overriding any language negotiation
* rule that was previously applied.
*
* @see template_preprocess()
* @see template_preprocess_node()
* @see template_process()
*/

View File

@@ -0,0 +1,28 @@
<div id="node-<?php print $node->nid; ?>" class="<?php print $classes; ?> clearfix"<?php print $attributes; ?>>
<?php print render($title_prefix); ?>
<?php if (!$page): ?>
<h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
<?php endif; ?>
<?php print render($title_suffix); ?>
<?php if ($display_submitted): ?>
<div class="meta submitted">
<?php print $user_picture; ?>
<?php print $submitted; ?>
</div>
<?php endif; ?>
<div class="content"<?php print $content_attributes; ?>>
<?php
// We hide the comments and links now so that we can render them later.
hide($content['comments']);
hide($content['links']);
print render($content);
?>
</div>
<?php print render($content['links']); ?>
<?php print render($content['comments']); ?>
</div> <!-- /node -->

View File

@@ -0,0 +1,62 @@
/**
* @file
* 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/garland.
* - $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).
*
* @see template_preprocess()
* @see template_preprocess_page()
* @see template_process()
*
* <?php print render($page['Region_Name']); ?>
*
*/

View File

@@ -0,0 +1,98 @@
<div id='page'>
<?php if ($page['user_menu']): ?>
<style>
body { padding-top: 60px; }
@media (max-width: 979px) { body { padding-top: 0px; }}
</style>
<div class='navbar' id='main-menu'>
<div class='navbar-inner'>
<div class='container'>
<a class='btn btn-navbar' data-target='.nav-collapse' data-toggle='collapse'>
<span style='color: #fff'>
<!-- Menu -->
<span class='icon-bar'></span>
<span class='icon-bar'></span>
<span class='icon-bar'></span>
</span>
</a>
<a class='brand' href='<?php print check_url($front_page); ?>'>
<?php print $site_name; ?>
</a>
<div class='nav-collapse collapse'>
<?php print render($menu_manager_menu_tree); ?>
</div>
</div>
</div>
</div>
<?php endif; ?>
<div class='clearfix' id='header-wrapper'>
<?php print render($page['header']); ?>
</div>
<?php $content_top_region = $page['help'] || $messages ?>
<?php $content_region = $tabs || $title || $page['content']; ?>
<?php if ($content_top_region || $content_region || $page['sidebar_second']): ?>
<div class='clearfix' id='main-wrapper'>
<?php if ($page['sidebar_first']): ?>
<div class='sidebar span' id='sidebar-first'>
<?php print render($page['sidebar_first']); ?>
</div>
<?php endif; ?>
<?php if ($content_top_region || $content_region): ?>
<div class='span' id='content-wrapper'>
<?php if ($content_top_region): ?>
<div id='content-top'>
<?php if ($page['help']): ?>
<?php print render($page['help']); ?>
<?php endif; ?>
<?php if ($messages): ?>
<?php print $messages; ?>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ($content_region): ?>
<div id='content'>
<a id='main-content' name='main-content'></a>
<?php if ($title || $page['content']): ?>
<div id='content-inner'>
<?php if (!empty($tabs['#primary'])): ?>
<div class='clearfix' id='content-tabs'>
<?php print render($tabs); ?>
</div>
<?php endif; ?>
<?php print render($title_prefix); ?>
<?php if ($title): ?>
<div class='page-header'>
<h1 id='page-title'><?php print $title; ?></h1>
</div>
<?php endif; ?>
<?php print render($title_suffix); ?>
<?php if ($breadcrumb): ?>
<div id='breadcrumb'>
<?php print $breadcrumb; ?>
</div>
<?php endif; ?>
<?php if ($action_links): ?>
<ul class='action-links'><?php print render($action_links); ?></ul>
<?php endif; ?>
<?php if ($page['content']): ?>
<?php print render($page['content']); ?>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
<?php if ($page['sidebar_second']): ?>
<div class='sidebar' id='sidebar-second'>
<?php print render($page['sidebar_second']); ?>
</div>
<?php endif; ?>
</div>
<?php endif; ?>
</div>
<div id='footer-wrapper'>
<div id='footer'>
<?php print render($page['footer']); ?>
</div>
</div>

View File

@@ -0,0 +1,12 @@
<div<?php print $attributes; ?>>
<div<?php print $content_attributes; ?>>
<?php //désactivation de la navigation
if (false && ($main_menu || $secondary_menu)): ?>
<nav class="navigation">
<?php print theme('links__system_main_menu', array('links' => $main_menu, 'attributes' => array('id' => 'main-menu', 'class' => array('links', 'inline', 'clearfix', 'main-menu')), 'heading' => array('text' => t('Main menu'),'level' => 'h2','class' => array('element-invisible')))); ?>
<?php print theme('links__system_secondary_menu', array('links' => $secondary_menu, 'attributes' => array('id' => 'secondary-menu', 'class' => array('links', 'inline', 'clearfix', 'secondary-menu')), 'heading' => array('text' => t('Secondary menu'),'level' => 'h2','class' => array('element-invisible')))); ?>
</nav>
<?php endif; ?>
<?php print $content; ?>
</div>
</div>

View File

@@ -0,0 +1,6 @@
<div class='image-block' id='flexislider-header'>
<div class='image-holder flex-viewport'>
<!-- = php("print $fields['field_popsu_projeteur_diapo']->content;") -->
<?php print $rows; ?>
</div>
</div>

View File

@@ -0,0 +1,5 @@
<div class='image-block' id='flexislider-header'>
<div class='image-holder flex-viewport'>
<?php print $fields['field_featured_image']->content; ?>
</div>
</div>