1
0
mirror of https://github.com/e107inc/e107.git synced 2025-04-19 20:21:51 +02:00

More IMODE removal

This commit is contained in:
CaMer0n 2008-11-14 06:01:06 +00:00
parent 412a68ebf2
commit 3101674e1c
11 changed files with 62 additions and 68 deletions

View File

@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/ad_links.php,v $
| $Revision: 1.5 $
| $Date: 2008-11-14 05:30:31 $
| $Revision: 1.6 $
| $Date: 2008-11-14 06:01:06 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@ -45,22 +45,22 @@ if (!defined('E_16_CAT_PLUG')) {
// Large Category Images
if (!defined('E_32_CAT_SETT')) {
define('E_32_CAT_SETT', "<img src='".e_IMAGE."packs/".$imode."admin_images/cat_settings_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CAT_SETT', "<img src='".e_IMAGE."admin_images/cat_settings_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CAT_USER')) {
define('E_32_CAT_USER', "<img src='".e_IMAGE."packs/".$imode."admin_images/cat_users_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CAT_USER', "<img src='".e_IMAGE."admin_images/cat_users_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CAT_CONT')) {
define('E_32_CAT_CONT', "<img src='".e_IMAGE."packs/".$imode."admin_images/cat_content_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CAT_CONT', "<img src='".e_IMAGE."admin_images/cat_content_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CAT_FILE')) {
define('E_32_CAT_FILE', "<img src='".e_IMAGE."packs/".$imode."admin_images/cat_files_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
define('E_32_CAT_FILE', "<img src='".e_IMAGE."admin_images/cat_files_32.png' alt='' style='border:0px; width: 32px; height: 32px' />");
}
if (!defined('E_32_CAT_TOOL')) {
define('E_32_CAT_TOOL', "<img src='".e_IMAGE."packs/".$imode."admin_images/cat_tools_32.png' alt='' style='border:0px; width:32px; height:32px' />");
define('E_32_CAT_TOOL', "<img src='".e_IMAGE."admin_images/cat_tools_32.png' alt='' style='border:0px; width:32px; height:32px' />");
}
if (!defined('E_32_CAT_PLUG')) {
define('E_32_CAT_PLUG', "<img src='".e_IMAGE."packs/".$imode."admin_images/cat_plugins_32.png' alt='' style='border:0px; width:32px; height:32px' />");
define('E_32_CAT_PLUG', "<img src='".e_IMAGE."admin_images/cat_plugins_32.png' alt='' style='border:0px; width:32px; height:32px' />");
}
// Small Nav Images

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/administrator.php,v $
| $Revision: 1.7 $
| $Date: 2008-10-20 21:52:31 $
| $Author: e107steved $
| $Revision: 1.8 $
| $Date: 2008-11-14 06:01:06 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
require_once('../class2.php');
@ -161,8 +161,8 @@ function show_admins()
if($row['user_id'] != "1")
{
$text .= "
<input type='image' name='edit_admin[{$row['user_id']}]' value='edit' src='".e_IMAGE."packs/".$imode."/admin_images/edit_16.png' title='".LAN_EDIT."' />
<input type='image' name='del_admin[{$row['user_id']}]' value='del' src='".e_IMAGE."packs/".$imode."/admin_images/delete_16.png' onclick=\"return jsconfirm('".$tp->toJS(ADMSLAN_59."? [".$row['user_name']."]")."') \" title='".ADMSLAN_59."' style='border:0px' />";
<input type='image' name='edit_admin[{$row['user_id']}]' value='edit' src='".e_IMAGE."admin_images/edit_16.png' title='".LAN_EDIT."' />
<input type='image' name='del_admin[{$row['user_id']}]' value='del' src='".e_IMAGE."admin_images/delete_16.png' onclick=\"return jsconfirm('".$tp->toJS(ADMSLAN_59."? [".$row['user_name']."]")."') \" title='".ADMSLAN_59."' style='border:0px' />";
}
$text .= "&nbsp;</td>

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/auth.php,v $
| $Revision: 1.4 $
| $Date: 2008-07-17 21:53:51 $
| $Author: e107steved $
| $Revision: 1.5 $
| $Date: 2008-11-14 06:01:06 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@ -136,7 +136,7 @@ class auth
$text .= ">\n
<table style='width:50%' class='fborder'>
<tr>
<td rowspan='4' style='vertical-align:middle;width:65px'>".(file_exists(THEME."images/password.png") ? "<img src='".THEME_ABS."images/password.png' alt='' />\n" : "<img src='".e_IMAGE."packs/".$imode."/generic/password.png' alt='' />\n" )."</td>
<td rowspan='4' style='vertical-align:middle;width:65px'>".(file_exists(THEME."images/password.png") ? "<img src='".THEME_ABS."images/password.png' alt='' />\n" : "<img src='".e_IMAGE."generic/password.png' alt='' />\n" )."</td>
<td style='width:35%' class='forumheader3'>".ADLAN_89."</td>
<td class='forumheader3' style='text-align:center'><input class='tbox' type='text' name='authname' id='username' size='30' value='' maxlength='".varset($pref['loginname_maxlength'],30)."' />\n</td>

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/banlist.php,v $
| $Revision: 1.9 $
| $Date: 2008-01-16 22:18:19 $
| $Author: e107steved $
| $Revision: 1.10 $
| $Date: 2008-11-14 06:01:06 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@ -48,15 +48,15 @@ if (e_QUERY)
unset($tmp);
}
/*
if (varsettrue($imode))
{
$images_path = e_IMAGE.'packs/'.$imode.'/admin_images/';
}
else
{
{*/
$images_path = e_IMAGE.'admin_images/';
}
// }
if (isset($_POST['update_ban_prefs']))

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/frontpage.php,v $
| $Revision: 1.6 $
| $Date: 2008-08-25 15:25:12 $
| $Author: e107steved $
| $Revision: 1.7 $
| $Date: 2008-11-14 06:01:06 $
| $Author: e107coders $
|
+----------------------------------------------------------------------------+
*/
@ -313,8 +313,8 @@ class frontpage
<td class='forumheader3'>".$this->lookup_path($current_value['page'])."</td>
<td class='forumheader3'>".$this->lookup_path($current_value['force'])."</td>
<td class='forumheader3' style='text-align:center'>
<input type='image' src='".e_IMAGE."packs/".$imode."/admin_images/up.png' title='".FRTLAN_47."' value='".$order."' name='fp_inc' />
<input type='image' src='".e_IMAGE."packs/".$imode."/admin_images/down.png' title='".FRTLAN_48."' value='".$order."' name='fp_dec' />
<input type='image' src='".e_IMAGE."admin_images/up.png' title='".FRTLAN_47."' value='".$order."' name='fp_inc' />
<input type='image' src='".e_IMAGE."admin_images/down.png' title='".FRTLAN_48."' value='".$order."' name='fp_dec' />
<input type='image' title='".LAN_EDIT."' name='fp_edit_rule[".$order."]' src='".ADMIN_EDIT_ICON_PATH."' />
<input type='image' title='".LAN_DELETE."' name='fp_delete_rule[".$order."]' src='".ADMIN_DELETE_ICON_PATH."' />
</td>
@ -330,7 +330,7 @@ class frontpage
$ns -> tablerender(FRTLAN_33, $text);
}
function edit_rule($rule_info)

View File

@ -12,9 +12,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
| $Revision: 1.18 $
| $Date: 2008-11-09 20:31:10 $
| $Author: secretr $
| $Revision: 1.19 $
| $Date: 2008-11-14 06:01:06 $
| $Author: e107coders $
+---------------------------------------------------------------+
*/
@ -94,29 +94,29 @@ if (!defined('ADMIN_WIDTH')) {
if (!defined('ADMIN_TRUE_ICON'))
{
define("ADMIN_TRUE_ICON", "<img src='".e_IMAGE_ABS."packs/".$imode."/fileinspector/integrity_pass.png' alt='' style='border:0px; height:16px; width:16px' />");
define("ADMIN_TRUE_ICON_PATH", e_IMAGE."packs/".$imode."/fileinspector/integrity_pass.png");
define("ADMIN_TRUE_ICON", "<img src='".e_IMAGE_ABS."fileinspector/integrity_pass.png' alt='' style='border:0px; height:16px; width:16px' />");
define("ADMIN_TRUE_ICON_PATH", e_IMAGE."fileinspector/integrity_pass.png");
}
if (!defined('ADMIN_FALSE_ICON'))
{
define("ADMIN_FALSE_ICON", "<img src='".e_IMAGE_ABS."packs/".$imode."/fileinspector/integrity_fail.png' alt='' style='border:0px; height:16px; width:16px' />");
define("ADMIN_FALSE_ICON_PATH", e_IMAGE."packs/".$imode."/fileinspector/integrity_fail.png");
define("ADMIN_FALSE_ICON", "<img src='".e_IMAGE_ABS."fileinspector/integrity_fail.png' alt='' style='border:0px; height:16px; width:16px' />");
define("ADMIN_FALSE_ICON_PATH", e_IMAGE."fileinspector/integrity_fail.png");
}
if (!defined('ADMIN_EDIT_ICON'))
{
define("ADMIN_EDIT_ICON", "<img src='".e_IMAGE_ABS."packs/".$imode."/admin_images/edit_16.png' alt='' title='".LAN_EDIT."' style='border:0px; height:16px; width:16px' />");
define("ADMIN_EDIT_ICON_PATH", e_IMAGE."packs/".$imode."/admin_images/edit_16.png");
define("ADMIN_EDIT_ICON", "<img src='".e_IMAGE_ABS."admin_images/edit_16.png' alt='' title='".LAN_EDIT."' style='border:0px; height:16px; width:16px' />");
define("ADMIN_EDIT_ICON_PATH", e_IMAGE."admin_images/edit_16.png");
}
if (!defined('ADMIN_DELETE_ICON'))
{
define("ADMIN_DELETE_ICON", "<img src='".e_IMAGE_ABS."packs/".$imode."/admin_images/delete_16.png' alt='' title='".LAN_DELETE."' style='border:0px; height:16px; width:16px' />");
define("ADMIN_DELETE_ICON_PATH", e_IMAGE."packs/".$imode."/admin_images/delete_16.png");
define("ADMIN_DELETE_ICON", "<img src='".e_IMAGE_ABS."admin_images/delete_16.png' alt='' title='".LAN_DELETE."' style='border:0px; height:16px; width:16px' />");
define("ADMIN_DELETE_ICON_PATH", e_IMAGE."admin_images/delete_16.png");
}
//

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/links.php,v $
| $Revision: 1.13 $
| $Date: 2008-11-02 10:15:31 $
| $Author: e107steved $
| $Revision: 1.14 $
| $Date: 2008-11-14 06:01:06 $
| $Author: e107coders $
|
| links.php?debug shows stored data for each link after name (before constant conversion)
+----------------------------------------------------------------------------+
@ -414,7 +414,7 @@ class links
if ($indent)
{
$subimage = "<img src='".e_IMAGE."packs/".$imode."/admin_images/sublink.png' alt='' />";
$subimage = "<img src='".e_IMAGE."admin_images/sublink.png' alt='' />";
$subspacer = ($indent > 1) ? " style='padding-left: ".(($indent - 1) * 16)."px'" : "";
$subindent = "<td".$subspacer.">".$subimage."</td>";
}
@ -431,15 +431,15 @@ class links
</table>
</td>";
$text .= "<td style='text-align:center; white-space: nowrap' class='forumheader3'>";
$text .= "<a href='".e_SELF."?create.sub.{$link_id}'><img src='".e_IMAGE."packs/".$imode."/admin_images/sublink_16.png' title='".LINKLAN_10."' alt='".LINKLAN_10."' /></a>&nbsp;";
$text .= "<a href='".e_SELF."?create.sub.{$link_id}'><img src='".e_IMAGE."admin_images/sublink_16.png' title='".LINKLAN_10."' alt='".LINKLAN_10."' /></a>&nbsp;";
$text .= "<a href='".e_SELF."?create.edit.{$link_id}'>".ADMIN_EDIT_ICON."</a>&nbsp;";
$text .= "<input type='image' title='".LAN_DELETE."' name='main_delete_{$link_id}' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".$tp->toJS(LCLAN_58." [ $link_name ]")."') \" />";
$text .= "</td>";
$text .= "<td style='text-align:center' class='forumheader3'>".r_userclass("link_class[".$link_id."]", $link_class, "off", "public,guest,nobody,member,admin,classes")."</td>";
$text .= "<td style='text-align:center; white-space: nowrap' class='forumheader3'>";
$name_suffix = URL_SEPARATOR.$link_id.URL_SEPARATOR.$link_order;
$text .= "<input name='inc".$name_suffix."' type='image' src='".e_IMAGE."packs/".$imode."/admin_images/up.png' title='".LCLAN_30."' />";
$text .= "<input name='dec".$name_suffix."' type='image' src='".e_IMAGE."packs/".$imode."/admin_images/down.png' title='".LCLAN_31."' />";
$text .= "<input name='inc".$name_suffix."' type='image' src='".e_IMAGE."admin_images/up.png' title='".LCLAN_30."' />";
$text .= "<input name='dec".$name_suffix."' type='image' src='".e_IMAGE."admin_images/down.png' title='".LCLAN_31."' />";
$text .= "</td>";
$text .= "<td style='text-align:center' class='forumheader3'>";
$text .= "<select name='link_order[]' class='tbox'>\n";

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/mailout.php,v $
| $Revision: 1.10 $
| $Date: 2008-07-28 21:33:27 $
| $Author: e107steved $
| $Revision: 1.11 $
| $Date: 2008-11-14 06:01:06 $
| $Author: e107coders $
|
| Work in progress - supplementary mailer plugin
|
@ -68,14 +68,8 @@ if (!getperms("W"))
include_lan(e_LANGUAGEDIR.e_LANGUAGE."/admin/lan_users.php");
require_once(e_HANDLER."userclass_class.php");
if (varsettrue($imode))
{
$images_path = e_IMAGE.'packs/'.$imode.'/admin_images/';
}
else
{
$images_path = e_IMAGE.'admin_images/';
}
$mail_plugin = FALSE;
@ -970,7 +964,7 @@ function show_mailform($foo="")
"name" => 'shortcode',
"onclick" => 'expandit',
"onclick_var" => "sc_selector",
"icon" => (varsettrue($imode) ? e_IMAGE."packs/".$imode."/bbcode/shortcode.png" : e_IMAGE."generic/bbcode/shortcode.png"),
"icon" => e_IMAGE."generic/bbcode/shortcode.png",
"helptext" => LAN_MAILOUT_11,
"function" => "sc_Select",
"function_var" => "sc_selector"

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/modcomment.php,v $
| $Revision: 1.3 $
| $Date: 2007-03-18 15:00:52 $
| $Author: e107steved $
| $Revision: 1.4 $
| $Date: 2008-11-14 06:01:06 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@ -121,12 +121,12 @@ if (!$sql->db_Select("comments", "*", "(comment_type='".$type."' OR comment_type
$comments .= "
<tr>
<td class='forumheader3' style='width:5%; text-align:center;'>".($row['comment_blocked'] ? "<img src='".e_IMAGE."packs/".$imode."/admin_images/blocked.png' />" : "&nbsp;")."</td>
<td class='forumheader3' style='width:5%; text-align:center;'>".($row['comment_blocked'] ? "<img src='".e_IMAGE."admin_images/blocked.png' />" : "&nbsp;")."</td>
<td class='forumheader3' style='width:15%;'>".$datestamp."</td>
<td class='forumheader3' style='width:15%;'><b>".$comment_nick."</b><br />".$comment_str."</td>
<td class='forumheader3' style='width:40%;'>".$row['comment_comment']."</td>
<td class='forumheader3' style='width:25%;'>
<a href='".e_ADMIN."modcomment.php?{$table}.{$id}.".$row['comment_id']."'><img src='".e_IMAGE."packs/".$imode."/admin_images/edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:none' /></a>"
<a href='".e_ADMIN."modcomment.php?{$table}.{$id}.".$row['comment_id']."'><img src='".e_IMAGE."admin_images/edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:none' /></a>"
."&nbsp;".($row['comment_blocked'] ? "<input type='checkbox' name='comment_unblocked[]' value='".$row['comment_id']."' /> ".MDCLAN_5."" : "<input type='checkbox' name='comment_blocked[]' value='".$row['comment_id']."' /> ".MDCLAN_6."")
."&nbsp;<input type='checkbox' name='comment_delete[]' value='".$row['comment_id']."' /> ".LAN_DELETE."
</td>

View File

@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/upload.php,v $
| $Revision: 1.5 $
| $Date: 2008-10-19 11:35:00 $
| $Author: e107steved $
| $Revision: 1.6 $
| $Date: 2008-11-14 06:01:06 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@ -445,8 +445,8 @@ switch ($action)
<td class='forumheader3'>".$e107->parseMemorySize($upload_filesize)."</td>
<td class='forumheader3'>
<form action='".e_SELF."?dis.{$upload_id}' id='uploadform_{$upload_id}' method='post'>
<div><a href='".e_SELF."?dlm.{$upload_id}'><img src='".e_IMAGE."packs/".$imode."/admin_images/downloads_16.png' alt='".UPLAN_COPYTODLS."' title='".UPLAN_COPYTODLS."' style='border:0' /></a>
<a href='".e_SELF."?news.{$upload_id}'><img src='".e_IMAGE."packs/".$imode."/admin_images/news_16.png' alt='".UPLLAN_16."' title='".UPLLAN_16."' style='border:0' /></a>
<div><a href='".e_SELF."?dlm.{$upload_id}'><img src='".e_IMAGE."admin_images/downloads_16.png' alt='".UPLAN_COPYTODLS."' title='".UPLAN_COPYTODLS."' style='border:0' /></a>
<a href='".e_SELF."?news.{$upload_id}'><img src='".e_IMAGE."admin_images/news_16.png' alt='".UPLLAN_16."' title='".UPLLAN_16."' style='border:0' /></a>
<input type='image' title='".LAN_DELETE."' name='updelete[upload_{$upload_id}]' src='".ADMIN_DELETE_ICON_PATH."' onclick=\"return jsconfirm('".$tp->toJS(UPLLAN_45." [ {$upload_name} ]")."') \"/>
</div></form></td>
</tr>";

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB