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

Some notice removal, css cleanup and an alternate admin style-sheet added for testing purposes. (test png transparency) - see _blank

This commit is contained in:
CaMer0n
2009-07-15 09:38:00 +00:00
parent 95d2c3b8a3
commit 8a680030c3
11 changed files with 789 additions and 190 deletions

View File

@@ -12,8 +12,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/header.php,v $
| $Revision: 1.33 $
| $Date: 2009-07-14 11:05:49 $
| $Revision: 1.34 $
| $Date: 2009-07-15 09:37:59 $
| $Author: e107coders $
+---------------------------------------------------------------+
*/
@@ -89,7 +89,7 @@ if (file_exists(e_LANGUAGEDIR.e_LANGUAGE.'/admin/lan_footer.php')) {
@include_once(e_LANGUAGEDIR.'English/admin/lan_footer.php');
}
if (!defined('ADMIN_WIDTH')) {
define('ADMIN_WIDTH', "width: 95%' class='adminlist");
define('ADMIN_WIDTH', "width: 95%");
}
if (!defined('ADMIN_TRUE_ICON'))
@@ -690,7 +690,7 @@ if (strpos(e_SELF.'?'.e_QUERY, 'menus.php?configure') === FALSE) {
$sql->db_Mark_Time('(End: Parse Admin Header)');
}
if(!is_object($emessage))
if(!varset($emessage) && !is_object($emessage))
{
require_once(e_HANDLER."message_handler.php");
$emessage = &eMessage::getInstance();

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/mailout.php,v $
| $Revision: 1.14 $
| $Date: 2009-07-14 11:05:49 $
| $Revision: 1.15 $
| $Date: 2009-07-15 09:37:59 $
| $Author: e107coders $
|
| Work in progress - supplementary mailer plugin
@@ -386,14 +386,14 @@ Table data:
// --------------
$text .= "
<div>
<table class='fborder'>
<colgroup>
<col style='width:25%' />
<col style='width:75%' />
</colgroup>
<table cellpadding='0' cellspacing='0' class='adminform'>
<colgroup span='2'>
<col class='col-label' />
<col class='col-control' />
</colgroup>
<tr>
<td class='forumheader3'>".LAN_MAILOUT_01." / ".LAN_MAILOUT_02."</td>
<td class='forumheader3'>".$_POST['email_from_name']." &lt;".$_POST['email_from_email']."&gt;</td>
<td>".LAN_MAILOUT_01." / ".LAN_MAILOUT_02."</td>
<td>".$_POST['email_from_name']." &lt;".$_POST['email_from_email']."&gt;</td>
</tr>";
@@ -402,7 +402,7 @@ Table data:
{
if ($m->mailer_enabled)
{
$text .= "<tr><td class='forumheader3'>".$m->mailer_name."</td><td class='forumheader3'>".$m->show_select(FALSE)."</td></tr>";
$text .= "<tr><td>".$m->mailer_name."</td><td>".$m->show_select(FALSE)."</td></tr>";
}
}
@@ -410,20 +410,20 @@ Table data:
// Support 'cc' and 'bcc' as standard mailout addresses
$text .= ($_POST['email_cc']) ? "
<tr>
<td class='forumheader3'>".LAN_MAILOUT_04."</td>
<td class='forumheader3'>".$_POST['email_cc']."&nbsp;</td>
<td>".LAN_MAILOUT_04."</td>
<td>".$_POST['email_cc']."&nbsp;</td>
</tr>": "";
$text .= ($_POST['email_bcc']) ? "
<tr>
<td class='forumheader3'>".LAN_MAILOUT_05."</td>
<td class='forumheader3'>".$_POST['email_bcc']."&nbsp;</td>
<td>".LAN_MAILOUT_05."</td>
<td>".$_POST['email_bcc']."&nbsp;</td>
</tr>": "";
$text .= "
<tr>
<td class='forumheader3'>".LAN_MAILOUT_51."</td>
<td class='forumheader3'>".$_POST['email_subject']."&nbsp;</td>
<td>".LAN_MAILOUT_51."</td>
<td>".$_POST['email_subject']."&nbsp;</td>
</tr>";
// Attachment
@@ -431,21 +431,21 @@ Table data:
{
$text .= "
<tr>
<td class='forumheader3'>".LAN_MAILOUT_07."</td>
<td class='forumheader3'>".$email_data['attach']."&nbsp;</td>
<td>".LAN_MAILOUT_07."</td>
<td>".$email_data['attach']."&nbsp;</td>
</tr>";
}
// Figures - number of emails to send, number of duplicates stripped
$text .= "
<tr>
<td class='forumheader3'>".LAN_MAILOUT_71."</td>
<td class='forumheader3'> ".$c." ".LAN_MAILOUT_69.$dups.LAN_MAILOUT_70."</td>
<td>".LAN_MAILOUT_71."</td>
<td> ".$c." ".LAN_MAILOUT_69.$dups.LAN_MAILOUT_70."</td>
</tr>";
// Email text
$text .="<tr>
<td class='forumheader3' colspan='2'>".stripslashes($tp->toHTML($_POST['email_body'],TRUE))."</td>
<td colspan='2'>".stripslashes($tp->toHTML($_POST['email_body'],TRUE))."</td>
</tr>
</table>
@@ -601,16 +601,16 @@ function showMailouts($sub_par,$mail_id)
<col style='width:75%' />
</colgroup>\n
<tr>
<td class='forumheader3'>".LAN_MAILOUT_51."</td>
<td class='forumheader3'>".$mail['email_subject']."</td>
<td>".LAN_MAILOUT_51."</td>
<td>".$mail['email_subject']."</td>
</tr>\n
<tr>
<td class='forumheader3'>".LAN_MAILOUT_103."</td>
<td class='forumheader3'>".(isset($mail['send_results']) ? implode('<br />',$mail['send_results']) : LAN_MAILOUT_104)."</td>
<td>".LAN_MAILOUT_103."</td>
<td>".(isset($mail['send_results']) ? implode('<br />',$mail['send_results']) : LAN_MAILOUT_104)."</td>
</tr>\n";
if ($sql->db_Select('generic','gen_id,gen_datestamp,gen_chardata',"`gen_datestamp`={$mail_id} AND `gen_type`='sendmail'"))
{
$text .= "<tr><td class='forumheader3'>".LAN_MAILOUT_105."</td><td class='forumheader3'>";
$text .= "<tr><td>".LAN_MAILOUT_105."</td><td>";
$spacer = '';
$i = 0;
while (($row = $sql->db_Fetch()) && ($i < 10))
@@ -668,12 +668,12 @@ function showMailouts($sub_par,$mail_id)
<col style='width:75%' />
</colgroup>\n
<tr>
<td class='forumheader3'>".LAN_MAILOUT_51."</td>
<td class='forumheader3'>".$mail['email_subject']."</td>
<td>".LAN_MAILOUT_51."</td>
<td>".$mail['email_subject']."</td>
</tr>\n
<tr>
<td class='forumheader3'>".LAN_MAILOUT_100."</td>
<td class='forumheader3'>".$mail['email_body']."</td>
<td>".LAN_MAILOUT_100."</td>
<td>".$mail['email_body']."</td>
</tr>\n
</table>
";
@@ -761,13 +761,13 @@ function showMailouts($sub_par,$mail_id)
if ($row['pending']) $emails_found[$row['gen_datestamp']] = $row['pending']; // Log the mailshot in a list if any emails to go
$text .= "<tr>
<td class='forumheader3' >".$row['gen_datestamp'] ."</td>
<td class='forumheader3'>".$datestamp."</td>
<td class='forumheader3'>".$row['user_name']."</td>
<td class='forumheader3'>".$row['gen_ip']."</td>
<td class='forumheader3'>".$row['gen_intdata']."</td>
<td class='forumheader3'>".$row['pending']."</td>
<td style='width:50px;white-space:nowrap' class='forumheader3'>
<td >".$row['gen_datestamp'] ."</td>
<td>".$datestamp."</td>
<td>".$row['user_name']."</td>
<td>".$row['gen_ip']."</td>
<td>".$row['gen_intdata']."</td>
<td>".$row['pending']."</td>
<td style='width:50px;white-space:nowrap'>
<div>";
$text .= "<a href='".e_SELF."?mailouts.detail.{$row['gen_datestamp']}'><img src='".$images_path."search_16.png' alt='".LAN_MAILOUT_109."' title='".LAN_MAILOUT_109."' style='border:0px' /></a>";
if ($row['pending'])
@@ -816,9 +816,9 @@ function showMailouts($sub_par,$mail_id)
if (!isset($emails_found[$row['gen_datestamp']]))
{
$text .= "<tr>
<td class='forumheader3' >".$row['gen_datestamp'] ."</td>
<td class='forumheader3'>".$row['pending']."</td>
<td style='white-space:nowrap' class='forumheader3'>
<td >".$row['gen_datestamp'] ."</td>
<td>".$row['pending']."</td>
<td style='white-space:nowrap'>
<div>
<a href='".e_SELF."?mailouts.orphans.{$row['gen_datestamp']}' onclick=\"return jsconfirm('".$tp->toJS(LAN_CONFIRMDEL." [".$row['gen_datestamp']."]")."') \"><img src='".$images_path."delete_16.png' alt='".LAN_DELETE."' title='".LAN_DELETE."' style='border:0px' /></a>
</div>
@@ -857,16 +857,16 @@ function show_mailform($foo="")
}
$debug = (e_MENU == "debug") ? "?[debug]" : "";
$text .= "<div style='".ADMIN_WIDTH."; text-align:center'>
$text .= "<div>
<form method='post' action='".e_SELF.$debug."' id='mailout_form'>
<table class='fborder' style='".ADMIN_WIDTH."' cellpadding='0' cellspacing='0'>
<colgroup>
<col style='width:25%' />
<col style='width:75%' />
<table cellpadding='0' cellspacing='0' class='adminform'>
<colgroup span='2'>
<col class='col-label' />
<col class='col-control' />
</colgroup>
<tr>
<td class='forumheader3'>".LAN_MAILOUT_01.": </td>
<td class='forumheader3'>
<td>".LAN_MAILOUT_01.": </td>
<td>
<input type='text' name='email_from_name' class='tbox' style='width:80%' size='10' value=\"".varset($_POST['email_from_name'],USERNAME)."\" />
</td>
</tr>";
@@ -874,8 +874,8 @@ function show_mailform($foo="")
$text .="
<tr>
<td class='forumheader3'>".LAN_MAILOUT_02.": </td>
<td class='forumheader3'>
<td>".LAN_MAILOUT_02.": </td>
<td >
<input type='text' name='email_from_email' class='tbox' style='width:80%' value=\"".varset($_POST['email_from_email'],USEREMAIL)."\" />
</td>
</tr>";
@@ -886,7 +886,7 @@ function show_mailform($foo="")
{
if ($m->mailer_enabled)
{
$text .= "<tr><td class='forumheader3'>".$m->mailer_name."</td><td class='forumheader3'>".$m->show_select(TRUE)."</td></tr>";
$text .= "<tr><td>".$m->mailer_name."</td><td>".$m->show_select(TRUE)."</td></tr>";
}
}
@@ -895,15 +895,15 @@ function show_mailform($foo="")
// CC, BCC
$text .= "
<tr>
<td class='forumheader3'>".LAN_MAILOUT_04.": </td>
<td class='forumheader3'>
<td>".LAN_MAILOUT_04.": </td>
<td >
<input type='text' name='email_cc' class='tbox' style='width:80%' value=\"".$_POST['email_cc']."\" />
</td>
</tr>
<tr>
<td class='forumheader3'>".LAN_MAILOUT_05.": </td>
<td class='forumheader3'>
<td>".LAN_MAILOUT_05.": </td>
<td >
<input type='text' name='email_bcc' class='tbox' style='width:80%' value='{$email_bcc}' />
</td>
</tr>";
@@ -912,17 +912,17 @@ function show_mailform($foo="")
// Close one table, open another - to give a boundary between addressees and content
$text .= "</table>
<table class='fborder' style='".ADMIN_WIDTH."' cellpadding='0' cellspacing='0'>
<colgroup>
<col style='width:25%' />
<col style='width:75%' />
<table cellpadding='0' cellspacing='0' class='adminform'>
<colgroup span='2'>
<col class='col-label' />
<col class='col-control' />
</colgroup>";
// Subject
$text .= "
<tr>
<td class='forumheader3'>".LAN_MAILOUT_51.": </td>
<td class='forumheader3'>
<td>".LAN_MAILOUT_51.": </td>
<td>
<input type='text' name='email_subject' class='tbox' style='width:80%' value='{$email_subject}' />
</td>
</tr>";
@@ -930,8 +930,8 @@ function show_mailform($foo="")
// Attachment.
$text .= "<tr>
<td class='forumheader3'>".LAN_MAILOUT_07.": </td>
<td class='forumheader3'>";
<td>".LAN_MAILOUT_07.": </td>
<td >";
$text .= "<select class='tbox' name='email_attachment' >
<option value=''>&nbsp;</option>\n";
$sql->db_Select("download", "download_url,download_name", "download_id !='' ORDER BY download_name");
@@ -950,22 +950,22 @@ function show_mailform($foo="")
$text .= "
<tr>
<td class='forumheader3'>".LAN_MAILOUT_09.": </td>
<td class='forumheader3'>
<td>".LAN_MAILOUT_09.": </td>
<td >
<input type='checkbox' name='use_theme' value='1' />
</td>
</tr>
<tr>
<td colspan='2' class='forumheader3'>
<textarea rows='10' cols='20' id='email_body' name='email_body' class='e-wysiwyg tbox' style='width:100%;height:200px' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'>".$email_body."</textarea>
<td colspan='2' >
<textarea rows='10' cols='20' id='email_body' name='email_body' class='e-wysiwyg tbox' style='width:80%;height:200px' onselect='storeCaret(this);' onclick='storeCaret(this);' onkeyup='storeCaret(this);'>".$email_body."</textarea>
</td>
</tr>";
$text .="
<tr>
<td style='width:100%' class='forumheader3' colspan='2'>
<div style='width:100%;text-align:center;vertical-align: middle;' >";
<td colspan='2'>
<div>";
global $eplug_bb;
@@ -990,11 +990,11 @@ function show_mailform($foo="")
$text .="
</div></td>
</tr>";
</tr>
</table> ";
$text .= "<tr style='vertical-align:top'>
<td colspan='2' style='text-align:center' class='forumheader'>";
$text .= "<div class='buttons-bar center'>";
if(isset($_POST['edit'])){
$text .= "<input type='hidden' name='update_id' value='".$email_id."' />";
$text .= "<input class='button' type='submit' name='update_email' value=\"".LAN_UPDATE."\" />";
@@ -1004,9 +1004,8 @@ function show_mailform($foo="")
$text .="&nbsp;<input class='button' type='submit' name='submit' value=\"".LAN_MAILOUT_08."\" />
</td>
</tr>
</table>
</div>
</form>
</div>";
@@ -1023,22 +1022,22 @@ function show_prefs()
global $pref,$ns;
$text = "
<form method='post' action='".e_SELF."?".e_QUERY."' id='mailsettingsform'>
<div id='mail' style='text-align:center;'>
<table style='".ADMIN_WIDTH."' class='fborder'>
<colgroup>
<col style='width:30%' />
<col style='width:70%' />
<div id='mail'>
<table cellpadding='0' cellspacing='0' class='adminform'>
<colgroup span='2'>
<col class='col-label' />
<col class='col-control' />
</colgroup>
<tr>
<td class='forumheader3'>".LAN_MAILOUT_110."<br /></td>
<td class='forumheader3' style='text-align:right'><input class='button' type='submit' name='testemail' value=\"".LAN_MAILOUT_112."\" />&nbsp;
<td>".LAN_MAILOUT_110."<br /></td>
<td style='text-align:right'><input class='button' type='submit' name='testemail' value=\"".LAN_MAILOUT_112."\" />&nbsp;
<input name='testaddress' class='tbox' type='text' size='40' maxlength='80' value=\"".SITEADMINEMAIL."\" />
</td>
</tr>
<tr>
<td style='vertical-align:top' class='forumheader3'>".LAN_MAILOUT_115."<br /><span class='smalltext'>".LAN_MAILOUT_116."</span></td>
<td style='text-align:right' class='forumheader3'>
<td style='vertical-align:top'>".LAN_MAILOUT_115."<br /><span class='smalltext'>".LAN_MAILOUT_116."</span></td>
<td style='text-align:right'>
<select class='tbox' name='mailer' onchange='disp(this.value)'>\n";
$mailers = array("php","smtp","sendmail");
foreach($mailers as $opt)
@@ -1125,8 +1124,8 @@ $text = "
</tr>
<tr>
<td class='forumheader3'>".LAN_MAILOUT_25."</td>
<td class='forumheader3' style='text-align: right;'> ".LAN_MAILOUT_26."
<td>".LAN_MAILOUT_25."</td>
<td style='text-align: right;'> ".LAN_MAILOUT_26."
<input class='tbox' size='3' type='text' name='mail_pause' value='".$pref['mail_pause']."' /> ".LAN_MAILOUT_27.
"<input class='tbox' size='3' type='text' name='mail_pausetime' value='".$pref['mail_pausetime']."' /> ".LAN_MAILOUT_29.".<br />
<span class='smalltext'>".LAN_MAILOUT_30."</span>
@@ -1134,8 +1133,8 @@ $text = "
</tr>\n
<tr>
<td style='vertical-align:top' class='forumheader3'>".LAN_MAILOUT_31."</td>
<td style=' text-align:right' class='forumheader3'>
<td style='vertical-align:top'>".LAN_MAILOUT_31."</td>
<td style=' text-align:right'>
".LAN_MAILOUT_32.": <input class='tbox' size='40' type='text' name='mail_bounce_email' value=\"".$pref['mail_bounce_email']."\" /><br />
".LAN_MAILOUT_33.": <input class='tbox' size='40' type='text' name='mail_bounce_pop3' value=\"".$pref['mail_bounce_pop3']."\" /><br />
".LAN_MAILOUT_34.": <input class='tbox' size='40' type='text' name='mail_bounce_user' value=\"".$pref['mail_bounce_user']."\" /><br />
@@ -1158,8 +1157,8 @@ $text = "
if (isset($pref['mailout_sources']))
{ // Allow selection of email address sources
$text .= "<tr>
<td class='forumheader3'>".LAN_MAILOUT_77."</td>
<td class='forumheader3' style='text-align:right'>
<td>".LAN_MAILOUT_77."</td>
<td style='text-align:right'>
";
$mail_enable = explode(',',$pref['mailout_enabled']);
foreach (explode(',',$pref['mailout_sources']) as $mailer)
@@ -1173,8 +1172,8 @@ $text = "
list($mail_log_option,$mail_log_email) = explode(',',varset($pref['mail_log_options'],'0,0'));
$check = ($mail_log_email == 1) ? " checked='checked'" : "";
$text .= "<tr>
<td class='forumheader3'>".LAN_MAILOUT_72."</td>
<td class='forumheader3' style='text-align:right'>
<td>".LAN_MAILOUT_72."</td>
<td style='text-align:right'>
<select class='tbox' name='mail_log_option'>\n
<option value='0'".(($mail_log_option==0) ? " selected='selected'" : "").">".LAN_MAILOUT_73."</option>\n
<option value='1'".(($mail_log_option==1) ? " selected='selected'" : "").">".LAN_MAILOUT_74."</option>\n
@@ -1185,14 +1184,12 @@ $text = "
"</td>
</tr>\n";
$text .= "
<tr>
<td style='text-align:center' colspan='2' class='forumheader'>
$text .= "</table>
<div class='buttons-bar center'>
<input class='button' type='submit' name='updateprefs' value=\"".LAN_MAILOUT_28."\" />
</td>
</tr>\n
</div>
</table></div></form>";
</div></form>";
$caption = LAN_PREFS;
$ns->tablerender($caption, $text);
@@ -1248,11 +1245,11 @@ function showList($type='massmail')
$datestamp = $gen->convert_date($row2['gen_datestamp'], "short");
$text .= "<tr>
<td class='forumheader3' >".$row2['gen_id'] ."</td>
<td class='forumheader3'>".$row2['user_name']."</td>
<td class='forumheader3'>".$row2['gen_ip']."</td>
<td class='forumheader3'>".$datestamp."</td>
<td style='width:50px;white-space:nowrap' class='forumheader3'>
<td >".$row2['gen_id'] ."</td>
<td>".$row2['user_name']."</td>
<td>".$row2['gen_ip']."</td>
<td>".$datestamp."</td>
<td style='width:50px;white-space:nowrap'>
<div>";
$text .= "<a href='".e_SELF."?savedmail.edit.{$row2['gen_id']}'><img src='".$images_path."edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:0px' /></a>";
// <input type='image' name='edit[{$row2['gen_id']}]' value='edit' src='".$images_path."edit_16.png' alt='".LAN_EDIT."' title='".LAN_EDIT."' style='border:0px' />
@@ -1333,7 +1330,7 @@ function sc_Select($container='sc_selector')
<div style='margin-left:0px;margin-right:0px; position:relative;z-index:1000;float:right;display:none' id='{$container}'>
<div style='position:absolute; bottom:30px; right:125px'>
<table class='fborder' style='background-color: #fff'>
<tr><td class='forumheader3'>
<tr><td>
<select class='tbox' name='sc_sel' onchange=\"addtext(this.value); this.selectedIndex= 0; expandit('{$container}')\">
<option value=''> -- </option>\n";

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/menus.php,v $
| $Revision: 1.28 $
| $Date: 2009-07-14 11:05:49 $
| $Revision: 1.29 $
| $Date: 2009-07-15 09:38:00 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -68,7 +68,7 @@ if($_POST)
$text .= $men->menuSelectLayout();
$text .= $men->menuVisibilityOptions();
$text .= $men->menuRenderIframe();
$ns -> tablerender(MENLAN_35, $text, 'menus_config');
$ns -> tablerender(ADLAN_6." :: ".LAN_MENULAYOUT, $text, 'menus_config');
// $text .= "<iframe name='menu_iframe' id='menu_iframe' src='".e_SELF."?configure.$curLayout' width='100%' style='width: 100%; height: ".(($cnt*90)+600)."px; border: 0px' frameborder='0' scrolling='auto' ></iframe>";
}
@@ -959,7 +959,7 @@ class menuManager{
$link = e_PLUGIN.$plug."/config.php";
}
$plugtext = ($link) ? "(".MENLAN_34.":<a href='$link' title='".MENLAN_16."'>".MENLAN_16."</a>)" : "(".MENLAN_34.")" ;
$plugtext = ($link) ? "(".MENLAN_34.":<a href='$link' title='".LAN_CONFIGURE."'>".LAN_CONFIGURE."</a>)" : "(".MENLAN_34.")" ;
echo "<br />";
$ns -> tablerender($plug, $plugtext);
}
@@ -1050,7 +1050,7 @@ class menuManager{
$text .= $rs->form_option(MENLAN_15, "", "deac.{$menu_info}");
if ($conf) {
$text .= $rs->form_option(MENLAN_16, "", $conf);
$text .= $rs->form_option(LAN_CONFIGURE, "", $conf);
}
if ($menu_order != 1) {
@@ -1163,7 +1163,7 @@ class menuManager{
{
global $sql,$pref;
$sql -> db_Select("menus", "*", "menu_location != 0 ORDER BY menu_path");
$sql -> db_Select("menus", "*", "menu_location != 0 ORDER BY menu_path,menu_name");
while($row = $sql-> db_Fetch())
{
$link = "";
@@ -1184,7 +1184,7 @@ class menuManager{
if($link)
{
$tmp[$id]['name'] = ucwords(str_replace("_menu","",$menu_name));
if($prev == $id)
if($prev == $id && ($tmp[$id]['name']!=$prev_name))
{
$tmp[$id]['name'] .= ":".$prev_name;
}
@@ -1314,7 +1314,8 @@ function headerjs()
function menus_adminmenu()
{
// See admin_shortcodes_class.php - get_admin_menumanager()
// required there so it can be shared by plugins.
}

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/plugin.php,v $
| $Revision: 1.31 $
| $Date: 2009-07-14 03:18:16 $
| $Revision: 1.32 $
| $Date: 2009-07-15 09:38:00 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -729,6 +729,7 @@ class pluginManager{
{
$_path = e_PLUGIN.$plug['plugin_path'].'/';
$plug_vars = false;
$plugin_config_icon = "";
if($plugin->parse_plugin($plug['plugin_path']))
{
@@ -746,7 +747,8 @@ class pluginManager{
{
$conf_file = e_PLUGIN.$plug['plugin_path'].'/'.$plug_vars['administration']['configFile'];
$conf_title = LAN_CONFIGURE.' '.$tp->toHtml($plug_vars['@attributes']['name'], "", "defs,emotes_off, no_make_clickable");
$plugin_icon = "<a title='{$conf_title}' href='{$conf_file}' >".$plugin_icon.'</a>';
$plugin_icon = "<a title='{$conf_title}' href='{$conf_file}' >".$plugin_icon."</a>";
$plugin_config_icon = "<a title='{$conf_title}' href='{$conf_file}' ><img class='icon action S16' src='".e_IMAGE_ABS."admin_images/cat_tools_16.png' alt='' style='border:0px' /></a>";
}
$plugEmail = varset($plug_vars['author']['@attributes']['email'],'');
@@ -794,7 +796,8 @@ class pluginManager{
// Plugin options Column --------------
$text .= "<td class='center middle'>";
$text .= "<td class='center middle'>".$plugin_config_icon;
if ($plug_vars['@attributes']['installRequired'])
{

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.10 2009-07-14 11:05:51 e107coders Exp $
* $Id: admin_shortcodes_class.php,v 1.11 2009-07-15 09:38:00 e107coders Exp $
*
* Admin shortcode batch - class
*/
@@ -128,9 +128,10 @@ class admin_shortcodes
function get_admin_lang($parm)
{
global $e107, $sql, $pref;
if (!ADMIN || !$pref['multilanguage']) { return ''; }
global $e107, $sql, $pref;
include_lan(e_PLUGIN.'user_menu/languages/English.php');
$params = array();
parse_str($parm, $params);
@@ -168,6 +169,8 @@ class admin_shortcodes
}
}
if(varset($GLOBALS['mySQLtablelist']))
{
foreach($GLOBALS['mySQLtablelist'] as $tabs)
{
$clang = strtolower($sql->mySQLlanguage);
@@ -176,7 +179,7 @@ class admin_shortcodes
$aff[] = str_replace(MPREFIX."lan_".$clang."_","",$tabs);
}
}
}
$text .= "<div><img src='".e_IMAGE_ABS."admin_images/language_16.png' alt='' />&nbsp;";
if(isset($aff))
@@ -440,13 +443,14 @@ class admin_shortcodes
ob_start();
//Show upper_right menu if the function exists
$tmp = explode('.',e_PAGE);
$adminmenu_parms = "";
$adminmenu_func = $tmp[0].'_adminmenu';
if(function_exists($adminmenu_func))
{
if (!$parm)
{
call_user_func($adminmenu_func,$adminmenu_parms);
call_user_func($adminmenu_func,$adminmenu_parms); // ? not sure why there's an adminmenu_parms;
}
else
{
@@ -706,6 +710,7 @@ class admin_shortcodes
function get_admin_pword()
{
global $pref;
if (ADMIN && ADMINPERMS == '0')
{
global $ns;
@@ -719,6 +724,7 @@ class admin_shortcodes
function get_admin_sel_lan()
{
global $pref;
if (ADMIN)
{
if ($pref['multilanguage'])
@@ -915,7 +921,7 @@ class admin_shortcodes
{
/*
* e107 website system (c) 2001-2008 Steve Dunstan (e107.org)
* $Id: admin_shortcodes_class.php,v 1.10 2009-07-14 11:05:51 e107coders Exp $
* $Id: admin_shortcodes_class.php,v 1.11 2009-07-15 09:38:00 e107coders Exp $
*/
if (ADMIN)
@@ -1275,8 +1281,9 @@ class admin_shortcodes
function get_admin_menumanager() // List all menu-configs for easy-navigation
{
global $pref;
$action = "";
$var['menumanager']['text'] = ADLAN_151; // Main
$var['menumanager']['text'] = LAN_MENULAYOUT;
$var['menumanager']['link'] = e_ADMIN_ABS."menus.php";
foreach($pref['menuconfig_list'] as $name=>$val)
@@ -1302,7 +1309,7 @@ class admin_shortcodes
// $keys = array_keys($var);
// $action = (in_array($this->action,$keys)) ? $this->action : "installed";
e_admin_menu(ADLAN_6, $action, $var);
e_admin_menu(ADLAN_6,$action, $var);
}

View File

@@ -9,8 +9,8 @@
* Form Handler
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/form_handler.php,v $
* $Revision: 1.32 $
* $Date: 2009-07-14 11:05:52 $
* $Revision: 1.33 $
* $Date: 2009-07-15 09:38:00 $
* $Author: e107coders $
*
*/
@@ -574,7 +574,7 @@ class e_form
function columnSelector($columnsArray,$columnsDefault='',$id='column_options')
{
$text .= "<div style='position:relative;float:right;'>
$text = "<div style='position:relative;float:right;'>
<a href='#".$id."' class='e-expandit' style='height:16px' title='Click to select columns to display'>
<img class='middle' src='".e_IMAGE_ABS."admin_images/select_columns_16.png' alt='select columns' /></a>

View File

@@ -11,8 +11,8 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/theme_handler.php,v $
| $Revision: 1.36 $
| $Date: 2009-07-14 03:38:12 $
| $Revision: 1.37 $
| $Date: 2009-07-15 09:38:00 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -148,13 +148,6 @@ class themeHandler{
{
$file2 = str_replace(e_THEME.$file."/","",$fln['path']).$fln['fname'];
// $handle2 = opendir(e_THEME.$file."/");
// while (false !== ($file2 = readdir($handle2))) // Read files in theme directory
// {
// echo $file." = ".$file2."<br />";
$themeArray[$file]['files'][] = $file2;
if(strstr($file2, "preview."))
{
@@ -164,7 +157,8 @@ class themeHandler{
// ---------------- get information string for css file
if(strstr($file2, "css") && !strstr($file2, "menu.css") && strpos($file2, "e_") !== 0 && strpos($file2, "admin_") !== 0)
if(strstr($file2, "css") && !strstr($file2, "menu.css") && strpos($file2, "e_") !== 0)
{
if($fp=fopen(e_THEME.$file."/".$file2, "r"))
@@ -627,13 +621,16 @@ class themeHandler{
<td style='vertical-align:top; width:24%;'><b>".TPVLAN_53."</b></td>
<td colspan='2' style='vertical-align:top width:auto;'>";
foreach($theme['pluginOptions'] as $key=>$val)
if(varset($theme['pluginOptions']))
{
$text .= $this->renderPlugins($theme['pluginOptions']);
$text .= "&nbsp;";
foreach($theme['pluginOptions'] as $key=>$val)
{
$text .= $this->renderPlugins($theme['pluginOptions']);
$text .= "&nbsp;";
}
}
$text .= "</td>
$text .= "&nbsp;</td>
</tr>";
$text .= "
@@ -650,8 +647,6 @@ class themeHandler{
<input type='radio' name='image_preload' value='0'".(!$pref['image_preload'] ? " checked='checked'" : "")." /> ".TPVLAN_29."
</td>
</tr>";
}
@@ -722,8 +717,15 @@ class themeHandler{
<td class='left'>".TPVLAN_7."</td>
</tr>\n";
foreach($theme['css'] as $css)
{
if($mode == 1 && substr($css['name'],0,6)=="admin_")
{
continue;
}
$text .= "<tr>\n";
if($mode == 2)
{
@@ -739,6 +741,8 @@ class themeHandler{
if($mode == 1)
{
$text .= "
<td class='center'>
<input type='radio' name='themecss' value='".$css['name']."' ".($pref['themecss'] == $css['name'] || (!$pref['themecss'] && $css['name'] == "style.css") ? " checked='checked'" : "")." />
@@ -775,8 +779,8 @@ class themeHandler{
$text .= "
<tr>
<td style='vertical-align:top'><b>".TPVLAN_41.":</b></td>
<td style='vertical-align:top'>".$astext."</td>
<td><b>".TPVLAN_41.":</b></td>
<td colspan='2'>".$astext."</td>
</tr>
\n";
}
@@ -841,7 +845,7 @@ class themeHandler{
}
else
{
echo $plug;
// echo $plug;
if($sql -> db_Select("plugin", "plugin_id", " plugin_path = '".$plug."' LIMIT 1 "))
{
$row = $sql -> db_Fetch(MYSQL_ASSOC);
@@ -945,7 +949,7 @@ class themeHandler{
global $pref, $e107cache, $ns, $emessage;
$themeArray = $this -> getThemes("id");
$pref['admintheme'] = $themeArray[$this -> id];
$pref['admincss'] = file_exists(THEME.'admin_style.css') ? 'admin_style.css' : 'style.css';
$pref['admincss'] = file_exists(e_THEME.$pref['admintheme'].'/admin_style.css') ? 'admin_style.css' : 'style.css';
$e107cache->clear_sys();
if(save_prefs())
{
@@ -1023,6 +1027,8 @@ class themeHandler{
function parse_theme_php($path)
{
$CUSTOMPAGES = "";
$fp=fopen(e_THEME.$path."/theme.php", "r");
$themeContents = fread ($fp, filesize(e_THEME.$path."/theme.php"));
fclose($fp);
@@ -1103,24 +1109,20 @@ class themeHandler{
$vars['name'] = varset($vars['@attributes']['name']);
$vars['version'] = varset($vars['@attributes']['version']);
$vars['date'] = varset($vars['@attributes']['date']);
$vars['compatibility'] = varset($vars['@attributes']['compatibility']);
$vars['compatibility'] = varset($vars['@attributes']['compatibility']);
$vars['email'] = varset($vars['author']['@attributes']['email']);
$vars['website'] = varset($vars['author']['@attributes']['url']);
$tmp = varset($vars['author']['@attributes']['name']);
$vars['author'] = $tmp;
$vars['website'] = varset($vars['author']['@attributes']['url']);
$vars['author'] = varset($vars['author']['@attributes']['name']);
$vars['info'] = $vars['description'];
$vars['xhtmlcompliant'] = (strtolower($vars['compliance']['@attributes']['xhtml']) == 'true' ? 1 : 0);
$vars['csscompliant'] = (strtolower($vars['compliance']['@attributes']['css']) == 'true' ? 1 : 0);
$vars['xhtmlcompliant'] = (strtolower($vars['compliance']['@attributes']['xhtml']) == 'true' ? 1 : 0);
$vars['csscompliant'] = (strtolower($vars['compliance']['@attributes']['css']) == 'true' ? 1 : 0);
$vars['path'] = $path;
$vars['@attributes']['default'] = (strtolower($vars['@attributes']['default'])=='true') ? 1 : 0;
unset($vars['authorEmail'],$vars['authorUrl'],$vars['xhtmlCompliant'],$vars['cssCompliant'],$vars['description']);
// Compile layout information into a more usable format.
$custom = array();
foreach($vars['layouts'] as $layout)
{

View File

@@ -1,7 +1,7 @@
<?php
/*
* Copyright e107 Inc e107.org, Licensed under GNU GPL (http://www.gnu.org/licenses/gpl.txt)
* $Id: lan_admin.php,v 1.20 2009-07-14 11:05:52 e107coders Exp $
* $Id: lan_admin.php,v 1.21 2009-07-15 09:38:00 e107coders Exp $
*
* Admin Language File
*/
@@ -99,7 +99,7 @@ define("ADLAN_95", "Plugin Management");
//define("ADLAN_97", "Click here for FAQ");
define("ADLAN_98", "Plugin Manager");
define("ADLAN_99", "Install/upgrade etc. plugins");
//define("ADLAN_100", "Theme Layout");
// define("ADLAN_100", "Theme Layout"); // required
//define("ADLAN_101", "Template Creator");
define("ADLAN_102", "It has been more than 30 days since you changed the main administrator password - ");
define("ADLAN_103", "Click here to change it now");
@@ -235,7 +235,7 @@ define("LAN_TRY_AGAIN","Please try again.");
define("LAN_RESET","Reset");
define("LAN_CLEAR","Clear");
// define("LAN_OK","OK"); // defined in e107_languages/English/English.php
// define("LAN_OK","OK"); // defined in e107_languages/English/English.php
define("LAN_PRESET","Preset");
define("LAN_PRESET_SAVED","Preset saved successfully");
@@ -293,6 +293,7 @@ define("LAN_AUTHOR", "Author");
define("LAN_CATEGORY", "Category");
define("LAN_HELP", "Help");
define("LAN_MENULAYOUT", "Menu Layout");
?>

View File

@@ -4,8 +4,8 @@
| e107 website system - Language File.
|
| $Source: /cvs_backup/e107_0.8/e107_languages/English/admin/lan_menus.php,v $
| $Revision: 1.2 $
| $Date: 2009-07-05 11:57:40 $
| $Revision: 1.3 $
| $Date: 2009-07-15 09:38:00 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
@@ -24,7 +24,7 @@ define("MENLAN_12", "Activate: choose area");
define("MENLAN_13", "Activate in Area");
define("MENLAN_14", "Area");
define("MENLAN_15", "Deactivate");
define("MENLAN_16", "Configure");
// define("MENLAN_16", "Configure"); // now in lan_admin.php
define("MENLAN_17", "Move Up");
define("MENLAN_18", "Move Down");
define("MENLAN_19", "Move to Area");
@@ -47,7 +47,7 @@ define("MENLAN_31", "Default Layout");
define("MENLAN_32", "Newsheader Layout");
define("MENLAN_33", "Custom Layout");
define("MENLAN_34", "Embedded");
define("MENLAN_35", "Configure Menus");
// define("MENLAN_35", "Configure Menus"); now in lan_admin.php
define("MENLAN_36", "Choose the menu(s) to activate");
define("MENLAN_37", "and where to activate them.");
define("MENLAN_38", "Hold down CTRL to select multiple menus.");

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_plugins/chatbox_menu/admin_chatbox.php,v $
| $Revision: 1.5 $
| $Date: 2008-12-11 21:13:48 $
| $Author: e107steved $
| $Revision: 1.6 $
| $Date: 2009-07-15 09:38:00 $
| $Author: e107coders $
+----------------------------------------------------------------------------+
*/
require_once("../../class2.php");
@@ -93,12 +93,16 @@ if (isset($message))
$chatbox_posts = $pref['chatbox_posts'];
$text = "<div style='text-align:center'>
$text = "<div>
<form method='post' action='".e_SELF."' id='cbform'>
<table style='".ADMIN_WIDTH."' class='fborder'>
<table cellpadding='0' cellspacing='0' class='adminform'>
<colgroup span='2'>
<col class='col-label' />
<col class='col-control' />
</colgroup>
<tr>
<td class='forumheader3' style='width:40%'>".CHBLAN_11.": <div class='smalltext'>".CHBLAN_12."</div></td>
<td class='forumheader3' style='width:60%'>
<td>".CHBLAN_11.": <div class='smalltext'>".CHBLAN_12."</div></td>
<td>
<select name='chatbox_posts' class='tbox'>";
if ($chatbox_posts == 5) {
$text .= "<option selected='selected'>5</option>\n";
@@ -135,13 +139,13 @@ $text .= "</select>
</td>
</tr>
<tr><td class='forumheader3' style='width:40%'>".CHBLAN_32.": </td>
<td class='forumheader3' style='width:60%'>". r_userclass("cb_mod", $pref['cb_mod'], 'off', "admin, classes")."
<tr><td>".CHBLAN_32.": </td>
<td>". r_userclass("cb_mod", $pref['cb_mod'], 'off', "admin, classes")."
</td>
</tr>
<tr><td class='forumheader3' style='width:40%'>".CHBLAN_36."</td>
<td class='forumheader3' style='width:60%'>".
<tr><td>".CHBLAN_36."</td>
<td>".
($pref['cb_layer'] == 0 ? "<input type='radio' name='cb_layer' value='0' checked='checked' />" : "<input type='radio' name='cb_layer' value='0' />")."&nbsp;&nbsp;". CHBLAN_37."<br />".
($pref['cb_layer'] == 1 ? "<input type='radio' name='cb_layer' value='1' checked='checked' />" : "<input type='radio' name='cb_layer' value='1' />")."&nbsp;".CHBLAN_29."&nbsp;--&nbsp;". CHBLAN_30.": <input class='tbox' type='text' name='cb_layer_height' size='8' value='".$pref['cb_layer_height']."' maxlength='3' /><br />".
($pref['cb_layer'] == 2 ? "<input type='radio' name='cb_layer' value='2' checked='checked' />" : "<input type='radio' name='cb_layer' value='2' />")."&nbsp;&nbsp;". CHBLAN_38."
@@ -151,16 +155,16 @@ $text .= "</select>
if($pref['smiley_activate'])
{
$text .= "<tr><td class='forumheader3' style='width:40%'>".CHBLAN_31."?: </td>
<td class='forumheader3' style='width:60%'>". ($pref['cb_emote'] ? "<input type='checkbox' name='cb_emote' value='1' checked='checked' />" : "<input type='checkbox' name='cb_emote' value='1' />")."
$text .= "<tr><td>".CHBLAN_31."?: </td>
<td>". ($pref['cb_emote'] ? "<input type='checkbox' name='cb_emote' value='1' checked='checked' />" : "<input type='checkbox' name='cb_emote' value='1' />")."
</td>
</tr>
";
}
$text .= "<tr>
<td class='forumheader3' style='width:40%'>".CHBLAN_21.": <div class='smalltext'>".CHBLAN_22."</div></td>
<td class='forumheader3' style='width:60%'>
<td>".CHBLAN_21.": <div class='smalltext'>".CHBLAN_22."</div></td>
<td>
".CHBLAN_23." <select name='chatbox_prune' class='tbox'>
<option></option>
<option value='86400'>".CHBLAN_24."</option>
@@ -174,18 +178,16 @@ $text .= "</select>
$text .= "<tr>
<td class='forumheader3' style='width:40%'>".CHBLAN_34.":</td>
<td class='forumheader3' style='width:60%'>
<td>".CHBLAN_34.":</td>
<td>
<input class='button' type='submit' name='recalculate' value='".CHBLAN_35."' />
</td>
</tr>";
$text .= "<tr>
<td class='forumheader' colspan='3' style='text-align:center'>
<input class='button' type='submit' name='updatesettings' value='".CHBLAN_19."' />
</td>
</tr>
</table>
</table>";
$text .= "<div class='buttons-bar center'>
<input class='button' type='submit' name='updatesettings' value='".CHBLAN_19."' />
</div>
</form>
</div>";

View File

@@ -0,0 +1,586 @@
/* E107 CORE CSS *********************************************************************************************/
.searchhighlight{text-decoration: underline; color:#FF0000; font-weight:bold; }
/*
* e107 v0.800 - new class definitions
*/
/* Core Formatting */
.left { text-align: left }
.right { text-align: right }
.center { text-align: center }
.f-left { float: left }
.f-right { float: right }
.top { vertical-align: top }
.middle { vertical-align: middle }
.bottom { vertical-align: bottom }
.clear { clear: both }
.clear-l { clear: right }
.clear-r { clear: left }
.smalltext { font-size: 11px; }
.nowrap { white-space:nowrap; }
/* Core Icons */
img.icon { border: 0 }
img.icon.list { margin: 0px 5px 5px 0px }
img.icon.action { vertical-align: middle }
img.S16 { width: 16px; height: 16px }
img.S32 { width: 32px; height: 32px }
img.S64 { width: 64px; height: 64px }
img.S128 { width: 128px; height: 128px }
/*******************************************************************************************************************/
/* RESET CSS *********************************************************************************************/
/* Global */
* { margin:0; padding:0; }
body { font:12px/1.5em Arial, Helvetica, sans-serif; color:white; background-color:black; }
img { border:0; vertical-align:top; }
a { text-decoration:underline; color: #13394E; }
a:hover { text-decoration:underline; color: #CB0000; }
a img { border:0; }
:focus { outline:0; }
/* Headings */
h1 { font-size:20px; font-weight:normal; line-height:1.3; }
h2 { font-size:18px; font-weight:normal; line-height:1.34; }
h3 { font-size:16px; font-weight:bold; line-height:1.375; }
h4 { font-size:14px; font-weight:bold; }
h5 { font-size:12px; font-weight:bold; }
h6 { font-size:11px; font-weight:bold; }
/* Forms */
form { display:inline; }
fieldset { border: 0; margin-bottom: 10px; }
input, select{ vertical-align:middle; }
textarea { overflow:auto; }
/* Table */
table { border:0; border-spacing:0; empty-cells:show; font-size:100%; width: 100%; }
th { vertical-align:top; text-align:left; font-weight:normal; }
td { vertical-align:top; }
/* Content */
address { font-style:normal; }
cite { font-style:normal; }
q,
blockquote { quotes:none; }
q:before,
q:after { content:''; }
small,big { font-size:1em; }
sup { font-size:1em; vertical-align:top; }
/* Lists */
ul,ol { list-style:none; }
/* Tools */
.no-display { display:none; }
.no-margin { margin:0 !important; }
.no-padding { padding:0 !important; }
.no-bg { background:none !important; }
.clear { clear: both; }
pre {
overflow-x: auto; /* Use horizontal scroller if needed; for Firefox 2, not needed in Firefox 3 */
white-space: pre-wrap; /* css-3 */
white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
white-space: -pre-wrap; /* Opera 4-6 */
white-space: -o-pre-wrap; /* Opera 7 */
/* width: 99%; */
word-wrap: break-word; /* Internet Explorer 5.5+ */
}
/*******************************************************************************************************************/
/* E107 CORE ADMIN CSS *********************************************************************************************/
/******** Decorate JS */
/* Admin List Table */
.adminlist { width:100%; border:1px solid #ddd;}
.adminlist th { padding: 5px; border-bottom:1px solid #ddd; border-right: 1px solid #ddd; font-weight: bold }
.adminlist td { padding: 5px; border-bottom:1px solid #ddd; border-right: 1px solid #ddd; }
.adminlist th.last,
.adminlist td.last { border-right: 0px solid;}
.adminlist tr.last td{ border-bottom: 0px solid;}
.adminlist thead { background-color:#f2f2f2; }
.adminlist tbody {}
.adminlist tfoot {}
.adminlist tr.first {}
.adminlist tr.last {}
.adminlist tr.odd {}
.adminlist tr.even { background-color:#f6f6f6; }
/* Form elements */
input.input-text,
textarea,
select, .tbox, .helpbox {
border-width:1px;
border-style:solid;
border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
background:#fff;
font:12px arial, helvetica, sans-serif;
}
option { padding-right: 10px;}
input.input-text, textarea, .tbox, .helpbox { padding:2px; }
.tbox.large { width: 95% !important; }
select.tbox { min-height:17px; padding: 0px; /* setting the height of empty selects */ }
.select.order { width: 40px !important; }
.select.time-offset { width: 60px !important; }
input.radio { margin-right: 3px; }
label { cursor: pointer; }
.checkbox { margin-right: 5px; }
.check-block { /* see administration newspost.php */
padding: 2px 0px;
border-width:1px;
border-style:solid;
border-color:#aaa #c8c8c8 #c8c8c8 #aaa;
background:#fff;
font:12px arial, helvetica, sans-serif;
overflow:auto
}
.check-block .checkbox { margin-left: 2px }
.check-block .separator { clear: both; border-bottom: 1px solid #aaa; margin-bottom: 4px; height: 4px }
.field-help { width: 280px; line-height: 1.4em; padding-top: 3px; color:#333333; font-size: 11px; }
.label-note { font-style: italic; }
.form-note { font-style: italic; }
.field-spacer.strong { font-weight: bold }
/* Related JS functionality - .autocheck together with .auto-toggle-area (see admin/image.php) */
.auto-toggle-area { width: 280px; cursor: pointer; }
/* form used for settings */
.col-label { width: 250px; background-color:#696969 }
.col-control {background-color: #C0C0C0}
.col-selection { padding:5px; text-align:left; background-color: #FCFDFF; border: 1px outset black; width:200px; margin-right:0px;overflow:visible; position:absolute; z-index:101; right:0px;}
.adminform { width:100%; border:1px solid #ddd;}
.adminform th { padding: 5px; font-weight: bold; white-space:nowrap; }
.adminform td { padding: 5px; }
.adminform td { padding: 5px; text-align: left}
.adminform td div.field-spacer { margin-bottom: 3px; } /* multi-fields per row separator */
.adminform td div.field-section { clear: both; margin-bottom: 10px; } /* multi-field sections per row - wrapper */
.adminform td .check-block { width:95%; height:60px; }
.adminform .select { width: 280px;}
.adminform .input-text { width: 274px;}
.adminform td.control textarea { width: 274px;}
.adminform td.label { }
.adminform td.control { }
/* form used for content edit */
.adminedit { width:100%; border:1px solid #ddd;}
.adminedit.options { } /* form used for content item options */
.adminedit td { padding: 5px; text-align: left}
.adminedit td div.field-spacer { clear: both; margin-bottom: 3px; } /* multi-fields per row - wrapper */
.adminedit td div.field-section { clear: both; margin-bottom: 10px; } /* multi-field sections per row - wrapper */
.adminedit .select { width: 280px; }
.adminedit .input-text { width: 274px;}
.adminedit td.control textarea { width: 274px;}
.adminedit td.control textarea.large { width: 400px; }
.adminedit td .check-block { width:95%; height:60px; }
.adminedit td.label {}
.adminedit td.control {}
/* Admin Info Table */
.admininfo { width:100%; border:1px solid #ddd;}
.admininfo td { padding: 1px 5px; text-align: left}
.info-bar { padding: 5px 0px; }
/* Images and avatars */
.image-box {border:1px solid #ddd; margin-right: 10px; position: relative; margin-bottom: 10px; }
.image-box .spacer { }
.image-box .image-name { padding: 5px; }
.image-box .image-delete { position: absolute ; bottom: 10px; text-align: center; width: 100%}
.image-box .image-users {padding: 5px;}
.image-box .image-preview {padding: 5px;}
/******** Prepare for Image Preview JS */
.image-preview {}
/******** Tabs JS */
.admintabs ul.e-tabs { border-bottom: 1px solid #DDDDDD; height: 31px; }
.admintabs ul.e-tabs li { border: 1px solid #DDDDDD; display: block; float: left; line-height: 30px; padding: 0px 7px; margin-right: 3px; background-color: #F9F9F9 }
.admintabs fieldset { clear: both ; border: 1px solid #DDDDDD; padding: 10px; border-top: 0px none; }
.admintabs fieldset legend { border: 1px solid #DDDDDD; }
.admintabs ul.e-tabs li.active { border-bottom: 1px solid #FFFFFF; background-color: #FFFFFF}
/******** SyS Messages / Message text formatting */
/* message boxes */
.s-message { }
.s-message div.info,
.s-message div.error,
.s-message div.success,
.s-message div.debug,
.s-message div.warning { padding: 5px; margin-bottom: 10px; }
.s-message div.info { background-color:#C1E0FF; border: 1px solid #3399FF; }
.s-message div.error { background-color:#FFCECE; border: 1px solid #CC0000; }
.s-message div.success { background-color:#DFFFDF; border: 1px solid #009900; }
.s-message div.warning { background-color:#FFFFD5; border: 1px solid #FFCC00; }
.s-message div.debug { background-color:#FFFFFF; border: 1px solid #EAEAEA; }
.s-message .s-message-title { height: 32px; background: 0 50% no-repeat; padding-left: 42px; font-size: 14px; font-weight: bold; line-height: 32px; }
.s-message div.info .s-message-title { background-image: url(images/messagebox_info.png); }
.s-message div.error .s-message-title { background-image: url(images/messagebox_critical.png); }
.s-message div.success .s-message-title { background-image: url(images/ok.png); }
.s-message div.warning .s-message-title { background-image: url(images/messagebox_warning.png); }
.s-message div.debug .s-message-title { background-image: url(images/messagebox_info.png); }
.s-message-body { padding-left: 42px; }
.s-message-item {}
/* validate result inline message */
.validate-result {}
/* message text (overall) */
.warning { color: #FF6600 }
.success { color: green; }
.error { color: #FF0000 }
.info {}
/******** Tooltip info */
.e-info {}
/******** Admin Buttons */
button {
border:0;
cursor:pointer;
font:bold 12px arial, helvetica, sans-serif;
padding:0 10px 0 0;
text-align:center;
color:#0b333c;
}
button span {
position:relative;
display:block;
white-space:nowrap;
padding:0 0 0 13px;
height:22px; line-height:22px; color:#0b333c;
}
/*blue buttons*/
button { background:url(images/btn_right.gif) right no-repeat; }
button span { background:url(images/btn_left.gif) left no-repeat; }
button:hover,
button:focus { background:url(images/btn_over_right.gif) right no-repeat; }
button:hover span,
button:focus span { background:url(images/btn_over_left.gif) left no-repeat; }
button:active { background:url(images/btn_active_right.gif) right no-repeat; }
button:active span { background:url(images/btn_active_left.gif) left no-repeat; }
button::-moz-focus-inner { border: none; } /*To all who have a problem with 1px spans offset in firefox, the following sentence will solve this problem: */
button.delete span { padding-left: 30px; }
button.delete span { background-image:url(images/btn_remove_left.gif); }
button.delete:hover span,
button.delete:focus span { background-image:url(images/btn_remove_over_left.gif) }
button.delete:active span { background-image:url(images/btn_remove_active_left.gif)}
/*default submit*/
button.submit span {}
button.submit span {}
button.submit:hover span,
button.submit:focus span {}
button.submit:active span {}
button.update span { padding-left: 30px; }
button.update span { background-image:url(images/btn_update_left.gif); }
button.update:hover span,
button.update:focus span { background-image:url(images/btn_update_over_left.gif)}
button.update:active span { background-image:url(images/btn_update_active_left.gif)}
button.create span { padding-left: 30px; }
button.create span {}
button.create:hover span,
button.create:focus span {}
button.create:active span {}
button.edit span { padding-left: 30px; }
button.edit span {}
button.edit:hover span,
button.edit:focus span {}
button.edit:active span {}
button.cancel span {}
button.cancel span {}
button.cancel:hover span,
button.cancel:focus span {}
button.cancel:active span {}
.buttons-bar { padding: 10px 0px; }
.buttons-bar button { margin-right: 10px; }
.buttons-bar button.f-right { margin-right: 0px; }
div.buttons-bar {
background-color:#DCDCDC;
}
legend {
background-color:black;color:white;
}
/* Actions (adminlist) - input type image */
input.action { vertical-align: middle; } /* default */
input.action.delete {}
input.action.edit {}
/********** Page Loading Status default style */
#loading-mask { color: #556B2F; font-size: 1.2em; font-weight:bold; position:absolute; text-align: center; padding: 0; margin: 0; background-color: transparent; }
#loading-mask .loader { position: fixed; top: 40%; left: 50%; width: 200px; text-align: center; background: #F0F9E3 none repeat scroll 0 0; border: 2px solid #556B2F; font-weight: bold; padding: 10px 5px; margin-left: -100px; margin-top: 0; }
#loading-mask img { margin: 10px auto; }
/********** Element Loading Status default style */
.element-loading-mask { background-repeat: no-repeat; background-position: 50% 50%; background-color: #f5f5f5; }
/********** Docs */
#docs-list { padding: 10px; margin-bottom: 15px; border: 1px solid #f5f5f5; }
#docs-list .qitem { margin: 3px 0; padding-left: 10px; }
.docs-item { padding: 10px; margin: 15px 0; border: 1px solid #f5f5f5; }
.docs-item .qitem,
.docs-item .aitem,
.docs-item .gotop { margin: 3px 0; padding-left: 10px; }
.docs-item .qitem { font-weight: bold; }
.docs-item .aitem { margin-bottom: 10px; }
.docs-item h4,
#docs-list h4 { margin-bottom: 8px; }
#docs-bottom-nav { height: 800px; }
/********** Misc */
.e-pointer { cursor: pointer; } /* Pointer Hand */
.expand-container { padding: 10px; } /* Block with expandable items */
.nextprev-bar { clear: both; padding: 5px; font-size: 14px; margin: 5px; border:1px solid #ddd; } /* Page NextPrev nabigation block */
.imgselector-container { clear: both; } /* ImageSelector.sc */
/*******************************************************************************************************************/
/* THEME SPECIFIC CSS *********************************************************************************************/
/******** Page Base */
.admin-wrapper { width: 100%; }
.admin-header { padding: 20px 15px 0; }
.admin-header-content { border: 1px solid #DDDDDD; }
.admin-page-body { padding: 20px 15px 0; }
.admin-footer {}
legend { font-size: 14px; font-weight: bold; padding: 5px; }
/******** Layout */
.main-table { width: 100%; border: 0 none; }
.col-left { width: 220px;}
.col-right { width: 220px;}
.col-main { padding: 0 15px 0 0;}
.inner-wrapper { }
/******** Horizontal navigation ADMIN_NAV_ALT */
.admin-navigation { border: 1px solid #DDDDDD;}
/******** Side Navigation
- Admin Navigation
- Plugin Navigation
*/
ul.plugin-navigation { }
ul.plugin-navigation a { text-decoration: none; }
ul.plugin-navigation li { padding: 0px 10px 0px; }
ul.plugin-navigation a.link {}
ul.plugin-navigation a.link-active {font-weight: bold;}
ul.plugin-navigation ul.plugin-navigation-sub {}
ul.plugin-navigation ul.plugin-navigation-sub li { padding: 0px 10px 0px; }
ul.plugin-navigation ul.plugin-navigation-sub a.link {}
ul.plugin-navigation ul.plugin-navigation-sub a.link-active {font-weight: bold;}
/******** Block Elements */
.block { border: 1px solid #DDDDDD; margin-bottom: 10px;}
.block-text { padding: 10px 10px 10px; }
.block h2.caption, .block h4.caption { padding: 5px 10px 5px; border-bottom: 1px solid #DDDDDD; }
.page-info { border: 1px solid #DDDDDD; margin-bottom: 10px; }
.page-info p { padding: 10px; }
/***** Admin Info Panel Buttons **/
.core-mainpanel-block { text-align:center; width:100px; float:left; height:48px; display:block;margin:15px; }
.core-mainpanel-link-text { font-weight:bold; text-decoration: none; padding:3px }
/*****************************/
#core-banlist-times .textarea { width: 98%; }
#core-emoticon-configure input.input-text { width: 300px; }
#core-links-edit textarea { width: 390px !important; }
#core-links-edit .helpbox { width: 390px !important; margin: 5px 0px; }
#core-links-edit .field-help { width: 390px; }
#core-admin-log-config legend { font-weight: bold; }
#core-admin-log-maintenance .select { width: 60px; }
#core-admin-log-maintenance button { margin-left: 10px; }
#core-frontpage-edit-home { width: 50%; float: left; }
#core-frontpage-edit-post-login { width: 50%; float: left; }
#core-frontpage-edit-home .adminlist { width: 99%; }
#core-frontpage-edit-post-login .adminlist { width: 99%; float: right; }
#core-frontpage-edit .tbox { width: 80%;}
#core-frontpage-edit select.tbox { width: 50%;}
#core-frontpage-edit .buttons-bar select.tbox { width: 140px; }
#core-frontpage-edit .buttons-bar { clear: both; }
/******** Core Block IDs */
/* admin_log.php */
#core-admin-log-config {}
#core-admin-log-options {}
#core-admin-log-maintenance {}
#core-admin-log-filter {}
#core-admin-log-list {}
#core-admin-log-confirm-delete {}
/* administrator.php */
#core-administrator-list {} /* List current administrators - Default front page */
#core-administrator-edit {} /* Edit administrators permissions */
/* banlist.php */
#core-banlist-options {}
#core-banlist-options-ban {}
#core-banlist-times {}
#core-banlist-edit {}
#core-banlist-transfer-export {}
#core-banlist-transfer-import {}
/* banner.php */
#core-banner-list {}
#core-banner-edit {}
#core-banner-menu {}
/* cache.php */
#core-cache-settings {} /* General cache settings - Default front page */
/* cpage */
#core-cpage-list {}
#core-cpage-create {}
#core-cpage-create-general {}
#core-cpage-create-options {}
#core-cpage-options {}
/* emoticon.php */
#core-emoticon-activate {} /* Emote activation - Default front page */
#core-emoticon-packages {} /* Installed packs - Default front page */
#core-emoticon-configure {} /* Configure an individual emote pack */
/* eurl.php */
#core-eurl-core {}
#core-eurl-plugin {}
/* frontpage.php */
#core-frontpage-settings {} /* Display list of current settings - Default front page */
#core-frontpage-edit {} /* Add / Edit existing rule - form */
#core-frontpage-edit-home {} /* Add / Edit existing rule for home page */
#core-frontpage-edit-post-login {} /* Add / Edit existing rule for post-login page */
/* image.php */
#core-image-check-avatar {} /* Check avatar sizes table */
#core-image-settings {} /* General image settings - Default front page */
/* lancheck.php */
#core-lancheck-edit {} /* Edid language file */
/* language.php */
#core-language-settings {} /* Language Preferences - Default front page */
#core-language-list {} /* Multi-language DB tables list */
#core-language-edit {} /* Edit Multi-language DB tables */
#core-language-lancheck {} /* Language Tools - Verify/Edit Language Files */
#core-language-package {} /* Language Tools - Create Language-Pack (zip) */
/* links.php */
#core-links-list-1 {} /* Display list of current links - Links Front Page */
#core-links-list-2 {} /* Display list of current links - Links Front Page */
#core-links-list-3 {} /* Display list of current links - Links Front Page */
#core-links-list-4 {} /* Display list of current links - Links Front Page */
#core-links-create {} /* Create or edit link - Create New Link*/
#core-links-options {} /* Links general settins - Options */
#core-links-generator {} /* Sublink Generator */
/* meta.php */
#dataform {} /* Form tag ID - Default front page - old core definition */
#core-meta-settings {} /* General meta settings - Default front page */
/* newspost.php */
#core-newspost-list {}
#core-newspost-edit {}
#core-newspost-edit-options {}
#core-newspost-cat-edit {}
#core-newspost-cat-list {}
#core-newspost-settings {}
#core-newspost-sn-list {}
/* prefs.php */
#core-prefs {} /* Main continer - contains all block lemenst from bewlow */
#core-prefs-main {} /* Settings section - Site Information */
#core-prefs-display {} /* Settings section - Display Information */
#core-prefs-admindisp {} /* Settings section - Admin Display Options */
#core-prefs-date {} /* Settings section - Date display options */
#core-prefs-registration {} /* Settings section - User registration-posting */
#core-prefs-signup {} /* Settings section - Signup Page Options */
#core-prefs-textpost {} /* Settings section - Text rendering */
#core-prefs-security {} /* Settings section - Security & Protection */
#core-prefs-comments {} /* Settings section - Comments */
#core-prefs-advanced {} /* Settings section - Advanced Features */
/* search.php */
#core-search-configuration-main {} /* Search Configuration for Searchable Areas - Default front page */
#core-search-configuration-comm {} /* Search Configuration for Searchable Comments Areas - Default front page */
#core-search-edit {} /* Edit search settings for specific area */
#core-search-settings {} /* General search settings */
/* ugflag.php */
#core-ugflag {}
/* updateadmin.php */
#core-updateadmin {}
/* upload.php */
#core-upload-filetypes {}
#core-upload-options {}
#core-upload-list {}
/* wmessage.php */
#core-wmessage-list {}
#core-wmessage-create {}
#core-wmessage-settings {}