- Use existing classes instead of inventing new ones

This commit is contained in:
dave 2009-09-11 06:11:08 +00:00
parent 0cd1876f0f
commit 34c3cb64db

View File

@ -119,7 +119,7 @@ if($_SESSION['embed'] == true) {
echo "<form name=\"fairinfo\" method=\"post\" action=\"$s\">\n";
echo "<input type=\"hidden\" name=\"action\" value=\"save\" />\n";
echo "<input type=\"hidden\" name=\"id\" value=\"{$f['id']}\" />\n";
echo "<table class=\"usereditor\">\n";
echo "<table class=\"tableedit\">\n";
echo '<tr><td class="left">'.i18n('Fair Type').':</td><td class="right">';
echo "<select name=\"type\" id=\"type\" >";
foreach($fair_type as $k=>$o) {
@ -139,7 +139,7 @@ if($_SESSION['embed'] == true) {
/* All upstream stuff */
echo '<div id="upstream">';
echo "<table class=\"usereditor\">\n";
echo "<table class=\"tableedit\">\n";
echo '<tr><td class="left">'.i18n('Upstream URL').':</td><td class="right">';
if($f['url'] == '') $f['url'] = 'http://';
echo "<input type=\"text\" name=\"url\" value=\"{$f['url']}\" size=\"40\" />";