Better variable name.
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 19 Jan 2009 04:27:43 +0000 (21:27 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Mon, 19 Jan 2009 05:34:31 +0000 (22:34 -0700)
imp/mailbox.php
imp/templates/common-header.inc

index 241fdc9..46591b9 100644 (file)
@@ -341,7 +341,7 @@ if ($imp_mbox['mailbox'] == 'INBOX') {
 }
 
 if (!is_null($rss_box)) {
-    $alternate_url = Horde::applicationUrl('rss.php') . $rss_box;
+    $rss_url = Horde::applicationUrl('rss.php') . $rss_box;
 }
 
 /* If user wants the mailbox to be refreshed, set time here. */
index b193fd8..e555c0c 100644 (file)
@@ -36,8 +36,8 @@ IMP::includeStylesheetFiles(!empty($printer_friendly));
 <?php if ($last_url = Util::nonInputVar('last_url')): ?>
 <link href="<?php echo $last_url ?>" rel="Last" />
 <?php endif; ?>
-<?php if ($alternate_url = Util::nonInputVar('alternate_url')): ?>
-<link rel="alternate" type="application/rss+xml" href="<?php echo $alternate_url ?>" />
+<?php if ($rss_url = Util::nonInputVar('rss_url')): ?>
+<link rel="alternate" type="application/rss+xml" href="<?php echo $rss_url ?>" />
 <?php endif; ?>
 <?php if (!Util::nonInputVar('login_page')): ?>
 <link href="<?php echo Horde::applicationUrl('search.php') ?>" rel="search" />