phpScheduleIt
May 24, 2013, 02:14:54 PM
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: phpScheduleIt 2.4.2 has been released!
Home
Help
Login
Register
phpScheduleIt
>
Help and Support
>
phpScheduleIt 1.2.x
>
notification of permission changes
Pages: [
1
]
« previous
next »
Print
Author
Topic: notification of permission changes (Read 591 times)
runaway34
Newbie
Karma: 0
Posts: 36
notification of permission changes
«
on:
March 07, 2012, 03:35:15 PM »
couldn't find this in the search.
I want to change the text of the email that is send to users when I change their resourse permissions.
I see the text in admin_update.php line 611.
But when I change that text I get just a ? in the email .. and no text at all. Basically I just changed "resources" to "sailboats"
I don't understand all the code, but it seems that the "translate" function does not understand my new text.
am I missing something, or is there an alternative?
thx
Dave
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
Re: notification of permission changes
«
Reply #1 on:
March 12, 2012, 04:13:07 PM »
To change the text, you'll want to open up /lang/en_US.lang.php and replace the text there.
Logged
runaway34
Newbie
Karma: 0
Posts: 36
Re: notification of permission changes
«
Reply #2 on:
March 12, 2012, 08:51:21 PM »
Thanks for the reply Nick .. but I couldn't get that to work.
I changed the text in /lang/en_US.lang.php on lines 907, 983, 1033, and 1035 to reflect "sailboats" instead of "resources".
I tried it two ways .. with the original text in admin_update.php and with the text also changed in admin_update.php. Both ways .. in the resulting email .. the resource names show up correctly but the line of text is replaced by a ?
did I miss something? Does the text in admin_update.php have to be exactly the same as the text in the /lang/ file?
version 1.2.7
thx
Dave
Logged
Nick
Administrator
Hero Member
Karma: 15
Posts: 5419
Re: notification of permission changes
«
Reply #3 on:
March 19, 2012, 02:38:51 PM »
Sorry, I wasn't very clear. You'll want to change the contents of the lang file, but not any of the other code. Any call to translate() should stay the same.
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General
-----------------------------
=> Announcements
=> Open Discussion
=> Donations
-----------------------------
Help and Support
-----------------------------
=> phpScheduleIt 2.x
=> EspaƱol
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
=> New Features and Suggestions
=> Developers
-----------------------------
Bugs
-----------------------------
=> phpScheduleIt 1.2.x
=> phpScheduleIt 1.1.x
-----------------------------
Modifications
-----------------------------
=> Post Modifications
=> Request Modification
-----------------------------
Development
-----------------------------
=> phpScheduleIt 2.0
-----------------------------
Off-Topic
-----------------------------
=> Non-phpScheduleIt Discussion
Loading...