| Index
» Projekty
» phpMyEdit
» Fórum
» Navigation Link Text? |
 |
EoN
Založený: 06.09.2007
Príspevky: 3
Zaslal: 2007-09-06 15:22
Návrat hore
Odpovedať s citátom
|
Hi,
Firstly thank you for a fantastic script! It's a really great way to set up a quick maintenance page for a database table. You've done a good job :)
One quick question. I changed my $opts['navigation'] to include the 'T' (text links) switch instead of the 'B' (buttons). This works ok, and it displays a hyperlink with the text 'V' in the first column that can be clicked to VIEW the corresponding record.
My question is, can the TEXT of this link be changed to be 'View' (or something else customised) instead of just 'V'?
Thanks for your help!
Regards,
EoN
|
derick
Založený: 23.08.2007
Príspevky: 4
Zaslal: 2007-09-07 18:09
Návrat hore
Odpovedať s citátom
|
EoN,
To do this, you have to edit the main class of PME : phpMyEdit.class (be carefull - take a copy of this class before changes! ;-))
For version 5.6 (for version 5.7, I don't know, it has just been released), goto to line 2337 :
Before change :
| Kód: |
echo '<a href="',$viewQuery,'" title="',$viewTitle,'" class="',$css_class_name,'">V</a>';
|
After change :
| Kód: |
echo '<a href="',$viewQuery,'" title="',$viewTitle,'" class="',$css_class_name,'">View</a>';
|
Do the same for the next lines (Change, Copy ...)
Derick
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|
|