mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 20:57:26 +02:00
CSS typos
This commit is contained in:
@@ -3,7 +3,7 @@
|
|||||||
+ ----------------------------------------------------------------------------+
|
+ ----------------------------------------------------------------------------+
|
||||||
| e107 website system
|
| e107 website system
|
||||||
|
|
|
|
||||||
| <EFBFBD>Steve Dunstan 2001-2002
|
| ©Steve Dunstan 2001-2002
|
||||||
| http://e107.org
|
| http://e107.org
|
||||||
| jalist@e107.org
|
| jalist@e107.org
|
||||||
|
|
|
|
||||||
@@ -11,9 +11,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_admin/plugin.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_admin/plugin.php,v $
|
||||||
| $Revision: 1.34 $
|
| $Revision: 1.35 $
|
||||||
| $Date: 2009-07-17 07:53:13 $
|
| $Date: 2009-07-22 12:00:51 $
|
||||||
| $Author: e107coders $
|
| $Author: marj_nl_fr $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -664,23 +664,14 @@ class pluginManager{
|
|||||||
function pluginRenderList() // Uninstall and Install sorting should be fixed once and for all now !
|
function pluginRenderList() // Uninstall and Install sorting should be fixed once and for all now !
|
||||||
{
|
{
|
||||||
|
|
||||||
global $plugin,$ns,$frm;
|
global $plugin, $frm;
|
||||||
|
$e107 = &e107::getInstance();
|
||||||
$text = "
|
|
||||||
<form action='".e_SELF."?".e_QUERY."' id='pluginmanager_list' method='post'>
|
|
||||||
<fieldset id='core-newspost-list'>
|
|
||||||
<legend class='e-hideme'>".NWSLAN_4."</legend>
|
|
||||||
<table cellpadding='0' cellspacing='0' class='adminlist'>
|
|
||||||
".$frm->colGroup($this->fields,$this->fieldpref).
|
|
||||||
$frm->thead($this->fields,$this->fieldpref)."
|
|
||||||
<tbody>
|
|
||||||
";
|
|
||||||
|
|
||||||
if($this->action == "" || $this->action == "installed")
|
if($this->action == "" || $this->action == "installed")
|
||||||
{
|
{
|
||||||
$installed = $plugin->getall(1);
|
$installed = $plugin->getall(1);
|
||||||
$caption = EPL_ADLAN_22;
|
$caption = EPL_ADLAN_22;
|
||||||
$text .= $this->pluginRenderPlugin($installed);
|
$pluginRenderPlugin = $this->pluginRenderPlugin($installed);
|
||||||
$button_mode = "uninstall-selected";
|
$button_mode = "uninstall-selected";
|
||||||
$button_caption = EPL_ADLAN_85;
|
$button_caption = EPL_ADLAN_85;
|
||||||
$button_action = "delete";
|
$button_action = "delete";
|
||||||
@@ -689,19 +680,32 @@ class pluginManager{
|
|||||||
{
|
{
|
||||||
$uninstalled = $plugin->getall(0);
|
$uninstalled = $plugin->getall(0);
|
||||||
$caption = EPL_ADLAN_23;
|
$caption = EPL_ADLAN_23;
|
||||||
$text .= $this->pluginRenderPlugin($uninstalled);
|
$pluginRenderPlugin = $this->pluginRenderPlugin($uninstalled);
|
||||||
$button_mode = "install-selected";
|
$button_mode = "install-selected";
|
||||||
$button_caption = EPL_ADLAN_84;
|
$button_caption = EPL_ADLAN_84;
|
||||||
$button_action = "update";
|
$button_action = "update";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$text = "
|
||||||
|
<form action='".e_SELF."?".e_QUERY."' id='core-plugin-list-form' method='post'>
|
||||||
|
<fieldset id='core-plugin-list'>
|
||||||
|
<legend class='e-hideme'>".$caption."</legend>
|
||||||
|
<table cellpadding='0' cellspacing='0' class='adminlist'>
|
||||||
|
".$frm->colGroup($this->fields,$this->fieldpref).
|
||||||
|
$frm->thead($this->fields,$this->fieldpref)."
|
||||||
|
<tbody>
|
||||||
|
";
|
||||||
|
|
||||||
|
$text .= $pluginRenderPlugin;
|
||||||
|
|
||||||
$text .= "
|
$text .= "
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>";
|
</table>";
|
||||||
|
|
||||||
if($this->action == "avail")
|
if($this->action == "avail")
|
||||||
{
|
{
|
||||||
$text .= "<div class='buttons-bar left'>".$frm->admin_button($button_mode, $button_caption, $button_action)."</div>";
|
$text .= "
|
||||||
|
<div class='buttons-bar left'>".$frm->admin_button($button_mode, $button_caption, $button_action)."</div>";
|
||||||
}
|
}
|
||||||
$text .= "
|
$text .= "
|
||||||
</fieldset>
|
</fieldset>
|
||||||
@@ -709,7 +713,7 @@ class pluginManager{
|
|||||||
";
|
";
|
||||||
|
|
||||||
$emessage = &eMessage::getInstance();
|
$emessage = &eMessage::getInstance();
|
||||||
$ns->tablerender(EPL_ADLAN_16." : ".$caption,$emessage->render(). $text);
|
$e107->ns->tablerender(EPL_ADLAN_16." : ".$caption, $emessage->render(). $text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -737,7 +741,7 @@ class pluginManager{
|
|||||||
{
|
{
|
||||||
|
|
||||||
$icon_src = (isset($plug_vars['plugin_php']) ? e_PLUGIN : $_path).$plug_vars['administration']['icon'];
|
$icon_src = (isset($plug_vars['plugin_php']) ? e_PLUGIN : $_path).$plug_vars['administration']['icon'];
|
||||||
$plugin_icon = $plug_vars['administration']['icon'] ? "<img src='{$icon_src}' alt='' style='border:0px;vertical-align: bottom; width: 32px; height: 32px' />" : E_32_CAT_PLUG;
|
$plugin_icon = $plug_vars['administration']['icon'] ? "<img src='{$icon_src}' alt='' class='icon S32' />" : E_32_CAT_PLUG;
|
||||||
$conf_file = "#";
|
$conf_file = "#";
|
||||||
$conf_title = "";
|
$conf_title = "";
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
<?php
|
<?php
|
||||||
/*
|
/*
|
||||||
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
|
||||||
* $Id: admin_shortcodes_class.php,v 1.16 2009-07-22 06:36:02 e107coders Exp $
|
* $Id: admin_shortcodes_class.php,v 1.17 2009-07-22 12:00:51 marj_nl_fr Exp $
|
||||||
*
|
*
|
||||||
* Admin shortcode batch - class
|
* Admin shortcode batch - class
|
||||||
*/
|
*/
|
||||||
@@ -12,7 +12,8 @@ class admin_shortcodes
|
|||||||
function sc_admin_credits()
|
function sc_admin_credits()
|
||||||
{
|
{
|
||||||
if (!ADMIN) { return ''; }
|
if (!ADMIN) { return ''; }
|
||||||
return "<div style='text-align: center'>
|
return "
|
||||||
|
<div style='text-align: center'>
|
||||||
<input class='button' type='button' onclick=\"javascript: window.open('".e_ADMIN."credits.php', 'myWindow', 'status = 1, height = 400, width = 300, resizable = 0')\" value='".LAN_CREDITS."' />
|
<input class='button' type='button' onclick=\"javascript: window.open('".e_ADMIN."credits.php', 'myWindow', 'status = 1, height = 400, width = 300, resizable = 0')\" value='".LAN_CREDITS."' />
|
||||||
</div>";
|
</div>";
|
||||||
}
|
}
|
||||||
@@ -112,7 +113,7 @@ class admin_shortcodes
|
|||||||
$icon = E_32_CAT_PLUG;
|
$icon = E_32_CAT_PLUG;
|
||||||
return $icon;
|
return $icon;
|
||||||
}
|
}
|
||||||
$icon = ($eplug_icon && file_exists(e_PLUGIN.$eplug_icon)) ? "<img src='".e_PLUGIN.$eplug_icon."' alt='' style='border:0px; width: 32px; height: 32px' />" : E_32_CAT_PLUG;
|
$icon = ($eplug_icon && file_exists(e_PLUGIN.$eplug_icon)) ? "<img src='".e_PLUGIN.$eplug_icon."' alt='' class='icon S32' />" : E_32_CAT_PLUG;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -132,7 +133,7 @@ class admin_shortcodes
|
|||||||
|
|
||||||
if (!ADMIN || !$pref['multilanguage']) { return ''; }
|
if (!ADMIN || !$pref['multilanguage']) { return ''; }
|
||||||
|
|
||||||
include_lan(e_PLUGIN.'user_menu/languages/English.php');
|
include_lan(e_PLUGIN.'user_menu/languages/'.e_LANGUAGE.'.php');
|
||||||
$params = array();
|
$params = array();
|
||||||
parse_str($parm, $params);
|
parse_str($parm, $params);
|
||||||
|
|
||||||
@@ -181,7 +182,9 @@ class admin_shortcodes
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$text .= "<div><img src='".e_IMAGE_ABS."admin_images/language_16.png' alt='' /> ";
|
$text .= "
|
||||||
|
<div>
|
||||||
|
<img src='".e_IMAGE_ABS."admin_images/language_16.png' alt='' /> ";
|
||||||
if(isset($aff))
|
if(isset($aff))
|
||||||
{
|
{
|
||||||
$text .= $sql->mySQLlanguage;
|
$text .= $sql->mySQLlanguage;
|
||||||
@@ -827,7 +830,7 @@ class admin_shortcodes
|
|||||||
|
|
||||||
if($flo = $sql->db_Count('generic', '(*)', "WHERE gen_type='failed_login'"))
|
if($flo = $sql->db_Count('generic', '(*)', "WHERE gen_type='failed_login'"))
|
||||||
{
|
{
|
||||||
$text .= "<img src='".e_IMAGE."admin_images/failedlogin_16.png' alt='' style='vertical-align: middle;' /> <a href='".e_ADMIN."fla.php'>".ADLAN_146.": $flo</a>";
|
$text .= "<img src='".e_IMAGE."admin_images/failedlogin_16.png' alt='' class='icon S16' /> <a href='".e_ADMIN."fla.php'>".ADLAN_146.": $flo</a>";
|
||||||
}
|
}
|
||||||
return $ns -> tablerender(ADLAN_134, $text, '', TRUE);
|
return $ns -> tablerender(ADLAN_134, $text, '', TRUE);
|
||||||
}
|
}
|
||||||
@@ -919,11 +922,6 @@ class admin_shortcodes
|
|||||||
|
|
||||||
function sc_admin_alt_nav($parm)
|
function sc_admin_alt_nav($parm)
|
||||||
{
|
{
|
||||||
/*
|
|
||||||
* e107 website system (c) 2001-2008 Steve Dunstan (e107.org)
|
|
||||||
* $Id: admin_shortcodes_class.php,v 1.16 2009-07-22 06:36:02 e107coders Exp $
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (ADMIN)
|
if (ADMIN)
|
||||||
{
|
{
|
||||||
global $sql, $pref, $tp;
|
global $sql, $pref, $tp;
|
||||||
@@ -1015,7 +1013,7 @@ class admin_shortcodes
|
|||||||
{
|
{
|
||||||
$plug_vars['@attributes']['name'] = $tp->toHTML($plug_vars['@attributes']['name'], FALSE, "defs");
|
$plug_vars['@attributes']['name'] = $tp->toHTML($plug_vars['@attributes']['name'], FALSE, "defs");
|
||||||
$icon_src = (isset($plug_vars['plugin_php']) ? e_PLUGIN_ABS : e_PLUGIN_ABS.$row['plugin_path'].'/') .$plug_vars['administration']['iconSmall'];
|
$icon_src = (isset($plug_vars['plugin_php']) ? e_PLUGIN_ABS : e_PLUGIN_ABS.$row['plugin_path'].'/') .$plug_vars['administration']['iconSmall'];
|
||||||
$plugin_icon = $plug_vars['administration']['iconSmall'] ? "<img src='{$icon_src}' alt='".$plug_vars['administration']['caption']."' style='border:0px; vertical-align:bottom; width: 16px; height: 16px' />" : E_16_PLUGIN;
|
$plugin_icon = $plug_vars['administration']['iconSmall'] ? "<img src='{$icon_src}' alt='".$plug_vars['administration']['caption']."' class='icon S16' />" : E_16_PLUGIN;
|
||||||
$plugin_array[ucfirst($plug_vars['@attributes']['name'])] = adnav_main($plug_vars['@attributes']['name'], e_PLUGIN.$row['plugin_path']."/".$plug_vars['administration']['configFile'], $plugin_icon);
|
$plugin_array[ucfirst($plug_vars['@attributes']['name'])] = adnav_main($plug_vars['@attributes']['name'], e_PLUGIN.$row['plugin_path']."/".$plug_vars['administration']['configFile'], $plugin_icon);
|
||||||
}
|
}
|
||||||
$render_plugins = TRUE;
|
$render_plugins = TRUE;
|
||||||
|
Reference in New Issue
Block a user