From 344702fda3d167579adfac9d59887120bab7962f Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Sun, 15 Nov 2009 06:50:21 -0800 Subject: [PATCH] Not sure why, but merging the remote repository and my local required a add and commit of the 3nids theme --- themes/3nids_theme/3nids/css/3nids.css | 108 +- .../3nids_theme/3nids/css/jquery.fancybox.css | 1314 ++++++++--------- themes/3nids_theme/README | 76 +- .../modules/tagsmap/css/tagsmap.css | 192 +-- .../modules/tagsmap/helpers/tagsmap.php | 76 +- .../modules/tagsmap/helpers/tagsmap_theme.php | 48 +- .../theme_3nids/controllers/movie_3nids.php | 74 +- .../theme_3nids/controllers/photo_3nids.php | 84 +- .../theme_3nids/helpers/theme_3nids.php | 200 +-- .../theme_3nids/helpers/theme_3nids_theme.php | 50 +- 10 files changed, 1111 insertions(+), 1111 deletions(-) diff --git a/themes/3nids_theme/3nids/css/3nids.css b/themes/3nids_theme/3nids/css/3nids.css index 80d02c25..27f61a07 100755 --- a/themes/3nids_theme/3nids/css/3nids.css +++ b/themes/3nids_theme/3nids/css/3nids.css @@ -1,54 +1,54 @@ -/* 3nids specific */ -.g-movie { - padding-top: 10px; -} - -.g-map-head img { - display: block; - margin: 3px; -} - -.g-map-head a { - float: right; -} - -.g-comment-thumb{ - padding: 5px; - text-align: left; -} - -.g-fancy-iframe-body{ - background-color: #333333; - height: auto; -} - -#mod_frame{ - background-color: #333333; - } - - .g-comment-box { - border-bottom: 1px solid #555; -} - -.g-comment-box:hover{ - background-color: black; - color: #ffffcc; -} - - #g-comment-detail { - width: 360px; - height: 100%; - background-color: #333333; - padding: 10px; - text-align: left; - margin-top: 30px; -} - -.g-block-content .g-parent-album h4 span { - background: transparent url('../images/ico-album.png') no-repeat top left; - display: inline-block; - height: 16px; - margin-right: 5px; - width: 16px; -} - +/* 3nids specific */ +.g-movie { + padding-top: 10px; +} + +.g-map-head img { + display: block; + margin: 3px; +} + +.g-map-head a { + float: right; +} + +.g-comment-thumb{ + padding: 5px; + text-align: left; +} + +.g-fancy-iframe-body{ + background-color: #333333; + height: auto; +} + +#mod_frame{ + background-color: #333333; + } + + .g-comment-box { + border-bottom: 1px solid #555; +} + +.g-comment-box:hover{ + background-color: black; + color: #ffffcc; +} + + #g-comment-detail { + width: 360px; + height: 100%; + background-color: #333333; + padding: 10px; + text-align: left; + margin-top: 30px; +} + +.g-block-content .g-parent-album h4 span { + background: transparent url('../images/ico-album.png') no-repeat top left; + display: inline-block; + height: 16px; + margin-right: 5px; + width: 16px; +} + diff --git a/themes/3nids_theme/3nids/css/jquery.fancybox.css b/themes/3nids_theme/3nids/css/jquery.fancybox.css index 7443cd01..35fe8bea 100755 --- a/themes/3nids_theme/3nids/css/jquery.fancybox.css +++ b/themes/3nids_theme/3nids/css/jquery.fancybox.css @@ -1,658 +1,658 @@ -html, body { - height: 100%; -} - -div#fancy_overlay { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-color: black; - display: none; - z-index: 30; -} - -* html div#fancy_overlay { - position: absolute; - height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); -} - -div#fancy_wrap { - text-align: middle; -} - -div#fancy_loading { - position: absolute; - height: 40px; - width: 40px; - cursor: pointer; - display: none; - overflow: hidden; - background: transparent; - z-index: 100; -} - -div#fancy_loading div { - position: absolute; - top: 0; - left: 0; - width: 40px; - height: 480px; - background: transparent url('../images/fancy_progress.png') no-repeat; -} - -div#fancy_loading_overlay { - position: absolute; - background-color: #FFF; - z-index: 30; -} - -div#fancy_outer { - position: absolute; - top: 0; - left: 0; - z-index: 90; - padding: 18px 18px 20px 0px; - margin: 0; - overflow: hidden; - background: transparent; - display: none; -} - -div#fancy_inner { - position: relative; - width:100%; - height:100%; - border: 1px solid #BBB; - background: #FFF; -} - -div#fancy_content { - margin: 0; - z-index: 100; - position: absolute; -} - -div#fancy_div { - background: #000; - color: #FFF; - height: 100%; - width: 100%; - z-index: 100; -} - -img#fancy_img { - position: absolute; - top: 0; - left: 0; - border:0; - padding: 0; - margin: 0; - z-index: 100; - width: 100%; - height: 100%; -} - -div#fancy_close { - position: absolute; - top: -12px; - right: -15px; - height: 30px; - width: 30px; - background: url('../images/fancy_closebox.png') top left no-repeat; - cursor: pointer; - z-index: 181; - display: none; -} - -#fancy_frame { - position: relative; - width: 100%; - height: 100%; - display: none; -} - -#fancy_ajax { - width: 100%; - height: 100%; - overflow: auto; -} - -a#fancy_left, a#fancy_right { - position: absolute; - top: 15px; - height: 50px; - width: 30%; - cursor: pointer; - z-index: 111; - display: none; - background-image: url('data:image/gif;base64,AAAA'); - outline: none; -} - -a#fancy_left { - left: 0px; -} - -a#fancy_right { - right: 0px; -} - -span.fancy_ico { - position: absolute; - top: 50%; - margin-top: -15px; - width: 30px; - height: 30px; - z-index: 112; - cursor: pointer; - display: block; -} - -span#fancy_left_ico { - left: -9999px; - background: transparent url('../images/fancy_left.png') no-repeat; -} - -span#fancy_right_ico { - right: -9999px; - background: transparent url('../images/fancy_right.png') no-repeat; -} - -a#fancy_left:hover { - visibility: visible; -} - -a#fancy_right:hover { - visibility: visible; -} - -a#fancy_left:hover span { - left: 20px; -} - -a#fancy_right:hover span { - right: 20px; -} - -.fancy_bigIframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: transparent; -} - -div#fancy_bg { - position: absolute; - top: 0; left: 0; - width: 100%; - height: 100%; - z-index: 70; - border: 0; - padding: 0; - margin: 0; -} - -div.fancy_bg { - position: absolute; - display: block; - z-index: 70; - border: 0; - padding: 0; - margin: 0; -} - -div.fancy_bg_n { - top: -18px; - width: 100%; - height: 18px; - background: transparent url('../images/fancy_shadow_n.png') repeat-x; -} - -div.fancy_bg_ne { - top: -18px; - right: -13px; - width: 13px; - height: 18px; - background: transparent url('../images/fancy_shadow_ne.png') no-repeat; -} - -div.fancy_bg_e { - right: -13px; - height: 100%; - width: 13px; - background: transparent url('../images/fancy_shadow_e.png') repeat-y; -} - -div.fancy_bg_se { - bottom: -18px; - right: -13px; - width: 13px; - height: 18px; - background: transparent url('../images/fancy_shadow_se.png') no-repeat; -} - -div.fancy_bg_s { - bottom: -18px; - width: 100%; - height: 18px; - background: transparent url('../images/fancy_shadow_s.png') repeat-x; -} - -div.fancy_bg_sw { - bottom: -18px; - left: -13px; - width: 13px; - height: 18px; - background: transparent url('../images/fancy_shadow_sw.png') no-repeat; -} - -div.fancy_bg_w { - left: -13px; - height: 100%; - width: 13px; - background: transparent url('../images/fancy_shadow_w.png') repeat-y; -} - -div.fancy_bg_nw { - top: -18px; - left: -13px; - width: 13px; - height: 18px; - background: transparent url('../images/fancy_shadow_nw.png') no-repeat; -} - -div#fancy_title { - position: absolute; - bottom: -20px; - left: 0; - z-index: 100; - display: none; -} - -div#fancy_title div { - color: #FFF; - font: bold 10px Arial; - padding-bottom: 3px; -} - -div#fancy_title table { - margin: 0 auto; -} - -div#fancy_title table td { - padding: 0; - vertical-align: middle; -} - -td#fancy_title_left { - height: 32px; - width: 15px; - background: transparent url('../images/fancy_title_left.png') repeat-x; -} - -td#fancy_title_main { - height: 32px; - background: transparent url('../images/fancy_title_main.png') repeat-x; -} - -td#fancy_title_right { - height: 32px; - width: 15px; - background: transparent url('../images/fancy_title_right.png') repeat-x; -} - -div#fancy_modules { - position: absolute; - bottom: -20px; - right: 0px; - z-index: 100; - display: none; -} -div#fancy_modules div { - color: #FFF; - font: bold 10px Arial; - padding-bottom: 3px; -} - -div#fancy_modules table { - margin: 0 auto; -} - -div#fancy_modules table td { - padding: 0; - vertical-align: middle; -} - -td#fancy_modules_left { - border-color: #333333; - height: 32px; - width: 15px; - background: transparent url('../images/fancy_title_left.png') repeat-x; -} - -td#fancy_modules_main { - border-color: #333333; - height: 32px; - background: transparent url('../images/fancy_title_main.png') repeat-x; -} - -td#fancy_modules_right { - border-color: #333333; - height: 32px; - width: 15px; - background: transparent url('../images/fancy_title_right.png') repeat-x; -} - -/* ************************************************* */ -/* ************************************************* */ -/* ************************************************* */ -/* ************************************************* */ - -div#mod_overlay { - position: fixed; - top: 0; - left: 0; - width: 100%; - height: 100%; - background-color: black; - display: none; - z-index: 1030; -} - -* html div#mod_overlay { - position: absolute; - height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); -} - -div#mod_wrap { - text-align: middle; -} - -div#mod_loading { - position: absolute; - height: 40px; - width: 40px; - cursor: pointer; - display: none; - overflow: hidden; - background: transparent; - z-index: 10100; -} - -div#mod_loading div { - position: absolute; - top: 0; - left: 0; - width: 40px; - height: 480px; - background: transparent url('../images/fancy_progress.png') no-repeat; -} - -div#mod_loading_overlay { - position: absolute; - background-color: #FFF; - z-index: 1030; -} - -div#mod_outer { - position: absolute; - top: 0; - left: 0; - z-index: 1090; - padding: 18px 18px 20px 0px; - margin: 0; - overflow: hidden; - background: transparent; - display: none; -} - -div#mod_inner { - position: relative; - width:100%; - height:100%; - border: 1px solid #BBB; - background: #FFF; -} - -div#mod_content { - margin: 0; - z-index: 10100; - position: absolute; -} - -div#mod_div { - background: #000; - color: #FFF; - height: 100%; - width: 100%; - z-index: 10100; -} - -img#mod_img { - position: absolute; - top: 0; - left: 0; - border:0; - padding: 0; - margin: 0; - z-index: 10100; - width: 100%; - height: 100%; -} - -div#mod_close { - position: absolute; - top: -12px; - right: -15px; - height: 30px; - width: 30px; - background: url('../images/fancy_closebox.png') top left no-repeat; - cursor: pointer; - z-index: 10181; - display: none; -} - -#mod_frame { - position: relative; - width: 100%; - height: 100%; - display: none; -} - -#mod_ajax { - width: 100%; - height: 100%; - overflow: auto; -} - -a#mod_left, a#mod_right { - position: absolute; - bottom: 0px; - height: 100%; - width: 35%; - cursor: pointer; - z-index: 10111; - display: none; - background-image: url('data:image/gif;base64,AAAA'); - outline: none; -} - -a#mod_left { - left: 0px; -} - -a#mod_right { - right: 0px; -} - -span.mod_ico { - position: absolute; - top: 50%; - margin-top: -15px; - width: 30px; - height: 30px; - z-index: 10112; - cursor: pointer; - display: block; -} - -span#mod_left_ico { - left: -9999px; - background: transparent url('../images/fancy_left.png') no-repeat; -} - -span#mod_right_ico { - right: -9999px; - background: transparent url('../images/fancy_right.png') no-repeat; -} - -a#mod_left:hover { - visibility: visible; -} - -a#mod_right:hover { - visibility: visible; -} - -a#mod_left:hover span { - left: 20px; -} - -a#mod_right:hover span { - right: 20px; -} - -.mod_bigIframe { - position: absolute; - top: 0; - left: 0; - width: 100%; - height: 100%; - background: transparent; -} - -div#mod_bg { - position: absolute; - top: 0; left: 0; - width: 100%; - height: 100%; - z-index: 1070; - border: 0; - padding: 0; - margin: 0; -} - -div.mod_bg { - position: absolute; - display: block; - z-index: 1070; - border: 0; - padding: 0; - margin: 0; -} - -div.mod_bg_n { - top: -18px; - width: 100%; - height: 18px; - background: transparent url('../images/fancy_shadow_n.png') repeat-x; -} - -div.mod_bg_ne { - top: -18px; - right: -13px; - width: 13px; - height: 18px; - background: transparent url('../images/fancy_shadow_ne.png') no-repeat; -} - -div.mod_bg_e { - right: -13px; - height: 100%; - width: 13px; - background: transparent url('../images/fancy_shadow_e.png') repeat-y; -} - -div.mod_bg_se { - bottom: -18px; - right: -13px; - width: 13px; - height: 18px; - background: transparent url('../images/fancy_shadow_se.png') no-repeat; -} - -div.mod_bg_s { - bottom: -18px; - width: 100%; - height: 18px; - background: transparent url('../images/fancy_shadow_s.png') repeat-x; -} - -div.mod_bg_sw { - bottom: -18px; - left: -13px; - width: 13px; - height: 18px; - background: transparent url('../images/fancy_shadow_sw.png') no-repeat; -} - -div.mod_bg_w { - left: -13px; - height: 100%; - width: 13px; - background: transparent url('../images/fancy_shadow_w.png') repeat-y; -} - -div.mod_bg_nw { - top: -18px; - left: -13px; - width: 13px; - height: 18px; - background: transparent url('../images/fancy_shadow_nw.png') no-repeat; -} - -div#mod_title { - position: absolute; - bottom: -20px; - left: 0; - z-index: 10100; - display: none; -} - -div#mod_title div { - color: #FFF; - font: bold 10px Arial; - padding-bottom: 3px; -} - -div#mod_title table { - margin: 0 auto; -} - -div#mod_title table td { - padding: 0; - vertical-align: middle; -} - -td#mod_title_left { - height: 32px; - width: 15px; - background: transparent url('../images/fancy_title_left.png') repeat-x; -} - -td#mod_title_main { - height: 32px; - background: transparent url('../images/fancy_title_main.png') repeat-x; -} - -td#mod_title_right { - height: 32px; - width: 15px; - background: transparent url('../images/fancy_title_right.png') repeat-x; -} - +html, body { + height: 100%; +} + +div#fancy_overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: black; + display: none; + z-index: 30; +} + +* html div#fancy_overlay { + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +div#fancy_wrap { + text-align: middle; +} + +div#fancy_loading { + position: absolute; + height: 40px; + width: 40px; + cursor: pointer; + display: none; + overflow: hidden; + background: transparent; + z-index: 100; +} + +div#fancy_loading div { + position: absolute; + top: 0; + left: 0; + width: 40px; + height: 480px; + background: transparent url('../images/fancy_progress.png') no-repeat; +} + +div#fancy_loading_overlay { + position: absolute; + background-color: #FFF; + z-index: 30; +} + +div#fancy_outer { + position: absolute; + top: 0; + left: 0; + z-index: 90; + padding: 18px 18px 20px 0px; + margin: 0; + overflow: hidden; + background: transparent; + display: none; +} + +div#fancy_inner { + position: relative; + width:100%; + height:100%; + border: 1px solid #BBB; + background: #FFF; +} + +div#fancy_content { + margin: 0; + z-index: 100; + position: absolute; +} + +div#fancy_div { + background: #000; + color: #FFF; + height: 100%; + width: 100%; + z-index: 100; +} + +img#fancy_img { + position: absolute; + top: 0; + left: 0; + border:0; + padding: 0; + margin: 0; + z-index: 100; + width: 100%; + height: 100%; +} + +div#fancy_close { + position: absolute; + top: -12px; + right: -15px; + height: 30px; + width: 30px; + background: url('../images/fancy_closebox.png') top left no-repeat; + cursor: pointer; + z-index: 181; + display: none; +} + +#fancy_frame { + position: relative; + width: 100%; + height: 100%; + display: none; +} + +#fancy_ajax { + width: 100%; + height: 100%; + overflow: auto; +} + +a#fancy_left, a#fancy_right { + position: absolute; + top: 15px; + height: 50px; + width: 30%; + cursor: pointer; + z-index: 111; + display: none; + background-image: url('data:image/gif;base64,AAAA'); + outline: none; +} + +a#fancy_left { + left: 0px; +} + +a#fancy_right { + right: 0px; +} + +span.fancy_ico { + position: absolute; + top: 50%; + margin-top: -15px; + width: 30px; + height: 30px; + z-index: 112; + cursor: pointer; + display: block; +} + +span#fancy_left_ico { + left: -9999px; + background: transparent url('../images/fancy_left.png') no-repeat; +} + +span#fancy_right_ico { + right: -9999px; + background: transparent url('../images/fancy_right.png') no-repeat; +} + +a#fancy_left:hover { + visibility: visible; +} + +a#fancy_right:hover { + visibility: visible; +} + +a#fancy_left:hover span { + left: 20px; +} + +a#fancy_right:hover span { + right: 20px; +} + +.fancy_bigIframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: transparent; +} + +div#fancy_bg { + position: absolute; + top: 0; left: 0; + width: 100%; + height: 100%; + z-index: 70; + border: 0; + padding: 0; + margin: 0; +} + +div.fancy_bg { + position: absolute; + display: block; + z-index: 70; + border: 0; + padding: 0; + margin: 0; +} + +div.fancy_bg_n { + top: -18px; + width: 100%; + height: 18px; + background: transparent url('../images/fancy_shadow_n.png') repeat-x; +} + +div.fancy_bg_ne { + top: -18px; + right: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_ne.png') no-repeat; +} + +div.fancy_bg_e { + right: -13px; + height: 100%; + width: 13px; + background: transparent url('../images/fancy_shadow_e.png') repeat-y; +} + +div.fancy_bg_se { + bottom: -18px; + right: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_se.png') no-repeat; +} + +div.fancy_bg_s { + bottom: -18px; + width: 100%; + height: 18px; + background: transparent url('../images/fancy_shadow_s.png') repeat-x; +} + +div.fancy_bg_sw { + bottom: -18px; + left: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_sw.png') no-repeat; +} + +div.fancy_bg_w { + left: -13px; + height: 100%; + width: 13px; + background: transparent url('../images/fancy_shadow_w.png') repeat-y; +} + +div.fancy_bg_nw { + top: -18px; + left: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_nw.png') no-repeat; +} + +div#fancy_title { + position: absolute; + bottom: -20px; + left: 0; + z-index: 100; + display: none; +} + +div#fancy_title div { + color: #FFF; + font: bold 10px Arial; + padding-bottom: 3px; +} + +div#fancy_title table { + margin: 0 auto; +} + +div#fancy_title table td { + padding: 0; + vertical-align: middle; +} + +td#fancy_title_left { + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_left.png') repeat-x; +} + +td#fancy_title_main { + height: 32px; + background: transparent url('../images/fancy_title_main.png') repeat-x; +} + +td#fancy_title_right { + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_right.png') repeat-x; +} + +div#fancy_modules { + position: absolute; + bottom: -20px; + right: 0px; + z-index: 100; + display: none; +} +div#fancy_modules div { + color: #FFF; + font: bold 10px Arial; + padding-bottom: 3px; +} + +div#fancy_modules table { + margin: 0 auto; +} + +div#fancy_modules table td { + padding: 0; + vertical-align: middle; +} + +td#fancy_modules_left { + border-color: #333333; + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_left.png') repeat-x; +} + +td#fancy_modules_main { + border-color: #333333; + height: 32px; + background: transparent url('../images/fancy_title_main.png') repeat-x; +} + +td#fancy_modules_right { + border-color: #333333; + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_right.png') repeat-x; +} + +/* ************************************************* */ +/* ************************************************* */ +/* ************************************************* */ +/* ************************************************* */ + +div#mod_overlay { + position: fixed; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: black; + display: none; + z-index: 1030; +} + +* html div#mod_overlay { + position: absolute; + height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px'); +} + +div#mod_wrap { + text-align: middle; +} + +div#mod_loading { + position: absolute; + height: 40px; + width: 40px; + cursor: pointer; + display: none; + overflow: hidden; + background: transparent; + z-index: 10100; +} + +div#mod_loading div { + position: absolute; + top: 0; + left: 0; + width: 40px; + height: 480px; + background: transparent url('../images/fancy_progress.png') no-repeat; +} + +div#mod_loading_overlay { + position: absolute; + background-color: #FFF; + z-index: 1030; +} + +div#mod_outer { + position: absolute; + top: 0; + left: 0; + z-index: 1090; + padding: 18px 18px 20px 0px; + margin: 0; + overflow: hidden; + background: transparent; + display: none; +} + +div#mod_inner { + position: relative; + width:100%; + height:100%; + border: 1px solid #BBB; + background: #FFF; +} + +div#mod_content { + margin: 0; + z-index: 10100; + position: absolute; +} + +div#mod_div { + background: #000; + color: #FFF; + height: 100%; + width: 100%; + z-index: 10100; +} + +img#mod_img { + position: absolute; + top: 0; + left: 0; + border:0; + padding: 0; + margin: 0; + z-index: 10100; + width: 100%; + height: 100%; +} + +div#mod_close { + position: absolute; + top: -12px; + right: -15px; + height: 30px; + width: 30px; + background: url('../images/fancy_closebox.png') top left no-repeat; + cursor: pointer; + z-index: 10181; + display: none; +} + +#mod_frame { + position: relative; + width: 100%; + height: 100%; + display: none; +} + +#mod_ajax { + width: 100%; + height: 100%; + overflow: auto; +} + +a#mod_left, a#mod_right { + position: absolute; + bottom: 0px; + height: 100%; + width: 35%; + cursor: pointer; + z-index: 10111; + display: none; + background-image: url('data:image/gif;base64,AAAA'); + outline: none; +} + +a#mod_left { + left: 0px; +} + +a#mod_right { + right: 0px; +} + +span.mod_ico { + position: absolute; + top: 50%; + margin-top: -15px; + width: 30px; + height: 30px; + z-index: 10112; + cursor: pointer; + display: block; +} + +span#mod_left_ico { + left: -9999px; + background: transparent url('../images/fancy_left.png') no-repeat; +} + +span#mod_right_ico { + right: -9999px; + background: transparent url('../images/fancy_right.png') no-repeat; +} + +a#mod_left:hover { + visibility: visible; +} + +a#mod_right:hover { + visibility: visible; +} + +a#mod_left:hover span { + left: 20px; +} + +a#mod_right:hover span { + right: 20px; +} + +.mod_bigIframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + background: transparent; +} + +div#mod_bg { + position: absolute; + top: 0; left: 0; + width: 100%; + height: 100%; + z-index: 1070; + border: 0; + padding: 0; + margin: 0; +} + +div.mod_bg { + position: absolute; + display: block; + z-index: 1070; + border: 0; + padding: 0; + margin: 0; +} + +div.mod_bg_n { + top: -18px; + width: 100%; + height: 18px; + background: transparent url('../images/fancy_shadow_n.png') repeat-x; +} + +div.mod_bg_ne { + top: -18px; + right: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_ne.png') no-repeat; +} + +div.mod_bg_e { + right: -13px; + height: 100%; + width: 13px; + background: transparent url('../images/fancy_shadow_e.png') repeat-y; +} + +div.mod_bg_se { + bottom: -18px; + right: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_se.png') no-repeat; +} + +div.mod_bg_s { + bottom: -18px; + width: 100%; + height: 18px; + background: transparent url('../images/fancy_shadow_s.png') repeat-x; +} + +div.mod_bg_sw { + bottom: -18px; + left: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_sw.png') no-repeat; +} + +div.mod_bg_w { + left: -13px; + height: 100%; + width: 13px; + background: transparent url('../images/fancy_shadow_w.png') repeat-y; +} + +div.mod_bg_nw { + top: -18px; + left: -13px; + width: 13px; + height: 18px; + background: transparent url('../images/fancy_shadow_nw.png') no-repeat; +} + +div#mod_title { + position: absolute; + bottom: -20px; + left: 0; + z-index: 10100; + display: none; +} + +div#mod_title div { + color: #FFF; + font: bold 10px Arial; + padding-bottom: 3px; +} + +div#mod_title table { + margin: 0 auto; +} + +div#mod_title table td { + padding: 0; + vertical-align: middle; +} + +td#mod_title_left { + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_left.png') repeat-x; +} + +td#mod_title_main { + height: 32px; + background: transparent url('../images/fancy_title_main.png') repeat-x; +} + +td#mod_title_right { + height: 32px; + width: 15px; + background: transparent url('../images/fancy_title_right.png') repeat-x; +} + diff --git a/themes/3nids_theme/README b/themes/3nids_theme/README index 1dc026cb..828c27dd 100755 --- a/themes/3nids_theme/README +++ b/themes/3nids_theme/README @@ -1,38 +1,38 @@ -This is a theme for gallery3. -It uses jquery lightbox slideshow (fancybox) to display images, and includes a tagsmap module (originally from rWatcher). - -********* -Demo @ http://gallery.3nids.ch - -********* -Requirements: -- Gallery 3 last experimental version @ http://github.com/gallery/gallery3 -- Tag module activated (if want to use tagsmap) -- theme_3nids module must be activated to display properly the theme. - -********* -Installation: - -1. Copy the theme folder (3nids) into gallery3/themes directory. -2. Copy modules folder into gallery3 directory. It includes tagsmap and theme_3nids modules. -3. Activate tagsmap and theme_3nids module. - -********* -Configuration: -Go to admin -> content -> Theme 3nids settings to configure the theme properly. - -********* -Use: -This theme displays full size images. So be carefull to upload not too large images! -The theme uses the tagsmap module which has been enhanced. - -For advanced users: -If you want to separate geotag from others, name those with the "map." prefix., the "map." prefix will not be displayed on the map. -If you want to remove the prefix in the tag cloud sidebar, wou will have to update in gallery3/modules/tag/helpers/tag.php the popular_tags function: - static function popular_tags($count) { - return ORM::factory("tag") - ->orderby("count", "DESC") - ->notregex("name","map\.") - ->limit($count) - ->find_all(); - } +This is a theme for gallery3. +It uses jquery lightbox slideshow (fancybox) to display images, and includes a tagsmap module (originally from rWatcher). + +********* +Demo @ http://gallery.3nids.ch + +********* +Requirements: +- Gallery 3 last experimental version @ http://github.com/gallery/gallery3 +- Tag module activated (if want to use tagsmap) +- theme_3nids module must be activated to display properly the theme. + +********* +Installation: + +1. Copy the theme folder (3nids) into gallery3/themes directory. +2. Copy modules folder into gallery3 directory. It includes tagsmap and theme_3nids modules. +3. Activate tagsmap and theme_3nids module. + +********* +Configuration: +Go to admin -> content -> Theme 3nids settings to configure the theme properly. + +********* +Use: +This theme displays full size images. So be carefull to upload not too large images! +The theme uses the tagsmap module which has been enhanced. + +For advanced users: +If you want to separate geotag from others, name those with the "map." prefix., the "map." prefix will not be displayed on the map. +If you want to remove the prefix in the tag cloud sidebar, wou will have to update in gallery3/modules/tag/helpers/tag.php the popular_tags function: + static function popular_tags($count) { + return ORM::factory("tag") + ->orderby("count", "DESC") + ->notregex("name","map\.") + ->limit($count) + ->find_all(); + } diff --git a/themes/3nids_theme/modules/tagsmap/css/tagsmap.css b/themes/3nids_theme/modules/tagsmap/css/tagsmap.css index 18149e1e..eb6dc89a 100755 --- a/themes/3nids_theme/modules/tagsmap/css/tagsmap.css +++ b/themes/3nids_theme/modules/tagsmap/css/tagsmap.css @@ -1,97 +1,97 @@ -.tooltip{ - position: absolute; - left: 10px; - top: 10px; - width: 150px; - background-color: #777; - color: #ffffcc; - border: 1px solid #f9db01; - font: bold 13px "Trebuchet MS", Verdana, Arial, sans-serif; - padding: 4px; - z-index: 20; - -moz-border-radius: 10px; - -moz-opacity: .87; - filter:alpha(opacity=87); - opacity:.87; -} - -.g-map-thumb-table{ - width:200px; - height: 80px; - font-size: 0.9em; - font-style: normal; - color: #FFFFCC; -} -.g-map-thumb-img{ - overflow:auto; - position: relative; - height:125px; -} -.g-map-thumb-link{ - height: 15px; -} -.g-map-thumb-td{ - padding: 0; - text-align: center; -} -.gMapThumbnail{ - height: 80px; -} -#gmInfo{ - width: 230px; -} -#gmInfo_contents{ - background: #3d3d3d; -} -#gmInfo_contents div{ - font-style: italic; - vertical-align: middle; - margin: 0 10px; -} -#gmInfo_tl{ - width: 14px; - height: 14px; - background: url('../images/gmInfo_tl.png') top left no-repeat transparent; -} -#gmInfo_t{ - background: url('../images/gmInfo_t.png') top left repeat-x transparent; -} -#gmInfo_tr{ - width: 14px; - height: 14px; - background: url('../images/gmInfo_tr.png') top left no-repeat transparent; -} -#gmInfo_l{ - width: 14px; - background: url('../images/gmInfo_l.png') top left repeat-y transparent; -} -#gmInfo_r{ - width: 14px; - background: url('../images/gmInfo_r.png') top right repeat-y transparent; -} -#gmInfo_bl{ - width: 14px; - height: 14px; - background: url('../images/gmInfo_bl.png') top left no-repeat transparent; -} -#gmInfo_b{ - background: url('../images/gmInfo_b.png') top left repeat-x transparent; -} -#gmInfo_br{ - width: 14px; - height: 14px; - background: url('../images/gmInfo_br.png') top left no-repeat transparent; -} -#gmInfo_close{ - width: 30px; - height: 30px; - background: url('../images/gmInfo_close.png') top left no-repeat transparent; - margin: -10px 0 0 10px; - cursor: pointer; -} -#gmInfo_beak{ - width: 27px; - height: 33px; - background: url('../images/gmInfo_beak.png') top left no-repeat transparent; -} +.tooltip{ + position: absolute; + left: 10px; + top: 10px; + width: 150px; + background-color: #777; + color: #ffffcc; + border: 1px solid #f9db01; + font: bold 13px "Trebuchet MS", Verdana, Arial, sans-serif; + padding: 4px; + z-index: 20; + -moz-border-radius: 10px; + -moz-opacity: .87; + filter:alpha(opacity=87); + opacity:.87; +} + +.g-map-thumb-table{ + width:200px; + height: 80px; + font-size: 0.9em; + font-style: normal; + color: #FFFFCC; +} +.g-map-thumb-img{ + overflow:auto; + position: relative; + height:125px; +} +.g-map-thumb-link{ + height: 15px; +} +.g-map-thumb-td{ + padding: 0; + text-align: center; +} +.gMapThumbnail{ + height: 80px; +} +#gmInfo{ + width: 230px; +} +#gmInfo_contents{ + background: #3d3d3d; +} +#gmInfo_contents div{ + font-style: italic; + vertical-align: middle; + margin: 0 10px; +} +#gmInfo_tl{ + width: 14px; + height: 14px; + background: url('../images/gmInfo_tl.png') top left no-repeat transparent; +} +#gmInfo_t{ + background: url('../images/gmInfo_t.png') top left repeat-x transparent; +} +#gmInfo_tr{ + width: 14px; + height: 14px; + background: url('../images/gmInfo_tr.png') top left no-repeat transparent; +} +#gmInfo_l{ + width: 14px; + background: url('../images/gmInfo_l.png') top left repeat-y transparent; +} +#gmInfo_r{ + width: 14px; + background: url('../images/gmInfo_r.png') top right repeat-y transparent; +} +#gmInfo_bl{ + width: 14px; + height: 14px; + background: url('../images/gmInfo_bl.png') top left no-repeat transparent; +} +#gmInfo_b{ + background: url('../images/gmInfo_b.png') top left repeat-x transparent; +} +#gmInfo_br{ + width: 14px; + height: 14px; + background: url('../images/gmInfo_br.png') top left no-repeat transparent; +} +#gmInfo_close{ + width: 30px; + height: 30px; + background: url('../images/gmInfo_close.png') top left no-repeat transparent; + margin: -10px 0 0 10px; + cursor: pointer; +} +#gmInfo_beak{ + width: 27px; + height: 33px; + background: url('../images/gmInfo_beak.png') top left no-repeat transparent; +} diff --git a/themes/3nids_theme/modules/tagsmap/helpers/tagsmap.php b/themes/3nids_theme/modules/tagsmap/helpers/tagsmap.php index 6df4a016..717e7d2e 100755 --- a/themes/3nids_theme/modules/tagsmap/helpers/tagsmap.php +++ b/themes/3nids_theme/modules/tagsmap/helpers/tagsmap.php @@ -1,39 +1,39 @@ -viewable() - ->join("items_tags", "items.id", "items_tags.item_id") - ->where("items_tags.tag_id", $tag->tag_id) - ->orderby("items.name", "DESC") - ->find_all(); - return $tagitems; - } -} - +viewable() + ->join("items_tags", "items.id", "items_tags.item_id") + ->where("items_tags.tag_id", $tag->tag_id) + ->orderby("items.name", "DESC") + ->find_all(); + return $tagitems; + } +} + ?> \ No newline at end of file diff --git a/themes/3nids_theme/modules/tagsmap/helpers/tagsmap_theme.php b/themes/3nids_theme/modules/tagsmap/helpers/tagsmap_theme.php index 4ba9191f..dc895b5b 100755 --- a/themes/3nids_theme/modules/tagsmap/helpers/tagsmap_theme.php +++ b/themes/3nids_theme/modules/tagsmap/helpers/tagsmap_theme.php @@ -1,24 +1,24 @@ -css("tagsmap.css"); - } -} +css("tagsmap.css"); + } +} diff --git a/themes/3nids_theme/modules/theme_3nids/controllers/movie_3nids.php b/themes/3nids_theme/modules/theme_3nids/controllers/movie_3nids.php index f9a2b75d..151002e9 100755 --- a/themes/3nids_theme/modules/theme_3nids/controllers/movie_3nids.php +++ b/themes/3nids_theme/modules/theme_3nids/controllers/movie_3nids.php @@ -1,38 +1,38 @@ -item = $item; - $view->attrs = array("class" => "g-movie", "id" => "g-movie-id-{$item->id}", "style" => "display:block;width:{$item->width}px;height:{$item->height}px"); - print $view; - break; - } +item = $item; + $view->attrs = array("class" => "g-movie", "id" => "g-movie-id-{$item->id}", "style" => "display:block;width:{$item->width}px;height:{$item->height}px"); + print $view; + break; + } } \ No newline at end of file diff --git a/themes/3nids_theme/modules/theme_3nids/controllers/photo_3nids.php b/themes/3nids_theme/modules/theme_3nids/controllers/photo_3nids.php index 46c15e80..d4ed2a71 100755 --- a/themes/3nids_theme/modules/theme_3nids/controllers/photo_3nids.php +++ b/themes/3nids_theme/modules/theme_3nids/controllers/photo_3nids.php @@ -1,43 +1,43 @@ -item = $item; - $photo_size = module::get_var("theme_3nids","photo_size"); - if ($photo_size == "full"){ - $view->item_url = $item->file_url(); - }else{ - $view->item_url = $item->resize_url(); - } - print $view; - break; - } +item = $item; + $photo_size = module::get_var("theme_3nids","photo_size"); + if ($photo_size == "full"){ + $view->item_url = $item->file_url(); + }else{ + $view->item_url = $item->resize_url(); + } + print $view; + break; + } } \ No newline at end of file diff --git a/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids.php b/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids.php index 2d6d436c..d5bb5dab 100755 --- a/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids.php +++ b/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids.php @@ -1,101 +1,101 @@ -width; - $height = $item->height; - }else{ - $width = $item->resize_width; - $height = $item->resize_height; - } - - $desriptionMode = module::get_var("theme_3nids", "description"); - $description = ""; - $tags = tag::item_tags($item); - if(count($tags) && $desriptionMode == "tags"){ - $description = " || " . implode(", ", $tags); - }elseif($desriptionMode == "item" && $item->description != ""){ - $description = " || " . str_replace("\"",""",$item->description); - }elseif (($desriptionMode == "parent" || $desriptionMode == "item") && $item->parent()->description != ""){ - $description = " || " . str_replace("\"",""",$item->parent()->description); - } - - $titleMode = module::get_var("theme_3nids", "title"); - if ($titleMode == "parent"){ - $title = html::clean($item->parent()->title); - }else{ - $title = html::clean($item->title); - } - - $rel = ""; - if ($groupImg == true) {$rel = " rel=\"fancygroup\" ";} - - if ($item->is_photo() || ($item->is_movie()) && module::is_active("theme_3nids")){ - $fancymodule = ""; - if (module::is_active("exif")){ - $fancymodule .= "exif::" . url::site("exif/show/{$item->id}") . ";;";} - if (module::is_active("comment") && module::is_active("theme_3nids")){ - $fancymodule .= "comment::" . url::site("comments_3nids?item_id={$item->id}") . ";;comment_count::" . comment_3nids::count($item) . ";;" ;} - if ($item->is_photo()){ - $link .= "id}") ."/?w=" . $width . "xewx&h=" . $height . "xehx\" " . $rel . " class=\"fancyclass iframe\" title=\"" . $title . $description ."\" name=\"" . $fancymodule . " \">"; - }else{ - $link .= "id}") . "/?w=" . strval(20+($width)) . "xewx&h=" . strval(50+($height)) . "xehx\" " . $rel . " class=\"fancyclass iframe\" title=\"" . $item->parent()->title . $description ."\" name=\"" . $fancymodule . " \">"; - } - } elseif( $item->is_album() && $viewtype != "header"){ - $link .= "url() . "\">"; - } - - if($viewtype != "header"){ - $link .= $item->thumb_img(array("class" => "g-thumbnail")) . ""; - if( $item->is_album() && $viewtype == "album" ){ - $link .= "url() . "?show=" . $item->id . "\"><$parentTitleClass>" . html::clean($item->title) . ""; - } elseif ( !($item->is_album()) && $viewtype == "dynamic") { - $link .= "parent()->url() . "?show=" . $item->id . "\" class=\"g-parent-album\"><$parentTitleClass>" . html::clean($item->parent()->title) . ""; - } - - if (($item->is_photo() || $item->is_movie()) && $displayComment==true && module::is_active("comment") && module::is_active("theme_3nids")) { - $link .= ""; - } - }else{ - $link .= ""; - } - return $link; - } - - - - - -} - +width; + $height = $item->height; + }else{ + $width = $item->resize_width; + $height = $item->resize_height; + } + + $desriptionMode = module::get_var("theme_3nids", "description"); + $description = ""; + $tags = tag::item_tags($item); + if(count($tags) && $desriptionMode == "tags"){ + $description = " || " . implode(", ", $tags); + }elseif($desriptionMode == "item" && $item->description != ""){ + $description = " || " . str_replace("\"",""",$item->description); + }elseif (($desriptionMode == "parent" || $desriptionMode == "item") && $item->parent()->description != ""){ + $description = " || " . str_replace("\"",""",$item->parent()->description); + } + + $titleMode = module::get_var("theme_3nids", "title"); + if ($titleMode == "parent"){ + $title = html::clean($item->parent()->title); + }else{ + $title = html::clean($item->title); + } + + $rel = ""; + if ($groupImg == true) {$rel = " rel=\"fancygroup\" ";} + + if ($item->is_photo() || ($item->is_movie()) && module::is_active("theme_3nids")){ + $fancymodule = ""; + if (module::is_active("exif")){ + $fancymodule .= "exif::" . url::site("exif/show/{$item->id}") . ";;";} + if (module::is_active("comment") && module::is_active("theme_3nids")){ + $fancymodule .= "comment::" . url::site("comments_3nids?item_id={$item->id}") . ";;comment_count::" . comment_3nids::count($item) . ";;" ;} + if ($item->is_photo()){ + $link .= "id}") ."/?w=" . $width . "xewx&h=" . $height . "xehx\" " . $rel . " class=\"fancyclass iframe\" title=\"" . $title . $description ."\" name=\"" . $fancymodule . " \">"; + }else{ + $link .= "id}") . "/?w=" . strval(20+($width)) . "xewx&h=" . strval(50+($height)) . "xehx\" " . $rel . " class=\"fancyclass iframe\" title=\"" . $item->parent()->title . $description ."\" name=\"" . $fancymodule . " \">"; + } + } elseif( $item->is_album() && $viewtype != "header"){ + $link .= "url() . "\">"; + } + + if($viewtype != "header"){ + $link .= $item->thumb_img(array("class" => "g-thumbnail")) . ""; + if( $item->is_album() && $viewtype == "album" ){ + $link .= "url() . "?show=" . $item->id . "\"><$parentTitleClass>" . html::clean($item->title) . ""; + } elseif ( !($item->is_album()) && $viewtype == "dynamic") { + $link .= "parent()->url() . "?show=" . $item->id . "\" class=\"g-parent-album\"><$parentTitleClass>" . html::clean($item->parent()->title) . ""; + } + + if (($item->is_photo() || $item->is_movie()) && $displayComment==true && module::is_active("comment") && module::is_active("theme_3nids")) { + $link .= ""; + } + }else{ + $link .= ""; + } + return $link; + } + + + + + +} + ?> \ No newline at end of file diff --git a/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids_theme.php b/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids_theme.php index 95e44cda..bc035674 100755 --- a/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids_theme.php +++ b/themes/3nids_theme/modules/theme_3nids/helpers/theme_3nids_theme.php @@ -1,26 +1,26 @@ -3nids theme"; - } - -} +3nids theme"; + } + +}