kingdommedia

Member
Mar 1, 2007
6
0
151
I am currently modifing the monsoon theme and trying to put a more finished look on mail account page.

I found several threads describing cpanel tags, but I wanted to go further and add some php to the /usr/local/cpanel/base/frontend/monsoon/mail/pops.html page.

The purpose is to breakup the <cpanel Email="listpops()"> email list into an array and then cycle through the array and provide a cleaner tabular look with custom options

I have already added AddType application/x-httpd-php .html in the httpd.conf so html files will parse php code, but when adding php to the pops.html it displays it to the screen, even though client html pages within their home directory work fine.:confused:

Is there something I forgot to do or is there something else I should modify first?

snippit
<td class="mailLabel">Delete</td></tr>
<?php echo phpinfo(); ?>
<cpanel Email="listpops()">