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

CSS typos

This commit is contained in:
marj 2009-07-22 12:00:51 +00:00
parent f777f928a8
commit 1eec0f7196
2 changed files with 42 additions and 40 deletions

View File

@ -3,7 +3,7 @@
+ ----------------------------------------------------------------------------+
| e107 website system
|
| ©Steve Dunstan 2001-2002
| ©Steve Dunstan 2001-2002
| http://e107.org
| jalist@e107.org
|
@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/plugin.php,v $
| $Revision: 1.34 $
| $Date: 2009-07-17 07:53:13 $
| $Author: e107coders $
| $Revision: 1.35 $
| $Date: 2009-07-22 12:00:51 $
| $Author: marj_nl_fr $
+----------------------------------------------------------------------------+
*/
@ -664,23 +664,14 @@ class pluginManager{
function pluginRenderList() // Uninstall and Install sorting should be fixed once and for all now !
{
global $plugin,$ns,$frm;
$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>
";
global $plugin, $frm;
$e107 = &e107::getInstance();
if($this->action == "" || $this->action == "installed")
{
$installed = $plugin->getall(1);
$caption = EPL_ADLAN_22;
$text .= $this->pluginRenderPlugin($installed);
$caption = EPL_ADLAN_22;
$pluginRenderPlugin = $this->pluginRenderPlugin($installed);
$button_mode = "uninstall-selected";
$button_caption = EPL_ADLAN_85;
$button_action = "delete";
@ -688,28 +679,41 @@ class pluginManager{
if($this->action == "avail")
{
$uninstalled = $plugin->getall(0);
$caption = EPL_ADLAN_23;
$text .= $this->pluginRenderPlugin($uninstalled);
$caption = EPL_ADLAN_23;
$pluginRenderPlugin = $this->pluginRenderPlugin($uninstalled);
$button_mode = "install-selected";
$button_caption = EPL_ADLAN_84;
$button_action = "update";
}
$text .= "
</tbody>
$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 .= "
</tbody>
</table>";
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 .= "
</fieldset>
</form>
</fieldset>
</form>
";
$emessage = &eMessage::getInstance();
$ns->tablerender(EPL_ADLAN_16." : ".$caption,$emessage->render(). $text);
$emessage = &eMessage::getInstance();
$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'];
$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_title = "";

View File

@ -1,7 +1,7 @@
<?php
/*
* 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
*/
@ -12,7 +12,8 @@ class admin_shortcodes
function sc_admin_credits()
{
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."' />
</div>";
}
@ -112,7 +113,7 @@ class admin_shortcodes
$icon = E_32_CAT_PLUG;
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
{
@ -132,7 +133,7 @@ class admin_shortcodes
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();
parse_str($parm, $params);
@ -181,7 +182,9 @@ class admin_shortcodes
}
}
$text .= "<div><img src='".e_IMAGE_ABS."admin_images/language_16.png' alt='' />&nbsp;";
$text .= "
<div>
<img src='".e_IMAGE_ABS."admin_images/language_16.png' alt='' />&nbsp;";
if(isset($aff))
{
$text .= $sql->mySQLlanguage;
@ -827,7 +830,7 @@ class admin_shortcodes
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);
}
@ -919,11 +922,6 @@ class admin_shortcodes
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)
{
global $sql, $pref, $tp;
@ -1015,7 +1013,7 @@ class admin_shortcodes
{
$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'];
$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);
}
$render_plugins = TRUE;