[dev] Patch: add hyperlinks to accounts

Lachlan Cameron-Smith lachlan.cameronsmith at adelaide.edu.au
Thu Sep 18 17:43:00 PDT 2003


Hopefully you'll be able to use this one...

Thanks,
Lachlan


Jan Schneider wrote:

> Zitat von Lachlan Cameron-Smith <lachlan.cameronsmith at adelaide.edu.au>:
> 
> 
>>Patch seems to have been eaten in transit, appears below.
> 
> 
> Can you please either resend your patch as a text/plain attachment so that
> it doesn't get stripped by the mailing list server or make it downloadable
> somewhere. It's unuseable with the line wraps at the moment.


-- 
Lachlan Cameron-Smith
Senior Systems Specialist, ITS, Adelaide University

CRICOS Provider Number 00123M
-----------------------------------------------------------
This email message is intended only for the addressee(s)
and contains information that may be confidential and/or
copyright.  If you are not the intended recipient please
notify the sender by reply email and immediately delete
this email. Use, disclosure or reproduction of this email
by anyone other than the intended recipient(s) is strictly
prohibited. No representation is made that this email or
any attachments are free of viruses. Virus scanning is
recommended and is the responsibility of the recipient.
-------------- next part --------------
===================================================================
RCS file: templates/RCS/main.inc,v
retrieving revision 1.1
diff -u -r1.1 templates/main.inc
--- templates/main.inc	2003/09/15 12:37:32	1.1
+++ templates/main.inc	2003/09/15 12:54:48
@@ -11,7 +11,7 @@
 
 <?php if (in_array('passwd', $conf['menu']['apps']) && $registry->getParam('status', 'passwd') != 'inactive'): ?>
 <tr>
-<td class="control" valign="top"><b><?php echo _("Password") ?></b></td>
+<td class="control" valign="top"><b><a href="<?php echo $registry->getWebRoot('passwd') ?>"><?php echo _("Password") ?></a></b></td>
 <td class="control">
 <?php echo _("Allow you to change your account's password.") ?> 
 <?php echo _("Changes should take effect immediately.  This is a secure way to remotely change your password.") ?> 
@@ -22,7 +22,7 @@
 
 <?php if (in_array('vacation', $conf['menu']['apps']) && $registry->getParam('status', 'vacation') != 'inactive'): ?>
 <tr>
-<td class="control" valign="top"><b><?php echo _("Vacation") ?></b></td>
+<td class="control" valign="top"><b><a href="<?php echo $registry->getWebRoot('vacation') ?>"><?php echo _("Vacation") ?></a></b></td>
 <td class="control">
 <?php echo _("Allow you to setup or remove a vacation notice for your account.") ?> 
 <?php echo _("A vacation notice will automatically reply to any incoming e-mail you receive while you are away or unable to attend to your e-mail -- for example while on vacation or out of town on business. It could be used as a courtesy to let others know why you are not answering their e-mail to you.") ?>
@@ -32,7 +32,7 @@
 
 <?php if (in_array('forwards', $conf['menu']['apps']) && $registry->getParam('status', 'forwards') != 'inactive'): ?>
 <tr>
-<td class="control" valign="top"><b><?php echo _("Forwards") ?></b></td>
+<td class="control" valign="top"><b><a href="<?php echo $registry->getWebRoot('forwards') ?>"><?php echo _("Forwards") ?></a></b></td>
 <td class="control">
 <?php echo _("Allow you to set or remove a forward on your e-mail.") ?> 
 <?php echo _("An e-mail forward lets you redirect your mail to another e-mail address (or a comma separated list of addresses if you wish). You can even forward to another address and keep a copy in your local mailbox.") ?>


More information about the dev mailing list