I just downloaded and installed Sourcerer and so far I like the functionality provided. I have one small issue however. It appears it is producing an errant slash in my output. Example:
<table>
<tr><td>Domain:</td><td> <input type="text" name="domain" value="" size="20" /></td></tr>
<tr><td>Username: </td><td><input type="text" name="username" value="" size="20" /></td></tr>
<tr><td>Password:</td><td><input type="password" name="pass" value="" size="20" /></td>/<tr>
<?php
// This failurl allows cPanel to redirect back to this site
echo '<input type="hidden" name="failurl" value="http://'.$_SERVER['HTTP_HOST'].$_SERVER['PHP_SELF'].'?failed=1">';
?>
<tr><td>Options:</td><td><select name="port">
<option value="2082">cPanel </option>
<option value="2083">Secure cPanel </option>
<option value="2095">Webmail</option>
<option value="2096">Secure Webmail</option>
</select></td></tr></table>
<input type="submit" value="Login" />
</form>{/source}
Produces:
Login to Your Site!
Login to your cPanel account or check your WebMail here!
/ <---------------Here's the issue.
Domain: an input box here
Username: an input box here
Password: an input box here
Options: an input box here
Login
I've tried removing all spaces in the original text between all portions of the code to make sure there was no misinterpreted pattern. I've deleted the "Login to your cPanel account or check your WebMail here!" and "<form action="cpanelLogin.php" method="POST">
<?php if(($_GET['failed'] == "1") or ($error == 1)){
echo '<font color="#FF0000">Your login attempt failed!</font><br ./>';}?>" portions completely to make sure it wasn't something goofy going on in the code. Still no luck.
The source produced is:
<div class="moduletable">
<h3>Login to Your Site!</h3>
<p>Login to your cPanel account or check your WebMail
here!
</p><form action="cpanelLogin.php" method="post">
/<table>
<tbody><tr><td>Domain:</td><td> <input name="domain" value="" size="20" type="text"></td></tr>
<tr><td>Username: </td><td><input name="username" value="" size="20" type="text"></td></tr>
<tr><td>Password:</td><td><input name="pass" value="" size="20" type="password"></td></tr><tr>
<div class="moduletable">
<h3>Login to Your Site!</h3>
<p>Login to your cPanel account or check your WebMail
here!
</p><form action="cpanelLogin.php" method="post">
/<table>
<tbody><tr><td>Domain:</td><td> <input name="domain" value="" size="20" type="text"></td></tr>
<tr><td>Username: </td><td><input name="username" value="" size="20" type="text"></td></tr>
<tr><td>Password:</td><td><input name="pass" value="" size="20" type="password"></td></tr><tr>
<input name="failurl" value="http://www.horizontechnologygroup.com/index.php?failed=1" type="hidden">
</tr><tr><td>Options:</td><td><select name="port">
<option value="2082">cPanel </option>
<option value="2083">Secure cPanel </option>
<option value="2095">Webmail</option>
<option value="2096">Secure Webmail</option>
</select></td></tr></tbody></table>
<input value="Login" type="submit">
</form><br><br mce_bogus="1"></div>
<input name="failurl" value="http://www.horizontechnologygroup.com/index.php?failed=1" type="hidden">
</tr><tr><td>Options:</td><td><select name="port">
<option value="2082">cPanel </option>
<option value="2083">Secure cPanel </option>
<option value="2095">Webmail</option>
<option value="2096">Secure Webmail</option>
</select></td></tr></tbody></table>
<input value="Login" type="submit">
</form><br><br mce_bogus="1"></div>
For some strange reason, that '/' keeps showing up right before the <table> tag...
Is it something anyone has seen? A bug maybe? Or maybe just something a fresh set of eyes can cure for me
