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

Minor fixes.

This commit is contained in:
Cameron 2012-12-05 21:30:17 -08:00
parent 5b4982f4a1
commit d0eb844488
4 changed files with 6 additions and 5 deletions

View File

@ -38,8 +38,7 @@ if($pref['adminstyle'] == 'infopanel')
require_once('auth.php'); require_once('auth.php');
require_once(e_HANDLER.'admin_handler.php'); require_once(e_HANDLER.'admin_handler.php');
require_once(e_HANDLER.'upload_handler.php'); require_once(e_HANDLER.'upload_handler.php');
// require_once (e_HANDLER."message_handler.php");
require_once (e_HANDLER."message_handler.php");
$emessage = e107::getMessage(); $emessage = e107::getMessage();
if (!isset($pref['adminstyle'])) $pref['adminstyle'] = 'classis'; // Shouldn't be needed - but just in case if (!isset($pref['adminstyle'])) $pref['adminstyle'] = 'classis'; // Shouldn't be needed - but just in case
@ -51,6 +50,7 @@ if (is_dir(e_ADMIN.'htmlarea') || is_dir(e_HANDLER.'htmlarea'))
/*$text = ADLAN_ERR_2."<br /><br /> /*$text = ADLAN_ERR_2."<br /><br />
<div style='text-align:center'>".$HANDLERS_DIRECTORY."htmlarea/<br />".$ADMIN_DIRECTORY."htmlarea/</div>"; <div style='text-align:center'>".$HANDLERS_DIRECTORY."htmlarea/<br />".$ADMIN_DIRECTORY."htmlarea/</div>";
$ns -> tablerender(ADLAN_ERR_1, $text);*/ $ns -> tablerender(ADLAN_ERR_1, $text);*/
$emessage->add($HANDLERS_DIRECTORY."htmlarea/<br />".$ADMIN_DIRECTORY."htmlarea/", E_MESSAGE_WARNING); $emessage->add($HANDLERS_DIRECTORY."htmlarea/<br />".$ADMIN_DIRECTORY."htmlarea/", E_MESSAGE_WARNING);
} }
@ -249,7 +249,7 @@ function render_links($link, $title, $description, $perms, $icon = FALSE, $mode
} }
function render_clean() function render_clean() // still used by classis, tabbed etc.
{ {
global $td; global $td;
$text = ""; $text = "";

View File

@ -1605,7 +1605,7 @@ class pluginBuilder
$default = ''; $default = '';
$required = true; $required = true;
$help = "Author Website Url"; $help = "Author Website Url";
$pattern = "https?://.+"; // $pattern = "https?://.+";
break; break;
//case 'main-installRequired': //case 'main-installRequired':

View File

@ -474,7 +474,7 @@ class eMessage
$message = "<div class='s-message-item'>".implode("</div>\n<div class='s-message-item'>", $message)."</div>"; $message = "<div class='s-message-item'>".implode("</div>\n<div class='s-message-item'>", $message)."</div>";
} }
return " return "
<div class='{$type}'> <div class='s-message {$type}'>
<i class='s-message-icon s-message-".$type."'></i> <i class='s-message-icon s-message-".$type."'></i>
<div class='s-message-title'>".self::getTitle($type, $mstack)."</div> <div class='s-message-title'>".self::getTitle($type, $mstack)."</div>
<div class='s-message-body'> <div class='s-message-body'>

View File

@ -53,6 +53,7 @@ a.tweet_action { font-size:8px }
/* Bootstrap Bug Fix See: https://github.com/twitter/bootstrap/issues/3494 Specific for e107-admin InfoPanel */ /* Bootstrap Bug Fix See: https://github.com/twitter/bootstrap/issues/3494 Specific for e107-admin InfoPanel */
.row-fluid ul.thumbnails li.span12 + li { margin-left : 0px; } .row-fluid ul.thumbnails li.span12 + li { margin-left : 0px; }
.row-fluid div.s-message + div { margin-left : 0px; }
/* /*
.row-fluid ul.thumbXnails li.span6:nth-child(2n + 3) { margin-left : 0px; } .row-fluid ul.thumbXnails li.span6:nth-child(2n + 3) { margin-left : 0px; }