Permalink
Browse files

Nofollow auf Links in Party-Liste

  • Loading branch information...
JochenJung committed Dec 25, 2009
1 parent 1629603 commit f21d831b90a33b2ff780b01b62642b363a097664
Showing with 7 additions and 3 deletions.
  1. +2 −2 modules/partylist/show.php
  2. +3 −0 nofollow.php
  3. +2 −1 robots.txt
@@ -153,7 +153,7 @@ function NameAndMotto($name) {
$ms2->AddResultField(t('Anmelde-Status'), 'ls_url', 'AddSignonStatus');
$ms2->AddIconField('details', 'index.php?mod=partylist&action='. $_GET['action'] .'&partyid=', t('Details'));
if ($_GET['action'] != 'history') $ms2->AddIconField('signon', 'index.php?mod=partylist&step=10&design=base&partyid=', t('Anmelden'));
if ($_GET['action'] != 'history') $ms2->AddIconField('signon', 'nofollow.php?mod=partylist&step=10&design=base&partyid=', t('Anmelden'));
$ms2->AddIconField('edit', 'index.php?mod=partylist&action=add&partyid=', t('Editieren'), 'EditAllowed');
if ($auth['type'] >= 3) $ms2->AddIconField('delete', 'index.php?mod=partylist&action=delete&partyid=', t('Löschen'));
@@ -171,7 +171,7 @@ function NameAndMotto($name) {
$dsp->NewContent($row['name'], $row['motto']);
$dsp->AddDoubleRow(t('Datum'), $func->unixstamp2date($row['start'], 'datetime') .' bis '. $func->unixstamp2date($row['end'], 'datetime'));
$dsp->AddDoubleRow(t('Adresse'), $row['street'] .' '. $row['hnr'] .', '. $row['plz'] .' '. $row['city']);
$dsp->AddDoubleRow(t('Webseite'), '<a href="'. $row['url'] .'" target="_blank">'. $row['url'] .'</a> ' . $dsp->FetchIcon('index.php?mod=partylist&step=10&design=base&partyid='. $_GET['partyid'], 'signon'));
$dsp->AddDoubleRow(t('Webseite'), '<a href="'. $row['url'] .'" target="_blank">'. $row['url'] .'</a> ' . $dsp->FetchIcon('nofollow.php?mod=partylist&step=10&design=base&partyid='. $_GET['partyid'], 'signon'));
$dsp->AddDoubleRow(t('Anmeldestatus'), AddSignonStatus($row['ls_url']));
$dsp->AddDoubleRow(t('Zusätzliche Infos'), $func->text2html($row['text']));
$dsp->AddDoubleRow(t('Eingetragen durch'), $dsp->FetchUserIcon($row['userid'], $row['username']));
View
@@ -0,0 +1,3 @@
<?php
require('index.php');
?>
View
@@ -2,4 +2,5 @@ User-agent: *
Disallow: design/templates/
Disallow: inc/
Disallow: modules/
Disallow: install.php
Disallow: install.php
Disallow: nofollow.php

0 comments on commit f21d831

Please sign in to comment.