From dbbac99356b47d18748001bd1fad7a465636abd9 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 14:27:11 +0300
Subject: fix ticket #1051
---
lib/gallery.common.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index 5dd0d031..2b86700f 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -822,6 +822,7 @@ div#g-action-status {
.rtl .sf-menu li:hover ul,
.rtl .sf-menu li.sfHover ul {
right: 0;
+ left: auto;
}
.rtl ul.sf-menu li li:hover ul,
--
cgit v1.2.3
From 53ccc4df11e5b39964a585b3857521921b385a08 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 14:30:56 +0300
Subject: correct format
---
lib/gallery.common.css | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index 2b86700f..054bc29a 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -780,7 +780,7 @@ div#g-action-status {
/* RTL Superfish ~~~~~~~~~~~~~~~~~~~~~~~~~ */
.rtl .sf-menu a {
- border-left: none;
+ border-left: none;
border-right:1px solid #fff;
}
@@ -791,7 +791,7 @@ div#g-action-status {
.rtl .sf-sub-indicator {
left: .75em !important;
- right: auto;
+ right: auto;
background: url('superfish/images/arrows-ffffff-rtl.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
}
.rtl a > .sf-sub-indicator { /* give all except IE6 the correct values */
@@ -822,7 +822,7 @@ div#g-action-status {
.rtl .sf-menu li:hover ul,
.rtl .sf-menu li.sfHover ul {
right: 0;
- left: auto;
+ left: auto;
}
.rtl ul.sf-menu li li:hover ul,
--
cgit v1.2.3
From feb839a11804f5774cbbe10a348d6ffe28aa3f5c Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 14:36:59 +0300
Subject: more fixes for RTL Superfish
---
lib/gallery.common.css | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index 054bc29a..682cef70 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -828,10 +828,12 @@ div#g-action-status {
.rtl ul.sf-menu li li:hover ul,
.rtl ul.sf-menu li li.sfHover ul {
right: 12em; /* match ul width */
+ left: auto;
}
.rtl ul.sf-menu li li li:hover ul,
.rtl ul.sf-menu li li li.sfHover ul {
right: 12em; /* match ul width */
+ left: auto;
}
/*** shadows for all but IE6 ***/
--
cgit v1.2.3
From 2014e2b055fc75ee3aec61c563ce5fac5ba6d534 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 14:56:53 +0300
Subject: flip the window title and cancel button for RTL in dialogue windows
---
lib/gallery.common.css | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index 682cef70..a83acdbb 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -846,6 +846,22 @@ div#g-action-status {
-webkit-border-bottom-right-radius: 17px;
}
+/* RTL ThemeRoller ~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+.rtl .ui-dialog .ui-dialog-titlebar {
+ padding: 0.5em 1em 0.3em 0.3em;
+}
+
+.rtl .ui-dialog .ui-dialog-title {
+ float: right;
+}
+
+.rtl .ui-dialog .ui-dialog-titlebar-close {
+ left: 0.3em;
+ right: auto;
+}
+
+
/* RTL paginator ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.rtl .g-paginator .g-info {
--
cgit v1.2.3
From d91cf72ee9ba27e7c2a97ee807f4a49df2f24ff9 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 15:10:59 +0300
Subject: flip the padding direction for sidebar blocks contents in RTL
---
themes/admin_wind/css/screen.css | 4 ++++
themes/wind/css/screen.css | 3 +++
2 files changed, 7 insertions(+)
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css
index dbfb59e8..e2817b78 100644
--- a/themes/admin_wind/css/screen.css
+++ b/themes/admin_wind/css/screen.css
@@ -487,4 +487,8 @@ th {
.rtl .g-selected img,
.rtl .g-available .g-block img {
margin: 0 0 1em 1em;
+}
+
+.rtl #g-sidebar .g-block-content {
+ padding-right: 1em;
}
\ No newline at end of file
diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css
index 1e55a967..f5cb6601 100644
--- a/themes/wind/css/screen.css
+++ b/themes/wind/css/screen.css
@@ -457,3 +457,6 @@ td {
background-image: url('../images/ico-view-slideshow-rtl.png');
}
+.rtl #g-sidebar .g-block-content {
+ padding-right: 1em;
+}
\ No newline at end of file
--
cgit v1.2.3
From 3f2e68d4b15bea6974201523b70ef18d3d5b1f8a Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 15:20:14 +0300
Subject: oops.. remove the padding in RTL for admin-wind, since it seems that
it's zero (why the rule is duplicated with different values in the file in
lines: 159, 301?)
---
themes/admin_wind/css/screen.css | 4 ----
1 file changed, 4 deletions(-)
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css
index e2817b78..dbfb59e8 100644
--- a/themes/admin_wind/css/screen.css
+++ b/themes/admin_wind/css/screen.css
@@ -487,8 +487,4 @@ th {
.rtl .g-selected img,
.rtl .g-available .g-block img {
margin: 0 0 1em 1em;
-}
-
-.rtl #g-sidebar .g-block-content {
- padding-right: 1em;
}
\ No newline at end of file
--
cgit v1.2.3
From a77266d8e06ed960955b654197d4bcc9be2cb618 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 15:20:50 +0300
Subject: remove the original padding
---
themes/wind/css/screen.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css
index f5cb6601..66645cef 100644
--- a/themes/wind/css/screen.css
+++ b/themes/wind/css/screen.css
@@ -459,4 +459,5 @@ td {
.rtl #g-sidebar .g-block-content {
padding-right: 1em;
+ padding-left: 0;
}
\ No newline at end of file
--
cgit v1.2.3
From afa99c93f2f7ad5e46a2739a92e1f898dc9afc84 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 15:33:35 +0300
Subject: improve Superfish menus shadow for RTL, and add round corners support
for Opera
---
lib/gallery.common.css | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index a83acdbb..2bb5b6e2 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -840,10 +840,18 @@ div#g-action-status {
.rtl .sf-shadow ul {
background: url('superfish/images/shadow.png') no-repeat bottom left;
padding: 0 0 9px 8px;
- -moz-border-radius-bottomright: 17px;
+ border-top-right-radius: 0;
+ border-bottom-left-radius: 0;
+ -moz-border-radius-topright: 0;
+ -moz-border-radius-bottomleft: 0;
+ -webkit-border-top-right-radius: 0;
+ -webkit-border-bottom-left-radius: 0;
-moz-border-radius-topleft: 17px;
+ -moz-border-radius-bottomright: 17px;
-webkit-border-top-left-radius: 17px;
-webkit-border-bottom-right-radius: 17px;
+ border-top-left-radius: 17px;
+ border-bottom-right-radius: 17px;
}
/* RTL ThemeRoller ~~~~~~~~~~~~~~~~~~~~~~~~ */
--
cgit v1.2.3
From bd052d72f27efb703d2cf5c128300a2be7f6fb04 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 15:39:19 +0300
Subject: flip the padding of footer for RTL
---
themes/wind/css/screen.css | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css
index 66645cef..063c5015 100644
--- a/themes/wind/css/screen.css
+++ b/themes/wind/css/screen.css
@@ -460,4 +460,8 @@ td {
.rtl #g-sidebar .g-block-content {
padding-right: 1em;
padding-left: 0;
+}
+
+.rtl #g-footer #g-credits li {
+ padding-left: 1.2em;
}
\ No newline at end of file
--
cgit v1.2.3
From 9eefbb8d213426d3a74f2b55cfd99e2e608c9f26 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 15:42:42 +0300
Subject: fix the footer padding for RTL, complete the last commit
---
themes/wind/css/screen.css | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/themes/wind/css/screen.css b/themes/wind/css/screen.css
index 063c5015..44582a92 100644
--- a/themes/wind/css/screen.css
+++ b/themes/wind/css/screen.css
@@ -463,5 +463,6 @@ td {
}
.rtl #g-footer #g-credits li {
- padding-left: 1.2em;
+ padding-left: 1.2em !important;
+ padding-right: 0;
}
\ No newline at end of file
--
cgit v1.2.3
From b46fc38dcc539bf18505b60e0f462aaec6e2c647 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Wed, 23 Jun 2010 17:12:25 +0300
Subject: centerize the group labels in Edit Permission window.. i think it's
much cleaner this way
---
modules/gallery/css/gallery.css | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css
index 282ebec2..08bd4749 100644
--- a/modules/gallery/css/gallery.css
+++ b/modules/gallery/css/gallery.css
@@ -84,6 +84,10 @@
clear: both;
}
+#g-edit-permissions-form th {
+ text-align: center;
+}
+
#g-edit-permissions-form td {
background-image: none;
}
--
cgit v1.2.3
From 8e1ae7549362688dd38e053dd736ddc5fc6a4982 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Mon, 2 Aug 2010 05:45:05 +0300
Subject: add a little space before the success/fail icons, for RTL status
messages
---
lib/gallery.common.css | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
index 2bb5b6e2..315ec363 100644
--- a/lib/gallery.common.css
+++ b/lib/gallery.common.css
@@ -638,7 +638,7 @@ div#g-action-status {
.rtl .g-warning,
.rtl #g-add-photos-status .g-success,
.rtl #g-add-photos-status .g-error {
- background-position: center right;
+ background-position: 99% 50%;
padding-right: 30px !important;
}
--
cgit v1.2.3
From a0033ce75968b3c134c0e439046f135b1e646550 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Tue, 31 Aug 2010 18:08:01 +0300
Subject: flip the float value for RTL
---
modules/gallery/css/gallery.css | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css
index 8012c6cc..275a3d7d 100644
--- a/modules/gallery/css/gallery.css
+++ b/modules/gallery/css/gallery.css
@@ -200,3 +200,7 @@
.rtl #g-translations ol {
margin: 0 2em 1em 0;
}
+
+.rtl #g-add-photos-status-message {
+ float: left;
+}
--
cgit v1.2.3
From 078a287d62207c8df757cb9f672a7151cf2c7849 Mon Sep 17 00:00:00 2001
From: mamouneyya
Date: Mon, 20 Sep 2010 04:43:32 +0300
Subject: Revert the revert of (!): 93d1a8103e757a87fb00 f14290f34f097f525a56
ff8ee5bdfcc0d35e14f3
returning Tim changes to merge gallery.common.css contents with the theme css file
---
lib/gallery.common.css | 897 ---------------------------------
themes/admin_wind/css/screen.css | 850 ++++++++++++++++++++++++++++++-
themes/admin_wind/views/admin.html.php | 1 -
themes/wind/css/screen.css | 893 +++++++++++++++++++++++++++++++-
themes/wind/views/page.html.php | 1 -
5 files changed, 1718 insertions(+), 924 deletions(-)
delete mode 100644 lib/gallery.common.css
diff --git a/lib/gallery.common.css b/lib/gallery.common.css
deleted file mode 100644
index 315ec363..00000000
--- a/lib/gallery.common.css
+++ /dev/null
@@ -1,897 +0,0 @@
-/**
- * Gallery 3 commonly re-used screen styles
- *
- * Sheet organization:
- *
- * 1) Text
- * 2) Forms
- * 3) Dimension and scale
- * 4) States and interactions
- * 5) Positioning and order
- * 6) Containers/widgets
- * 7) Right to left language styles
- *
- * @todo Update .g-message-block, don't force it to 100%, bad things happen is themes when you do.
- */
-
-/** *******************************************************************
- * 1) Text
- **********************************************************************/
-
-.g-text-small {
- font-size: .8em;
-}
-
-.g-text-big {
- font-size: 1.2em;
-}
-
-.g-text-right {
- text-align: right;
-}
-
-/** *******************************************************************
- * 2) Forms
- **********************************************************************/
-
-form {
- margin: 0;
-}
-
-fieldset {
- border: 1px solid #ccc;
- padding: 0 1em .8em 1em;
-}
-
-#g-banner fieldset,
-#g-sidebar fieldset {
- border: none;
- padding: 0;
-}
-
-legend {
- font-weight: bold;
- margin: 0;
- padding: 0 .2em;
-}
-
-#g-banner legend,
-#g-sidebar legend,
-input[type="hidden"] {
- display: none;
-}
-
-input.textbox,
-input[type="text"],
-input[type="password"],
-textarea {
- border: 1px solid #e8e8e8;
- border-top-color: #ccc;
- border-left-color: #ccc;
- clear: both;
- color: #333;
- width: 50%;
-}
-
-textarea {
- height: 12em;
- width: 97%;
-}
-
-input:focus,
-input.textbox:focus,
-input[type=text]:focus,
-textarea:focus,
-option:focus {
- background-color: #ffc;
- color: #000;
-}
-
-input.checkbox,
-input[type=checkbox],
-input.radio,
-input[type=radio] {
- float: left;
- margin-right: .4em;
-}
-
-/* Form layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-form li {
- margin: 0;
- padding: 0 0 .2em 0;
-}
-
-form ul {
- margin-top: 0;
-}
-
-form ul ul {
- clear: both;
-}
-
-form ul ul li {
- float: left;
-}
-
-input,
-select,
-textarea {
- display: block;
- clear: both;
- padding: .2em;
-}
-
-input[type="submit"],
-input[type="reset"] {
- display: inline;
- clear: none;
- float: left;
-}
-
-/* Forms in dialogs and panels ~~~~~~~~~ */
-
-#g-dialog ul li {
- padding-bottom: .8em;
-}
-
-#g-dialog fieldset,
-#g-panel fieldset {
- border: none;
- padding: 0;
-}
-
-#g-panel legend {
- display: none;
-}
-
-input[readonly] {
- background-color: #F4F4FC;
-}
-
-#g-dialog input.textbox,
-#g-dialog input[type=text],
-#g-dialog input[type=password],
-#g-dialog textarea {
- width: 97%;
-}
-
-/* Short forms ~~~~~~~~~~~~~~~~~~~~~~~ */
-
-.g-short-form legend,
-.g-short-form label {
- display: none;
-}
-
-.g-short-form fieldset {
- border: none;
- padding: 0;
-}
-
-.g-short-form li {
- float: left;
- margin: 0 !important;
- padding: .4em 0;
-}
-
-.g-short-form .textbox,
-.g-short-form input[type=text] {
- color: #666;
- padding: .3em .6em;
- width: 100%;
-}
-
-.g-short-form .textbox.g-error {
- border: 1px solid #f00;
- color: #f00;
- padding-left: 24px;
-}
-
-.g-short-form .g-cancel {
- display: block;
- margin: .3em .8em;
-}
-
-#g-sidebar .g-short-form li {
- padding-left: 0;
- padding-right: 0;
-}
-
-/** *******************************************************************
- * 3) Dimension and scale
- **********************************************************************/
-
-.g-one-quarter {
- width: 25%;
-}
-
-.g-one-third {
- width: 33%;
-}
-
-.g-one-half {
- width: 50%;
-}
-
-.g-two-thirds {
- width: 66%;
-}
-
-.g-three-quarters {
- width: 75%;
-}
-
-.g-whole {
- width: 100%;
-}
-
-/** *******************************************************************
- * 4) States and interactions
- **********************************************************************/
-
-.g-active,
-.g-enabled,
-.g-available,
-.g-selected,
-.g-highlight {
- font-weight: bold;
-}
-
-.g-inactive,
-.g-disabled,
-.g-unavailable,
-.g-uneditable,
-.g-locked,
-.g-deselected,
-.g-understate {
- color: #ccc;
- font-weight: normal;
-}
-
-.g-editable {
- padding: .2em .3em;
-}
-
-.g-editable:hover {
- background-color: #ffc;
- cursor: text;
-}
-
-.g-error,
-.g-info,
-.g-success,
-.g-warning {
- padding-left: 30px;
-}
-
-form li.g-error,
-form li.g-info,
-form li.g-success,
-form li.g-warning {
- background-image: none;
- padding: .3em .8em .3em 0;
-}
-
-.g-short-form li.g-error {
- padding: .3em 0;
-}
-
-form.g-error input[type="text"],
-li.g-error input[type="text"],
-form.g-error input[type="password"],
-li.g-error input[type="password"],
-form.g-error input[type="checkbox"],
-li.g-error input[type="checkbox"],
-form.g-error input[type="radio"],
-li.g-error input[type="radio"],
-form.g-error textarea,
-li.g-error textarea,
-form.g-error select,
-li.g-error select {
- border: 2px solid #f00;
- margin-bottom: .2em;
-}
-
-.g-error,
-.g-denied,
-tr.g-error td.g-error,
-#g-add-photos-status .g-error {
- background: #f6cbca url('images/ico-error.png') no-repeat .4em 50%;
- color: #f00;
-}
-
-.g-info {
- background: #e8e8e8 url('images/ico-info.png') no-repeat .4em 50%;
-}
-
-.g-success,
-.g-allowed,
-#g-add-photos-status .g-success {
- background: #d9efc2 url('images/ico-success.png') no-repeat .4em 50%;
-}
-
-tr.g-success {
- background-image: none;
-}
-
-tr.g-success td.g-success {
- background-image: url('images/ico-success.png');
-}
-
-.g-warning,
-tr.g-warning td.g-warning {
- background: #fcf9ce url('images/ico-warning.png') no-repeat .4em 50%;
-}
-
-form .g-error {
- background-color: #fff;
- padding-left: 20px;
-}
-
-.g-open {
-}
-
-.g-closed {
-}
-
-.g-installed {
- background-color: #eeeeee;
-}
-
-.g-default {
- background-color: #c5dbec;
- font-weight: bold;
-}
-
-.g-draggable {
- cursor: move;
-}
-
-.g-draggable:hover {
- border: 1px dashed #000;
-}
-
-.ui-sortable .g-target,
-.ui-state-highlight {
- background-color: #fcf9ce;
- border: 2px dotted #999;
- height: 2em;
- margin: 1em 0;
-}
-
-/* Ajax loading indicator ~~~~~~~~~~~~~~~~ */
-
-.g-loading-large,
-.g-dialog-loading-large {
- background: #e8e8e8 url('images/loading-large.gif') no-repeat center center !important;
-}
-
-.g-loading-small {
- background: #e8e8e8 url('images/loading-small.gif') no-repeat center center !important;
-}
-
-/** *******************************************************************
- * 5) Positioning and order
- **********************************************************************/
-
-.g-left {
- clear: none;
- float: left;
-}
-
-.g-right {
- clear: none;
- float: right;
-}
-
-.g-first {
-}
-
-.g-last {
-}
-
-.g-even {
- background-color: #fff;
-}
-
-.g-odd {
- background-color: #eee;
-}
-
-/** *******************************************************************
- * 6) Containers/widgets
- **********************************************************************/
-
-/* Generic block container ~~~~~~~~~~~~~~~ */
-
-.g-block {
- clear: both;
- margin-bottom: 2.5em;
-}
-
-.g-block-content {
-}
-
-/* Superfish menu overrides ~~~~~~~~~~~~~~ */
-
-.sf-menu ul {
- width: 12em;
-}
-
-ul.sf-menu li li:hover ul,
-ul.sf-menu li li.sfHover ul {
- left: 12em;
-}
-
-ul.sf-menu li li li:hover ul,
-ul.sf-menu li li li.sfHover ul {
- left: 12em;
-}
-
-/* jQuery UI Dialog ~~~~~~~~~~~~~~~~~~~~~~ */
-
-.ui-widget-overlay {
- background: #000;
- opacity: .7;
-}
-
-/* Buttons ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-.g-button {
- display: inline-block;
- margin: 0 4px 0 0;
- padding: .2em .4em;
-}
-
-.g-button,
-.g-button:hover,
-.g-button:active {
- cursor: pointer !important;
- outline: 0;
- text-decoration: none;
- -moz-outline-style: none;
-}
-
-button {
- padding: 2px 4px 2px 4px;
-}
-
-/* jQuery UI ThemeRoller buttons ~~~~~~~~~ */
-
-.g-buttonset {
- padding-left: 1px;
-}
-
-.g-buttonset li {
- float: left;
-}
-
-.g-buttonset .g-button {
- margin: 0;
-}
-
-.ui-icon-left .ui-icon {
- float: left;
- margin-right: .2em;
-}
-
-.ui-icon-right .ui-icon {
- float: right;
- margin-left: .2em;
-}
-
-/* Rotate icon, ThemeRoller only provides one of these */
-
-.ui-icon-rotate-ccw {
- background-position: -192px -64px;
-}
-
-.ui-icon-rotate-cw {
- background-position: -208px -64px;
-}
-
-.g-progress-bar {
- height: 1em;
- width: 100%;
- margin-top: .5em;
- display: inline-block;
-}
-
-/* Status and validation messages ~~~~ */
-
-.g-message-block {
- background-position: .4em .3em;
- border: 1px solid #ccc;
- padding: 0;
-}
-
-#g-action-status {
- margin-bottom: 1em;
-}
-
-#g-action-status li,
-p#g-action-status,
-div#g-action-status {
- padding: .3em .3em .3em 30px;
-}
-
-#g-site-status li {
- border-bottom: 1px solid #ccc;
- padding: .3em .3em .3em 30px;
-}
-
-.g-module-status {
- clear: both;
- margin-bottom: 1em;
-}
-
-.g-message {
- background-position: 0 50%;
-}
-
-/* Breadcrumbs ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-.g-breadcrumbs {
- clear: both;
- padding: 0 20px;
-}
-
-.g-breadcrumbs li {
- background: transparent url('images/ico-separator.gif') no-repeat scroll left center;
- float: left;
- padding: 1em 8px 1em 18px;
-}
-
-.g-breadcrumbs .g-first {
- background: none;
- padding-left: 0;
-}
-
-.g-breadcrumbs li a,
-.g-breadcrumbs li span {
- display: block;
-}
-
-#g-dialog ul.g-breadcrumbs {
- margin-left: 0;
- padding-left: 0;
-}
-
-/* Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-.g-paginator {
- padding: .2em 0;
- width: 100%;
-}
-
-.g-paginator li {
- float: left;
- width: 30%;
-}
-
-.g-paginator .g-info {
- background: none;
- padding: .2em 0;
- text-align: center;
- width: 40%;
-}
-
-/* Dialogs and panels ~~~~~~~~~~~~~~~~~~ */
-
-#g-dialog {
- text-align: left;
-}
-
-#g-dialog legend {
- display: none;
-}
-
-#g-dialog .g-cancel {
- margin: .4em 1em;
-}
-
-#g-panel {
- display: none;
- padding: 1em;
-}
-
-/* Inline layout ~~~~~~~~~~ */
-
-.g-inline li {
- float: left;
- margin-left: 1.8em;
- padding-left: 0 !important;
-}
-
-.g-inline li.g-first {
- margin-left: 0;
-}
-
-/** *******************************************************************
- * 7) Right to left language styles
- **********************************************************************/
-
-.rtl {
- direction: rtl;
-}
-
-.rtl #g-header,
-.rtl #g-content,
-.rtl #g-sidebar,
-.rtl #g-footer,
-.rtl caption,
-.rtl th,
-.rtl #g-dialog,
-.rtl .g-context-menu li a,
-.rtl .g-message-box li,
-.rtl #g-site-status li {
- text-align: right;
-}
-
-.rtl .g-text-right {
- text-align: left;
-}
-
-.rtl .g-error,
-.rtl .g-info,
-.rtl .g-success,
-.rtl .g-warning,
-.rtl #g-add-photos-status .g-success,
-.rtl #g-add-photos-status .g-error {
- background-position: 99% 50%;
- padding-right: 30px !important;
-}
-
-.rtl form li.g-error,
-.rtl form li.g-info,
-.rtl form li.g-success,
-.rtl form li.g-warning {
- padding-right: 0 !important;
-}
-
-.rtl .g-left,
-.rtl .g-inline li,
-.rtl #g-content #g-album-grid .g-item,
-.rtl .sf-menu li,
-.rtl .g-breadcrumbs li,
-.rtl .g-paginator li,
-.rtl .g-buttonset li,
-.rtl .ui-icon-left .ui-icon,
-.rtl .g-short-form li,
-.rtl form ul ul li,
-.rtl input[type="submit"],
-.rtl input[type="reset"],
-.rtl input.checkbox,
-.rtl input[type=checkbox],
-.rtl input.radio,
-.rtl input[type=radio] {
- float: right;
-}
-
-.rtl .g-right,
-.rtl .ui-icon-right .ui-icon {
- float: left;
-}
-
-.rtl .g-inline li {
- margin-right: 1em;
-}
-
-.rtl .g-inline li.g-first {
- margin-right: 0;
-}
-
-.rtl .g-breadcrumbs li {
- background: transparent url('images/ico-separator-rtl.gif') no-repeat scroll right center;
- padding: 1em 18px 1em 8px;
-}
-
-.rtl .g-breadcrumbs .g-first {
- background: none;
- padding-right: 0;
-}
-
-.rtl input.checkbox {
- margin-left: .4em;
-}
-
-.rtl #g-add-comment {
- right: inherit;
- left: 0;
-}
-
-.rtl .ui-icon-left .ui-icon {
- margin-left: .2em;
-}
-
-.rtl .ui-icon-right .ui-icon {
- margin-right: .2em;
-}
-
-/* RTL Corner radius ~~~~~~~~~~~~~~~~~~~~~~ */
-.rtl .g-buttonset .ui-corner-tl {
- -moz-border-radius-topleft: 0;
- -webkit-border-top-left-radius: 0;
- border-top-left-radius: 0;
- -moz-border-radius-topright: 5px !important;
- -webkit-border-top-right-radius: 5px !important;
- border-top-right-radius: 5px !important;
-}
-
-.rtl .g-buttonset .ui-corner-tr {
- -moz-border-radius-topright: 0;
- -webkit-border-top-right-radius: 0;
- border-top-right-radius: 0;
- -moz-border-radius-topleft: 5px !important;
- -webkit-border-top-left-radius: 5px !important;
- border-top-left-radius: 5px !important;
-}
-
-.rtl .g-buttonset .ui-corner-bl {
- -moz-border-radius-bottomleft: 0;
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomright: 5px !important;
- -webkit-border-bottom-right-radius: 5px !important;
- border-bottom-right-radius: 5px !important;
-}
-
-.rtl .g-buttonset .ui-corner-br {
- -moz-border-radius-bottomright: 0;
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomleft: 5px !important;
- -webkit-border-bottom-left-radius: 5px !important;
- border-bottom-left-radius: 5px !important;
-}
-
-.rtl .g-buttonset .ui-corner-right,
-.rtl .ui-progressbar .ui-corner-right {
- -moz-border-radius-topright: 0;
- -webkit-border-top-right-radius: 0;
- border-top-right-radius: 0;
- -moz-border-radius-topleft: 5px !important;
- -webkit-border-top-left-radius: 5px !important;
- border-top-left-radius: 5px !important;
- -moz-border-radius-bottomright: 0;
- -webkit-border-bottom-right-radius: 0;
- border-bottom-right-radius: 0;
- -moz-border-radius-bottomleft: 5px !important;
- -webkit-border-bottom-left-radius: 5px !important;
- border-bottom-left-radius: 5px !important;
-}
-
-.rtl .g-buttonset .ui-corner-left,
-.rtl .ui-progressbar .ui-corner-left {
- -moz-border-radius-topleft: 0;
- -webkit-border-top-left-radius: 0;
- border-top-left-radius: 0;
- -moz-border-radius-topright: 5px !important;
- -webkit-border-top-right-radius: 5px !important;
- border-top-right-radius: 5px !important;
- -moz-border-radius-bottomleft: 0;
- -webkit-border-bottom-left-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-bottomright: 5px !important;
- -webkit-border-bottom-right-radius: 5px !important;
- border-bottom-right-radius: 5px !important;
-}
-
-/* RTL Superfish ~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-.rtl .sf-menu a {
- border-left: none;
- border-right:1px solid #fff;
-}
-
-.rtl .sf-menu a.sf-with-ul {
- padding-left: 2.25em;
- padding-right: 1em;
-}
-
-.rtl .sf-sub-indicator {
- left: .75em !important;
- right: auto;
- background: url('superfish/images/arrows-ffffff-rtl.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
-}
-.rtl a > .sf-sub-indicator { /* give all except IE6 the correct values */
- top: .8em;
- background-position: -10px -100px; /* use translucent arrow for modern browsers*/
-}
-/* apply hovers to modern browsers */
-.rtl a:focus > .sf-sub-indicator,
-.rtl a:hover > .sf-sub-indicator,
-.rtl a:active > .sf-sub-indicator,
-.rtl li:hover > a > .sf-sub-indicator,
-.rtl li.sfHover > a > .sf-sub-indicator {
- background-position: 0 -100px; /* arrow hovers for modern browsers*/
-}
-
-/* point right for anchors in subs */
-.rtl .sf-menu ul .sf-sub-indicator { background-position: 0 0; }
-.rtl .sf-menu ul a > .sf-sub-indicator { background-position: -10px 0; }
-/* apply hovers to modern browsers */
-.rtl .sf-menu ul a:focus > .sf-sub-indicator,
-.rtl .sf-menu ul a:hover > .sf-sub-indicator,
-.rtl .sf-menu ul a:active > .sf-sub-indicator,
-.rtl .sf-menu ul li:hover > a > .sf-sub-indicator,
-.rtl .sf-menu ul li.sfHover > a > .sf-sub-indicator {
- background-position: 0 0; /* arrow hovers for modern browsers*/
-}
-
-.rtl .sf-menu li:hover ul,
-.rtl .sf-menu li.sfHover ul {
- right: 0;
- left: auto;
-}
-
-.rtl ul.sf-menu li li:hover ul,
-.rtl ul.sf-menu li li.sfHover ul {
- right: 12em; /* match ul width */
- left: auto;
-}
-.rtl ul.sf-menu li li li:hover ul,
-.rtl ul.sf-menu li li li.sfHover ul {
- right: 12em; /* match ul width */
- left: auto;
-}
-
-/*** shadows for all but IE6 ***/
-.rtl .sf-shadow ul {
- background: url('superfish/images/shadow.png') no-repeat bottom left;
- padding: 0 0 9px 8px;
- border-top-right-radius: 0;
- border-bottom-left-radius: 0;
- -moz-border-radius-topright: 0;
- -moz-border-radius-bottomleft: 0;
- -webkit-border-top-right-radius: 0;
- -webkit-border-bottom-left-radius: 0;
- -moz-border-radius-topleft: 17px;
- -moz-border-radius-bottomright: 17px;
- -webkit-border-top-left-radius: 17px;
- -webkit-border-bottom-right-radius: 17px;
- border-top-left-radius: 17px;
- border-bottom-right-radius: 17px;
-}
-
-/* RTL ThemeRoller ~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-.rtl .ui-dialog .ui-dialog-titlebar {
- padding: 0.5em 1em 0.3em 0.3em;
-}
-
-.rtl .ui-dialog .ui-dialog-title {
- float: right;
-}
-
-.rtl .ui-dialog .ui-dialog-titlebar-close {
- left: 0.3em;
- right: auto;
-}
-
-
-/* RTL paginator ~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-.rtl .g-paginator .g-info {
- width: 35%;
-}
-
-.rtl .g-paginator .g-text-right {
- margin-left: 0;
-}
-
-.rtl .g-paginator .ui-icon-seek-end {
- background-position: -80px -160px;
-}
-
-.rtl .g-paginator .ui-icon-seek-next {
- background-position: -48px -160px;
-}
-
-.rtl .g-paginator .ui-icon-seek-prev {
- background-position: -32px -160px;
-}
-
-.rtl .g-paginator .ui-icon-seek-first {
- background-position: -64px -160px;
-}
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css
index 0d891149..3e155764 100644
--- a/themes/admin_wind/css/screen.css
+++ b/themes/admin_wind/css/screen.css
@@ -4,13 +4,15 @@
* @requires YUI reset, font, grids CSS
*
* Sheet organization:
- * 1) Basic HTML elements
- * 2) Reusable content blocks
- * 3) Page layout containers
- * 4) Content blocks in specific layout containers
- * 5) Navigation and menus
- * 6) jQuery and jQuery UI
- * 7) Right-to-left language styles
+ * 1) Basic HTML elements
+ * 2) Reusable content blocks
+ * 3) Page layout containers
+ * 4) Content blocks in specific layout containers
+ * 5) States and interactions
+ * 6) Positioning and order
+ * 7) Navigation and menus
+ * 8) jQuery and jQuery UI
+ * 9) Right-to-left language styles
*
* @todo Review g-buttonset-vertical
*/
@@ -86,6 +88,168 @@ a:hover,
}
/* Forms ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+form {
+ margin: 0;
+}
+
+fieldset {
+ border: 1px solid #ccc;
+ padding: 0 1em .8em 1em;
+}
+
+#g-banner fieldset,
+#g-sidebar fieldset {
+ border: none;
+ padding: 0;
+}
+
+legend {
+ font-weight: bold;
+ margin: 0;
+ padding: 0 .2em;
+}
+
+#g-banner legend,
+#g-sidebar legend,
+input[type="hidden"] {
+ display: none;
+}
+
+input.textbox,
+input[type="text"],
+input[type="password"],
+textarea {
+ border: 1px solid #e8e8e8;
+ border-top-color: #ccc;
+ border-left-color: #ccc;
+ clear: both;
+ color: #333;
+ width: 50%;
+}
+
+textarea {
+ height: 12em;
+ width: 97%;
+}
+
+input:focus,
+input.textbox:focus,
+input[type=text]:focus,
+textarea:focus,
+option:focus {
+ background-color: #ffc;
+ color: #000;
+}
+
+input.checkbox,
+input[type=checkbox],
+input.radio,
+input[type=radio] {
+ float: left;
+ margin-right: .4em;
+}
+
+/* Form layout ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+form li {
+ margin: 0;
+ padding: 0 0 .2em 0;
+}
+
+form ul {
+ margin-top: 0;
+}
+
+form ul ul {
+ clear: both;
+}
+
+form ul ul li {
+ float: left;
+}
+
+input,
+select,
+textarea {
+ display: block;
+ clear: both;
+ padding: .2em;
+}
+
+input[type="submit"],
+input[type="reset"] {
+ display: inline;
+ clear: none;
+ float: left;
+}
+
+/* Forms in dialogs and panels ~~~~~~~~~ */
+
+#g-dialog ul li {
+ padding-bottom: .8em;
+}
+
+#g-dialog fieldset,
+#g-panel fieldset {
+ border: none;
+ padding: 0;
+}
+
+#g-panel legend {
+ display: none;
+}
+
+input[readonly] {
+ background-color: #F4F4FC;
+}
+
+#g-dialog input.textbox,
+#g-dialog input[type=text],
+#g-dialog input[type=password],
+#g-dialog textarea {
+ width: 97%;
+}
+
+/* Short forms ~~~~~~~~~~~~~~~~~~~~~~~ */
+
+.g-short-form legend,
+.g-short-form label {
+ display: none;
+}
+
+.g-short-form fieldset {
+ border: none;
+ padding: 0;
+}
+
+.g-short-form li {
+ float: left;
+ margin: 0 !important;
+ padding: .4em 0;
+}
+
+.g-short-form .textbox,
+.g-short-form input[type=text] {
+ color: #666;
+ padding: .3em .6em;
+ width: 100%;
+}
+
+.g-short-form .textbox.g-error {
+ border: 1px solid #f00;
+ color: #f00;
+ padding-left: 24px;
+}
+
+.g-short-form .g-cancel {
+ display: block;
+ margin: .3em .8em;
+}
+
+#g-sidebar .g-short-form li {
+ padding-left: 0;
+ padding-right: 0;
+}
fieldset {
margin-bottom: 1em;
@@ -131,6 +295,19 @@ th {
white-space: nowrap;
}
+/* Text ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+.g-text-small {
+ font-size: .8em;
+}
+
+.g-text-big {
+ font-size: 1.2em;
+}
+
+.g-text-right {
+ text-align: right;
+}
+
/** *******************************************************************
* 2) Reusable content blocks
*********************************************************************/
@@ -230,6 +407,30 @@ ul.enumeration li {
/*** ******************************************************************
* 3) Page layout containers
*********************************************************************/
+/* Dimension and scale ~~~~~~~~~~~~~~~~~~~ */
+.g-one-quarter {
+ width: 25%;
+}
+
+.g-one-third {
+ width: 33%;
+}
+
+.g-one-half {
+ width: 50%;
+}
+
+.g-two-thirds {
+ width: 66%;
+}
+
+.g-three-quarters {
+ width: 75%;
+}
+
+.g-whole {
+ width: 100%;
+}
/* Header ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@@ -417,7 +618,180 @@ ul.enumeration li {
}
/** *******************************************************************
- * 5) Navigation and menus
+ * 5) States and interactions
+ **********************************************************************/
+
+.g-active,
+.g-enabled,
+.g-available,
+.g-selected,
+.g-highlight {
+ font-weight: bold;
+}
+
+.g-inactive,
+.g-disabled,
+.g-unavailable,
+.g-uneditable,
+.g-locked,
+.g-deselected,
+.g-understate {
+ color: #ccc;
+ font-weight: normal;
+}
+
+.g-editable {
+ padding: .2em .3em;
+}
+
+.g-editable:hover {
+ background-color: #ffc;
+ cursor: text;
+}
+
+.g-error,
+.g-info,
+.g-success,
+.g-warning {
+ padding-left: 30px;
+}
+
+form li.g-error,
+form li.g-info,
+form li.g-success,
+form li.g-warning {
+ background-image: none;
+ padding: .3em .8em .3em 0;
+}
+
+.g-short-form li.g-error {
+ padding: .3em 0;
+}
+
+form.g-error input[type="text"],
+li.g-error input[type="text"],
+form.g-error input[type="password"],
+li.g-error input[type="password"],
+form.g-error input[type="checkbox"],
+li.g-error input[type="checkbox"],
+form.g-error input[type="radio"],
+li.g-error input[type="radio"],
+form.g-error textarea,
+li.g-error textarea,
+form.g-error select,
+li.g-error select {
+ border: 2px solid #f00;
+ margin-bottom: .2em;
+}
+
+.g-error,
+.g-denied,
+tr.g-error td.g-error,
+#g-add-photos-status .g-error {
+ background: #f6cbca url('images/ico-error.png') no-repeat .4em 50%;
+ color: #f00;
+}
+
+.g-info {
+ background: #e8e8e8 url('images/ico-info.png') no-repeat .4em 50%;
+}
+
+.g-success,
+.g-allowed,
+#g-add-photos-status .g-success {
+ background: #d9efc2 url('images/ico-success.png') no-repeat .4em 50%;
+}
+
+tr.g-success {
+ background-image: none;
+}
+
+tr.g-success td.g-success {
+ background-image: url('images/ico-success.png');
+}
+
+.g-warning,
+tr.g-warning td.g-warning {
+ background: #fcf9ce url('images/ico-warning.png') no-repeat .4em 50%;
+}
+
+form .g-error {
+ background-color: #fff;
+ padding-left: 20px;
+}
+
+.g-open {
+}
+
+.g-closed {
+}
+
+.g-installed {
+ background-color: #eeeeee;
+}
+
+.g-default {
+ background-color: #c5dbec;
+ font-weight: bold;
+}
+
+.g-draggable {
+ cursor: move;
+}
+
+.g-draggable:hover {
+ border: 1px dashed #000;
+}
+
+.ui-sortable .g-target,
+.ui-state-highlight {
+ background-color: #fcf9ce;
+ border: 2px dotted #999;
+ height: 2em;
+ margin: 1em 0;
+}
+
+/* Ajax loading indicator ~~~~~~~~~~~~~~~~ */
+
+.g-loading-large,
+.g-dialog-loading-large {
+ background: #e8e8e8 url('images/loading-large.gif') no-repeat center center !important;
+}
+
+.g-loading-small {
+ background: #e8e8e8 url('images/loading-small.gif') no-repeat center center !important;
+}
+
+/** *******************************************************************
+ * 6) Positioning and order
+ **********************************************************************/
+
+.g-left {
+ clear: none;
+ float: left;
+}
+
+.g-right {
+ clear: none;
+ float: right;
+}
+
+.g-first {
+}
+
+.g-last {
+}
+
+.g-even {
+ background-color: #fff;
+}
+
+.g-odd {
+ background-color: #eee;
+}
+
+/** *******************************************************************
+ * 7) Navigation and menus
*********************************************************************/
/* Site Menu ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
@@ -434,10 +808,205 @@ ul.enumeration li {
}
/** *******************************************************************
- * 6) jQuery and jQuery UI
+ * 8) jQuery and jQuery UI
*********************************************************************/
+/* Generic block container ~~~~~~~~~~~~~~~ */
+
+.g-block {
+ clear: both;
+ margin-bottom: 2.5em;
+}
+
+.g-block-content {
+}
+
+/* Buttons ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+.g-button {
+ display: inline-block;
+ margin: 0 4px 0 0;
+ padding: .2em .4em;
+}
+
+.g-button,
+.g-button:hover,
+.g-button:active {
+ cursor: pointer !important;
+ outline: 0;
+ text-decoration: none;
+ -moz-outline-style: none;
+}
+
+button {
+ padding: 2px 4px 2px 4px;
+}
+
+/* jQuery UI ThemeRoller buttons ~~~~~~~~~ */
+
+.g-buttonset {
+ padding-left: 1px;
+}
+
+.g-buttonset li {
+ float: left;
+}
+
+.g-buttonset .g-button {
+ margin: 0;
+}
+
+.ui-icon-left .ui-icon {
+ float: left;
+ margin-right: .2em;
+}
+
+.ui-icon-right .ui-icon {
+ float: right;
+ margin-left: .2em;
+}
+
+/* Rotate icon, ThemeRoller only provides one of these */
+
+.ui-icon-rotate-ccw {
+ background-position: -192px -64px;
+}
+
+.ui-icon-rotate-cw {
+ background-position: -208px -64px;
+}
+
+.g-progress-bar {
+ height: 1em;
+ width: 100%;
+ margin-top: .5em;
+ display: inline-block;
+}
+
+/* Status and validation messages ~~~~ */
+
+.g-message-block {
+ background-position: .4em .3em;
+ border: 1px solid #ccc;
+ padding: 0;
+}
+
+#g-action-status {
+ margin-bottom: 1em;
+}
+
+#g-action-status li,
+p#g-action-status,
+div#g-action-status {
+ padding: .3em .3em .3em 30px;
+}
+
+#g-site-status li {
+ border-bottom: 1px solid #ccc;
+ padding: .3em .3em .3em 30px;
+}
+
+.g-module-status {
+ clear: both;
+ margin-bottom: 1em;
+}
+
+.g-message {
+ background-position: 0 50%;
+}
+
+/* Breadcrumbs ~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+.g-breadcrumbs {
+ clear: both;
+ padding: 0 20px;
+}
+
+.g-breadcrumbs li {
+ background: transparent url('images/ico-separator.gif') no-repeat scroll left center;
+ float: left;
+ padding: 1em 8px 1em 18px;
+}
+
+.g-breadcrumbs .g-first {
+ background: none;
+ padding-left: 0;
+}
+
+.g-breadcrumbs li a,
+.g-breadcrumbs li span {
+ display: block;
+}
+
+#g-dialog ul.g-breadcrumbs {
+ margin-left: 0;
+ padding-left: 0;
+}
+
+/* Pagination ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+.g-paginator {
+ padding: .2em 0;
+ width: 100%;
+}
+
+.g-paginator li {
+ float: left;
+ width: 30%;
+}
+
+.g-paginator .g-info {
+ background: none;
+ padding: .2em 0;
+ text-align: center;
+ width: 40%;
+}
+
+/* Dialogs and panels ~~~~~~~~~~~~~~~~~~ */
+
+#g-dialog {
+ text-align: left;
+}
+
+#g-dialog legend {
+ display: none;
+}
+
+#g-dialog .g-cancel {
+ margin: .4em 1em;
+}
+
+#g-panel {
+ display: none;
+ padding: 1em;
+}
+
+/* Inline layout ~~~~~~~~~~ */
+
+.g-inline li {
+ float: left;
+ margin-left: 1.8em;
+ padding-left: 0 !important;
+}
+
+.g-inline li.g-first {
+ margin-left: 0;
+}
/* Superfish menu overrides ~~~~~~~~~~~~~~ */
+.sf-menu ul {
+ width: 12em;
+}
+
+ul.sf-menu li li:hover ul,
+ul.sf-menu li li.sfHover ul {
+ left: 12em;
+}
+
+ul.sf-menu li li li:hover ul,
+ul.sf-menu li li li.sfHover ul {
+ left: 12em;
+}
+
.sf-menu li li,
.sf-menu li li ul li {
@@ -449,6 +1018,10 @@ ul.enumeration li {
}
/* jQuery UI Dialog ~~~~~~~~~~~~~~~~~~~~~~ */
+.ui-widget-overlay {
+ background: #000;
+ opacity: .7;
+}
#g-admin-dashboard .ui-state-highlight,
#g-sidebar .ui-state-highlight {
@@ -466,8 +1039,265 @@ ul.enumeration li {
}
/** *******************************************************************
- * 7) Right to left styles
+ * 9) Right to left styles
*********************************************************************/
+.rtl {
+ direction: rtl;
+}
+
+.rtl #g-header,
+.rtl #g-content,
+.rtl #g-sidebar,
+.rtl #g-footer,
+.rtl caption,
+.rtl th,
+.rtl #g-dialog,
+.rtl .g-context-menu li a,
+.rtl .g-message-box li,
+.rtl #g-site-status li {
+ text-align: right;
+}
+
+.rtl .g-text-right {
+ text-align: left;
+}
+
+.rtl .g-error,
+.rtl .g-info,
+.rtl .g-success,
+.rtl .g-warning,
+.rtl #g-add-photos-status .g-success,
+.rtl #g-add-photos-status .g-error {
+ background-position: center right;
+ padding-right: 30px !important;
+}
+
+.rtl form li.g-error,
+.rtl form li.g-info,
+.rtl form li.g-success,
+.rtl form li.g-warning {
+ padding-right: 0 !important;
+}
+
+.rtl .g-left,
+.rtl .g-inline li,
+.rtl #g-content #g-album-grid .g-item,
+.rtl .sf-menu li,
+.rtl .g-breadcrumbs li,
+.rtl .g-paginator li,
+.rtl .g-buttonset li,
+.rtl .ui-icon-left .ui-icon,
+.rtl .g-short-form li,
+.rtl form ul ul li,
+.rtl input[type="submit"],
+.rtl input[type="reset"],
+.rtl input.checkbox,
+.rtl input[type=checkbox],
+.rtl input.radio,
+.rtl input[type=radio] {
+ float: right;
+}
+
+.rtl .g-right,
+.rtl .ui-icon-right .ui-icon {
+ float: left;
+}
+
+.rtl .g-inline li {
+ margin-right: 1em;
+}
+
+.rtl .g-inline li.g-first {
+ margin-right: 0;
+}
+
+.rtl .g-breadcrumbs li {
+ background: transparent url('images/ico-separator-rtl.gif') no-repeat scroll right center;
+ padding: 1em 18px 1em 8px;
+}
+
+.rtl .g-breadcrumbs .g-first {
+ background: none;
+ padding-right: 0;
+}
+
+.rtl input.checkbox {
+ margin-left: .4em;
+}
+
+.rtl #g-add-comment {
+ right: inherit;
+ left: 0;
+}
+
+.rtl .ui-icon-left .ui-icon {
+ margin-left: .2em;
+}
+
+.rtl .ui-icon-right .ui-icon {
+ margin-right: .2em;
+}
+
+/* RTL Corner radius ~~~~~~~~~~~~~~~~~~~~~~ */
+.rtl .g-buttonset .ui-corner-tl {
+ -moz-border-radius-topleft: 0;
+ -webkit-border-top-left-radius: 0;
+ border-top-left-radius: 0;
+ -moz-border-radius-topright: 5px !important;
+ -webkit-border-top-right-radius: 5px !important;
+ border-top-right-radius: 5px !important;
+}
+
+.rtl .g-buttonset .ui-corner-tr {
+ -moz-border-radius-topright: 0;
+ -webkit-border-top-right-radius: 0;
+ border-top-right-radius: 0;
+ -moz-border-radius-topleft: 5px !important;
+ -webkit-border-top-left-radius: 5px !important;
+ border-top-left-radius: 5px !important;
+}
+
+.rtl .g-buttonset .ui-corner-bl {
+ -moz-border-radius-bottomleft: 0;
+ -webkit-border-bottom-left-radius: 0;
+ border-bottom-left-radius: 0;
+ -moz-border-radius-bottomright: 5px !important;
+ -webkit-border-bottom-right-radius: 5px !important;
+ border-bottom-right-radius: 5px !important;
+}
+
+.rtl .g-buttonset .ui-corner-br {
+ -moz-border-radius-bottomright: 0;
+ -webkit-border-bottom-right-radius: 0;
+ border-bottom-right-radius: 0;
+ -moz-border-radius-bottomleft: 5px !important;
+ -webkit-border-bottom-left-radius: 5px !important;
+ border-bottom-left-radius: 5px !important;
+}
+
+.rtl .g-buttonset .ui-corner-right,
+.rtl .ui-progressbar .ui-corner-right {
+ -moz-border-radius-topright: 0;
+ -webkit-border-top-right-radius: 0;
+ border-top-right-radius: 0;
+ -moz-border-radius-topleft: 5px !important;
+ -webkit-border-top-left-radius: 5px !important;
+ border-top-left-radius: 5px !important;
+ -moz-border-radius-bottomright: 0;
+ -webkit-border-bottom-right-radius: 0;
+ border-bottom-right-radius: 0;
+ -moz-border-radius-bottomleft: 5px !important;
+ -webkit-border-bottom-left-radius: 5px !important;
+ border-bottom-left-radius: 5px !important;
+}
+
+.rtl .g-buttonset .ui-corner-left,
+.rtl .ui-progressbar .ui-corner-left {
+ -moz-border-radius-topleft: 0;
+ -webkit-border-top-left-radius: 0;
+ border-top-left-radius: 0;
+ -moz-border-radius-topright: 5px !important;
+ -webkit-border-top-right-radius: 5px !important;
+ border-top-right-radius: 5px !important;
+ -moz-border-radius-bottomleft: 0;
+ -webkit-border-bottom-left-radius: 0;
+ border-bottom-left-radius: 0;
+ -moz-border-radius-bottomright: 5px !important;
+ -webkit-border-bottom-right-radius: 5px !important;
+ border-bottom-right-radius: 5px !important;
+}
+
+/* RTL Superfish ~~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+.rtl .sf-menu a {
+ border-left: none;
+ border-right:1px solid #fff;
+}
+
+.rtl .sf-menu a.sf-with-ul {
+ padding-left: 2.25em;
+ padding-right: 1em;
+}
+
+.rtl .sf-sub-indicator {
+ left: .75em !important;
+ right: auto;
+ background: url('superfish/images/arrows-ffffff-rtl.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
+}
+.rtl a > .sf-sub-indicator { /* give all except IE6 the correct values */
+ top: .8em;
+ background-position: -10px -100px; /* use translucent arrow for modern browsers*/
+}
+/* apply hovers to modern browsers */
+.rtl a:focus > .sf-sub-indicator,
+.rtl a:hover > .sf-sub-indicator,
+.rtl a:active > .sf-sub-indicator,
+.rtl li:hover > a > .sf-sub-indicator,
+.rtl li.sfHover > a > .sf-sub-indicator {
+ background-position: 0 -100px; /* arrow hovers for modern browsers*/
+}
+
+/* point right for anchors in subs */
+.rtl .sf-menu ul .sf-sub-indicator { background-position: 0 0; }
+.rtl .sf-menu ul a > .sf-sub-indicator { background-position: -10px 0; }
+/* apply hovers to modern browsers */
+.rtl .sf-menu ul a:focus > .sf-sub-indicator,
+.rtl .sf-menu ul a:hover > .sf-sub-indicator,
+.rtl .sf-menu ul a:active > .sf-sub-indicator,
+.rtl .sf-menu ul li:hover > a > .sf-sub-indicator,
+.rtl .sf-menu ul li.sfHover > a > .sf-sub-indicator {
+ background-position: 0 0; /* arrow hovers for modern browsers*/
+}
+
+.rtl .sf-menu li:hover ul,
+.rtl .sf-menu li.sfHover ul {
+ right: 0;
+ left: auto;
+}
+
+.rtl ul.sf-menu li li:hover ul,
+.rtl ul.sf-menu li li.sfHover ul {
+ right: 12em; /* match ul width */
+ left: auto;
+}
+.rtl ul.sf-menu li li li:hover ul,
+.rtl ul.sf-menu li li li.sfHover ul {
+ right: 12em; /* match ul width */
+ left: auto;
+}
+
+/*** shadows for all but IE6 ***/
+.rtl .sf-shadow ul {
+ background: url('superfish/images/shadow.png') no-repeat bottom left;
+ padding: 0 0 9px 8px;
+ border-top-right-radius: 0;
+ border-bottom-left-radius: 0;
+ -moz-border-radius-topright: 0;
+ -moz-border-radius-bottomleft: 0;
+ -webkit-border-top-right-radius: 0;
+ -webkit-border-bottom-left-radius: 0;
+ -moz-border-radius-topleft: 17px;
+ -moz-border-radius-bottomright: 17px;
+ -webkit-border-top-left-radius: 17px;
+ -webkit-border-bottom-right-radius: 17px;
+ border-top-left-radius: 17px;
+ border-bottom-right-radius: 17px;
+}
+
+/* RTL ThemeRoller ~~~~~~~~~~~~~~~~~~~~~~~~ */
+
+.rtl .ui-dialog .ui-dialog-titlebar {
+ padding: 0.5em 1em 0.3em 0.3em;
+}
+
+.rtl .ui-dialog .ui-dialog-title {
+ float: right;
+}
+
+.rtl .ui-dialog .ui-dialog-titlebar-close {
+ left: 0.3em;
+ right: auto;
+}
.rtl #g-content #g-album-grid .g-item,
.rtl #g-site-theme,
diff --git a/themes/admin_wind/views/admin.html.php b/themes/admin_wind/views/admin.html.php
index c4b51f41..c8041069 100644
--- a/themes/admin_wind/views/admin.html.php
+++ b/themes/admin_wind/views/admin.html.php
@@ -16,7 +16,6 @@
= $theme->css("yui/reset-fonts-grids.css") ?>
= $theme->css("themeroller/ui.base.css") ?>
= $theme->css("superfish/css/superfish.css") ?>
- = $theme->css("gallery.common.css") ?>
= $theme->css("screen.css") ?>
--
cgit v1.2.3
From 7ec0cc748ac4c2a3b3d11abfbfd0ba50eb63f182 Mon Sep 17 00:00:00 2001
From: Tim Almdal
Date: Sat, 23 Apr 2011 13:55:23 -0700
Subject: Fix for ticket #1699. Make the link to return to the gallery
installation clearer.
---
modules/gallery/views/upgrader.html.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gallery/views/upgrader.html.php b/modules/gallery/views/upgrader.html.php
index ad2e3421..70d37dd1 100644
--- a/modules/gallery/views/upgrader.html.php
+++ b/modules/gallery/views/upgrader.html.php
@@ -27,7 +27,7 @@
= t("That's it!") ?>
- = t("Your Gallery is up to date.",
+ = t("Your Gallery is up to date.
Return to your Gallery",
array("url" => html::mark_clean(url::base()))) ?>
--
cgit v1.2.3
From 4f27df48da62383ce7ea0a70d5866d2279c49b74 Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sat, 23 Apr 2011 13:56:57 -0700
Subject: Automated update of .build_number to 118 for branch master Last
update: f5a9abc26a14dda6c2dce4aaf5ab139d2663808b (1 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index 6e0af3b9..2bf8d285 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=117
+build_number=118
--
cgit v1.2.3
From a469146084e7ba064f171609849c4d8590424f88 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Sat, 23 Apr 2011 14:43:33 -0700
Subject: module.info and theme.info files now support author name, author url,
info url and discussion url fields. Those fields show up in the Admin >
Modules and Admin > Appearance > Theme Choice pages. All official modules
and themes updated to contain these values. Fixes #1696, #1698.
---
modules/gallery/module.info | 4 ++
modules/gallery/views/admin_modules.html.php | 52 +++++++++++++++++++++-
modules/gallery/views/admin_themes.html.php | 12 +++--
.../gallery/views/admin_themes_buttonset.html.php | 47 +++++++++++++++++++
4 files changed, 110 insertions(+), 5 deletions(-)
create mode 100644 modules/gallery/views/admin_themes_buttonset.html.php
diff --git a/modules/gallery/module.info b/modules/gallery/module.info
index 74c0658f..fc522d78 100644
--- a/modules/gallery/module.info
+++ b/modules/gallery/module.info
@@ -1,3 +1,7 @@
name = "Gallery 3"
description = "Gallery core application"
version = 49
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:gallery"
+discuss_url = "http://gallery.menalto.com/forum_module_gallery"
diff --git a/modules/gallery/views/admin_modules.html.php b/modules/gallery/views/admin_modules.html.php
index 2cc81b0d..ecd51d30 100644
--- a/modules/gallery/views/admin_modules.html.php
+++ b/modules/gallery/views/admin_modules.html.php
@@ -43,7 +43,7 @@
= t("Gallery Modules") ?>
- = t("Power up your Gallery by adding more modules! Each module provides new cool features.") ?>
+ = t("Power up your Gallery by adding more modules! Each module provides new cool features.", array("url" => "http://codex.gallery2.org/Category:Gallery_3:Modules")) ?>
@@ -55,6 +55,7 @@
= t("Name") ?> |
= t("Version") ?> |
= t("Description") ?> |
+
= t("Details") ?> |
foreach ($available as $module_name => $module_info): ?>
">
@@ -64,6 +65,55 @@
| = t($module_info->name) ?> |
= $module_info->version ?> |
= t($module_info->description) ?> |
+
+
+ |
endforeach ?>
diff --git a/modules/gallery/views/admin_themes.html.php b/modules/gallery/views/admin_themes.html.php
index d14e8bd4..7d947b28 100644
--- a/modules/gallery/views/admin_themes.html.php
+++ b/modules/gallery/views/admin_themes.html.php
@@ -10,7 +10,7 @@
= t("Theme choice") ?>
- = t("Gallery allows you to choose a theme for browsing your Gallery, as well as a special theme for the administration interface. Click a theme to preview and activate it.") ?>
+ = t("Make your Gallery beautiful with a new theme! There are separate themes for the regular site and for the administration interface. Click a theme below to preview and activate it.", array("url" => "http://codex.gallery2.org/Category:Gallery_3:Themes")) ?>
@@ -23,6 +23,7 @@
= $themes[$site]->description ?>
+ $v = new View("admin_themes_buttonset.html"); $v->info = $themes[$site]; print $v; ?>
= t("Available Gallery themes") ?>
@@ -40,13 +41,14 @@
= $info->description ?>
+ $v = new View("admin_themes_buttonset.html"); $v->info = $info; print $v; ?>
$count++ ?>
endforeach ?>
if (!$count): ?>
- = t("There are no other site themes available.") ?>
+ = t("There are no other site themes available. Download one now!", array("url" => "http://codex.gallery2.org/Category:Gallery_3:Modules")) ?>
endif ?>
@@ -61,6 +63,7 @@
= $themes[$admin]->description ?>
+ $v = new View("admin_themes_buttonset.html"); $v->info = $themes[$admin]; print $v; ?>
= t("Available admin themes") ?>
@@ -78,17 +81,18 @@
= $info->description ?>
+ $v = new View("admin_themes_buttonset.html"); $v->info = $info; print $v; ?>
$count++ ?>
endforeach ?>
if (!$count): ?>
- = t("There are no other admin themes available.") ?>
+ = t("There are no other admin themes available. Download one now!", array("url" => "http://codex.gallery2.org/Category:Gallery_3:Modules")) ?>
endif ?>
-
\ No newline at end of file
+
diff --git a/modules/gallery/views/admin_themes_buttonset.html.php b/modules/gallery/views/admin_themes_buttonset.html.php
new file mode 100644
index 00000000..5166f36c
--- /dev/null
+++ b/modules/gallery/views/admin_themes_buttonset.html.php
@@ -0,0 +1,47 @@
+
--
cgit v1.2.3
From 7cbcab601f6e30096ae8c3ecf198401eef824327 Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sat, 23 Apr 2011 14:45:32 -0700
Subject: Automated update of .build_number to 119 for branch master Last
update: c1779a9e8f1a2c3cbda576815a37fd9b67b3c82c (6 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index 2bf8d285..952b87ab 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=118
+build_number=119
--
cgit v1.2.3
From ba20d5a500fbc724376a2fc749ee2c645041a6e1 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Sat, 23 Apr 2011 14:46:07 -0700
Subject: Oops, this is the rest of the modules and themes for #1696 and #1698.
---
modules/akismet/module.info | 4 ++++
modules/comment/module.info | 4 ++++
modules/digibug/module.info | 4 ++++
modules/exif/module.info | 4 ++++
modules/g2_import/module.info | 4 ++++
modules/image_block/module.info | 4 ++++
modules/info/module.info | 4 ++++
modules/notification/module.info | 4 ++++
modules/organize/module.info | 4 ++++
modules/recaptcha/module.info | 4 ++++
modules/rest/module.info | 4 ++++
modules/rss/module.info | 4 ++++
modules/search/module.info | 4 ++++
modules/server_add/module.info | 4 ++++
modules/slideshow/module.info | 4 ++++
modules/tag/module.info | 4 ++++
modules/user/module.info | 4 ++++
modules/watermark/module.info | 4 ++++
themes/admin_wind/theme.info | 4 ++++
themes/wind/theme.info | 4 ++++
20 files changed, 80 insertions(+)
diff --git a/modules/akismet/module.info b/modules/akismet/module.info
index b61ed107..afc649d3 100644
--- a/modules/akismet/module.info
+++ b/modules/akismet/module.info
@@ -1,3 +1,7 @@
name = "Akismet"
description = "Filter comments through the Akismet web service to detect and eliminate spam (http://akismet.com). You'll need a WordPress.com API key to use it."
version = 1
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:akismet"
+discuss_url = "http://gallery.menalto.com/forum_module_akismet"
diff --git a/modules/comment/module.info b/modules/comment/module.info
index e5aa454d..63c6af1c 100644
--- a/modules/comment/module.info
+++ b/modules/comment/module.info
@@ -1,3 +1,7 @@
name = "Comments"
description = "Allows users and guests to leave comments on photos and albums."
version = 4
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:comment"
+discuss_url = "http://gallery.menalto.com/forum_module_comment"
diff --git a/modules/digibug/module.info b/modules/digibug/module.info
index be4e880a..ce437611 100644
--- a/modules/digibug/module.info
+++ b/modules/digibug/module.info
@@ -1,3 +1,7 @@
name = "Digibug"
description = "Digibug Photo Printing Module"
version = 2
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:digibug"
+discuss_url = "http://gallery.menalto.com/forum_module_digibug"
diff --git a/modules/exif/module.info b/modules/exif/module.info
index c8ae688e..c2ffbfa7 100644
--- a/modules/exif/module.info
+++ b/modules/exif/module.info
@@ -1,3 +1,7 @@
name = "Exif Data"
description = "Extract Exif data and display it on photo pages."
version = 1
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:exif"
+discuss_url = "http://gallery.menalto.com/forum_module_exif"
diff --git a/modules/g2_import/module.info b/modules/g2_import/module.info
index 977af251..0e766255 100644
--- a/modules/g2_import/module.info
+++ b/modules/g2_import/module.info
@@ -1,3 +1,7 @@
name = "Gallery2 Import"
description = "Import your Gallery 2 content into Gallery 3"
version = 2
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:g2_import"
+discuss_url = "http://gallery.menalto.com/forum_module_g2_import"
diff --git a/modules/image_block/module.info b/modules/image_block/module.info
index 6836fabc..aa3c5461 100644
--- a/modules/image_block/module.info
+++ b/modules/image_block/module.info
@@ -1,3 +1,7 @@
name = "Image Block"
description = "Display a random image in the sidebar"
version = 3
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:image_block"
+discuss_url = "http://gallery.menalto.com/forum_module_image_block"
diff --git a/modules/info/module.info b/modules/info/module.info
index 5f84cbb9..e8f30594 100644
--- a/modules/info/module.info
+++ b/modules/info/module.info
@@ -1,3 +1,7 @@
name = "Info"
description = "Display extra information about photos and albums"
version = 2
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:info"
+discuss_url = "http://gallery.menalto.com/forum_module_info"
diff --git a/modules/notification/module.info b/modules/notification/module.info
index 8c5e1162..dacc00f9 100644
--- a/modules/notification/module.info
+++ b/modules/notification/module.info
@@ -1,3 +1,7 @@
name = "Notification"
description = "Send notifications to users when changes are made to watched albums."
version = 2
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:notification"
+discuss_url = "http://gallery.menalto.com/forum_module_notification"
diff --git a/modules/organize/module.info b/modules/organize/module.info
index 0d16144d..31d24379 100644
--- a/modules/organize/module.info
+++ b/modules/organize/module.info
@@ -1,3 +1,7 @@
name = "Organize"
description = "Visually rearrange and move photos in your gallery"
version = 4
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:organize"
+discuss_url = "http://gallery.menalto.com/forum_module_organize"
diff --git a/modules/recaptcha/module.info b/modules/recaptcha/module.info
index cfa1bf7a..2a0b419b 100644
--- a/modules/recaptcha/module.info
+++ b/modules/recaptcha/module.info
@@ -1,3 +1,7 @@
name = "reCAPTCHA"
description = "reCAPTCHA displays a graphical verification that protects the input form from abuse from 'bots,' or automated programs usually written to generate spam (http://recaptcha.net)."
version = 1
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:recaptcha"
+discuss_url = "http://gallery.menalto.com/forum_module_recaptcha"
diff --git a/modules/rest/module.info b/modules/rest/module.info
index 5aaffc28..c71c64f9 100644
--- a/modules/rest/module.info
+++ b/modules/rest/module.info
@@ -2,3 +2,7 @@ name = "REST API Module"
description = "A REST-based API that allows desktop clients and other apps to interact with Gallery 3"
version = 3
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:rest"
+discuss_url = "http://gallery.menalto.com/forum_module_rest"
diff --git a/modules/rss/module.info b/modules/rss/module.info
index 48375da1..5ebae9e7 100644
--- a/modules/rss/module.info
+++ b/modules/rss/module.info
@@ -1,3 +1,7 @@
name = "RSS"
description = "Provides RSS feeds"
version = 1
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:rss"
+discuss_url = "http://gallery.menalto.com/forum_module_rss"
diff --git a/modules/search/module.info b/modules/search/module.info
index f417c4fa..a1c58af5 100644
--- a/modules/search/module.info
+++ b/modules/search/module.info
@@ -1,3 +1,7 @@
name = "Search"
description = "Allows users to search their Gallery"
version = 1
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:search"
+discuss_url = "http://gallery.menalto.com/forum_module_search"
diff --git a/modules/server_add/module.info b/modules/server_add/module.info
index 87b317b1..754e06c1 100644
--- a/modules/server_add/module.info
+++ b/modules/server_add/module.info
@@ -1,3 +1,7 @@
name = "Server Add"
description = "Allows authorized users to load images directly from your web server"
version = 4
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:server_add"
+discuss_url = "http://gallery.menalto.com/forum_module_server_add"
diff --git a/modules/slideshow/module.info b/modules/slideshow/module.info
index b56eac81..55cdf9b8 100644
--- a/modules/slideshow/module.info
+++ b/modules/slideshow/module.info
@@ -1,3 +1,7 @@
name = "Slideshow"
description = "Allows users to view a slideshow of photos"
version = 2
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:slideshow"
+discuss_url = "http://gallery.menalto.com/forum_module_slideshow"
diff --git a/modules/tag/module.info b/modules/tag/module.info
index d9d34386..59d8dfbd 100644
--- a/modules/tag/module.info
+++ b/modules/tag/module.info
@@ -1,3 +1,7 @@
name = "Tags"
description = "Allows users to tag photos and albums"
version = 3
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:tag"
+discuss_url = "http://gallery.menalto.com/forum_module_tag"
diff --git a/modules/user/module.info b/modules/user/module.info
index b7594815..f6dd9529 100644
--- a/modules/user/module.info
+++ b/modules/user/module.info
@@ -2,3 +2,7 @@ name = "Users and Groups"
description = "Gallery 3 user and group management"
version = 4
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:user"
+discuss_url = "http://gallery.menalto.com/forum_module_user"
diff --git a/modules/watermark/module.info b/modules/watermark/module.info
index 41a871bd..1f440016 100644
--- a/modules/watermark/module.info
+++ b/modules/watermark/module.info
@@ -1,3 +1,7 @@
name = "Watermarks"
description = "Allows users to watermark their photos"
version = 2
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Module:watermark"
+discuss_url = "http://gallery.menalto.com/forum_module_watermark"
diff --git a/themes/admin_wind/theme.info b/themes/admin_wind/theme.info
index 4034b64a..aca5c6c5 100644
--- a/themes/admin_wind/theme.info
+++ b/themes/admin_wind/theme.info
@@ -4,3 +4,7 @@ version = 1
author = "Gallery Team"
admin = 1
site = 0
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Theme:admin_wind"
+discuss_url = "http://gallery.menalto.com/forum_theme_admin_wind"
diff --git a/themes/wind/theme.info b/themes/wind/theme.info
index 17ea7c20..c2344c48 100644
--- a/themes/wind/theme.info
+++ b/themes/wind/theme.info
@@ -4,3 +4,7 @@ version = 1
author = "Gallery Team"
site = 1
admin = 0
+author_name = "Gallery Team"
+author_url = "http://codex.gallery2.org/Gallery:Team"
+info_url = "http://codex.gallery2.org/Gallery3:Theme:wind"
+discuss_url = "http://gallery.menalto.com/forum_theme_wind"
--
cgit v1.2.3
From ed21bbcb742b0a1fb763a048e15f025c2c4b715c Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sat, 23 Apr 2011 14:46:42 -0700
Subject: Automated update of .build_number to 120 for branch master Last
update: c1779a9e8f1a2c3cbda576815a37fd9b67b3c82c (8 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index 952b87ab..3af1d9a0 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=119
+build_number=120
--
cgit v1.2.3
From c07af35a19905f3241fb77662e8b7c84e41e9a62 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Sat, 23 Apr 2011 14:53:34 -0700
Subject: Oops, fix broken codex urls. For #1698.
---
modules/akismet/module.info | 2 +-
modules/comment/module.info | 2 +-
modules/digibug/module.info | 2 +-
modules/exif/module.info | 2 +-
modules/g2_import/module.info | 2 +-
modules/gallery/module.info | 2 +-
modules/image_block/module.info | 2 +-
modules/info/module.info | 2 +-
modules/notification/module.info | 2 +-
modules/organize/module.info | 2 +-
modules/recaptcha/module.info | 2 +-
modules/rest/module.info | 2 +-
modules/rss/module.info | 2 +-
modules/search/module.info | 2 +-
modules/server_add/module.info | 2 +-
modules/slideshow/module.info | 2 +-
modules/tag/module.info | 2 +-
modules/user/module.info | 2 +-
modules/watermark/module.info | 2 +-
themes/admin_wind/theme.info | 2 +-
themes/wind/theme.info | 2 +-
21 files changed, 21 insertions(+), 21 deletions(-)
diff --git a/modules/akismet/module.info b/modules/akismet/module.info
index afc649d3..63473468 100644
--- a/modules/akismet/module.info
+++ b/modules/akismet/module.info
@@ -3,5 +3,5 @@ description = "Filter comments through the Akismet web service to detect and eli
version = 1
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:akismet"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:akismet"
discuss_url = "http://gallery.menalto.com/forum_module_akismet"
diff --git a/modules/comment/module.info b/modules/comment/module.info
index 63c6af1c..4e7df6f1 100644
--- a/modules/comment/module.info
+++ b/modules/comment/module.info
@@ -3,5 +3,5 @@ description = "Allows users and guests to leave comments on photos and albums."
version = 4
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:comment"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:comment"
discuss_url = "http://gallery.menalto.com/forum_module_comment"
diff --git a/modules/digibug/module.info b/modules/digibug/module.info
index ce437611..781d5f01 100644
--- a/modules/digibug/module.info
+++ b/modules/digibug/module.info
@@ -3,5 +3,5 @@ description = "Digibug Photo Printing Module"
version = 2
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:digibug"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:digibug"
discuss_url = "http://gallery.menalto.com/forum_module_digibug"
diff --git a/modules/exif/module.info b/modules/exif/module.info
index c2ffbfa7..e266e20e 100644
--- a/modules/exif/module.info
+++ b/modules/exif/module.info
@@ -3,5 +3,5 @@ description = "Extract Exif data and display it on photo pages."
version = 1
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:exif"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:exif"
discuss_url = "http://gallery.menalto.com/forum_module_exif"
diff --git a/modules/g2_import/module.info b/modules/g2_import/module.info
index 0e766255..30fb46d4 100644
--- a/modules/g2_import/module.info
+++ b/modules/g2_import/module.info
@@ -3,5 +3,5 @@ description = "Import your Gallery 2 content into Gallery 3"
version = 2
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:g2_import"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:g2_import"
discuss_url = "http://gallery.menalto.com/forum_module_g2_import"
diff --git a/modules/gallery/module.info b/modules/gallery/module.info
index fc522d78..42345531 100644
--- a/modules/gallery/module.info
+++ b/modules/gallery/module.info
@@ -3,5 +3,5 @@ description = "Gallery core application"
version = 49
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:gallery"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:gallery"
discuss_url = "http://gallery.menalto.com/forum_module_gallery"
diff --git a/modules/image_block/module.info b/modules/image_block/module.info
index aa3c5461..6722cc8f 100644
--- a/modules/image_block/module.info
+++ b/modules/image_block/module.info
@@ -3,5 +3,5 @@ description = "Display a random image in the sidebar"
version = 3
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:image_block"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:image_block"
discuss_url = "http://gallery.menalto.com/forum_module_image_block"
diff --git a/modules/info/module.info b/modules/info/module.info
index e8f30594..f8964a78 100644
--- a/modules/info/module.info
+++ b/modules/info/module.info
@@ -3,5 +3,5 @@ description = "Display extra information about photos and albums"
version = 2
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:info"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:info"
discuss_url = "http://gallery.menalto.com/forum_module_info"
diff --git a/modules/notification/module.info b/modules/notification/module.info
index dacc00f9..84be8f99 100644
--- a/modules/notification/module.info
+++ b/modules/notification/module.info
@@ -3,5 +3,5 @@ description = "Send notifications to users when changes are made to watched albu
version = 2
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:notification"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:notification"
discuss_url = "http://gallery.menalto.com/forum_module_notification"
diff --git a/modules/organize/module.info b/modules/organize/module.info
index 31d24379..07b9dc38 100644
--- a/modules/organize/module.info
+++ b/modules/organize/module.info
@@ -3,5 +3,5 @@ description = "Visually rearrange and move photos in your gallery"
version = 4
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:organize"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:organize"
discuss_url = "http://gallery.menalto.com/forum_module_organize"
diff --git a/modules/recaptcha/module.info b/modules/recaptcha/module.info
index 2a0b419b..ebaff7de 100644
--- a/modules/recaptcha/module.info
+++ b/modules/recaptcha/module.info
@@ -3,5 +3,5 @@ description = "reCAPTCHA displays a graphical verification that protects the inp
version = 1
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:recaptcha"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:recaptcha"
discuss_url = "http://gallery.menalto.com/forum_module_recaptcha"
diff --git a/modules/rest/module.info b/modules/rest/module.info
index c71c64f9..33c9f1cf 100644
--- a/modules/rest/module.info
+++ b/modules/rest/module.info
@@ -4,5 +4,5 @@ description = "A REST-based API that allows desktop clients and other apps to in
version = 3
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:rest"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:rest"
discuss_url = "http://gallery.menalto.com/forum_module_rest"
diff --git a/modules/rss/module.info b/modules/rss/module.info
index 5ebae9e7..cd13c1b0 100644
--- a/modules/rss/module.info
+++ b/modules/rss/module.info
@@ -3,5 +3,5 @@ description = "Provides RSS feeds"
version = 1
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:rss"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:rss"
discuss_url = "http://gallery.menalto.com/forum_module_rss"
diff --git a/modules/search/module.info b/modules/search/module.info
index a1c58af5..1389798d 100644
--- a/modules/search/module.info
+++ b/modules/search/module.info
@@ -3,5 +3,5 @@ description = "Allows users to search their Gallery"
version = 1
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:search"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:search"
discuss_url = "http://gallery.menalto.com/forum_module_search"
diff --git a/modules/server_add/module.info b/modules/server_add/module.info
index 754e06c1..4ce0a97d 100644
--- a/modules/server_add/module.info
+++ b/modules/server_add/module.info
@@ -3,5 +3,5 @@ description = "Allows authorized users to load images directly from your web ser
version = 4
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:server_add"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:server_add"
discuss_url = "http://gallery.menalto.com/forum_module_server_add"
diff --git a/modules/slideshow/module.info b/modules/slideshow/module.info
index 55cdf9b8..8c9a3176 100644
--- a/modules/slideshow/module.info
+++ b/modules/slideshow/module.info
@@ -3,5 +3,5 @@ description = "Allows users to view a slideshow of photos"
version = 2
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:slideshow"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:slideshow"
discuss_url = "http://gallery.menalto.com/forum_module_slideshow"
diff --git a/modules/tag/module.info b/modules/tag/module.info
index 59d8dfbd..75d16bf0 100644
--- a/modules/tag/module.info
+++ b/modules/tag/module.info
@@ -3,5 +3,5 @@ description = "Allows users to tag photos and albums"
version = 3
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:tag"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:tag"
discuss_url = "http://gallery.menalto.com/forum_module_tag"
diff --git a/modules/user/module.info b/modules/user/module.info
index f6dd9529..503bcd0d 100644
--- a/modules/user/module.info
+++ b/modules/user/module.info
@@ -4,5 +4,5 @@ version = 4
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:user"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:user"
discuss_url = "http://gallery.menalto.com/forum_module_user"
diff --git a/modules/watermark/module.info b/modules/watermark/module.info
index 1f440016..58efa43f 100644
--- a/modules/watermark/module.info
+++ b/modules/watermark/module.info
@@ -3,5 +3,5 @@ description = "Allows users to watermark their photos"
version = 2
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Module:watermark"
+info_url = "http://codex.gallery2.org/Gallery3:Modules:watermark"
discuss_url = "http://gallery.menalto.com/forum_module_watermark"
diff --git a/themes/admin_wind/theme.info b/themes/admin_wind/theme.info
index aca5c6c5..466d8e43 100644
--- a/themes/admin_wind/theme.info
+++ b/themes/admin_wind/theme.info
@@ -6,5 +6,5 @@ admin = 1
site = 0
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Theme:admin_wind"
+info_url = "http://codex.gallery2.org/Gallery3:Themes:admin_wind"
discuss_url = "http://gallery.menalto.com/forum_theme_admin_wind"
diff --git a/themes/wind/theme.info b/themes/wind/theme.info
index c2344c48..e0be78b9 100644
--- a/themes/wind/theme.info
+++ b/themes/wind/theme.info
@@ -6,5 +6,5 @@ site = 1
admin = 0
author_name = "Gallery Team"
author_url = "http://codex.gallery2.org/Gallery:Team"
-info_url = "http://codex.gallery2.org/Gallery3:Theme:wind"
+info_url = "http://codex.gallery2.org/Gallery3:Themes:wind"
discuss_url = "http://gallery.menalto.com/forum_theme_wind"
--
cgit v1.2.3
From aa0d98e515983799c370fabf749d6c502a7bac8c Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sat, 23 Apr 2011 15:01:51 -0700
Subject: Automated update of .build_number to 121 for branch master Last
update: c1779a9e8f1a2c3cbda576815a37fd9b67b3c82c (10 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index 3af1d9a0..779b30c6 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=120
+build_number=121
--
cgit v1.2.3
From 92c23ea92d7c943d330c12a1c84fdcbdf2678202 Mon Sep 17 00:00:00 2001
From: Tim Almdal
Date: Sat, 23 Apr 2011 15:10:04 -0700
Subject: Set the width of the information column to 60px to prevent icon wrap
---
modules/gallery/views/admin_modules.html.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/gallery/views/admin_modules.html.php b/modules/gallery/views/admin_modules.html.php
index ecd51d30..03993bb2 100644
--- a/modules/gallery/views/admin_modules.html.php
+++ b/modules/gallery/views/admin_modules.html.php
@@ -55,7 +55,7 @@
= t("Name") ?> |
= t("Version") ?> |
= t("Description") ?> |
- = t("Details") ?> |
+ = t("Details") ?> |
foreach ($available as $module_name => $module_info): ?>
">
--
cgit v1.2.3
From f45835e6e1204ac9b05d4c9eb7c59521230c59d4 Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sat, 23 Apr 2011 15:10:17 -0700
Subject: Automated update of .build_number to 122 for branch master Last
update: aa0d98e515983799c370fabf749d6c502a7bac8c (1 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index 779b30c6..c9c79ae1 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=121
+build_number=122
--
cgit v1.2.3
From dfd50a6c1f2afc4b4e971ab6899aa69f43397e1c Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Sat, 23 Apr 2011 15:18:23 -0700
Subject: Partially revert the CSS change in
76a7ad3161be0994d7ba98e9dff9b317b2430bb3 to center the "Select..." button
because it was causing the SWF object to vanish in Firefox. #1638.
---
modules/gallery/css/gallery.css | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/modules/gallery/css/gallery.css b/modules/gallery/css/gallery.css
index 97d09454..ecf89565 100644
--- a/modules/gallery/css/gallery.css
+++ b/modules/gallery/css/gallery.css
@@ -29,12 +29,12 @@
#g-add-photos-canvas object,
#g-add-photos-button {
- left: 93px;
+ left: 90px;
margin: .5em 0;
padding: .4em 1em;
position: absolute;
top: 0;
- width: auto;
+ width: 300px;
}
#g-add-photos-canvas object {
--
cgit v1.2.3
From d3992b9983015ca584709478e06f2579283fdc8c Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sat, 23 Apr 2011 15:19:16 -0700
Subject: Automated update of .build_number to 123 for branch master Last
update: c1779a9e8f1a2c3cbda576815a37fd9b67b3c82c (12 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index c9c79ae1..4106864e 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=122
+build_number=123
--
cgit v1.2.3
From d835c06b5e2c4b718a9269ee22c6079cc0769365 Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sat, 23 Apr 2011 15:36:39 -0700
Subject: Automated update of .build_number to 124 for branch master Last
update: d3992b9983015ca584709478e06f2579283fdc8c (1 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index 4106864e..6c34c0c2 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=123
+build_number=124
--
cgit v1.2.3
From 67d2e8081c6e5f0b679881bca3fdc81fe1e78ccc Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Sat, 23 Apr 2011 16:12:10 -0700
Subject: Undo the change made in 5ce85636329b14673718836b3631a3e46efdc3bb
because it messes up tag counts (and makes the test fail-- I should have run
that!).
Also, use Tag_Model::items() in save() to avoid code duplication. Follow-on for #1628.
---
modules/tag/models/tag.php | 29 ++++++++++++-----------------
1 file changed, 12 insertions(+), 17 deletions(-)
diff --git a/modules/tag/models/tag.php b/modules/tag/models/tag.php
index d4e385a2..13e253ba 100644
--- a/modules/tag/models/tag.php
+++ b/modules/tag/models/tag.php
@@ -69,29 +69,14 @@ class Tag_Model_Core extends ORM {
* to this tag.
*/
public function save() {
- // Figure out what items have changed in this tag for our item_related_update event below
- if (isset($this->object_relations["items"])) {
- $added = array_diff($this->changed_relations["items"], $this->object_relations["items"]);
- $removed = array_diff($this->object_relations["items"], $this->changed_relations["items"]);
- if (isset($this->changed_relations["items"])) {
- $changed = array_merge($added, $removed);
- }
- $this->count = count($this->object_relations["items"]) + count($added) - count($removed);
- }
-
// Check to see if another tag exists with the same name
$duplicate_tag = ORM::factory("tag")
->where("name", "=", $this->name)
->where("id", "!=", $this->id)
->find();
if ($duplicate_tag->loaded()) {
- // If so, tag its items with this tag so as to merge it. Do this after we figure out what's
- // changed so that we don't notify on this change to keep churn down.
- $duplicate_tag_items = ORM::factory("item")
- ->join("items_tags", "items.id", "items_tags.item_id")
- ->where("items_tags.tag_id", "=", $duplicate_tag->id)
- ->find_all();
- foreach ($duplicate_tag_items as $item) {
+ // If so, tag its items with this tag so as to merge it.
+ foreach ($duplicate_tag->items() as $item) {
$this->add($item);
}
@@ -99,6 +84,16 @@ class Tag_Model_Core extends ORM {
$duplicate_tag->delete();
}
+ // Figure out what items have changed in this tag for our item_related_update event below
+ if (isset($this->object_relations["items"])) {
+ $added = array_diff($this->changed_relations["items"], $this->object_relations["items"]);
+ $removed = array_diff($this->object_relations["items"], $this->changed_relations["items"]);
+ if (isset($this->changed_relations["items"])) {
+ $changed = array_merge($added, $removed);
+ }
+ $this->count = count($this->object_relations["items"]) + count($added) - count($removed);
+ }
+
$result = parent::save();
if (!empty($changed)) {
--
cgit v1.2.3
From 5d4d8a893bef935a47b04e72fffa113eba99dd71 Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sat, 23 Apr 2011 16:12:29 -0700
Subject: Automated update of .build_number to 125 for branch master Last
update: d835c06b5e2c4b718a9269ee22c6079cc0769365 (1 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index 6c34c0c2..74464732 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=124
+build_number=125
--
cgit v1.2.3
From c3b0c96460da336bf720db0de2b396517004f514 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Sat, 23 Apr 2011 19:59:54 -0700
Subject: Revert 0235c2062e9d980a4778c4b22678238c525e1cd7 and instead apply the
fix from iptox.net listed here:
http://gallery.menalto.com/node/98768#comment-372398
Fixes for #1681, #1625
---
modules/gallery/helpers/graphics.php | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/modules/gallery/helpers/graphics.php b/modules/gallery/helpers/graphics.php
index 8d8853b0..acb11bfb 100644
--- a/modules/gallery/helpers/graphics.php
+++ b/modules/gallery/helpers/graphics.php
@@ -316,10 +316,10 @@ class graphics_Core {
// ImageMagick & GraphicsMagick
$magick_kits = array(
"imagemagick" => array(
- "name" => "ImageMagick", "binary" => "convert", "version" => "convert -version",
+ "name" => "ImageMagick", "binary" => "convert", "version_arg" => "-v",
"version_regex" => "/Version: \S+ (\S+)/"),
"graphicsmagick" => array(
- "name" => "GraphicsMagick", "binary" => "gm", "version" => "gm version",
+ "name" => "GraphicsMagick", "binary" => "gm", "version_arg" => "version",
"version_regex" => "/\S+ (\S+)/"));
// Loop through the kits
foreach ($magick_kits as $index => $settings) {
@@ -328,7 +328,8 @@ class graphics_Core {
$toolkits->$index->name = $settings["name"];
if ($path) {
if (@is_file($path) &&
- preg_match($settings["version_regex"], shell_exec($settings["version"]), $matches)) {
+ preg_match(
+ $settings["version_regex"], shell_exec($path . " " . $settings["version_arg"]), $matches)) {
$version = $matches[1];
$toolkits->$index->installed = true;
--
cgit v1.2.3
From 4c7f27a1a6a4fc71873093dd787de05a8ee6c079 Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sat, 23 Apr 2011 20:00:52 -0700
Subject: Automated update of .build_number to 126 for branch master Last
update: 5d4d8a893bef935a47b04e72fffa113eba99dd71 (1 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index 74464732..f5cd72a8 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=125
+build_number=126
--
cgit v1.2.3
From 342be9818f8c35dd13c8159960a9f71ae33d4c72 Mon Sep 17 00:00:00 2001
From: Chad Kieffer
Date: Sat, 23 Apr 2011 23:26:28 -0400
Subject: Turn off bullets on the tag admin list.
---
themes/admin_wind/css/screen.css | 1 +
1 file changed, 1 insertion(+)
diff --git a/themes/admin_wind/css/screen.css b/themes/admin_wind/css/screen.css
index 177eb1e6..f01c2a94 100644
--- a/themes/admin_wind/css/screen.css
+++ b/themes/admin_wind/css/screen.css
@@ -100,6 +100,7 @@ a:hover,
form ul li,
#g-action-status li,
#g-log-entries li,
+#g-tag-admin li,
.g-buttonset li,
.g-buttonset-vertical li,
.g-paginator li,
--
cgit v1.2.3
From c01a0eac9a09e0fc2ef4ba45a74c23a8a70f51b7 Mon Sep 17 00:00:00 2001
From: Tim Almdal
Date: Sat, 23 Apr 2011 20:30:30 -0700
Subject: Allow the tag rename function to split a tag into multiple tags if a
comma is used to delinate the seperate tags.
---
modules/tag/controllers/admin_tags.php | 26 ++++++++++++++++++++++----
1 file changed, 22 insertions(+), 4 deletions(-)
diff --git a/modules/tag/controllers/admin_tags.php b/modules/tag/controllers/admin_tags.php
index fd82bc92..5dc181bd 100644
--- a/modules/tag/controllers/admin_tags.php
+++ b/modules/tag/controllers/admin_tags.php
@@ -85,11 +85,23 @@ class Admin_Tags_Controller extends Admin_Controller {
if ($in_place_edit->validate()) {
$old_name = $tag->name;
- $tag->name = $in_place_edit->value();
+ $tag_name = $in_place_edit->value();
+ Kohana_Log::add("error", $tag_name);
+ $tags = explode(",", $tag_name);
+ $tag_count = count($tags);
+
+ $tag->name = array_shift($tags);
$tag->save();
- $message = t("Renamed tag %old_name to %new_name",
- array("old_name" => $old_name, "new_name" => $tag->name));
+ if (!empty($tags)) {
+ $this->_copy_items_for_tags($tag, $tags);
+ $message = t("Split tag %old_name into %new_tags",
+ array("old_name" => $old_name, "new_tags" => $tag_name));
+ } else {
+ $message = t("Renamed tag %old_name to %new_name",
+ array("old_name" => $old_name, "new_name" => $tag->name));
+ }
+
message::success($message);
log::success("tags", $message);
@@ -99,5 +111,11 @@ class Admin_Tags_Controller extends Admin_Controller {
}
}
+ private function _copy_items_for_tags($tag, $tags) {
+ foreach ($tag->items() as $item) {
+ foreach ($tags as $idx => $new_tag) {
+ tag::add($item, trim($new_tag));
+ }
+ }
+ }
}
-
--
cgit v1.2.3
From aba51feb3d330f30f0e3b68e16c31f6bb250ef02 Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sat, 23 Apr 2011 20:30:32 -0700
Subject: Automated update of .build_number to 127 for branch master Last
update: 4c7f27a1a6a4fc71873093dd787de05a8ee6c079 (1 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index f5cd72a8..20417d2b 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=126
+build_number=127
--
cgit v1.2.3
From 41f90e669f75e8e93bd31bf649011d5d315ac326 Mon Sep 17 00:00:00 2001
From: Tim Almdal
Date: Sun, 24 Apr 2011 07:04:11 -0700
Subject: Clarify the meaning of variable names.
---
modules/tag/controllers/admin_tags.php | 23 +++++++++++------------
1 file changed, 11 insertions(+), 12 deletions(-)
diff --git a/modules/tag/controllers/admin_tags.php b/modules/tag/controllers/admin_tags.php
index 5dc181bd..7a64f7ab 100644
--- a/modules/tag/controllers/admin_tags.php
+++ b/modules/tag/controllers/admin_tags.php
@@ -85,18 +85,17 @@ class Admin_Tags_Controller extends Admin_Controller {
if ($in_place_edit->validate()) {
$old_name = $tag->name;
- $tag_name = $in_place_edit->value();
- Kohana_Log::add("error", $tag_name);
- $tags = explode(",", $tag_name);
- $tag_count = count($tags);
+ $new_name_or_list = $in_place_edit->value();
+ $tag_list = explode(",", $new_name_or_list);
+ $tag_count = count($tag_list);
- $tag->name = array_shift($tags);
+ $tag->name = array_shift($tag_list);
$tag->save();
- if (!empty($tags)) {
- $this->_copy_items_for_tags($tag, $tags);
- $message = t("Split tag %old_name into %new_tags",
- array("old_name" => $old_name, "new_tags" => $tag_name));
+ if (!empty($tag_list)) {
+ $this->_copy_items_for_tags($tag, $tag_list);
+ $message = t("Split tag %old_name into %tag_list",
+ array("old_name" => $old_name, "tag_list" => $new_name_or_list));
} else {
$message = t("Renamed tag %old_name to %new_name",
array("old_name" => $old_name, "new_name" => $tag->name));
@@ -111,10 +110,10 @@ class Admin_Tags_Controller extends Admin_Controller {
}
}
- private function _copy_items_for_tags($tag, $tags) {
+ private function _copy_items_for_tags($tag, $tag_list) {
foreach ($tag->items() as $item) {
- foreach ($tags as $idx => $new_tag) {
- tag::add($item, trim($new_tag));
+ foreach ($tag_list as $new_tag_name) {
+ tag::add($item, trim($new_tag_name));
}
}
}
--
cgit v1.2.3
From b57dd202db3c4b007e83aff3df9da7920691d76d Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sun, 24 Apr 2011 07:06:14 -0700
Subject: Automated update of .build_number to 128 for branch master Last
update: aba51feb3d330f30f0e3b68e16c31f6bb250ef02 (1 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index 20417d2b..68a5d742 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=127
+build_number=128
--
cgit v1.2.3
From c8f90e861b866d0caa86343a6c7213e923023d39 Mon Sep 17 00:00:00 2001
From: Automatic Build Number Updater
Date: Sun, 24 Apr 2011 07:14:38 -0700
Subject: Automated update of .build_number to 129 for branch master Last
update: ce14f5fb906335c35bdb2754bb0cd482e7526f09 (8 commits ago)
---
.build_number | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.build_number b/.build_number
index 68a5d742..37dc1950 100644
--- a/.build_number
+++ b/.build_number
@@ -3,4 +3,4 @@
; process. You don't need to edit it. In fact..
;
; DO NOT EDIT THIS FILE BY HAND!
-build_number=128
+build_number=129
--
cgit v1.2.3