Permalink
Browse files

update 01.08.13 in membersgenerate and kwarc(theme)

  • Loading branch information...
1 parent 4aca9e4 commit 3d89718fec703f80e209231e6008e51e9f3cfbb4 @fierarufmihai fierarufmihai committed Aug 1, 2013
View
@@ -7659,7 +7659,7 @@ function entity_extract_ids($entity_type, $entity) {
if (!empty($info['entity keys']['bundle'])) {
// Explicitly fail for malformed entities missing the bundle property.
- if (!isset($entity->{$info['entity keys']['bundle']}) || $entity->{$info['entity keys']['bundle']} === '') {
+ if (!isset($entity->{$info['entity keys']['bundle']}) || $entity->{$info['entity keys']['bundle']} === '') {
throw new EntityMalformedException(t('Missing bundle property on entity of type @entity_type.', array('@entity_type' => $entity_type)));
}
$bundle = $entity->{$info['entity keys']['bundle']};
@@ -2,6 +2,12 @@
<div>
<div style="float:right; margin-right: 30px; margin-left: 30px;">
<?php echo drupal_render($content["field_image"]); ?>
+
+ <div style="text-align: center">
+ <?php echo drupal_render($content["field_start_date"]); ?>
+ <?php echo drupal_render($content["field_end_date"]); ?>
+ </div>
+
</div>
<div style="margin-top: 30px">
@@ -13,4 +19,8 @@
<?php echo drupal_render($content["field_text"]); ?>
</div>
+
+
+
+
</div>
@@ -0,0 +1,77 @@
+.view-grouping-header {
+font-size: 2.0em;
+}
+
+
+
+
+/*Project Description Full View*/
+
+.project-desc-img-full{
+ float:right;
+ margin-right: 30px;
+ margin-left: 30px;
+}
+
+
+
+.project-desc-desc-full{
+ margin-top: 30px;
+}
+
+.project-desc-small-full{
+ display:none;
+}
+
+
+
+
+.project-desc-dateandpeople-full{
+ clear:both;
+ margin-top: 30px;
+}
+
+.project-desc-people-full{
+ float:left;
+ width:30%;
+
+}
+
+.project-desc-date-full{
+ float:left;
+ width:40%;
+ margin-left:30px;
+}
+
+
+
+/*Project Description Teaser View*/
+
+.project-desc-img-teaser{
+ display:none;
+}
+
+
+
+.project-desc-desc-teaser{
+ display:none;
+}
+
+.project-desc-small-teaser{
+ /*display:none;*/
+}
+
+
+
+
+.project-desc-dateandpeople-teaser{
+ display:none;
+}
+
+.project-desc-people-teaser{
+ display:none;
+}
+
+.project-desc-date-teaser{
+ display:none;
+}
@@ -2,3 +2,6 @@ name = KWARC Modules
description = KWARC Modules
core = 7.x
package = Planetary Modules
+
+
+stylesheets[all][] = kwarc.css
@@ -4,11 +4,13 @@
function kwarc_theme() {
return array(
+
'node__pageimagetextrightdown' =>
array(
'template' => "pageimagetextrightdown",
),
+
'views_view_list__people' =>
array(
'template' => "views-view-list--people",
@@ -21,15 +23,18 @@ function kwarc_theme() {
'arguments' => array('view' => NULL, 'options' => NULL, 'row' => NULL, 'wrapper_prefix' => NULL, 'list_type_prefix'=> NULL),
),
+
+
'node__general_info_page' =>
array(
'template' => "general_info_page",
-
),
-
-
+ 'node__project_description' =>
+ array(
+ 'template' => "project_description",
+ ),
);
}
Oops, something went wrong.

0 comments on commit 3d89718

Please sign in to comment.