summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2009-11-05 21:35:40 -0800
committerTim Almdal <tnalmdal@shaw.ca>2009-11-05 21:35:40 -0800
commit6984737a542d759cbde967341ff3eca9ce20a3ba (patch)
tree1a4239eddfea2a62bd596abdebe1c56a4833ebaf /modules
parent8ac7a5c0d32320c74f5f0c84cf43165265786c93 (diff)
Clean up problem with cancelling the inplace edit left a whole bunch of css artifacts.
Diffstat (limited to 'modules')
-rw-r--r--modules/gallery/css/gallery.css4
-rw-r--r--modules/gallery/helpers/gallery_theme.php1
-rw-r--r--modules/gallery/views/in_place_edit.html.php8
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 ?>>