1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Updated interface icons to match those in 0.7.

This commit is contained in:
CaMer0n 2008-11-14 03:28:31 +00:00
parent cca780f689
commit 5ee915e7be

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/db.php,v $
| $Revision: 1.5 $
| $Date: 2008-10-20 21:52:32 $
| $Author: e107steved $
| $Revision: 1.6 $
| $Date: 2008-11-14 03:28:31 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@ -166,7 +166,8 @@ function optimizesql($mySQLdefaultdb) {
function plugin_viewscan()
{
$error_messages = array(0 => DBLAN_31, 1 =>"<b>".DBLAN_32."</b>", 2 =>"<strong>".DBLAN_33."</strong>", 3 => DBLAN_34);
$error_messages = array(0 => DBLAN_31, 1 =>DBLAN_32, 2 =>DBLAN_33, 3 => DBLAN_34);
$error_image = array("integrity_pass.png","integrity_fail.png","warning.png","blank.png");
global $sql, $pref, $ns, $tp;
require_once(e_HANDLER."plugin_class.php");
@ -181,13 +182,14 @@ function plugin_viewscan()
<tr><td class='fcaption'>".DBLAN_24."</td>
<td class='fcaption'>".DBLAN_25."</td>
<td class='fcaption'>".DBLAN_26."<br />".DBLAN_30."</td>
<td class='fcaption'>".DBLAN_27."</td>";
<td class='fcaption'>".DBLAN_27."</td>
</tr>";
$sql -> db_Select("plugin", "*", "plugin_id !='' order by plugin_path ASC"); // Must order by path to pick up duplicates. (plugin names may change).
while($row = $sql-> db_Fetch())
{
$text .= "<tr>
<td class='forumheader3'>".$tp->toHtml($row['plugin_name'],FALSE,"defs")."</td>
<td class='forumheader3'>".$tp->toHtml($row['plugin_name'],FALSE,"defs,emotes_off")."</td>
<td class='forumheader3'>".$row['plugin_path']."</td>
<td class='forumheader3'>";
@ -202,8 +204,10 @@ function plugin_viewscan()
// echo "Checking: ".$row['plugin_path'].":".$this_addon."<br />";
$ret_code = $ep->checkAddon($row['plugin_path'],$this_addon); // See whether spaces before opening tag or after closing tag
}
$text .= $nl_code.$this_addon." - ".$error_messages[$ret_code]; // $ret_code - 0=OK, 1=content error, 2=access error
$nl_code = "<br />";
$text .= "<div style='border-bottom:1px dotted #cccccc'>";
$text .= "<img src='".e_IMAGE."fileinspector/".$error_image[$ret_code]."' alt=\"".$error_messages[$ret_code]."\" title=\"".$error_messages[$ret_code]."\" style='vertical-align:middle;height:16px;width:16px' />\n";
$text .= trim($this_addon); // $ret_code - 0=OK, 1=content error, 2=access error
$text .= "</div>";
}
}