[dev] Patch: add hyperlinks to accounts

Lachlan Cameron-Smith lachlan.cameronsmith at adelaide.edu.au
Mon Sep 15 17:10:30 PDT 2003


Patch seems to have been eaten in transit, appears below.

Cheers,
Lachlan


===================================================================
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.") ?>


Lachlan Cameron-Smith wrote:

> Hi,
> 
> Some of our users have been confused by going into the accounts module 
> and seeing headings for Password, Vacation and Forwards, but not being 
> able to click on them. Patch attached against RELENG to add hyperlinks 
> to the template for the main screen.



-- 
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.



More information about the dev mailing list