Theme und Theming: Unterschied zwischen den Versionen
Erscheinungsbild
Keine Bearbeitungszusammenfassung |
|||
| Zeile 18: | Zeile 18: | ||
<a href="/katalog" target="_self"><?php print t("back to Catalog") ?></a> | <a href="/katalog" target="_self"><?php print t("back to Catalog") ?></a> | ||
<?php endif;?> | <?php endif;?> | ||
==Aktuelle Sprache BLOG== | |||
<div class="weiterlesen"> | |||
<?php if (!($teaser !== false)): ?> | |||
<a href="/<?php | |||
if (function_exists('locale_language_url_rewrite_url')) { | |||
locale_language_url_rewrite_url($request_path, $options); | |||
} | |||
print $prefix = rtrim($options['prefix'], '/'); | |||
?>/blog"><?php print t("back to blog") ?></a> | |||
<?php endif;?> | |||
</div> | |||
==Text übersetzen Hardcodiert== | ==Text übersetzen Hardcodiert== | ||
Version vom 3. Dezember 2012, 09:35 Uhr
Field Felder unter Drupal 7
Aktuelle Sprache zurückgeben Drupal 7
<a href="/<?php print $language->prefix ?>/home"><div class="art-headerobject"></div></a>
<?php print $language->prefix ?>
Text beim Teaser ein / ausblenden Drupal 7
einblenden:
<div class="weiterlesen">
<?php if ($teaser): ?>
<a href="<?php print $node_url; ?> " title="read more"><?php print t("read more") ?></a>
<?php endif;?>
</div>
ausblenden
<?php if (!($teaser !== false)): ?>
<a href="/katalog" target="_self"><?php print t("back to Catalog") ?></a>
<?php endif;?>
Aktuelle Sprache BLOG
<?php if (!($teaser !== false)): ?>
<a href="/<?php
if (function_exists('locale_language_url_rewrite_url')) {
locale_language_url_rewrite_url($request_path, $options);
}
print $prefix = rtrim($options['prefix'], '/');
?>/blog"><?php print t("back to blog") ?></a>
<?php endif;?>
Text übersetzen Hardcodiert
<?php print t("back to Gallery") ?>