Page 1 of 1

How/where to edit Admin area labels

Posted: Sat Mar 03, 2007 2:47 am
by Ulysses
I ned to edit some Admin area labels and add some explanations next to the fields. Where do I make changes to the Add New Content and Edit Content panels?

Here's a screengrab of the panel in Add New Content > Main as an example.

Thanks.

[gelöscht durch Administrator]

Re: How/where to edit Admin area labels

Posted: Sat Mar 03, 2007 12:24 pm
by chrisl
To change the admin labels go to

/admin/lang/en_US/admin.inc.php

and change

$lang['admin']['title'] = 'Title';

This will of course change every instance of the variable 'title' but you can change the variable and put it into admin/addcontent.php

to put new text is a little trickier but try this

in the admin/addcontent.php file look for (about line 444)

Code: Select all

<div class="pageoverflow">
					<p class="pagetext"><?php echo $contentarray[$i][0]; ?></p>
					<p class="pageinput"><?php echo $contentarray[$i][1]; ?></p>
				</div>
and change to

Code: Select all

<div class="pageoverflow">
					<?php if ($i == 0 & $currenttab == 0 )	{
					$extratext = ' put your new text here';
					} else {
					$extratext = '';
					}
					?>
					<p class="pagetext"><?php echo $contentarray[$i][0]; ?></p>
					<p class="pageinput"><?php echo $contentarray[$i][1] .$extratext; ?></p>
				</div>
Not tested for all ramifications and please back up all files before changing