1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-13 11:06:20 +02:00

Small UI upgrades

This commit is contained in:
CaMer0n
2009-07-01 05:10:23 +00:00
parent fed0499b6b
commit b6ea9839e6

View File

@ -9,9 +9,9 @@
* Plugin Administration - gsitemap * Plugin Administration - gsitemap
* *
* $Source: /cvs_backup/e107_0.8/e107_plugins/gsitemap/admin_config.php,v $ * $Source: /cvs_backup/e107_0.8/e107_plugins/gsitemap/admin_config.php,v $
* $Revision: 1.4 $ * $Revision: 1.5 $
* $Date: 2008-12-20 21:48:06 $ * $Date: 2009-07-01 05:10:23 $
* $Author: e107steved $ * $Author: e107coders $
* *
*/ */
require_once("../../class2.php"); require_once("../../class2.php");
@ -121,33 +121,45 @@ class gsitemap
$text .= " $text .= "
<form action='".e_SELF."' id='display' method='post'> <form action='".e_SELF."' id='display' method='post'>
<table style='".ADMIN_WIDTH."' class='fborder'> <table class='adminlist' cellspacing='0' cellpadding='0'>
<colgroup span='2'>
<tr> <col style='width:5%' />
<td style='width:5%; text-align: center;' class='fcaption'>Id</td> <col style='width:10%' />
<td style='width:10%' class='fcaption'>".GSLAN_25."</td> <col style='width:40%' />
<td style='width:40%' class='fcaption'>".GSLAN_26."</td> <col style='width:20%' />
<td style='width:20%; text-align: center;' class='fcaption'>".GSLAN_27."</td> <col style='width:10%' />
<td style='width:10%; text-align: center;' class='fcaption'>".GSLAN_28."</td> <col style='width:10%' />
<td style='width:10%; text-align: center;' class='fcaption'>".GSLAN_9."</td> <col style='width:5%' />
<td style='width:5%; text-align: center;' class='fcaption'>".LAN_OPTIONS."</td> </colgroup>
</tr> <thead>
<tr class='first last' >
<th style='text-align: center;'>Id</th>
<th>".GSLAN_25."</th>
<th>".GSLAN_26."</th>
<th style='text-align: center'>".GSLAN_27."</th>
<th style='text-align: center' >".GSLAN_28."</th>
<th style='text-align: center' >".GSLAN_9."</th>
<th style='text-align: center'>".LAN_OPTIONS."</th>
</tr>
</thead>
<tbody>
"; ";
$glArray = $sql -> db_getList(); $glArray = $sql -> db_getList();
foreach($glArray as $row2) foreach($glArray as $row2)
{ {
$datestamp = $gen->convert_date($row2['gsitemap_lastmod'], "short"); $datestamp = $gen->convert_date($row2['gsitemap_lastmod'], "short");
$rowStyle = ($rowStyle == "odd") ? "even" : "odd";
$text .= "<tr> $text .= "<tr class='{$rowStyle}'>
<td class='forumheader3' style='; text-align: center;'>".$row2['gsitemap_id'] ."</td> <td style='; text-align: center;'>".$row2['gsitemap_id'] ."</td>
<td class='forumheader3'>".$tp->toHTML($row2['gsitemap_name'],"","defs")."</td> <td>".$tp->toHTML($row2['gsitemap_name'],"","defs")."</td>
<td class='forumheader3'>".$row2['gsitemap_url']."</td> <td>".$row2['gsitemap_url']."</td>
<td class='forumheader3' style='; text-align: center;'>".$datestamp."</td> <td style='; text-align: center;'>".$datestamp."</td>
<td class='forumheader3' style='; text-align: center;'>".$this->freq_list[($row2['gsitemap_freq'])]."</td> <td style='; text-align: center;'>".$this->freq_list[($row2['gsitemap_freq'])]."</td>
<td class='forumheader3' style='; text-align: center;'>".$row2['gsitemap_priority'] ."</td> <td style='; text-align: center;'>".$row2['gsitemap_priority'] ."</td>
<td style='width:50px;white-space:nowrap' class='forumheader3'> <td class='center' style='white-space:nowrap'>
<div> <div>
<input type='image' name='edit[{$row2['gsitemap_id']}]' value='edit' src='".e_IMAGE."packs/".$imode."/admin_images/edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:0px' /> <input type='image' name='edit[{$row2['gsitemap_id']}]' value='edit' src='".e_IMAGE."packs/".$imode."/admin_images/edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:0px' />
<input type='image' name='delete[{$row2['gsitemap_id']}]' value='del' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [".$row2['gsitemap_name']."]")."') \" src='".e_IMAGE."packs/".$imode."/admin_images/delete_16.png' alt='".LAN_DELETE."' title='".LAN_DELETE."' style='border:0px' /> <input type='image' name='delete[{$row2['gsitemap_id']}]' value='del' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [".$row2['gsitemap_name']."]")."') \" src='".e_IMAGE."packs/".$imode."/admin_images/delete_16.png' alt='".LAN_DELETE."' title='".LAN_DELETE."' style='border:0px' />
@ -158,7 +170,7 @@ class gsitemap
} }
} }
$text .= "</table>\n</form><br /><br /><br /></div>"; $text .= "</tbody></table>\n</form><br /><br /><br /></div>";
$ns -> tablerender("<div style='text-align:center'>".GSLAN_24."</div>", $text); $ns -> tablerender("<div style='text-align:center'>".GSLAN_24."</div>", $text);
} }