" alt=" t("Visit the GraphicsMagick project site") ?>" />
+
= t("GraphicsMagick") ?>
= t("GraphicsMagick is a standalone graphics program available on most Linux systems. Please refer to the GraphicsMagick website for more information.",
array("url" => "http://www.graphicsmagick.org")) ?>
if ($tk->installed): ?>
-
+
= t("GraphicsMagick version %version is available in %dir", array("version" => $tk->version, "dir" => $tk->dir)) ?>
-
+
" alt=" t("Visit the ImageMagick project site") ?>" />
+
= t("ImageMagick") ?>
= t("ImageMagick is a standalone graphics program available on most Linux systems. Please refer to the ImageMagick website for more information.",
array("url" => "http://www.imagemagick.org")) ?>
if ($tk->installed): ?>
-
+
= t("ImageMagick version %version is available in %dir", array("version" => $tk->version, "dir" => $tk->dir)) ?>
-
+
diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css
index c275eb10..21b2b31c 100644
--- a/themes/admin_default/css/screen.css
+++ b/themes/admin_default/css/screen.css
@@ -312,7 +312,6 @@ li.gError select {
.gError {
background-color: #f6cbca;
- color: red;
background-image: url('../images/ico-error.png');
}
@@ -346,11 +345,7 @@ table .gSuccess {
background-color: transparent !important;
}
-.gPager .gInfo,
-table .gError,
-table .gInfo,
-table .gSuccess,
-table .gWarning {
+.gPager .gInfo {
background-image: none !important;
}
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index 5eb30bde..7cf4cfbe 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -308,7 +308,6 @@ li.gError select {
.gError {
background-color: #f6cbca;
- color: #f00;
background-image: url('../images/ico-error.png');
}
--
cgit v1.2.3
From 12903f59965b6c95e91ffa8210adc7f18e0b4c03 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Mon, 31 Aug 2009 23:13:39 -0600
Subject: Hold the banner's height when header text is set or the logo's
yanked.
---
themes/default/css/screen.css | 1 +
1 file changed, 1 insertion(+)
(limited to 'themes/default/css/screen.css')
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index 7cf4cfbe..70903064 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -371,6 +371,7 @@ form .gError,
background-color: #e8e8e8;
border-bottom: 1px solid #ccc;
font-size: .8em;
+ overflow: hidden;
padding: 1em 20px;
position: relative;
}
--
cgit v1.2.3
From ee2070abe8681caeacc0dea4452a0dd00035e5e9 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Mon, 31 Aug 2009 23:20:52 -0600
Subject: Revert 12903f59965b6c95e91ffa8210adc7f18e0b4c03 overflow: auto hides
the site menu drop downs.
---
themes/default/css/screen.css | 1 -
1 file changed, 1 deletion(-)
(limited to 'themes/default/css/screen.css')
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index 70903064..7cf4cfbe 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -371,7 +371,6 @@ form .gError,
background-color: #e8e8e8;
border-bottom: 1px solid #ccc;
font-size: .8em;
- overflow: hidden;
padding: 1em 20px;
position: relative;
}
--
cgit v1.2.3
From 9cb8c10bb5d0e7ae80045a121e03d07757cb8d1c Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Mon, 31 Aug 2009 23:25:42 -0600
Subject: Use min-height to hold the banner's height. #706.
---
themes/default/css/screen.css | 1 +
1 file changed, 1 insertion(+)
(limited to 'themes/default/css/screen.css')
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index 7cf4cfbe..f6ce26d2 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -371,6 +371,7 @@ form .gError,
background-color: #e8e8e8;
border-bottom: 1px solid #ccc;
font-size: .8em;
+ min-height: 5em;
padding: 1em 20px;
position: relative;
}
--
cgit v1.2.3
From 39ca803af7a4439fdda3164d79d9435bdaa2b948 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Mon, 31 Aug 2009 23:51:27 -0600
Subject: Set CSS cursor to hand for jQuery UI ui-state-hover elements. Fixes
all but progress bar cursor. #669
---
modules/gallery/views/admin_maintenance_task.html.php | 2 +-
themes/admin_default/css/admin_screen.css | 7 -------
themes/admin_default/css/screen.css | 9 ++++++++-
themes/default/css/screen.css | 8 ++++++--
4 files changed, 15 insertions(+), 11 deletions(-)
(limited to 'themes/default/css/screen.css')
diff --git a/modules/gallery/views/admin_maintenance_task.html.php b/modules/gallery/views/admin_maintenance_task.html.php
index 0f33d508..bfc6ef44 100644
--- a/modules/gallery/views/admin_maintenance_task.html.php
+++ b/modules/gallery/views/admin_maintenance_task.html.php
@@ -57,7 +57,7 @@
= t("Starting up...") ?>
-
+
diff --git a/themes/admin_default/css/admin_screen.css b/themes/admin_default/css/admin_screen.css
index fd1ed02e..a8c16ae5 100644
--- a/themes/admin_default/css/admin_screen.css
+++ b/themes/admin_default/css/admin_screen.css
@@ -391,13 +391,6 @@ li.gDefaultGroup h4, li.gDefaultGroup .gUser {
.rtl #gRenameTagForm a, #gRenameTagForm span {
float: right;
}
-#gProgress button {
- float: right;
- margin-top: 1em;
-}
-.rtl #gProgress button {
- float: left;
-}
#gTaskLogDialog h1 {
font-size: 1.1em;
diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css
index 21b2b31c..eb8f9224 100644
--- a/themes/admin_default/css/screen.css
+++ b/themes/admin_default/css/screen.css
@@ -71,7 +71,10 @@ a,
#gDialog a,
.gButtonLink,
.gButtonLink:hover,
-.gButtonLink:active {
+.gButtonLink:active,
+a.ui-state-hover,
+input.ui-state-hover,
+button.ui-state-hover {
color: #5382BF !important;
text-decoration: none;
-moz-outline-style: none;
@@ -1055,6 +1058,10 @@ table .gSuccess {
text-align: right;
}
+.rtl .txtright {
+ text-align: left;
+}
+
.rtl #gHeader #gQuickSearchForm,
.rtl #gForgotPasswordLink,
.rtl #gHeader #gLoginMenu,
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index f6ce26d2..96be8996 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -71,8 +71,12 @@ a,
#gDialog a,
.gButtonLink,
.gButtonLink:hover,
-.gButtonLink:active {
- color: #5382BF !important;
+.gButtonLink:active,
+a.ui-state-hover,
+input.ui-state-hover,
+button.ui-state-hover {
+ color: #5382bf !important;
+ cursor: pointer !important;
text-decoration: none;
-moz-outline-style: none;
}
--
cgit v1.2.3
From 8972d5f05ce4f37061bdd4dd2c8a1a19c1235611 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Thu, 3 Sep 2009 10:20:54 -0700
Subject: Move the loading images into lib/images and adjust everything to
point at them, including jquery.autocomplete.css so that we don't have stuff
from lib that points into a theme directory. They were common images anyway.
Incidentally, rename sm/lg to small/large.
---
lib/images/loading-large.gif | Bin 0 -> 8238 bytes
lib/images/loading-small.gif | Bin 0 -> 673 bytes
lib/jquery.autocomplete.css | 10 +++++-----
themes/admin_default/css/screen.css | 6 +++---
themes/admin_default/images/loading-lg.gif | Bin 8238 -> 0 bytes
themes/admin_default/images/loading-sm.gif | Bin 673 -> 0 bytes
themes/default/css/screen.css | 6 +++---
themes/default/images/loading-lg.gif | Bin 8238 -> 0 bytes
themes/default/images/loading-sm.gif | Bin 673 -> 0 bytes
9 files changed, 11 insertions(+), 11 deletions(-)
create mode 100644 lib/images/loading-large.gif
create mode 100644 lib/images/loading-small.gif
delete mode 100644 themes/admin_default/images/loading-lg.gif
delete mode 100644 themes/admin_default/images/loading-sm.gif
delete mode 100644 themes/default/images/loading-lg.gif
delete mode 100644 themes/default/images/loading-sm.gif
(limited to 'themes/default/css/screen.css')
diff --git a/lib/images/loading-large.gif b/lib/images/loading-large.gif
new file mode 100644
index 00000000..cc70a7a8
Binary files /dev/null and b/lib/images/loading-large.gif differ
diff --git a/lib/images/loading-small.gif b/lib/images/loading-small.gif
new file mode 100644
index 00000000..d0bce154
Binary files /dev/null and b/lib/images/loading-small.gif differ
diff --git a/lib/jquery.autocomplete.css b/lib/jquery.autocomplete.css
index cdf26f56..00cd1c9b 100644
--- a/lib/jquery.autocomplete.css
+++ b/lib/jquery.autocomplete.css
@@ -20,15 +20,15 @@
padding: 2px 5px;
cursor: default;
display: block;
- /*
- if width will be 100% horizontal scrollbar will apear
+ /*
+ if width will be 100% horizontal scrollbar will apear
when scroll mode will be used
*/
/*width: 100%;*/
font: menu;
font-size: 12px;
- /*
- it is very important, if line-height not setted or setted
+ /*
+ it is very important, if line-height not setted or setted
in relative units scroll will be broken in firefox
*/
line-height: 16px;
@@ -36,7 +36,7 @@
}
.ac_loading {
- background: white url('../themes/default/images/loading-sm.gif') right center no-repeat;
+ background: white url('images/loading-small.gif') right center no-repeat;
}
.ac_odd {
diff --git a/themes/admin_default/css/screen.css b/themes/admin_default/css/screen.css
index c81db58d..4f802039 100644
--- a/themes/admin_default/css/screen.css
+++ b/themes/admin_default/css/screen.css
@@ -768,17 +768,17 @@ li.gDefaultGroup h4, li.gDefaultGroup .gUser {
/* Ajax loading indicator ~~~~~~~~~~~~~~~~ */
.gLoadingLarge {
- background: #e8e8e8 url('../images/loading-lg.gif') no-repeat center center;
+ background: #e8e8e8 url('../../../lib/images/loading-arge.gif') no-repeat center center;
font-size: 0;
}
.gDialogLoadingLarge {
- background: url('../images/loading-lg.gif') no-repeat center center !important;
+ background: url('../../../lib/images/loading-large.gif') no-repeat center center !important;
font-size: 0;
}
.gLoadingSmall {
- background: #e8e8e8 url('../images/loading-sm.gif') no-repeat center center;
+ background: #e8e8e8 url('../../../lib/images/loading-small.gif') no-repeat center center;
font-size: 0;
}
diff --git a/themes/admin_default/images/loading-lg.gif b/themes/admin_default/images/loading-lg.gif
deleted file mode 100644
index cc70a7a8..00000000
Binary files a/themes/admin_default/images/loading-lg.gif and /dev/null differ
diff --git a/themes/admin_default/images/loading-sm.gif b/themes/admin_default/images/loading-sm.gif
deleted file mode 100644
index d0bce154..00000000
Binary files a/themes/admin_default/images/loading-sm.gif and /dev/null differ
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index 96be8996..fd85d696 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -819,17 +819,17 @@ form .gError,
/* Ajax loading indicator ~~~~~~~~~~~~~~~~ */
.gLoadingLarge {
- background: #e8e8e8 url('../images/loading-lg.gif') no-repeat center center;
+ background: #e8e8e8 url('../../../lib/images/loading-large.gif') no-repeat center center;
font-size: 0;
}
.gDialogLoadingLarge {
- background: url('../images/loading-lg.gif') no-repeat center center !important;
+ background: url('../../../lib/images/loading-large.gif') no-repeat center center !important;
font-size: 0;
}
.gLoadingSmall {
- background: #e8e8e8 url('../images/loading-sm.gif') no-repeat center center;
+ background: #e8e8e8 url('../../../lib/images/loading-small.gif') no-repeat center center;
font-size: 0;
}
diff --git a/themes/default/images/loading-lg.gif b/themes/default/images/loading-lg.gif
deleted file mode 100644
index cc70a7a8..00000000
Binary files a/themes/default/images/loading-lg.gif and /dev/null differ
diff --git a/themes/default/images/loading-sm.gif b/themes/default/images/loading-sm.gif
deleted file mode 100644
index d0bce154..00000000
Binary files a/themes/default/images/loading-sm.gif and /dev/null differ
--
cgit v1.2.3
From 76df072e8e27239ab4c8f2abe07f664b4b1a1cbf Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Wed, 9 Sep 2009 16:18:00 -0700
Subject: Reformat error messages in dialogs so that they don't overflow in
weird ways.
---
themes/default/css/screen.css | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'themes/default/css/screen.css')
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index fd85d696..fec618e6 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -105,6 +105,12 @@ a:hover,
float: left;
}
+#gDialog #gMessage li {
+ width: 400px;
+ white-space: normal;
+ padding-left: 32px;
+}
+
/* Tables ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
table {
--
cgit v1.2.3
From b8053c9ddf3e393f76594e7dccc2f81f7116fd85 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Thu, 10 Sep 2009 21:10:20 -0700
Subject: Rename "after_installer" to "welcome_message" in the code to make it
clearer what its purpose is. Add some spacing in the theme for it so that
it's less cramped.
---
installer/installer.php | 5 +++
modules/gallery/controllers/after_install.php | 30 ------------------
modules/gallery/controllers/welcome_message.php | 30 ++++++++++++++++++
modules/gallery/helpers/gallery_theme.php | 4 +--
modules/gallery/views/after_install.html.php | 29 -----------------
.../gallery/views/after_install_loader.html.php | 7 -----
modules/gallery/views/welcome_message.html.php | 36 ++++++++++++++++++++++
.../gallery/views/welcome_message_loader.html.php | 7 +++++
themes/default/css/screen.css | 4 +++
9 files changed, 84 insertions(+), 68 deletions(-)
delete mode 100644 modules/gallery/controllers/after_install.php
create mode 100644 modules/gallery/controllers/welcome_message.php
delete mode 100644 modules/gallery/views/after_install.html.php
delete mode 100644 modules/gallery/views/after_install_loader.html.php
create mode 100644 modules/gallery/views/welcome_message.html.php
create mode 100644 modules/gallery/views/welcome_message_loader.html.php
(limited to 'themes/default/css/screen.css')
diff --git a/installer/installer.php b/installer/installer.php
index 7fed25c7..4480e35e 100644
--- a/installer/installer.php
+++ b/installer/installer.php
@@ -47,6 +47,11 @@ class installer {
}
static function unpack_var() {
+ if (!file_exists(VARPATH)) {
+ mkdir(VARPATH);
+ chmod(VARPATH, 0777);
+ }
+
include(DOCROOT . "installer/init_var.php");
return true;
}
diff --git a/modules/gallery/controllers/after_install.php b/modules/gallery/controllers/after_install.php
deleted file mode 100644
index b640092f..00000000
--- a/modules/gallery/controllers/after_install.php
+++ /dev/null
@@ -1,30 +0,0 @@
-admin) {
- url::redirect(item::root()->url());
- }
-
- $v = new View("after_install.html");
- $v->user = user::active();
- print $v;
- }
-}
diff --git a/modules/gallery/controllers/welcome_message.php b/modules/gallery/controllers/welcome_message.php
new file mode 100644
index 00000000..a4b690e3
--- /dev/null
+++ b/modules/gallery/controllers/welcome_message.php
@@ -0,0 +1,30 @@
+admin) {
+ url::redirect(item::root()->url());
+ }
+
+ $v = new View("welcome_message.html");
+ $v->user = user::active();
+ print $v;
+ }
+}
diff --git a/modules/gallery/helpers/gallery_theme.php b/modules/gallery/helpers/gallery_theme.php
index 69c5a091..8c97f124 100644
--- a/modules/gallery/helpers/gallery_theme.php
+++ b/modules/gallery/helpers/gallery_theme.php
@@ -70,9 +70,9 @@ class gallery_theme_Core {
return L10n_Client_Controller::l10n_form();
}
- if ($session->get("after_install")) {
+ if (true || $session->get("after_install")) {
$session->delete("after_install");
- return new View("after_install_loader.html");
+ return new View("welcome_message_loader.html");
}
}
diff --git a/modules/gallery/views/after_install.html.php b/modules/gallery/views/after_install.html.php
deleted file mode 100644
index 897946a2..00000000
--- a/modules/gallery/views/after_install.html.php
+++ /dev/null
@@ -1,29 +0,0 @@
-
-
- = t("Welcome to Gallery 3!") ?>
-
-
-
- = t("Congratulations on choosing Gallery to host your photos. We're confident that you're going to have a great experience.") ?>
-
-
-
- = t("You're logged in to the %user_name account. The very first thing you should do is to change your password to something that you'll remember.", array("user_name" => $user->name)) ?>
-
- = t("Want to learn more? The Gallery website has news and information about the Gallery project and community.", array("url" => "http://gallery.menalto.com")) ?>
-
-
-
- = t("Having problems? There's lots of information in our documentation site or you can ask for help in the forums!", array("codex_url" => "http://codex.gallery2.org/Main_Page", "forum_url" => "http://gallery.menalto.com/forum")) ?>
-
diff --git a/modules/gallery/views/after_install_loader.html.php b/modules/gallery/views/after_install_loader.html.php
deleted file mode 100644
index c2e3e1d9..00000000
--- a/modules/gallery/views/after_install_loader.html.php
+++ /dev/null
@@ -1,7 +0,0 @@
-
-for_html_attr() ?>"
- href="= url::site("after_install") ?>"/>
-
diff --git a/modules/gallery/views/welcome_message.html.php b/modules/gallery/views/welcome_message.html.php
new file mode 100644
index 00000000..5515c3dc
--- /dev/null
+++ b/modules/gallery/views/welcome_message.html.php
@@ -0,0 +1,36 @@
+
+
+
+ = t("Welcome to Gallery 3!") ?>
+
+
+
+
+ = t("Congratulations on choosing Gallery to host your photos. You're going to have a great experience!") ?>
+
+
+
+
+ = t("First things first. You're logged in to the %user_name account. You should change your password to something that you'll remember.", array("user_name" => $user->name)) ?>
+
+ = t("Want to learn more? The Gallery website has news and information about the Gallery project and community.", array("url" => "http://gallery.menalto.com")) ?>
+
+
+
+ = t("Having problems? There's lots of information in our documentation site or you can ask for help in the forums!", array("codex_url" => "http://codex.gallery2.org/Main_Page", "forum_url" => "http://gallery.menalto.com/forum")) ?>
+
+
diff --git a/modules/gallery/views/welcome_message_loader.html.php b/modules/gallery/views/welcome_message_loader.html.php
new file mode 100644
index 00000000..2c6bffca
--- /dev/null
+++ b/modules/gallery/views/welcome_message_loader.html.php
@@ -0,0 +1,7 @@
+
+for_html_attr() ?>"
+ href="= url::site("welcome_message") ?>"/>
+
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index fec618e6..d4c23155 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -773,6 +773,10 @@ form .gError,
text-decoration: underline;
}
+#gWelcomeMessage p {
+ padding-bottom: 1em;
+}
+
/* Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.gPager {
--
cgit v1.2.3
From 935a898c02030e3371b6662749979ec7181a3bc1 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Thu, 10 Sep 2009 22:58:37 -0600
Subject: Clear the Upload queue label from the breadcrumbs in the Add Photos
dialog.
---
themes/default/css/screen.css | 5 +++++
1 file changed, 5 insertions(+)
(limited to 'themes/default/css/screen.css')
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index d4c23155..b0a0a590 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -1022,6 +1022,11 @@ form .gError,
display: inline-block;
}
+#gAddPhotos span {
+ clear: both;
+ display: block;
+}
+
#gAddPhotosCanvas {
height: 325px;
width: 450px;
--
cgit v1.2.3
From e15426abab6017ad13d8a5f30f4b613c6ee193e8 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Thu, 10 Sep 2009 23:18:51 -0600
Subject: Clean up server add dialog a bit.
---
themes/default/css/screen.css | 22 +++-------------------
1 file changed, 3 insertions(+), 19 deletions(-)
(limited to 'themes/default/css/screen.css')
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index b0a0a590..b8632285 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -945,13 +945,13 @@ form .gError,
/* Server Add */
#gServerAdd button {
- float: left;
margin-bottom: .5em;
}
#gServerAddTree {
cursor: pointer;
padding-left: 4px;
+ width: 95%;
}
#gServerAddTree li {
@@ -965,32 +965,16 @@ form .gError,
#gServerAddTree {
border: 1px solid #ccc;
- height: 25em;
+ height: 20em;
overflow: auto;
margin-bottom: .5em;
- padding-top: .5em;
- padding-bottom: .5em;
+ padding: .5em;
}
#gServerAdd ul ul li {
padding-left: 1.2em;
}
-#gServerAdd .gBreadcrumbs {
- font-size: 1em;
- padding: 0;
- margin: 0;
- border-top-width: 0;
-}
-
-#gServerAdd p {
- margin: 0;
-}
-
-#gServerAdd .gBreadcrumbs li {
- padding: 10px 6px 10px 16px;
-}
-
/* Permissions ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
#gEditPermissionForm {
--
cgit v1.2.3
From 35f7f653634f295d5fe9ca1443c5e6d481f860fb Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Thu, 10 Sep 2009 23:26:37 -0600
Subject: Fix breadcrumbs in all dialogs rather than piecemeal.
---
themes/default/css/screen.css | 6 ++++++
1 file changed, 6 insertions(+)
(limited to 'themes/default/css/screen.css')
diff --git a/themes/default/css/screen.css b/themes/default/css/screen.css
index b8632285..64ecf775 100644
--- a/themes/default/css/screen.css
+++ b/themes/default/css/screen.css
@@ -702,6 +702,12 @@ form .gError,
font-weight: bold;
}
+#gDialog ul.gBreadcrumbs {
+ clear: both;
+ margin-left: 0;
+ padding-left: 0;
+}
+
#gDialog .gBreadcrumbs li {
font-size: .9em;
}
--
cgit v1.2.3