[dev] Patch: add hyperlinks to accounts

Jan Schneider jan at horde.org
Thu Sep 18 13:59:26 PDT 2003


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.

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

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft


More information about the dev mailing list