Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2007-11-22 08:33:30

plugmas.com
Member
Registered: 2007-09-05
Posts: 65

Tip Hiding the Authors List

Im reading a user tip how to hide the list from view here http://textpattern.org/tips/70/hiding-the-authors-list

In the second step editing txp_admin.php on line 210 approximately i must edit:

function author_list()
{
global $myprivs;
+if ($myprivs != 1) return;
$out[] = hed(gTxt(‘authors’),3,’ align=“center”’);
$out[] = startTable(‘list’);

But looking for this line, in textpattern 4.05 i found that the txp_admin.php is diferent :

function author_list() { global $txp_user;

echo n.n.hed(gTxt(‘authors’), 3,’ style=“text-align: center;”’).

n.n.startTable(‘list’).

How to edit correctly?
Thanks

Offline

#2 2007-11-23 17:18:31

plugmas.com
Member
Registered: 2007-09-05
Posts: 65

Re: Tip Hiding the Authors List

please???

Offline

#3 2007-11-23 17:25:53

iblastoff
Plugin Author
From: Toronto
Registered: 2006-06-11
Posts: 1,197
Website

Re: Tip Hiding the Authors List

what exactly are you trying to do? hide the author list from what level of author?

just edit the array in admin_config.php for admin.list.

Offline

#4 2007-11-24 20:48:51

plugmas.com
Member
Registered: 2007-09-05
Posts: 65

Re: Tip Hiding the Authors List

I got it. Thanks

Offline

Board footer

Powered by FluxBB