diff options
Diffstat (limited to 'modules/gallery')
-rw-r--r-- | modules/gallery/css/gallery.css | 4 | ||||
-rw-r--r-- | modules/gallery/helpers/gallery_theme.php | 1 | ||||
-rw-r--r-- | modules/gallery/views/in_place_edit.html.php | 8 |
3 files changed, 5 insertions, 8 deletions
diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css index a4a52155..c766abbc 100644 --- a/modules/gallery/css/gallery.css +++ b/modules/gallery/css/gallery.css @@ -116,3 +116,7 @@ background-color: #cfc; border: 1px solid #beb; } + +#g-inplace-edit-form ul { + margin: 0; +} diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php index 3fcaca67..0682d4ae 100644 --- a/modules/gallery/helpers/gallery_theme.php +++ b/modules/gallery/helpers/gallery_theme.php @@ -61,6 +61,7 @@ class gallery_theme_Core { } static function admin_head($theme) { + $theme->css("gallery.css"); $theme->script("gallery.panel.js"); $session = Session::instance(); if ($session->get("debug")) { diff --git a/modules/gallery/views/in_place_edit.html.php b/modules/gallery/views/in_place_edit.html.php index 5cc42cd6..64671d57 100644 --- a/modules/gallery/views/in_place_edit.html.php +++ b/modules/gallery/views/in_place_edit.html.php @@ -1,12 +1,4 @@ <?php defined("SYSPATH") or die("No direct script access.") ?> -<style> - #g-inplace-edit-form ul { - margin: 0; - } - #g-inplace-edit-message { -background-color: #FFF; - } -</style> <?= form::open($action, array("method" => "post", "id" => "g-inplace-edit-form", "class" => "g-short-form"), $hidden) ?> <ul> <li <? if (!empty($errors["input"])): ?> class="g-error"<? endif ?>> |