From 14778ce673277f2df41f963aa70df1cbed427294 Mon Sep 17 00:00:00 2001 From: plegall Date: Sat, 13 Mar 2010 00:00:52 +0000 Subject: feature 1502: based on Dotclear model, P@t has reorganized the way Piwigo manages template/theme in a simpler "theme only level" architecture. It supports multiple level inheritance. git-svn-id: http://piwigo.org/svn/trunk@5123 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/themes/default/content.css | 26 + admin/themes/default/default-colors.css | 85 +++ admin/themes/default/default-layout.css | 738 +++++++++++++++++++++ admin/themes/default/fix-ie5-ie6.css | 35 + admin/themes/default/icon/cat_move.png | Bin 0 -> 581 bytes admin/themes/default/icon/category_children.png | Bin 0 -> 962 bytes admin/themes/default/icon/category_delete.png | Bin 0 -> 960 bytes admin/themes/default/icon/category_edit.png | Bin 0 -> 1312 bytes admin/themes/default/icon/category_elements.png | Bin 0 -> 1044 bytes admin/themes/default/icon/category_jump-to.png | Bin 0 -> 942 bytes admin/themes/default/icon/category_permissions.png | Bin 0 -> 960 bytes .../default/icon/category_representant_random.png | Bin 0 -> 1575 bytes admin/themes/default/icon/check.png | Bin 0 -> 510 bytes admin/themes/default/icon/datepicker.png | Bin 0 -> 517 bytes admin/themes/default/icon/delete.png | Bin 0 -> 425 bytes admin/themes/default/icon/edit_s.png | Bin 0 -> 817 bytes admin/themes/default/icon/errors.png | Bin 0 -> 1224 bytes admin/themes/default/icon/exit.png | Bin 0 -> 816 bytes admin/themes/default/icon/fcbkcomplete_close.gif | Bin 0 -> 90 bytes admin/themes/default/icon/help.png | Bin 0 -> 774 bytes admin/themes/default/icon/home.png | Bin 0 -> 726 bytes admin/themes/default/icon/index.php | 30 + admin/themes/default/icon/infos.png | Bin 0 -> 701 bytes admin/themes/default/icon/note.png | Bin 0 -> 1332 bytes admin/themes/default/icon/page_end.png | Bin 0 -> 777 bytes admin/themes/default/icon/page_top.png | Bin 0 -> 482 bytes admin/themes/default/icon/permissions.png | Bin 0 -> 421 bytes admin/themes/default/icon/plug_activate.png | Bin 0 -> 432 bytes admin/themes/default/icon/plug_activate_grey.png | Bin 0 -> 388 bytes admin/themes/default/icon/plug_deactivate.png | Bin 0 -> 475 bytes admin/themes/default/icon/plug_deactivate_grey.png | Bin 0 -> 399 bytes admin/themes/default/icon/plug_delete.png | Bin 0 -> 425 bytes admin/themes/default/icon/plug_delete_grey.png | Bin 0 -> 436 bytes admin/themes/default/icon/plug_install.png | Bin 0 -> 417 bytes admin/themes/default/icon/plug_install_grey.png | Bin 0 -> 376 bytes admin/themes/default/icon/plug_uninstall.png | Bin 0 -> 429 bytes admin/themes/default/icon/plug_uninstall_grey.png | Bin 0 -> 387 bytes admin/themes/default/icon/plugin_active.gif | Bin 0 -> 108 bytes admin/themes/default/icon/plugin_inactive.gif | Bin 0 -> 107 bytes admin/themes/default/icon/preferences.png | Bin 0 -> 768 bytes admin/themes/default/icon/ranks.png | Bin 0 -> 772 bytes admin/themes/default/icon/ranks_grey.png | Bin 0 -> 762 bytes admin/themes/default/icon/sync_metadata.png | Bin 0 -> 1877 bytes admin/themes/default/icon/sync_metadata_pink.png | Bin 0 -> 1949 bytes .../default/icon/toggle_is_default_group.png | Bin 0 -> 664 bytes admin/themes/default/icon/uncheck.png | Bin 0 -> 303 bytes admin/themes/default/icon/validate_s.png | Bin 0 -> 492 bytes admin/themes/default/icon/virt_category.png | Bin 0 -> 1094 bytes admin/themes/default/index.php | 30 + admin/themes/default/layout.css | 12 + admin/themes/default/local-layout.css | 1 + admin/themes/default/local_head.tpl | 3 + admin/themes/default/menubar.css | 1 + admin/themes/default/picture.css | 122 ++++ admin/themes/default/print.css | 14 + admin/themes/default/template/admin.tpl | 118 ++++ admin/themes/default/template/advanced_feature.tpl | 9 + admin/themes/default/template/cat_list.tpl | 93 +++ admin/themes/default/template/cat_modify.tpl | 232 +++++++ admin/themes/default/template/cat_move.tpl | 36 + admin/themes/default/template/cat_options.tpl | 11 + admin/themes/default/template/cat_perm.tpl | 64 ++ admin/themes/default/template/check_integrity.tpl | 83 +++ admin/themes/default/template/comments.tpl | 31 + admin/themes/default/template/configuration.tpl | 209 ++++++ admin/themes/default/template/double_select.tpl | 22 + .../themes/default/template/element_set_global.tpl | 211 ++++++ .../themes/default/template/element_set_ranks.tpl | 50 ++ admin/themes/default/template/element_set_unit.tpl | 109 +++ .../default/template/extend_for_templates.tpl | 37 ++ admin/themes/default/template/footer.tpl | 58 ++ admin/themes/default/template/group_list.tpl | 42 ++ admin/themes/default/template/group_perm.tpl | 8 + admin/themes/default/template/header.tpl | 77 +++ admin/themes/default/template/history.tpl | 135 ++++ .../default/template/include/autosize.inc.tpl | 13 + .../default/template/include/datepicker.inc.tpl | 24 + .../default/template/include/dbselect.inc.tpl | 22 + .../default/template/include/install.inc.tpl | 19 + .../themes/default/template/include/resize.inc.tpl | 22 + admin/themes/default/template/install.tpl | 211 ++++++ admin/themes/default/template/intro.tpl | 79 +++ admin/themes/default/template/maintenance.tpl | 22 + admin/themes/default/template/menubar.tpl | 53 ++ admin/themes/default/template/navigation_bar.tpl | 28 + .../default/template/notification_by_mail.tpl | 121 ++++ admin/themes/default/template/permalinks.tpl | 66 ++ .../themes/default/template/photos_add_direct.tpl | 185 ++++++ .../default/template/photos_add_settings.tpl | 74 +++ admin/themes/default/template/picture_modify.tpl | 226 +++++++ admin/themes/default/template/plugins_list.tpl | 88 +++ admin/themes/default/template/plugins_new.tpl | 47 ++ admin/themes/default/template/plugins_update.tpl | 79 +++ admin/themes/default/template/popuphelp.tpl | 12 + admin/themes/default/template/profile.tpl | 5 + admin/themes/default/template/profile_content.tpl | 108 +++ admin/themes/default/template/rating.tpl | 67 ++ admin/themes/default/template/site_manager.tpl | 73 ++ admin/themes/default/template/site_update.tpl | 116 ++++ admin/themes/default/template/stats.tpl | 25 + admin/themes/default/template/tabsheet.tpl | 9 + admin/themes/default/template/tags.tpl | 53 ++ admin/themes/default/template/thumbnail.tpl | 119 ++++ admin/themes/default/template/upgrade.tpl | 120 ++++ admin/themes/default/template/upload.tpl | 51 ++ admin/themes/default/template/user_list.tpl | 334 ++++++++++ admin/themes/default/template/user_perm.tpl | 22 + admin/themes/default/theme.css | 10 + admin/themes/default/themeconf.inc.php | 8 + admin/themes/default/thumbnails.css | 61 ++ 110 files changed, 5304 insertions(+) create mode 100644 admin/themes/default/content.css create mode 100644 admin/themes/default/default-colors.css create mode 100644 admin/themes/default/default-layout.css create mode 100644 admin/themes/default/fix-ie5-ie6.css create mode 100644 admin/themes/default/icon/cat_move.png create mode 100644 admin/themes/default/icon/category_children.png create mode 100644 admin/themes/default/icon/category_delete.png create mode 100644 admin/themes/default/icon/category_edit.png create mode 100644 admin/themes/default/icon/category_elements.png create mode 100644 admin/themes/default/icon/category_jump-to.png create mode 100644 admin/themes/default/icon/category_permissions.png create mode 100644 admin/themes/default/icon/category_representant_random.png create mode 100644 admin/themes/default/icon/check.png create mode 100644 admin/themes/default/icon/datepicker.png create mode 100644 admin/themes/default/icon/delete.png create mode 100644 admin/themes/default/icon/edit_s.png create mode 100644 admin/themes/default/icon/errors.png create mode 100644 admin/themes/default/icon/exit.png create mode 100644 admin/themes/default/icon/fcbkcomplete_close.gif create mode 100644 admin/themes/default/icon/help.png create mode 100644 admin/themes/default/icon/home.png create mode 100644 admin/themes/default/icon/index.php create mode 100644 admin/themes/default/icon/infos.png create mode 100644 admin/themes/default/icon/note.png create mode 100644 admin/themes/default/icon/page_end.png create mode 100644 admin/themes/default/icon/page_top.png create mode 100644 admin/themes/default/icon/permissions.png create mode 100644 admin/themes/default/icon/plug_activate.png create mode 100644 admin/themes/default/icon/plug_activate_grey.png create mode 100644 admin/themes/default/icon/plug_deactivate.png create mode 100644 admin/themes/default/icon/plug_deactivate_grey.png create mode 100644 admin/themes/default/icon/plug_delete.png create mode 100644 admin/themes/default/icon/plug_delete_grey.png create mode 100644 admin/themes/default/icon/plug_install.png create mode 100644 admin/themes/default/icon/plug_install_grey.png create mode 100644 admin/themes/default/icon/plug_uninstall.png create mode 100644 admin/themes/default/icon/plug_uninstall_grey.png create mode 100644 admin/themes/default/icon/plugin_active.gif create mode 100644 admin/themes/default/icon/plugin_inactive.gif create mode 100644 admin/themes/default/icon/preferences.png create mode 100644 admin/themes/default/icon/ranks.png create mode 100644 admin/themes/default/icon/ranks_grey.png create mode 100644 admin/themes/default/icon/sync_metadata.png create mode 100644 admin/themes/default/icon/sync_metadata_pink.png create mode 100644 admin/themes/default/icon/toggle_is_default_group.png create mode 100644 admin/themes/default/icon/uncheck.png create mode 100644 admin/themes/default/icon/validate_s.png create mode 100644 admin/themes/default/icon/virt_category.png create mode 100644 admin/themes/default/index.php create mode 100644 admin/themes/default/layout.css create mode 100644 admin/themes/default/local-layout.css create mode 100644 admin/themes/default/local_head.tpl create mode 100644 admin/themes/default/menubar.css create mode 100644 admin/themes/default/picture.css create mode 100644 admin/themes/default/print.css create mode 100644 admin/themes/default/template/admin.tpl create mode 100644 admin/themes/default/template/advanced_feature.tpl create mode 100644 admin/themes/default/template/cat_list.tpl create mode 100644 admin/themes/default/template/cat_modify.tpl create mode 100644 admin/themes/default/template/cat_move.tpl create mode 100644 admin/themes/default/template/cat_options.tpl create mode 100644 admin/themes/default/template/cat_perm.tpl create mode 100644 admin/themes/default/template/check_integrity.tpl create mode 100644 admin/themes/default/template/comments.tpl create mode 100644 admin/themes/default/template/configuration.tpl create mode 100644 admin/themes/default/template/double_select.tpl create mode 100644 admin/themes/default/template/element_set_global.tpl create mode 100644 admin/themes/default/template/element_set_ranks.tpl create mode 100644 admin/themes/default/template/element_set_unit.tpl create mode 100644 admin/themes/default/template/extend_for_templates.tpl create mode 100644 admin/themes/default/template/footer.tpl create mode 100644 admin/themes/default/template/group_list.tpl create mode 100644 admin/themes/default/template/group_perm.tpl create mode 100644 admin/themes/default/template/header.tpl create mode 100644 admin/themes/default/template/history.tpl create mode 100644 admin/themes/default/template/include/autosize.inc.tpl create mode 100644 admin/themes/default/template/include/datepicker.inc.tpl create mode 100644 admin/themes/default/template/include/dbselect.inc.tpl create mode 100644 admin/themes/default/template/include/install.inc.tpl create mode 100644 admin/themes/default/template/include/resize.inc.tpl create mode 100644 admin/themes/default/template/install.tpl create mode 100644 admin/themes/default/template/intro.tpl create mode 100644 admin/themes/default/template/maintenance.tpl create mode 100644 admin/themes/default/template/menubar.tpl create mode 100644 admin/themes/default/template/navigation_bar.tpl create mode 100644 admin/themes/default/template/notification_by_mail.tpl create mode 100644 admin/themes/default/template/permalinks.tpl create mode 100644 admin/themes/default/template/photos_add_direct.tpl create mode 100644 admin/themes/default/template/photos_add_settings.tpl create mode 100644 admin/themes/default/template/picture_modify.tpl create mode 100644 admin/themes/default/template/plugins_list.tpl create mode 100644 admin/themes/default/template/plugins_new.tpl create mode 100644 admin/themes/default/template/plugins_update.tpl create mode 100644 admin/themes/default/template/popuphelp.tpl create mode 100644 admin/themes/default/template/profile.tpl create mode 100644 admin/themes/default/template/profile_content.tpl create mode 100644 admin/themes/default/template/rating.tpl create mode 100644 admin/themes/default/template/site_manager.tpl create mode 100644 admin/themes/default/template/site_update.tpl create mode 100644 admin/themes/default/template/stats.tpl create mode 100644 admin/themes/default/template/tabsheet.tpl create mode 100644 admin/themes/default/template/tags.tpl create mode 100644 admin/themes/default/template/thumbnail.tpl create mode 100644 admin/themes/default/template/upgrade.tpl create mode 100644 admin/themes/default/template/upload.tpl create mode 100644 admin/themes/default/template/user_list.tpl create mode 100644 admin/themes/default/template/user_perm.tpl create mode 100644 admin/themes/default/theme.css create mode 100644 admin/themes/default/themeconf.inc.php create mode 100644 admin/themes/default/thumbnails.css (limited to 'admin/themes/default') diff --git a/admin/themes/default/content.css b/admin/themes/default/content.css new file mode 100644 index 000000000..61ab73b83 --- /dev/null +++ b/admin/themes/default/content.css @@ -0,0 +1,26 @@ +/* .Content is on every pages so it is common and it will no longer be a specific css */ +.content { margin-right: 1em; margin-bottom: 1em; } +.content h2 {margin: 0; padding: 5px 0.5em 5px 0.5em; text-align: right; font-size: 120%;} +.content .navigationBar { margin: 10px 0; text-align: center; } +.content form { text-align: left; } +.content dt { margin-bottom: 5px; font-style: italic; + font-size: 110%; } +.content ul.categoryActions a img, ul.categoryActions a { +border:0; margin-bottom:-5px; } +ul.categoryActions { margin: 0 2px; width: auto; list-style-position:outside; + padding: 0; text-indent: 0; list-style: none; text-align: center; } +.content div.titrePage ul.categoryActions { float: right; } +.content div.titrePage { padding: 0 0 3px; } +.content ul.categoryActions li { display: inline; } +.content div.comment { margin: 0 0 0.5em 0; padding: 0; + overflow: hidden; width: 100%; /* don't ask why. It's a very usefull trick */ } +.content div.comment a.illustration { + display: block; float: left; margin: 0.5em 0 0 0.5em; } +.content div.comment p.commentHeader { + text-align: right; margin: 0.5em 0.5em 0 0; } +.content div.comment ul.actions { text-align: center; margin: 0.2em; } +.content div.comment blockquote { + margin-right: 0.5em; overflow: visible; /*avoid a very strange margin behaviour (all browsers) */ } + + /* not used but should be */ +body#thePopuphelpPage .content { margin: 1em; } \ No newline at end of file diff --git a/admin/themes/default/default-colors.css b/admin/themes/default/default-colors.css new file mode 100644 index 000000000..e45863bd3 --- /dev/null +++ b/admin/themes/default/default-colors.css @@ -0,0 +1,85 @@ + + +/* So that non-links are slightly greyed out */ +.content .navigationBar { + color: #999; +} + +/* Tables & forms */ + +INPUT.text, INPUT.password, INPUT.button, +INPUT.submit, INPUT.reset, INPUT.file, +SELECT, TEXTAREA { + color:#999; + background-color: #666; +} + +INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus { + background-color: #444; /* whitesmoke */ +} + +/* some theme set a border on INPUT which is not pretty for radio/checkbox */ +INPUT[type="radio"], INPUT[type="checkbox"] { + border: none; /* <= Opera needs this */ +} + +INPUT.radio, INPUT.checkbox { + border: none; /* <= IE6 needs this */ +} + +.errors { /* Errors display */ + color: #f33; + background-color: transparent; + font-weight: bold; + text-align: left; + margin: 5px; + border: 1px solid #666; + background-image: url(icon/errors.png); + background-repeat: no-repeat; + background-position: top right; + padding: 10px 50px 10px 10px; +} + +/** + * Informations box in administration + */ +.infos { + text-align: left; + color: #f70; + background-color: transparent; + background-image: url(icon/infos.png); + background-repeat: no-repeat; + background-position: top right; + margin: 5px; + padding: 10px 50px 10px 10px; +} + +/** + * Header message like upgrade or adviser mode + */ +.header_msgs { + text-align:center; + font-weight: bold; + color:#333; + background-color: transparent; + margin: 1px; + padding: 1px; +} + +/** + * Header notes box in public/administration + */ +.header_notes { + border: 1px solid #666; + text-align: center; + background-image: url(icon/note.png); + background-repeat: no-repeat; + background-position: top left; + font-weight: bold; + margin: 14px; + padding: 5px 00px 0px 0px; +} + +LEGEND { + font-style: italic; +} \ No newline at end of file diff --git a/admin/themes/default/default-layout.css b/admin/themes/default/default-layout.css new file mode 100644 index 000000000..a14f6632b --- /dev/null +++ b/admin/themes/default/default-layout.css @@ -0,0 +1,738 @@ + +/* History tables */ +TABLE.table2 { + border: 1px solid #111; + margin: 1em auto; + padding: 0; +} + +TABLE.table2 TD, TABLE.table2 TH { + padding: 0 5px; +} + +TABLE.table2 TR { + text-align: left; +} + +TABLE.table2 THEAD TD { padding:7px 10px 3px 10px; } +TABLE.table2 TR.throw { text-align: center; } +TABLE.table2 { margin:0pt auto; } +.sort { display:block; padding:8px 5px 0px 1px; clear: right; text-align:left; } + + +.hour { + white-space: pre; +} + +.number { + text-align: right; +} + +TABLE#dailyStats { + width: 60%; +} + +TABLE#detailedStats { + width: 99%; +} + +/* Plugins tables */ +TABLE.plugins { min-width: 400px; } +TABLE.plugins A { border: 0; } +TABLE.plugins TR TD { padding: 4px 10px; } +TABLE.plugins TR TD.pluginState { padding: 4px 16px; } + +TABLE.plugins TR TD.active { + background: url(icon/plugin_active.gif) no-repeat center left; + background-color: inherit; /* IE need it */ +} + +TABLE.plugins TR TD.inactive { + background: url(icon/plugin_inactive.gif) no-repeat center left; + background-color: inherit; /* IE need it */ +} + +TABLE.plugins ul.pluginsActions { + float: left; + padding: 0; + margin: 0; + width: 60px; + list-style: none; + text-align: center; +} + +TABLE.plugins ul.pluginsActions li { display: inline; } + +/* categoryOrdering */ +SELECT.categoryList { + width: 100%; +} + +FORM#categoryOrdering { + padding-left: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */ + padding-right: 1em; /* same as FIELDSET margin (there is no fieldset in this form) */ +} +FORM#categoryOrdering p { + text-align: left; + margin-top: 1em; + margin-bottom: 1em; +} +UL.categoryUl { + list-style: none; + padding: 0; + margin: 0; +} + +LI.categoryLi { + width: 100%; + border: 1px solid #666; + padding: 0px 5px; + margin-bottom: 5px; +} + +FORM#categoryOrdering UL.categoryActions { + float: right; + margin-top: 5px; +} +/* */ + +FORM#catModify TABLE { width: auto; } + +FIELDSET.elementEdit A { + display: block; + float: right; +} + +TABLE.doubleSelect { + text-align: center; + margin: 0 auto; + width: 100%; +} + +TABLE.doubleSelect TD { + padding: 0 3px; + width: 50%; +} + +TABLE.doubleSelect SELECT.categoryList { + width: 100%; max-width: 100%; overflow-x: auto; +} + +FORM#categoryPermissions LI { + display:inline; + white-space: nowrap; +} + +FIELDSET#mainConfCheck SPAN.property, +FIELDSET#historyConf SPAN.property, +FIELDSET#commentsConf SPAN.property, +FIELDSET#uploadConf SPAN.property { + float: right; + text-align: left; +} +FIELDSET#mainConfCheck INPUT, +FIELDSET#historyConf INPUT, +FIELDSET#commentsConf INPUT, +FIELDSET#uploadConf INPUT { + float: none; +} + +FIELDSET#mainConf SPAN.property { + width: 25%; +} +FIELDSET#mainConf TEXTAREA.description { + width: 70%; +} + +FIELDSET#mainConfCheck SPAN.property, +FIELDSET#historyConf SPAN.property { + width: 90%; +} +FIELDSET#mainConfCheck INPUT, +FIELDSET#historyConf INPUT, +FIELDSET#commentsConf INPUT { + margin-left: 5%; +} +FIELDSET#uploadConf SELECT { + float: right; + margin: 2px 10px 0px; +} +FIELDSET#uploadConf INPUT { + float: right; + margin: 5px 10px 0px; +} +FIELDSET#uploadConf SPAN.property { + width: 65%; +} +FIELDSET#commentsConf SPAN.property { + width: 85%; +} + +.statBar { + height: 10px; + background-color: #ff7700; + border: 1px solid #666; +} + +.over{ +position: relative; +z-index: 0; +} + +.over:hover{ +background-color: transparent; +z-index: 50; +} + +.over SPAN{ /*CSS for enlarged image*/ +position: absolute; +background-color: #222; +padding: 5px; +left: -1000px; +border: 1px solid #ff3363; +visibility: hidden; +color: black; +text-decoration: none; +} + +.over SPAN IMG{ /*CSS for enlarged image*/ +border-width: 0; +padding: 2px; +} + +.over:hover SPAN{ /*CSS for enlarged image on hover*/ +visibility: visible; +top: 0; +left: 60px; /*position where enlarged image should offset horizontally */ +} + +BODY { + margin: 5px; + padding: 0; + font-size: 0.8em; + font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif; + text-align: center; /* be nice to IE5 */ +} + +H1 { +color:#eee; +letter-spacing:1px; +text-align: left; +font-size: 150%; +font-weight: normal; +font-style:italic; +padding: 8px 0 0 10px; +margin: 0; +float:left; +} + +#pwgHead {color:#aaa;} +#pwgHead A {color:#ccc;} +#pwgHead A:hover {color:#fff;border-bottom:1px solid #fff} +#pwgHead A#instructions:hover {border:none;} + +#headActions {float:right; height:46px; line-height:46px; margin-right:10px;} + +A { + text-decoration:none; + border-bottom: 0; +} +A:hover { + border-bottom: 1px solid #FF3363; +} +A.button, A.button:hover { + border: 0; +} +IMG { + border: none; +} + +HR.separation { + visibility: hidden; + clear: both; +} + +/** General defaults **/ +INPUT, SELECT { + margin: 0; + font-size: 1em; /* <= some browsers don't set it correctly */ +} +UL, DL, OL { text-align: left;} +TABLE { /* horizontaly centered */ + margin-left: auto; + margin-right: auto; +} +/* for debugging purpose */ +PRE { text-align:left; } + +/** forms **/ + +FORM { padding: 0em; } + +FORM P { + text-align: center; + margin-top: 2em; + margin-bottom: 2em; +} + +FORM FIELDSET P { + margin-top: 1em; + margin-bottom: 0; +} + +.small { + font-size: 80%; +} + +TEXTAREA.description { + height: 6em; + width: 40em; + overflow: auto; +} + +SELECT.categoryList { + height: 20em; + width: auto; +} + +DIV.comment BLOCKQUOTE { + padding: 0.5em; + overflow: auto; /* no solution for IE6 */ + min-height: 2.75em; /* fix a Gecko bug whith scrollbar and 1 line only */ +} + + +/** + * Filter forms are displayed label by label with the input (or select...) + * below the label. Use an UL to make a group (radiobox for instance). + * Use a SPAN to group objects in line + */ +FIELDSET { + padding: 1em; + margin: 1em; + overflow: hidden; /* <- makes Opera happy */ +} + +FORM.filter FIELDSET UL { + margin: 0; +} +FORM.filter FIELDSET UL, +FORM.filter FIELDSET LABEL { + display: block; + float: left; + margin-right: 1em; + padding: 0; +} + +FORM.filter FIELDSET LI { + list-style: none; + margin-bottom: 0.5em; +} + +FORM.filter FIELDSET LI LABEL { + display: inline; + float: none; +} + +FORM.filter FIELDSET UL.tagSelection LABEL { + display: inline; + float: none; + margin-right:0.5em;/*reduce from above*/ +} + +/* cannot use FIELDSET>LABEL because of IE<=6 */ +FORM.filter FIELDSET LABEL INPUT, +FORM.filter FIELDSET LABEL SELECT, +FORM.filter FIELDSET LABEL SPAN, +FORM.filter FIELDSET LABEL TEXTAREA { + display: block; + margin: 0.5em 0; +} +FORM.filter FIELDSET * LABEL INPUT, +FORM.filter FIELDSET * LABEL SELECT, +FORM.filter FIELDSET * LABEL TEXTAREA, +FORM.filter FIELDSET LABEL SPAN INPUT, +FORM.filter FIELDSET LABEL SPAN SELECT, +FORM.filter FIELDSET LABEL SPAN TEXTAREA { + display: inline; + vertical-align: top; + margin: 0 0.5em 0 0; +} + +FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT { + margin-right:0; +} + +/* following declaration is important to avoid strange FF behaviour */ +FORM.filter FIELDSET LABEL SPAN SELECT { + margin: 0; +} + +FORM.filter FIELDSET P +{ + clear: left; + display: block; +} + +FORM.filter INPUT[type="submit"] { + margin-top: 1.8em; +} + +FORM.properties UL, FORM#update UL { + list-style-type: none; + margin: 0; + padding: 0; +} + +FORM.properties LI, FORM#update UL { + margin-bottom: 0.5em; + padding: 0; + line-height: 1.8em; + clear: left; +} + +FORM.properties SPAN.property { + font-weight: bold; + float: left; + width: 50%; + text-align: right; + margin: 0; + padding: 0 0.5em 0 0; +} + +#theHeader H1 { + margin-bottom: 0.5em; +} + +/* button tools */ +UL.actions { + text-indent: 0; + list-style: none; +} +UL.actions LI { + display: inline; +} +UL.actions A { + border: none; +} + +UL.tagSelection { + width: 99%; + margin: 1em 0 1em 0; + padding: 0; +} + +UL.tagSelection LI { + display: inline; + white-space: nowrap; +} + + +/* jQuery tooltips */ +.cluetip-default #cluetip-outer { + position: relative; + border: 1px solid #111111; + color: #dddddd; + background-color: #222222; + text-align: left; +} +.cluetip-default h3#cluetip-title { + margin: 0 0 5px; + padding: 8px; + color: #666666; + background-color: #d3d3d3; + font-size: 1.1em; + font-weight: bold; +} +.cluetip-default #cluetip-inner { + padding: 10px; +} + +/* jQuery datepicker */ +img.ui-datepicker-trigger { + cursor : pointer; +} + +/* jQuery FCBKcomplete */ +/* TextboxList sample CSS */ +ul.holder { margin: 0; border: 1px solid #999; overflow: hidden; height: auto !important; height: 1%; padding: 4px 5px 0; } +*:first-child+html ul.holder { padding-bottom: 2px; } * html ul.holder { padding-bottom: 2px; } /* ie7 and below */ +ul.holder li { float: left; list-style-type: none; margin: 0 5px 4px 0; white-space:nowrap;} +ul.holder li.bit-box, ul.holder li.bit-input input { font: 11px "Lucida Grande", "Verdana"; } +ul.holder li.bit-box { -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; border: 1px solid #CAD8F3; background: #DEE7F8; padding: 1px 5px 2px; } +ul.holder li.bit-box-focus { border-color: #598BEC; background: #598BEC; color: #fff; } +ul.holder li.bit-input input { width: auto; overflow:visible; margin: 0; border: 0px; outline: 0; padding: 3px 0px 2px; } /* no left/right padding here please */ +ul.holder li.bit-input input.smallinput { width: 20px; } + +/* Facebook demo CSS */ +#add { border: 1px solid #999; width: 550px; margin: 50px; padding: 20px 30px 10px; } +form ol li { list-style-type: none; } +form ol { font: 11px "Lucida Grande", "Verdana"; margin: 0; padding: 0; } +form ol li.input-text { margin-bottom: 10px; list-style-type: none; padding-bottom: 10px; } +form ol li.input-text label { font-weight: bold; cursor: pointer; display: block; font-size: 13px; margin-bottom: 10px; } +form ol li.input-text input { width: 500px; padding: 5px 5px 6px; font: 11px "Lucida Grande", "Verdana"; border: 1px solid #999; } +form ul.holder { width: 500px; } +form ul { margin: 0 !important } +ul.holder li.bit-box, #apple-list ul.holder li.bit-box { padding-right: 15px; position: relative; z-index:1000;} +#apple-list ul.holder li.bit-input { margin: 0; } +#apple-list ul.holder li.bit-input input.smallinput { width: 5px; } +ul.holder li.bit-hover { background: #BBCEF1; border: 1px solid #6D95E0; } +ul.holder li.bit-box-focus { border-color: #598BEC; background: #598BEC; color: #fff; } +ul.holder li.bit-box a.closebutton { position: absolute; right: 4px; top: 5px; display: block; width: 7px; height: 7px; font-size: 1px; background: url(icon/fcbkcomplete_close.gif); } +ul.holder li.bit-box a.closebutton:hover { background-position: 7px; } +ul.holder li.bit-box-focus a.closebutton, ul.holder li.bit-box-focus a.closebutton:hover { background-position: bottom; } + +/* Autocompleter */ + +.facebook-auto { display: none; position: absolute; width: 512px; background: #eee; } +.facebook-auto .default { padding: 5px 7px; border: 1px solid #ccc; border-width: 0 1px 1px;font-family:"Lucida Grande","Verdana"; font-size:11px; } +.facebook-auto ul { display: none; margin: 0; padding: 0; overflow: auto; position:absolute; z-index:9999} +.facebook-auto ul li { padding: 5px 12px; z-index: 1000; cursor: pointer; margin: 0; list-style-type: none; border: 1px solid #ccc; border-width: 0 1px 1px; font: 11px "Lucida Grande", "Verdana"; background-color: #eee } +.facebook-auto ul li em { font-weight: bold; font-style: normal; background: #ccc; } +.facebook-auto ul li.auto-focus { background: #4173CC; color: #fff; } +.facebook-auto ul li.auto-focus em { background: none; } +.deleted { background-color:#4173CC !important; color:#ffffff !important;} +.hidden { display:none;} + +#demo ul.holder li.bit-input input { padding: 2px 0 1px; border: 1px solid #999; } +.ie6fix {height:1px;width:1px; position:absolute;top:0px;left:0px;z-index:1;} + +/* Add photos, direct mode */ +#uploadBoxes P { + margin:0; + margin-bottom:2px; + padding:0; +} + +#batchLink { + text-align:center; +} + +.category_selection { + min-height:65px; + margin-top:5px; +} + +.category_selection TABLE { + margin:0; +} + +.formField { + width:650px; + margin:0 auto 20px auto; + padding:10px; + border: 2px solid #292929; +} + +.formFieldTitle { + font-weight:bold; + margin-bottom:10px; +} + +.formField P { + margin:0; +} + +.formField TH { + text-align:right; + padding-right: 5px; +} + +#uploadFormSettings input[type="text"] { + text-align:right; +} + +#uploadFormSettings TH { + width:50%; +} + +#pwgHead { + background-color:#464646; + height:46px; +} + +html, body {height:100%; margin:0; padding:0;} +#the_page {min-height:100%; position:relative; padding:0;margin:0;} +#pwgMain {padding:10px;padding-bottom:60px;} + +#footer { + position:absolute; + bottom:0; + width:100%; + height:46px; + background-color:#464646; + color:#aaa; + line-height:46px; +} + +#footer A {color:#ccc;} +#footer A:hover {color:#fff;border-bottom:1px solid #fff;} + +#adminHome { + text-align:center; + margin-bottom:15px; + line-height:30px; + width:200px; + margin-left:5px; + -moz-border-radius: 6px; -webkit-border-radius: 6px; border-radius: 6px; +} + +#adminHome A {display:block; font-size:1.1em; font-weight:bold;} +#adminHome A {border:none;} + +#piwigoInfos {float:left; margin-left:10px;} +#pageInfos {float:right; margin-right:10px;} + +/* TipTip CSS - Version 1.2 */ + +#tiptip_holder { + display: none; + position: absolute; + top: 0; + left: 0; + z-index: 99999; +} + +#tiptip_holder.tip_top { + padding-bottom: 5px; +} + +#tiptip_holder.tip_bottom { + padding-top: 5px; +} + +#tiptip_holder.tip_right { + padding-left: 5px; +} + +#tiptip_holder.tip_left { + padding-right: 5px; +} + +#tiptip_content { + font-size: 11px; + color: #fff; + text-shadow: 0 0 2px #000; + padding: 4px 8px; + border: 1px solid rgba(255,255,255,0.25); + background-color: rgb(25,25,25); + background-color: rgba(25,25,25,0.92); + background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(transparent), to(#000)); + border-radius: 3px; + -webkit-border-radius: 3px; + -moz-border-radius: 3px; + box-shadow: 0 0 3px #555; + -webkit-box-shadow: 0 0 3px #555; + -moz-box-shadow: 0 0 3px #555; +} + +#tiptip_arrow, #tiptip_arrow_inner { + position: absolute; + border-color: transparent; + border-style: solid; + border-width: 6px; + height: 0; + width: 0; +} + +#tiptip_holder.tip_top #tiptip_arrow { + border-top-color: #fff; + border-top-color: rgba(255,255,255,0.35); +} + +#tiptip_holder.tip_bottom #tiptip_arrow { + border-bottom-color: #fff; + border-bottom-color: rgba(255,255,255,0.35); +} + +#tiptip_holder.tip_right #tiptip_arrow { + border-right-color: #fff; + border-right-color: rgba(255,255,255,0.35); +} + +#tiptip_holder.tip_left #tiptip_arrow { + border-left-color: #fff; + border-left-color: rgba(255,255,255,0.35); +} + +#tiptip_holder.tip_top #tiptip_arrow_inner { + margin-top: -7px; + margin-left: -6px; + border-top-color: rgb(25,25,25); + border-top-color: rgba(25,25,25,0.92); +} + +#tiptip_holder.tip_bottom #tiptip_arrow_inner { + margin-top: -5px; + margin-left: -6px; + border-bottom-color: rgb(25,25,25); + border-bottom-color: rgba(25,25,25,0.92); +} + +#tiptip_holder.tip_right #tiptip_arrow_inner { + margin-top: -6px; + margin-left: -5px; + border-right-color: rgb(25,25,25); + border-right-color: rgba(25,25,25,0.92); +} + +#tiptip_holder.tip_left #tiptip_arrow_inner { + margin-top: -6px; + margin-left: -7px; + border-left-color: rgb(25,25,25); + border-left-color: rgba(25,25,25,0.92); +} + +/* Webkit Hacks */ +@media screen and (-webkit-min-device-pixel-ratio:0) { + #tiptip_content { + padding: 4px 8px 5px 8px; + background-color: rgba(45,45,45,0.88); + } + #tiptip_holder.tip_bottom #tiptip_arrow_inner { + border-bottom-color: rgba(45,45,45,0.88); + } + #tiptip_holder.tip_top #tiptip_arrow_inner { + border-top-color: rgba(20,20,20,0.92); + } +} + +/* Set the width of the menubar for the galery */ +#menubar { + width: 18em; +} +.content { + margin-left: 20em; /* = #menubar width + 2em */ +} +/* Set minimum width of the page before getting a scrollbar */ +/* IE5 and IE6 don't get that */ +BODY { + min-width: 60em; /* ~ 3* #menubar width */ +} +BODY#thePopuphelpPage { + min-width: 0; +} + +/* Set some sizes according to your maximum thumbnail width and height */ +.content UL.thumbnails SPAN, +.content UL.thumbnails SPAN.wrap2 A, +.content UL.thumbnails LABEL, +.content DIV.thumbnailCategory DIV.illustration { + width: 140px; /* max thumbnail width + 2px */ +} +.content UL.thumbnails SPAN.wrap2, +.content DIV.thumbnailCategory DIV.description { + height: 140px; /* max thumbnail height + 2px */ +} + + +/* Category thumbnails on main page */ +.content UL.thumbnailCategories LI { + width: 49.7%; /* 49.7% for 2 per line, 33.2% for 3 per line*/ +} + +/* Set defaults for thumbnails legend */ +.content UL.thumbnails SPAN.thumbLegend { + display: block; /* display: none; if you don't want legend */ + height: 4em; /* legend height (don't set auto to be Gecko friendly)*/ +} \ No newline at end of file diff --git a/admin/themes/default/fix-ie5-ie6.css b/admin/themes/default/fix-ie5-ie6.css new file mode 100644 index 000000000..078206d1d --- /dev/null +++ b/admin/themes/default/fix-ie5-ie6.css @@ -0,0 +1,35 @@ +/* Issues in IE from 5 to 6 only not to be used with IE7 */ + + +/* to avoid vanishing objects in IE6 */ +H1, #theHeader { + width: 100%; /* <- useless but seems to make IE6 happy */ +} +.content { + height: 1em; /* for IE6 it's like min-height */ +} + +/* fix quickconnect layout */ +FORM#quickconnect FIELDSET { + width: 99%; /* correct an ugly 1 or 2 px misalignement with IE */ +} + +/* fix IE with another layout for thumbnails */ +.content UL.thumbnails SPAN.wrap2 { + display: block; + position: relative; + text-align: left; +} + +.content UL.thumbnails IMG.thumbnail { + position: relative; + top: -50%; /* Is this following hacking technic required ? */ + /*\*//*/ + margin-top: -40%; + /**/ +} +.content UL.thumbnails INPUT { + position: absolute; + left: 2px; + top: 2px; /* same as other browsers but not so pretty */ +} diff --git a/admin/themes/default/icon/cat_move.png b/admin/themes/default/icon/cat_move.png new file mode 100644 index 000000000..9d6939cfc Binary files /dev/null and b/admin/themes/default/icon/cat_move.png differ diff --git a/admin/themes/default/icon/category_children.png b/admin/themes/default/icon/category_children.png new file mode 100644 index 000000000..d2c4edd1f Binary files /dev/null and b/admin/themes/default/icon/category_children.png differ diff --git a/admin/themes/default/icon/category_delete.png b/admin/themes/default/icon/category_delete.png new file mode 100644 index 000000000..b27ef62d3 Binary files /dev/null and b/admin/themes/default/icon/category_delete.png differ diff --git a/admin/themes/default/icon/category_edit.png b/admin/themes/default/icon/category_edit.png new file mode 100644 index 000000000..3ace19daf Binary files /dev/null and b/admin/themes/default/icon/category_edit.png differ diff --git a/admin/themes/default/icon/category_elements.png b/admin/themes/default/icon/category_elements.png new file mode 100644 index 000000000..c5e3f9292 Binary files /dev/null and b/admin/themes/default/icon/category_elements.png differ diff --git a/admin/themes/default/icon/category_jump-to.png b/admin/themes/default/icon/category_jump-to.png new file mode 100644 index 000000000..765bc119f Binary files /dev/null and b/admin/themes/default/icon/category_jump-to.png differ diff --git a/admin/themes/default/icon/category_permissions.png b/admin/themes/default/icon/category_permissions.png new file mode 100644 index 000000000..055d9e58d Binary files /dev/null and b/admin/themes/default/icon/category_permissions.png differ diff --git a/admin/themes/default/icon/category_representant_random.png b/admin/themes/default/icon/category_representant_random.png new file mode 100644 index 000000000..26fe7016a Binary files /dev/null and b/admin/themes/default/icon/category_representant_random.png differ diff --git a/admin/themes/default/icon/check.png b/admin/themes/default/icon/check.png new file mode 100644 index 000000000..708003a2b Binary files /dev/null and b/admin/themes/default/icon/check.png differ diff --git a/admin/themes/default/icon/datepicker.png b/admin/themes/default/icon/datepicker.png new file mode 100644 index 000000000..72e836b93 Binary files /dev/null and b/admin/themes/default/icon/datepicker.png differ diff --git a/admin/themes/default/icon/delete.png b/admin/themes/default/icon/delete.png new file mode 100644 index 000000000..285e53e19 Binary files /dev/null and b/admin/themes/default/icon/delete.png differ diff --git a/admin/themes/default/icon/edit_s.png b/admin/themes/default/icon/edit_s.png new file mode 100644 index 000000000..efb639947 Binary files /dev/null and b/admin/themes/default/icon/edit_s.png differ diff --git a/admin/themes/default/icon/errors.png b/admin/themes/default/icon/errors.png new file mode 100644 index 000000000..e26d8c6e5 Binary files /dev/null and b/admin/themes/default/icon/errors.png differ diff --git a/admin/themes/default/icon/exit.png b/admin/themes/default/icon/exit.png new file mode 100644 index 000000000..685cc44b5 Binary files /dev/null and b/admin/themes/default/icon/exit.png differ diff --git a/admin/themes/default/icon/fcbkcomplete_close.gif b/admin/themes/default/icon/fcbkcomplete_close.gif new file mode 100644 index 000000000..cc2199248 Binary files /dev/null and b/admin/themes/default/icon/fcbkcomplete_close.gif differ diff --git a/admin/themes/default/icon/help.png b/admin/themes/default/icon/help.png new file mode 100644 index 000000000..cd1d20919 Binary files /dev/null and b/admin/themes/default/icon/help.png differ diff --git a/admin/themes/default/icon/home.png b/admin/themes/default/icon/home.png new file mode 100644 index 000000000..81b6bddb7 Binary files /dev/null and b/admin/themes/default/icon/home.png differ diff --git a/admin/themes/default/icon/index.php b/admin/themes/default/icon/index.php new file mode 100644 index 000000000..871b52b6a --- /dev/null +++ b/admin/themes/default/icon/index.php @@ -0,0 +1,30 @@ + diff --git a/admin/themes/default/icon/infos.png b/admin/themes/default/icon/infos.png new file mode 100644 index 000000000..d98031df4 Binary files /dev/null and b/admin/themes/default/icon/infos.png differ diff --git a/admin/themes/default/icon/note.png b/admin/themes/default/icon/note.png new file mode 100644 index 000000000..9ef1af537 Binary files /dev/null and b/admin/themes/default/icon/note.png differ diff --git a/admin/themes/default/icon/page_end.png b/admin/themes/default/icon/page_end.png new file mode 100644 index 000000000..ac7b25ab8 Binary files /dev/null and b/admin/themes/default/icon/page_end.png differ diff --git a/admin/themes/default/icon/page_top.png b/admin/themes/default/icon/page_top.png new file mode 100644 index 000000000..30c58edd7 Binary files /dev/null and b/admin/themes/default/icon/page_top.png differ diff --git a/admin/themes/default/icon/permissions.png b/admin/themes/default/icon/permissions.png new file mode 100644 index 000000000..370ddddeb Binary files /dev/null and b/admin/themes/default/icon/permissions.png differ diff --git a/admin/themes/default/icon/plug_activate.png b/admin/themes/default/icon/plug_activate.png new file mode 100644 index 000000000..feb97a1c9 Binary files /dev/null and b/admin/themes/default/icon/plug_activate.png differ diff --git a/admin/themes/default/icon/plug_activate_grey.png b/admin/themes/default/icon/plug_activate_grey.png new file mode 100644 index 000000000..bf2a9be53 Binary files /dev/null and b/admin/themes/default/icon/plug_activate_grey.png differ diff --git a/admin/themes/default/icon/plug_deactivate.png b/admin/themes/default/icon/plug_deactivate.png new file mode 100644 index 000000000..8401ad8b9 Binary files /dev/null and b/admin/themes/default/icon/plug_deactivate.png differ diff --git a/admin/themes/default/icon/plug_deactivate_grey.png b/admin/themes/default/icon/plug_deactivate_grey.png new file mode 100644 index 000000000..a7e55e669 Binary files /dev/null and b/admin/themes/default/icon/plug_deactivate_grey.png differ diff --git a/admin/themes/default/icon/plug_delete.png b/admin/themes/default/icon/plug_delete.png new file mode 100644 index 000000000..285e53e19 Binary files /dev/null and b/admin/themes/default/icon/plug_delete.png differ diff --git a/admin/themes/default/icon/plug_delete_grey.png b/admin/themes/default/icon/plug_delete_grey.png new file mode 100644 index 000000000..d3d070bfc Binary files /dev/null and b/admin/themes/default/icon/plug_delete_grey.png differ diff --git a/admin/themes/default/icon/plug_install.png b/admin/themes/default/icon/plug_install.png new file mode 100644 index 000000000..bef78e171 Binary files /dev/null and b/admin/themes/default/icon/plug_install.png differ diff --git a/admin/themes/default/icon/plug_install_grey.png b/admin/themes/default/icon/plug_install_grey.png new file mode 100644 index 000000000..3bd56be3c Binary files /dev/null and b/admin/themes/default/icon/plug_install_grey.png differ diff --git a/admin/themes/default/icon/plug_uninstall.png b/admin/themes/default/icon/plug_uninstall.png new file mode 100644 index 000000000..9fd420ad7 Binary files /dev/null and b/admin/themes/default/icon/plug_uninstall.png differ diff --git a/admin/themes/default/icon/plug_uninstall_grey.png b/admin/themes/default/icon/plug_uninstall_grey.png new file mode 100644 index 000000000..4d6291cee Binary files /dev/null and b/admin/themes/default/icon/plug_uninstall_grey.png differ diff --git a/admin/themes/default/icon/plugin_active.gif b/admin/themes/default/icon/plugin_active.gif new file mode 100644 index 000000000..fe49227da Binary files /dev/null and b/admin/themes/default/icon/plugin_active.gif differ diff --git a/admin/themes/default/icon/plugin_inactive.gif b/admin/themes/default/icon/plugin_inactive.gif new file mode 100644 index 000000000..19d551865 Binary files /dev/null and b/admin/themes/default/icon/plugin_inactive.gif differ diff --git a/admin/themes/default/icon/preferences.png b/admin/themes/default/icon/preferences.png new file mode 100644 index 000000000..8634b5159 Binary files /dev/null and b/admin/themes/default/icon/preferences.png differ diff --git a/admin/themes/default/icon/ranks.png b/admin/themes/default/icon/ranks.png new file mode 100644 index 000000000..47710e87f Binary files /dev/null and b/admin/themes/default/icon/ranks.png differ diff --git a/admin/themes/default/icon/ranks_grey.png b/admin/themes/default/icon/ranks_grey.png new file mode 100644 index 000000000..f9757b998 Binary files /dev/null and b/admin/themes/default/icon/ranks_grey.png differ diff --git a/admin/themes/default/icon/sync_metadata.png b/admin/themes/default/icon/sync_metadata.png new file mode 100644 index 000000000..c527e2b04 Binary files /dev/null and b/admin/themes/default/icon/sync_metadata.png differ diff --git a/admin/themes/default/icon/sync_metadata_pink.png b/admin/themes/default/icon/sync_metadata_pink.png new file mode 100644 index 000000000..954c69612 Binary files /dev/null and b/admin/themes/default/icon/sync_metadata_pink.png differ diff --git a/admin/themes/default/icon/toggle_is_default_group.png b/admin/themes/default/icon/toggle_is_default_group.png new file mode 100644 index 000000000..7ddce0076 Binary files /dev/null and b/admin/themes/default/icon/toggle_is_default_group.png differ diff --git a/admin/themes/default/icon/uncheck.png b/admin/themes/default/icon/uncheck.png new file mode 100644 index 000000000..df08cb8fe Binary files /dev/null and b/admin/themes/default/icon/uncheck.png differ diff --git a/admin/themes/default/icon/validate_s.png b/admin/themes/default/icon/validate_s.png new file mode 100644 index 000000000..adea3d580 Binary files /dev/null and b/admin/themes/default/icon/validate_s.png differ diff --git a/admin/themes/default/icon/virt_category.png b/admin/themes/default/icon/virt_category.png new file mode 100644 index 000000000..7957ec77c Binary files /dev/null and b/admin/themes/default/icon/virt_category.png differ diff --git a/admin/themes/default/index.php b/admin/themes/default/index.php new file mode 100644 index 000000000..871b52b6a --- /dev/null +++ b/admin/themes/default/index.php @@ -0,0 +1,30 @@ + diff --git a/admin/themes/default/layout.css b/admin/themes/default/layout.css new file mode 100644 index 000000000..5a7d5c4df --- /dev/null +++ b/admin/themes/default/layout.css @@ -0,0 +1,12 @@ + +/* template css */ +/*@import "menubar.css";*/ +@import "content.css"; +@import "thumbnails.css"; +@import "default-layout.css"; +/* Override properties with import local file */ +@import "local-layout.css"; +/* common css */ +@import "../../../template-common/default-layout.css"; +/* Override properties with import local file */ +@import "../../../template-common/local-layout.css"; \ No newline at end of file diff --git a/admin/themes/default/local-layout.css b/admin/themes/default/local-layout.css new file mode 100644 index 000000000..e8136ac6d --- /dev/null +++ b/admin/themes/default/local-layout.css @@ -0,0 +1 @@ +/* You can modify this file */ \ No newline at end of file diff --git a/admin/themes/default/local_head.tpl b/admin/themes/default/local_head.tpl new file mode 100644 index 000000000..dd2ebc552 --- /dev/null +++ b/admin/themes/default/local_head.tpl @@ -0,0 +1,3 @@ + diff --git a/admin/themes/default/menubar.css b/admin/themes/default/menubar.css new file mode 100644 index 000000000..c0c51db29 --- /dev/null +++ b/admin/themes/default/menubar.css @@ -0,0 +1 @@ +/* menubar.css is no longer used in admin because menubar is always active in admin so it is layout */ \ No newline at end of file diff --git a/admin/themes/default/picture.css b/admin/themes/default/picture.css new file mode 100644 index 000000000..13b0ca6ef --- /dev/null +++ b/admin/themes/default/picture.css @@ -0,0 +1,122 @@ + +/* Maybe some cleanup has to be done there TODO */ +#imageHeaderBar { + padding-top: 2px; + padding-bottom: 2px; + margin-top: 4px; + overflow: hidden; + width: 100%; +} + +#imageHeaderBar .browsePath { + float: left; + margin-left: 10px; +} + +#imageHeaderBar .imageNumber { + float: right; + margin-right: 10px; +} + +#imageHeaderBar H2 { + text-align: center; + padding: 0; + clear: both; +} + +#imageToolBar { + text-align: center; + position: relative; + clear: both; + margin-bottom: 4px; + padding: 0; +} + +#imageToolBar { + height: 28px; +} +#imageToolBar A, #imageToolBar IMG { + display: block; + border: none; + margin: 0; padding: 0; +} +#imageToolBar A { width: 48px; } +#imageToolBar IMG { margin: 2px auto; } +#imageToolBar .randomButtons A { float: left; } +#imageToolBar .navButtons A { float: right; } + +#theImage { + clear: left; +} + +#theImage>IMG { + display: block; + margin: 0 auto; +} + +#theImage IMG { + border-width: 3px; + border-style: solid; +} + +.navThumb { + margin-top: 2px; +} +#thumbPrev { + float: left; +} + +#thumbNext { + float: right; +} + +#linkPrev { + margin-right: 10px; + margin-left: 5px; +} + +#linkNext { + margin-right: 5px; + margin-left: 10px; +} + +TABLE.infoTable .value { + text-align: left; +} + +TABLE.infoTable .label { + font-weight: bold; + text-align: right; + padding-right: 0.5em; +} + +TABLE.infoTable TD.value UL { + margin: 0; + padding: 0 0 0 1.5em; + list-style-type: square; +} + +#comments { + text-align: left; +} + +#comments .comment { + margin: 1em 0; +} + +#comments P { + margin: 0 0.5em 0 1em; +} + +#comments .author { + font-weight: bold; +} + +#thePicturePage #comments BLOCKQUOTE { + margin: 0.5em 1em 1em 4em; +} + +#comments P.userCommentDelete { + float: right; + margin: 0 0.5em 0 0; +} diff --git a/admin/themes/default/print.css b/admin/themes/default/print.css new file mode 100644 index 000000000..88c9ef4a1 --- /dev/null +++ b/admin/themes/default/print.css @@ -0,0 +1,14 @@ +#menubar, .content .navigationBar, UL.categoryActions, +#imageToolBar, .navThumb, #addComment { + display: none; +} + +BODY { + margin: 0; + color: #000000; + background: #ffffff; +} + +.content { + margin: 0; +} diff --git a/admin/themes/default/template/admin.tpl b/admin/themes/default/template/admin.tpl new file mode 100644 index 000000000..8de4f69ea --- /dev/null +++ b/admin/themes/default/template/admin.tpl @@ -0,0 +1,118 @@ +{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js" } +{known_script id="jquery.ui.accordion" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.accordion.packed.js" } +{known_script id="jquery.tipTip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.tipTip.minified.js" } + + + + + +
+ + {if isset($TABSHEET)} + {$TABSHEET} + {/if} + {if isset($U_HELP)} + + {/if} + + {if isset($errors)} +
+
    + {foreach from=$errors item=error} +
  • {$error}
  • + {/foreach} +
+
+ {/if} + + {if isset($infos)} +
+
    + {foreach from=$infos item=info} +
  • {$info}
  • + {/foreach} +
+
+ {/if} + + {$ADMIN_CONTENT} +
diff --git a/admin/themes/default/template/advanced_feature.tpl b/admin/themes/default/template/advanced_feature.tpl new file mode 100644 index 000000000..76209387c --- /dev/null +++ b/admin/themes/default/template/advanced_feature.tpl @@ -0,0 +1,9 @@ +
+

{'Advanced features'|@translate}

+
+ + diff --git a/admin/themes/default/template/cat_list.tpl b/admin/themes/default/template/cat_list.tpl new file mode 100644 index 000000000..30b517a7b --- /dev/null +++ b/admin/themes/default/template/cat_list.tpl @@ -0,0 +1,93 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} +{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js" } +{known_script id="jquery.ui.sortable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.sortable.packed.js" } + + + +

{'Categories management'|@translate}

+ +

{$CATEGORIES_NAV}

+ +
+

+ {'Add a virtual category'|@translate} : + + {if count($categories)>9 } + + page_end + {/if} +

+
+ +{if count($categories) } +
+

+ + + +

+ +

+ + + +

+ +
+{/if} diff --git a/admin/themes/default/template/cat_modify.tpl b/admin/themes/default/template/cat_modify.tpl new file mode 100644 index 000000000..1878da75c --- /dev/null +++ b/admin/themes/default/template/cat_modify.tpl @@ -0,0 +1,232 @@ + +{include file='include/autosize.inc.tpl'} +{include file='include/resize.inc.tpl'} + +
+

{'Edit a category'|@translate}

+
+ +

{$CATEGORIES_NAV}

+ + + +
+ +
+ {'Informations'|@translate} + + + {if isset($CAT_FULL_DIR) } + + + + + {/if} + + + + + + + + + +
{'Directory'|@translate}{$CAT_FULL_DIR}
{'Name'|@translate} + +
{'Description'|@translate} + +
+
+ +{if isset($move_cat_options) } +
+ {'Move'|@translate} + {'Parent category'|@translate} + +
+{/if} + +
+ {'Options'|@translate} + + + + + + + + + + + {if isset($SHOW_UPLOADABLE) } + + + + {/if} +
{'Access type'|@translate} + + {html_radios name='status' values=$status_values output=$status_values|translate selected=$CAT_STATUS} +
{'Lock'|@translate} + + {html_radios name='visible' values='true,false'|@explode output='No,Yes'|@explode|translate selected=$CAT_VISIBLE} +
{'Comments'|@translate} + + {html_radios name='commentable' values='false,true'|@explode output='No,Yes'|@explode|translate selected=$CAT_COMMENTABLE} +
{'Authorize upload'|@translate} + + {html_radios name='uploadable' values='false,true'|@explode output='No,Yes'|@explode|translate selected=$CAT_UPLOADABLE} +
+
+ +
+ {'Sort order'|@translate} + + +
+ + +
+ + {foreach from=$image_orders item=order} + +
+ {/foreach} + +
+ +

+ + +

+ +{if isset($representant) } +
+ {'Representant'|@translate} + + + + + +
+ {if isset($representant.picture) } + + {else} + {'Random picture'|@translate} + {/if} + + {if $representant.ALLOW_SET_RANDOM } +

+ {/if} + + {if isset($representant.ALLOW_DELETE) } +

+ {/if} +
+
+{/if} + +
+ + diff --git a/admin/themes/default/template/cat_move.tpl b/admin/themes/default/template/cat_move.tpl new file mode 100644 index 000000000..f8a83c584 --- /dev/null +++ b/admin/themes/default/template/cat_move.tpl @@ -0,0 +1,36 @@ + +{include file='include/resize.inc.tpl'} + +
+

{'Move categories'|@translate}

+
+ +
+
+ {'Virtual categories movement'|@translate} + + + + + +
+ +

+ + +

+ +
diff --git a/admin/themes/default/template/cat_options.tpl b/admin/themes/default/template/cat_options.tpl new file mode 100644 index 000000000..9c25c1ef0 --- /dev/null +++ b/admin/themes/default/template/cat_options.tpl @@ -0,0 +1,11 @@ +
+

{'Properties'|@translate} {$TABSHEET_TITLE}

+
+ +
+
+ {$L_SECTION} + {$DOUBLE_SELECT} +
+
+ diff --git a/admin/themes/default/template/cat_perm.tpl b/admin/themes/default/template/cat_perm.tpl new file mode 100644 index 000000000..fb239e79f --- /dev/null +++ b/admin/themes/default/template/cat_perm.tpl @@ -0,0 +1,64 @@ +
+

{'Manage permissions for a category'|@translate}

+
+ +

{$CATEGORIES_NAV}

+ +
+ +

{'Groups'|@translate}

+ +
+ {'Permission granted'|@translate} +
    + {foreach from=$group_granted_ids item=id} +
  • + {/foreach} +
+ +
+ +
+ {'Permission denied'|@translate} +
    + {foreach from=$group_denied_ids item=id} +
  • + {/foreach} +
+ +
+ +

{'Users'|@translate}

+ +
+ {'Permission granted'|@translate} +
    + {foreach from=$user_granted_direct_ids item=id} +
  • + {/foreach} +
+ +
+ +
+ {'Permission granted thanks to a group'|@translate} + {if isset($user_granted_indirects) } +
    + {foreach from=$user_granted_indirects item=user_group} +
  • {$user_group.USER} ({$user_group.GROUP})
  • + {/foreach} +
+ {/if} +
+ +
+ {'Permission denied'|@translate} +
    + {foreach from=$user_denied_ids item=id} +
  • + {/foreach} +
+ +
+ +
diff --git a/admin/themes/default/template/check_integrity.tpl b/admin/themes/default/template/check_integrity.tpl new file mode 100644 index 000000000..7cf566123 --- /dev/null +++ b/admin/themes/default/template/check_integrity.tpl @@ -0,0 +1,83 @@ +
+
{'Check integrity'|@translate}
+
+
    +
    +
    + + + + + + + {if isset($c13y_list)} + {foreach from=$c13y_list item=c13y name=c13y_loop} + + + + + + {/foreach} + {/if} +
    {'Anomaly'|@translate}{'Correction'|@translate}
    + {if $c13y.can_select} + + {/if} + + +
    + +

    + {if $c13y_show_submit_ignore} + {'Check all'|@translate} + / {'Uncheck all'|@translate} + {/if} + {if isset($c13y_do_check)} + / {'Check automatic corrections'|@translate} + {/if} +

    + +

    + {if $c13y_show_submit_automatic_correction} + + {/if} + {if $c13y_show_submit_ignore} + + {/if} + +

    + +
    +
    +
+
diff --git a/admin/themes/default/template/comments.tpl b/admin/themes/default/template/comments.tpl new file mode 100644 index 000000000..b7ac21ba4 --- /dev/null +++ b/admin/themes/default/template/comments.tpl @@ -0,0 +1,31 @@ +
+

{'Waiting'|@translate} {$TABSHEET_TITLE}

+
+ +

{'User comments validation'|@translate}

+ +{if !empty($comments) } +
+ + {foreach from=$comments item=comment} +
+ +

{$comment.AUTHOR} - {$comment.DATE}

+
{$comment.CONTENT}
+
+
    +
  • +
  • +
+ {/foreach} + +

+ + + + + +

+ +
+{/if} diff --git a/admin/themes/default/template/configuration.tpl b/admin/themes/default/template/configuration.tpl new file mode 100644 index 000000000..065a2ad76 --- /dev/null +++ b/admin/themes/default/template/configuration.tpl @@ -0,0 +1,209 @@ + +{include file='include/autosize.inc.tpl'} + +
+

{'Piwigo configuration'|@translate} {$TABSHEET_TITLE}

+
+ +{if !isset($default)} +
+{/if} + +{if isset($main)} +
+ +
    +
  • + + + + +
  • + +
  • + + + + +
  • + +
  • + + + + +
  • +
+
+ +
+ +
    +
  • + +
  • + +
  • + +
  • + +
  • + +
  • + +
  • + +
  • + +
  • + +
  • + +
  • + +
  • +
+
+{/if} + +{if isset($history)} +
+ +
    +
  • + +
  • + +
  • + +
  • + +
  • + +
  • +
+
+{/if} + + +{if isset($comments)} +
+ +
    +
  • + +
  • + +
  • + + + + +
  • + +
  • + +
  • + + +
  • + +
  • + +
  • + +
  • + +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • + +
+
+{/if} + +{if isset($upload)} +
+ +
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+{/if} + +{if isset($default)} +{$PROFILE_CONTENT} +{/if} + +{if !isset($default)} +

+ + +

+
+{/if} diff --git a/admin/themes/default/template/double_select.tpl b/admin/themes/default/template/double_select.tpl new file mode 100644 index 000000000..ee9704419 --- /dev/null +++ b/admin/themes/default/template/double_select.tpl @@ -0,0 +1,22 @@ + +{include file='include/dbselect.inc.tpl'} + + + + + + + +
+

{$L_CAT_OPTIONS_TRUE}

+ +

+
+

{$L_CAT_OPTIONS_FALSE}

+ +

+
diff --git a/admin/themes/default/template/element_set_global.tpl b/admin/themes/default/template/element_set_global.tpl new file mode 100644 index 000000000..fffea3f09 --- /dev/null +++ b/admin/themes/default/template/element_set_global.tpl @@ -0,0 +1,211 @@ + +{include file='include/datepicker.inc.tpl'} + +{literal} + +{/literal} + +

{'Batch management'|@translate}

+ +

{$CATEGORIES_NAV}

+ +{if !empty($thumbnails)} +

+ {'global mode'|@translate} + | {'unit mode'|@translate} +

+ +
+ + {'Display options'|@translate} + +

{'elements per page'|@translate}: + 20 + | 50 + | 100 + | {'all'|@translate} +

+ +
+ +
+ +
+ + {'Elements'|@translate} + + {if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} + + {if !empty($thumbnails)} +
    + {foreach from=$thumbnails item=thumbnail} +
  • + + +
  • + {/foreach} +
+ {/if} + +
+ + {if $show_delete_form} +
+ {'Deletions'|@translate} +

{'Note: Only deletes photos added with pLoader'|@translate}

+

+ {'target'|@translate} + + +

+

+ + +

+
+ {/if} + +
+ + {'Form'|@translate} + + + + + + + + + + + + + + + + + + + {if !empty($DEL_TAG_SELECTION)} + + + + + {/if} + + + + + + + + + + + + + + + + + + + + + +
{'associate to category'|@translate} + +
{'dissociate from category'|@translate} + +
{'add tags'|@translate}{if !empty($ADD_TAG_SELECTION)}{$ADD_TAG_SELECTION}{else}

{'No tag defined. Use Administration>Pictures>Tags'|@translate}

{/if}
{'remove tags'|@translate}{$DEL_TAG_SELECTION}
{'Author'|@translate} + + + + +
{'title'|@translate} + + + + +
{'Creation date'|@translate} + + + + + + + +
{'Minimum privacy level'|@translate} + + + +
+ +

+ {'target'|@translate} + + +

+ + +

+ +
+ +
+ + {'Caddie management'|@translate} + +
    + {if ($IN_CADDIE)} +
  • +
  • + {else} +
  • + {/if} +
+ +

+ +
+ +
+ +{else} +

{'Caddie is currently empty'|@translate}

+{/if} diff --git a/admin/themes/default/template/element_set_ranks.tpl b/admin/themes/default/template/element_set_ranks.tpl new file mode 100644 index 000000000..6fed3fb19 --- /dev/null +++ b/admin/themes/default/template/element_set_ranks.tpl @@ -0,0 +1,50 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} +{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js" } +{known_script id="jquery.ui.sortable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.sortable.packed.js" } + +{literal} + +{/literal} + +

{'Manage image ranks'|@translate}

+ +

{$CATEGORIES_NAV}

+ +{if !empty($thumbnails)} +
+

+
+ {'Edit ranks'|@translate} + {if !empty($thumbnails)} +
    + {foreach from=$thumbnails item=thumbnail} +
  • + + +
  • + {/foreach} +
+ {/if} +
+

+
+ +{else} +

{'No element in this category'|@translate}

+{/if} diff --git a/admin/themes/default/template/element_set_unit.tpl b/admin/themes/default/template/element_set_unit.tpl new file mode 100644 index 000000000..4e188590b --- /dev/null +++ b/admin/themes/default/template/element_set_unit.tpl @@ -0,0 +1,109 @@ + +{include file='include/autosize.inc.tpl'} +{include file='include/datepicker.inc.tpl'} + +

{'Batch management'|@translate}

+ +

{$CATEGORIES_NAV}

+ +

+ {'global mode'|@translate} + | {'unit mode'|@translate} +

+ +
+
+ {'Display options'|@translate} +

{'elements per page'|@translate} : + 5 + | 10 + | 50 + | {'all'|@translate} +

+ +
+ +{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} + +{if !empty($elements) } +
+{foreach from=$elements item=element} +
+ {$element.LEGEND} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{'Name'|@translate}
{'Author'|@translate}
{'Creation date'|@translate} + + + + + + + + +
{'Tags'|@translate}{$element.TAG_SELECTION}
{'Description'|@translate}
+ +
+{/foreach} + +

+ + +

+{/if} + +
+ + diff --git a/admin/themes/default/template/extend_for_templates.tpl b/admin/themes/default/template/extend_for_templates.tpl new file mode 100644 index 000000000..0d093c3bf --- /dev/null +++ b/admin/themes/default/template/extend_for_templates.tpl @@ -0,0 +1,37 @@ +

{'Extend for templates'|@translate}

+
+{if isset($extents)} +

{'Replacement of original templates by customized templates from template-extension subfolder'|@translate}

+
+ + + + + + + + {foreach from=$extents item=tpl name=extent_loop} + + + + + + + {/foreach} +
{'Replacers (customized templates)'|@translate}{'Original templates'|@translate}{'Optional URL keyword'|@translate}{'Bound template'|@translate}
+ + {$tpl.replacer} + + {html_options name=original[] output=$tpl.original_tpl values=$tpl.original_tpl selected=$tpl.selected_tpl} + + {html_options name=url[] output=$tpl.url_parameter values=$tpl.url_parameter selected=$tpl.selected_url} + + {html_options name=bound[] output=$tpl.bound_tpl values=$tpl.bound_tpl selected=$tpl.selected_bound} +
+ {if !is_adviser()} +

+ +

+ {/if} +
+{/if} diff --git a/admin/themes/default/template/footer.tpl b/admin/themes/default/template/footer.tpl new file mode 100644 index 000000000..e8709b59f --- /dev/null +++ b/admin/themes/default/template/footer.tpl @@ -0,0 +1,58 @@ +{* + Warning : This is the admin pages footer only + don't be confusing with the public page footer +*} + +{if isset($footer_elements)} +{foreach from=$footer_elements item=v} +{$v} +{/foreach} +{/if} +{if isset($debug.QUERIES_LIST)} +
+{$debug.QUERIES_LIST} +
+{/if} + + + + +{literal} + +{/literal} + + + \ No newline at end of file diff --git a/admin/themes/default/template/group_list.tpl b/admin/themes/default/template/group_list.tpl new file mode 100644 index 000000000..6b32da66b --- /dev/null +++ b/admin/themes/default/template/group_list.tpl @@ -0,0 +1,42 @@ +
+

{'Group management'|@translate}

+
+ +
+
+ {'Add group'|@translate} + + + + + + +

+ +

+
+
+ + + + + + + + {if not empty($groups)} + {foreach from=$groups item=group name=group_loop} + + + + + + {/foreach} + {/if} +
{'Group name'|@translate}{'Members'|@translate}{'Actions'|@translate}
{$group.NAME}{$group.IS_DEFAULT}{$group.MEMBERS} + + {'Permissions'|@translate} + + {'Delete'|@translate} + + {'Toggle \'default group\' property'|@translate} +
diff --git a/admin/themes/default/template/group_perm.tpl b/admin/themes/default/template/group_perm.tpl new file mode 100644 index 000000000..1dded1291 --- /dev/null +++ b/admin/themes/default/template/group_perm.tpl @@ -0,0 +1,8 @@ +{* $Id *} +

{$TITLE}

+ +
+ {$DOUBLE_SELECT} +
+ +

{'Only private categories are listed'|@translate}

diff --git a/admin/themes/default/template/header.tpl b/admin/themes/default/template/header.tpl new file mode 100644 index 000000000..57ae04fa4 --- /dev/null +++ b/admin/themes/default/template/header.tpl @@ -0,0 +1,77 @@ +{* + + Warning : This is the admin pages header only + don't confuse with the public page header + +*} + + + + + +{$GALLERY_TITLE} :: {$PAGE_TITLE} + + +{foreach from=$themes item=theme} +{if isset($theme.local_head)}{include file=$theme.local_head}{/if} + +{/foreach} + +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js" now=1} {*jQuery is always available by default*} + + + + +{if not empty($head_elements)} +{foreach from=$head_elements item=elt} +{$elt} +{/foreach} +{/if} + + + + + +
+ +
+

+ + {'Home'|@translate} + {$GALLERY_TITLE} + +

+ +
+ Hello {$USERNAME} : + Visit Gallery | + Change Theme | + {'Logout'|@translate} + (?) +
+
+ +
+ +{if not empty($header_msgs)} +
+ {foreach from=$header_msgs item=elt} + {$elt} + {/foreach} +
+{/if} + +
{*$PAGE_BANNER*}
+ +{if not empty($header_notes)} +
+ {foreach from=$header_notes item=elt} + {$elt} + {/foreach} +
+{/if} + +
\ No newline at end of file diff --git a/admin/themes/default/template/history.tpl b/admin/themes/default/template/history.tpl new file mode 100644 index 000000000..5d0cd771e --- /dev/null +++ b/admin/themes/default/template/history.tpl @@ -0,0 +1,135 @@ + +{include file='include/datepicker.inc.tpl'} + +{literal} + +{/literal} + +
+

{'History'|@translate} {$TABSHEET_TITLE}

+
+ +
+
+ {'Filter'|@translate} +
    +
  • +
  • + + + + +
  • +
+
    +
  • +
  • + + + + +
  • +
+ + + + + + + + + + + + +
+
+ +{if isset($search_summary)} +
+ {'Summary'|@translate} + +
    +
  • {$search_summary.NB_LINES}, {$search_summary.FILESIZE}
  • +
  • + {$search_summary.USERS} +
      +
    • {$search_summary.MEMBERS}
    • +
    • {$search_summary.GUESTS}
    • +
    +
  • +
+
+{/if} + +{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} + + + + + + + + + + + + + +{if !empty($search_results) } +{foreach from=$search_results item=detail name=res_loop} + + + + + + + + + + + +{/foreach} +{/if} +
{'Date'|@translate}{'Time'|@translate}{'User'|@translate}{'IP'|@translate}{'Element'|@translate}{'Element type'|@translate}{'Section'|@translate}{'Category'|@translate}{'Tags'|@translate}
{$detail.DATE}{$detail.TIME}{$detail.USER}{$detail.IP}{$detail.IMAGE}{$detail.TYPE}{$detail.SECTION}{$detail.CATEGORY}{$detail.TAGS}
+ +{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} diff --git a/admin/themes/default/template/include/autosize.inc.tpl b/admin/themes/default/template/include/autosize.inc.tpl new file mode 100644 index 000000000..8f5c78c70 --- /dev/null +++ b/admin/themes/default/template/include/autosize.inc.tpl @@ -0,0 +1,13 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} +{known_script id="jquery.autogrow" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.autogrow-textarea.js"} + +{* Auto size and auto grow textarea *} +{literal} + +{/literal} diff --git a/admin/themes/default/template/include/datepicker.inc.tpl b/admin/themes/default/template/include/datepicker.inc.tpl new file mode 100644 index 000000000..f010febcf --- /dev/null +++ b/admin/themes/default/template/include/datepicker.inc.tpl @@ -0,0 +1,24 @@ + +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} +{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} +{known_script id="jquery.ui.datepicker" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.datepicker.packed.js"} +{known_script id="datepicker.js" src=$ROOT_URL|@cat:"themes/default/js/datepicker.js"} + +{assign var="datepicker_language" value="themes/default/js/ui/i18n/ui.datepicker-"|@cat:$lang_info.code|@cat:".js"} + +{if "PHPWG_ROOT_PATH"|@constant|@cat:$datepicker_language|@file_exists} +{known_script id="jquery.ui.datepicker-$lang_info.code" src=$ROOT_URL|@cat:$datepicker_language} +{/if} + +{html_head} + +{/html_head} + + diff --git a/admin/themes/default/template/include/dbselect.inc.tpl b/admin/themes/default/template/include/dbselect.inc.tpl new file mode 100644 index 000000000..009452c1e --- /dev/null +++ b/admin/themes/default/template/include/dbselect.inc.tpl @@ -0,0 +1,22 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} +{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} +{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.resizable.packed.js"} + +{* Resize possible *} +{literal} + +{/literal} diff --git a/admin/themes/default/template/include/install.inc.tpl b/admin/themes/default/template/include/install.inc.tpl new file mode 100644 index 000000000..b153f0f30 --- /dev/null +++ b/admin/themes/default/template/include/install.inc.tpl @@ -0,0 +1,19 @@ + +{literal} + +{/literal} diff --git a/admin/themes/default/template/include/resize.inc.tpl b/admin/themes/default/template/include/resize.inc.tpl new file mode 100644 index 000000000..30a637563 --- /dev/null +++ b/admin/themes/default/template/include/resize.inc.tpl @@ -0,0 +1,22 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} +{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js"} +{known_script id="jquery.ui.resizable" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.resizable.packed.js"} + +{* Resize possible *} +{literal} + +{/literal} diff --git a/admin/themes/default/template/install.tpl b/admin/themes/default/template/install.tpl new file mode 100644 index 000000000..ce3d8d906 --- /dev/null +++ b/admin/themes/default/template/install.tpl @@ -0,0 +1,211 @@ + + + + + + + + +{foreach from=$themes item=theme} +{if isset($theme.local_head)}{include file=$theme.local_head}{/if} + +{/foreach} + + +{literal} + + + +{/literal} +Piwigo {$RELEASE} - {'Installation'|@translate} + + + +
{* Dummy block for double background management *} +
+
+
+ +

Piwigo {$RELEASE} - {'Installation'|@translate}

+ +{if isset($errors)} +
+
    + {foreach from=$errors item=error} +
  • {$error}
  • + {/foreach} +
+
+{/if} + +{if isset($infos)} +
+
    + {foreach from=$infos item=info} +
  • {$info}
  • + {/foreach} +
+
+{/if} + +{if isset($install)} +
+ + + + + + + + + +
{'Basic configuration'|@translate}
{'Default gallery language'|@translate} + +
+ + + + + {if count($F_DB_ENGINES)>1} + + + + + {else} + + {/if} + + + + + + + + + + + + + + + + + + + + + + + + + + +
{'Database configuration'|@translate}
{'Database type'|@translate} + + {'The type of database your piwigo data will be store in'|@translate} + +
{'Host'|@translate}{'localhost, sql.multimania.com, toto.freesurf.fr'|@translate}
{'User'|@translate}{'user login given by your host provider'|@translate}
{'Password'|@translate}{'user password given by your host provider'|@translate}
{'Database name'|@translate}{'also given by your host provider'|@translate}
{'Database table prefix'|@translate}{'database tables names will be prefixed with it (enables you to manage better your tables)'|@translate}
+ + + + + + + + + + + + + + + + + + + + + + + + + +
{'Admin configuration'|@translate}
{'Webmaster login'|@translate}{'It will be shown to the visitors. It is necessary for website administration'|@translate}
{'Webmaster password'|@translate}{'Keep it confidential, it enables you to access administration panel'|@translate}
{'Password [confirm]'|@translate}{'verification'|@translate}
{'Webmaster mail address'|@translate}{'Visitors will be able to contact site administrator with this mail'|@translate}
+ + + + + +
+ +
+
+{else} +

+ + +

+ +{if !isset($migration)} +
+
    +
  • {'Keep in touch with Piwigo project, subscribe to Piwigo Announcement Newsletter. You will receive emails when a new release is available (sometimes including a security bug fix, it\'s important to know and upgrade) and when major events happen to the project. Only a few emails a year.'|@translate}
  • +
+
+ +

+ +

+{/if} +{/if} +
{* content *} +
{$L_INSTALL_HELP}
+
{* the_page *} + + diff --git a/admin/themes/default/template/intro.tpl b/admin/themes/default/template/intro.tpl new file mode 100644 index 000000000..86c65c0a3 --- /dev/null +++ b/admin/themes/default/template/intro.tpl @@ -0,0 +1,79 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} +{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} + + + +

{'Piwigo administration'|@translate}

+
+
{'Piwigo version'|@translate}
+
+ +
+ +
{'Environment'|@translate}
+
+
    +
  • {'Operating system'|@translate}: {$OS}
  • +
  • PHP: {$PHP_VERSION} ({'Show info'|@translate}) [{$PHP_DATATIME}]
  • +
  • {$DB_ENGINE}: {$DB_VERSION} [{$DB_DATATIME}]
  • +
+
+ +
{'Database'|@translate}
+
+
    +
  • + {$DB_ELEMENTS} + {if isset($waiting)} + ({$waiting.INFO}) + {/if} + + {if isset($first_added)} + ({$first_added.DB_DATE}) + {/if} +
  • +
  • {$DB_CATEGORIES} ({$DB_IMAGE_CATEGORY})
  • +
  • {$DB_TAGS} ({$DB_IMAGE_TAG})
  • +
  • {$DB_USERS}
  • +
  • {$DB_GROUPS}
  • +
  • + {$DB_COMMENTS} + {if isset($unvalidated)} + ({$unvalidated.INFO}) + {/if} +
  • +
+
+
+ + +
+
+ + + + + + + +
+
+{'Quick Local Synchronization'|@translate} + +
+
diff --git a/admin/themes/default/template/maintenance.tpl b/admin/themes/default/template/maintenance.tpl new file mode 100644 index 000000000..2208b5baa --- /dev/null +++ b/admin/themes/default/template/maintenance.tpl @@ -0,0 +1,22 @@ +
+

{'Maintenance'|@translate}

+
+ + + + + + diff --git a/admin/themes/default/template/menubar.tpl b/admin/themes/default/template/menubar.tpl new file mode 100644 index 000000000..552880b45 --- /dev/null +++ b/admin/themes/default/template/menubar.tpl @@ -0,0 +1,53 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} +{known_script id="jquery.ui" src=$ROOT_URL|@cat:"themes/default/js/ui/packed/ui.core.packed.js" } +{known_script id="jquery-tablednd" src=$ROOT_URL|@cat:"themes/default/js/jquery.tablednd.js"} + +{literal} + +{/literal} + +
+

Menubar

+
+
+
+ + + + + + + + + + + + {foreach from=$blocks item=block name="block_loop"} + + + + + + + + {/foreach} + +
Id{'Author'|@translate}{'Name'|@translate}{'Position'|@translate}{'Hide'|@translate}
{$block.reg->get_id()}{$block.reg->get_owner()}{$block.reg->get_name()|@translate}
+

+ + +

+
diff --git a/admin/themes/default/template/navigation_bar.tpl b/admin/themes/default/template/navigation_bar.tpl new file mode 100644 index 000000000..82c66bd15 --- /dev/null +++ b/admin/themes/default/template/navigation_bar.tpl @@ -0,0 +1,28 @@ + diff --git a/admin/themes/default/template/notification_by_mail.tpl b/admin/themes/default/template/notification_by_mail.tpl new file mode 100644 index 000000000..3ffccd544 --- /dev/null +++ b/admin/themes/default/template/notification_by_mail.tpl @@ -0,0 +1,121 @@ + +{include file='include/autosize.inc.tpl'} + +
+

{'Send mail to users'|@translate} {$TABSHEET_TITLE}

+
+ +
+ {if isset($REPOST_SUBMIT_NAME)} +
+
+ +
+
+ {/if} + + {if isset($param)} +
+ {'Parameters'|@translate} + + + + + + + + + + + + + + + + + + + + + +
+ + +
+ +
{'With blank value, gallery title will be used'|@translate} +
+ + +
+ +
{'Available only with HTML format'|@translate} +
+ + +
+
+ +

+ + +

+ {/if}{* isset $param*} + + {if isset($subscribe)} +
+ {'Subscribe/unsubscribe users'|@translate} +

{'Warning: subscribing or unsubscribing will send mails to users'|@translate}

+ {$DOUBLE_SELECT} +
+ {/if}{* isset $subscribe*} + + {if isset($send)} + {if empty($send.users)} +

{'There is no available subscribers to mail.'|@translate}

+

+ {'Subscribers could be listed (available) only if there is new elements to notify.'|@translate}
+ {'Anyway only webmasters can see this tab and never administrators.'|@translate} +

+ {else} +
+ {'Select recipients'|@translate} + + + + + + + + {foreach from=$send.users item=u name=user_loop} + + + + + + + {/foreach} +
{'User'|@translate}{'email'|@translate}{'Last send'|@translate}{'To send ?'|@translate}
+

+ {'Check all'|@translate} + / {'Uncheck all'|@translate} +

+
+ +
+ {'Options'|@translate} + + + + + +
+
+ +

+ +

+ {/if} + {/if}{* isset $send*} + +
diff --git a/admin/themes/default/template/permalinks.tpl b/admin/themes/default/template/permalinks.tpl new file mode 100644 index 000000000..ef5c7f802 --- /dev/null +++ b/admin/themes/default/template/permalinks.tpl @@ -0,0 +1,66 @@ +
+

{'Permalinks'|@translate}

+
+ +
+
{'Add/delete a permalink'|@translate} + + + + + + +

+ +

+
+
+ +

{'Permalinks'|@translate}

+ + + + + + +{foreach from=$permalinks item=permalink name="permalink_loop"} + + + + + +{/foreach} +
Id {$SORT_ID}{'Category'|@translate} {$SORT_NAME}{'Permalink'|@translate} {$SORT_PERMALINK}
+ +

{'Permalink history'|@translate}

+ + + + + + + + + + +{foreach from=$deleted_permalinks item=permalink} + + + + + + + + + +{/foreach} +
Id {$SORT_OLD_CAT_ID}{'Category'|@translate}{'Permalink'|@translate} {$SORT_OLD_PERMALINK}{'Deleted on'|@translate} {$SORT_OLD_DATE_DELETED}{'Last hit'|@translate} {$SORT_OLD_LAST_HIT}{'Hit'|@translate} {$SORT_OLD_HIT}
{$permalink.cat_id}{$permalink.name}{$permalink.permalink}{$permalink.date_deleted}{$permalink.last_hit}{$permalink.hit}[{'Delete'|@translate}]
diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl new file mode 100644 index 000000000..9f59c11a7 --- /dev/null +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -0,0 +1,185 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} + +{literal} + +{/literal} + +{if $upload_mode eq 'html'} +{literal} + +{/literal} + +{elseif $upload_mode eq 'multiple'} + + + + +{/if} + +
+

{'Upload photos'|@translate}

+
+ +{if count($setup_errors) > 0} +
+
    + {foreach from=$setup_errors item=error} +
  • {$error}
  • + {/foreach} +
+
+{else} + +{if !empty($thumbnails)} +
+ {'Uploaded Photos'|@translate} +
+ {foreach from=$thumbnails item=thumbnail} + + {$thumbnail.file} + + {/foreach} +
+ +
+{/if} + + +
+{if $upload_mode eq 'multiple'} + +{/if} + +
+
{'Drop into category'|@translate}
+ + + + + + +
+ + + + + + + + + +
{'Parent category'|@translate} + +
{'Category name'|@translate} + +
+
+
+ +
+
{'Who can see these photos?'|@translate}
+ + +
+ +
+
{'Select files'|@translate}
+ +{if $upload_mode eq 'html'} +

{'... or switch to the multiple files form'|@translate}

+ +

{'JPEG files or ZIP archives with JPEG files inside please.'|@translate}

+ +
+ + +
+ +

+ +

+{elseif $upload_mode eq 'multiple'} + + +

+ +

+ +

{'... or switch to the old style form'|@translate}

+ +
+ +
+

+ + +

+{/if} + +{/if} diff --git a/admin/themes/default/template/photos_add_settings.tpl b/admin/themes/default/template/photos_add_settings.tpl new file mode 100644 index 000000000..10e4633dd --- /dev/null +++ b/admin/themes/default/template/photos_add_settings.tpl @@ -0,0 +1,74 @@ +{literal} + +{/literal} + +
+

{'Upload Photos'|@translate}

+
+ +
+ +
+
{'Web size photo'|@translate}
+ + + + + + + + + + + + + + + + + + +
{'Maximum Width'|@translate} {'pixels'|@translate}
{'Maximum Height'|@translate} {'pixels'|@translate}
{'Image Quality'|@translate} %
+
+ +
+
{'Thumbnail'|@translate}
+ + + + + + + + + + + + + + +
{'Maximum Width'|@translate} {'pixels'|@translate}
{'Maximum Height'|@translate} {'pixels'|@translate}
{'Image Quality'|@translate} %
+
+ +

+ +

+ +
diff --git a/admin/themes/default/template/picture_modify.tpl b/admin/themes/default/template/picture_modify.tpl new file mode 100644 index 000000000..be5fa94a4 --- /dev/null +++ b/admin/themes/default/template/picture_modify.tpl @@ -0,0 +1,226 @@ +{include file='include/autosize.inc.tpl'} +{include file='include/dbselect.inc.tpl'} +{include file='include/datepicker.inc.tpl'} + +{known_script id="jquery.fcbkcomplete" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.fcbkcomplete.js"} +{literal} + +{/literal} + +{literal} + +{/literal} + +

{'Modify informations about a picture'|@translate}

+ +{'Thumbnail'|@translate} + +
    + {if isset($U_JUMPTO) } +
  • {'jump to image'|@translate}
  • + {/if} + {if !url_is_remote($path)} +
  • {'synchronize'|@translate}
  • + {/if} +
+ +
+ +
+ {'Informations'|@translate} + + + + + + + + + + + + + + + + + + + + + + + +{if isset($HIGH_FILESIZE) } + + + + +{/if} + + + + + + + {if isset($related_categories) } + + + + + {/if} + +
{'Path'|@translate}{$PATH}
{'Post date'|@translate}{$REGISTRATION_DATE}
{'Dimensions'|@translate}{$DIMENSIONS}
{'Filesize'|@translate}{$FILESIZE}
{'High filesize'|@translate}{$HIGH_FILESIZE}
{'Storage category'|@translate}{$STORAGE_CATEGORY}
{'Linked categories'|@translate} +
    + {foreach from=$related_categories item=name} +
  • {$name}
  • + {/foreach} +
+
+ +
+ +
+ {'Properties'|@translate} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{'Name'|@translate}
{'Author'|@translate}
{'Creation date'|@translate} + + {'set to'|@translate} + + + + +
{'Tags'|@translate} + +
{'Description'|@translate}
{'Minimum privacy level'|@translate} + +
+ +

+ + +

+ +
+ +
+ +
+
+ {'Association to categories'|@translate} + + + + + + + +
+

{'Associated'|@translate}

+ +

+
+

{'Dissociated'|@translate}

+ +

+
+ +
+
+ +
+
+ {'Representation of categories'|@translate} + + + + + + + +
+

{'Represents'|@translate}

+ +

+
+

{'Does not represent'|@translate}

+ +

+
+ +
+
diff --git a/admin/themes/default/template/plugins_list.tpl b/admin/themes/default/template/plugins_list.tpl new file mode 100644 index 000000000..8743d6b6d --- /dev/null +++ b/admin/themes/default/template/plugins_list.tpl @@ -0,0 +1,88 @@ +
+ +{'Sort order'|@translate} : + + +

{'Plugins'|@translate}

+
+ + +{if isset($plugins)} + + + + + + + + + + +{foreach from=$plugins item=plugin name=plugins_loop} + + + + + + +{/foreach} +
{'Name'|@translate}{'Actions'|@translate}{'Version'|@translate}{'Description'|@translate}
+ {$plugin.NAME} + +
    + {if $plugin.STATE == 'active'} +
  • + + {'Deactivate'|@translate} + +
  • +
  • + {'Uninstall'|@translate} +
  • + {/if} + {if $plugin.STATE == 'inactive'} +
  • + + {'Activate'|@translate} + +
  • +
  • + + {'Uninstall'|@translate} + +
  • + {/if} + {if $plugin.STATE == 'missing'} +
  • + {'Deactivate'|@translate} +
  • +
  • + + {'Uninstall'|@translate} + +
  • + {/if} + {if $plugin.STATE == 'uninstalled'} +
  • + {'Activate'|@translate} +
  • +
  • + + {'Install'|@translate} + +
  • +
  • + + {'Delete'|@translate} + +
  • + {else} +
  • + {'Delete'|@translate} +
  • + {/if} +
+
{$plugin.VERSION}{$plugin.DESCRIPTION}
+{/if} diff --git a/admin/themes/default/template/plugins_new.tpl b/admin/themes/default/template/plugins_new.tpl new file mode 100644 index 000000000..4bc7700b0 --- /dev/null +++ b/admin/themes/default/template/plugins_new.tpl @@ -0,0 +1,47 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} +{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} + + + +
+ +{'Sort order'|@translate} : + + +

{'Plugins'|@translate}

+
+ +{if isset($plugins)} +
+ + + + + + + + + + +{foreach from=$plugins item=plugin name=plugins_loop} + + + + + + + +{/foreach} +
{'Name'|@translate}{'Version'|@translate}{'Date'|@translate}{'Author'|@translate}{'Actions'|@translate}
{$plugin.EXT_NAME}{$plugin.VERSION}{$plugin.DATE}{$plugin.AUTHOR}{'Automatic installation'|@translate} + / {'Download file'|@translate} +
+{/if} diff --git a/admin/themes/default/template/plugins_update.tpl b/admin/themes/default/template/plugins_update.tpl new file mode 100644 index 000000000..312fb3ba8 --- /dev/null +++ b/admin/themes/default/template/plugins_update.tpl @@ -0,0 +1,79 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"themes/default/js/jquery.packed.js"} +{known_script id="jquery.cluetip" src=$ROOT_URL|@cat:"themes/default/js/plugins/jquery.cluetip.packed.js"} + + + +
+

{'Plugins'|@translate}

+
+ +{if isset($plugins_not_uptodate)} +
+{'Plugins which need upgrade'|@translate} + + + + + + + + + +{foreach from=$plugins_not_uptodate item=plugin name=plugins_loop} + + + + + + +{/foreach} +
{'Name'|@translate}{'Current
version'|@translate}
{'Available
version'|@translate}
{'Actions'|@translate}
{$plugin.EXT_NAME}{$plugin.VERSION}{$plugin.NEW_VERSION}{'Automatic upgrade'|@translate} + / {'Download file'|@translate}
+{/if} + + +{if isset($plugins_uptodate)} +
+{'Plugins up to date'|@translate} + + + + + + + +{foreach from=$plugins_uptodate item=plugin name=plugins_loop} + + + + +{/foreach} +
{'Name'|@translate}{'Version'|@translate}
{$plugin.NAME}{$plugin.VERSION}
+{/if} + + +{if isset($plugins_cant_check)} +
+{'Plugin versions can\'t be checked'|@translate} + + + + + + + +{foreach from=$plugins_cant_check item=plugin name=plugins_loop} + + + + +{/foreach} +
{'Name'|@translate}{'Version'|@translate}
{$plugin.NAME}{$plugin.VERSION}
+{/if} diff --git a/admin/themes/default/template/popuphelp.tpl b/admin/themes/default/template/popuphelp.tpl new file mode 100644 index 000000000..950e3ca0e --- /dev/null +++ b/admin/themes/default/template/popuphelp.tpl @@ -0,0 +1,12 @@ +
+{$HELP_CONTENT} +
+ + + diff --git a/admin/themes/default/template/profile.tpl b/admin/themes/default/template/profile.tpl new file mode 100644 index 000000000..6eac82e44 --- /dev/null +++ b/admin/themes/default/template/profile.tpl @@ -0,0 +1,5 @@ +
+

{'Profile'|@translate}

+
+ +{$PROFILE_CONTENT} diff --git a/admin/themes/default/template/profile_content.tpl b/admin/themes/default/template/profile_content.tpl new file mode 100644 index 000000000..fd8841a4e --- /dev/null +++ b/admin/themes/default/template/profile_content.tpl @@ -0,0 +1,108 @@ +
+ +
+ {'Registration'|@translate} + +
    +
  • + {'Username'|@translate} + {$USERNAME} +
  • +{if not $SPECIAL_USER} {* can modify password + email*} +
  • + + + + +
  • +{if not $IN_ADMIN} {* admins do not need old password*} +
  • + + + + +
  • +{/if} +
  • + + + + +
  • +
  • + + + + +
  • +{/if} +
+
+ +
+ {'Preferences'|@translate} + +
    +
  • + + + + +
  • +
  • + + + + +
  • +
  • + + + + {html_options id=template name=template options=$template_options selected=$template_selection} +
  • +
  • + + + + {html_options id=language name=language options=$language_options selected=$language_selection} +
  • +
  • + + + + +
  • +
  • + {'Expand all categories'|@translate} + {html_radios name='expand' options=$radio_options selected=$EXPAND} +
  • +
  • + {'Show number of comments'|@translate} + {html_radios name='show_nb_comments' options=$radio_options selected=$NB_COMMENTS} +
  • +
  • + {'Show number of hits'|@translate} + {html_radios name='show_nb_hits' options=$radio_options selected=$NB_HITS} +
  • +
  • + + + + +
  • +
  • + + + + +
  • +
+
+ +

+ + +

+ +
diff --git a/admin/themes/default/template/rating.tpl b/admin/themes/default/template/rating.tpl new file mode 100644 index 000000000..d7d3a85c9 --- /dev/null +++ b/admin/themes/default/template/rating.tpl @@ -0,0 +1,67 @@ +

{'elements'|@translate} [{$NB_ELEMENTS} {'elements'|@translate}]

+ +
+
+ {'Filter'|@translate} + + + + + + + + + +
+
+ +{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} + + + + + + + + + + + + + +{foreach from=$images item=image name=image} + + + + + + + +{foreach from=$image.rates item=rate name=rate} + + + + + + +{/foreach} {*rates*} +{/foreach} {*images*} +
{'File'|@translate}{'Number of rates'|@translate}{'Average rate'|@translate}{'Controversy'|@translate}{'Sum of rates'|@translate}{'Rate'|@translate}{'Username'|@translate}{'Rate date'|@translate}
{$image.FILE}{$image.NB_RATES}/{$image.NB_RATES_TOTAL}{$image.AVG_RATE}{$image.STD_RATE}{$image.SUM_RATE}
{$rate.RATE}{$rate.USER}{$rate.DATE}[{'Delete'|@translate}]
+ +{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} diff --git a/admin/themes/default/template/site_manager.tpl b/admin/themes/default/template/site_manager.tpl new file mode 100644 index 000000000..678f177fb --- /dev/null +++ b/admin/themes/default/template/site_manager.tpl @@ -0,0 +1,73 @@ +
+

{'Site manager'|@translate}

+
+ +{if not empty($remote_output)} +
+
    + {foreach from=$remote_output item=remote_line} +
  • {$remote_line.CONTENT}
  • + {/foreach} +
+
+{/if} + +{if isset($local_listing)} +{'A local listing.xml file has been found for '|@translate} {$local_listing.URL} +{if isset($local_listing.CREATE)} +
+

+ {'Create this site'|@translate}: + + + +

+
+{/if} +{if isset($local_listing.U_SYNCHRONIZE)} + {'synchronize'|@translate} +

+{/if} +{/if} + +{if not empty($sites)} + + + + + + {foreach from=$sites item=site name=site} + + {/foreach} +
{'Local'|@translate} / {'Remote'|@translate}{'Actions'|@translate}
+ {$site.NAME}
({$site.TYPE}, {$site.CATEGORIES} {'Categories'|@translate}, {$pwg->l10n_dec('%d element','%d elements',$site.IMAGES)}) +
+ [{'synchronize'|@translate}] + {if isset($site.U_DELETE)} + [{'delete'|@translate}] + {/if} + {if isset($site.remote)} +
+ [{'test'|@translate}] + [{'generate listing'|@translate}] + [{'clean'|@translate}] + {/if} + {if not empty($site.plugin_links)} +
+ {foreach from=$site.plugin_links item=plugin_link} + [{$plugin_link.U_CAPTION}] + {/foreach} + {/if} +
+{/if} + +
+

+ + +

+

+ +

+
diff --git a/admin/themes/default/template/site_update.tpl b/admin/themes/default/template/site_update.tpl new file mode 100644 index 000000000..90a2562cf --- /dev/null +++ b/admin/themes/default/template/site_update.tpl @@ -0,0 +1,116 @@ + +{include file='include/resize.inc.tpl'} + +
+

{'Database synchronization with files'|@translate}: {$SITE_URL}

+
+ +{if isset($update_result)} +

{$L_RESULT_UPDATE}

+
    +
  • {$update_result.NB_NEW_CATEGORIES} {'categories added in the database'|@translate}
  • +
  • {$update_result.NB_NEW_ELEMENTS} {'elements added in the database'|@translate}
  • +
  • {$update_result.NB_DEL_CATEGORIES} {'categories deleted in the database'|@translate}
  • +
  • {$update_result.NB_DEL_ELEMENTS} {'elements deleted in the database'|@translate}
  • +
  • {$update_result.NB_UPD_ELEMENTS} {'elements updated in the database'|@translate}
  • +
  • {$update_result.NB_ERRORS} {'errors during synchronization'|@translate}
  • +
+{/if} + +{if isset($metadata_result)} +

{$L_RESULT_METADATA}

+
    +
  • {$metadata_result.NB_ELEMENTS_DONE} {'elements informations synchronized with files metadata'|@translate}
  • +
  • {$metadata_result.NB_ELEMENTS_CANDIDATES} {'images candidates for metadata synchronization'|@translate}
  • +
  • {'Used metadata'|@translate} : {$METADATA_LIST}
  • +
+{/if} + + +{if not empty($sync_errors)} +

{'Error list'|@translate}

+
+
    + {foreach from=$sync_errors item=error} +
  • [{$error.ELEMENT}] {$error.LABEL}
  • + {/foreach} +
+
+

{'Errors caption'|@translate}

+
    + {foreach from=$sync_error_captions item=caption} +
  • {$caption.TYPE}: {$caption.LABEL}
  • + {/foreach} +
+{/if} + +{if not empty($sync_infos)} +

{'Detailed informations'|@translate}

+
+
    + {foreach from=$sync_infos item=info} +
  • [{$info.ELEMENT}] {$info.LABEL}
  • + {/foreach} +
+
+{/if} + +{if isset($introduction)} +

{'Choose an option'|@translate}

+
+ +
+ {'synchronize files structure with database'|@translate} +
    +
  • +
  • + +
  • +
      +
    • +
    • +
    • +
    +
  • +
+
+ +
+ {'synchronize files metadata with database elements informations'|@translate} + +
    +
  • + +
  • +
  • + +
  • +
+
+ +
+ +
+
+ +
+ {'reduce to single existing categories'|@translate} +
    +
  • + +
  • + +
  • +
+
+ +

+ + +

+
+{/if}{*isset $introduction*} + +

{'Site manager'|@translate}

diff --git a/admin/themes/default/template/stats.tpl b/admin/themes/default/template/stats.tpl new file mode 100644 index 000000000..692a3a6c5 --- /dev/null +++ b/admin/themes/default/template/stats.tpl @@ -0,0 +1,25 @@ + +
+

{'History'|@translate} {$TABSHEET_TITLE}

+
+ +

{$L_STAT_TITLE}

+ + + + + + + + +{if not empty($statrows)} +{foreach from=$statrows item=row} + + + + + +{/foreach} +{/if} + +
{$PERIOD_LABEL}{'Pages seen'|@translate}
{$row.VALUE}{$row.PAGES}
diff --git a/admin/themes/default/template/tabsheet.tpl b/admin/themes/default/template/tabsheet.tpl new file mode 100644 index 000000000..00b3f3c54 --- /dev/null +++ b/admin/themes/default/template/tabsheet.tpl @@ -0,0 +1,9 @@ +{if isset($tabsheet) and count($tabsheet)} +
    +{foreach from=$tabsheet key=name item=sheet} +
  • + {$sheet.caption} +
  • +{/foreach} +
+{/if} \ No newline at end of file diff --git a/admin/themes/default/template/tags.tpl b/admin/themes/default/template/tags.tpl new file mode 100644 index 000000000..3db8417a6 --- /dev/null +++ b/admin/themes/default/template/tags.tpl @@ -0,0 +1,53 @@ +
+

{'Manage tags'|@translate}

+
+ +
+ + {if isset($EDIT_TAGS_LIST)} +
+ {'Edit tags'|@translate} + + + + + + + {foreach from=$tags item=tag} + + + + + {/foreach} +
{'Current name'|@translate}{'New name'|@translate}
{$tag.NAME}
+ +

+ + +

+
+ {/if} + +
+ {'Add a tag'|@translate} + + + +

+
+ +
+ {'Tag selection'|@translate} + + {$TAG_SELECTION} + +

+ + +

+
+ +
diff --git a/admin/themes/default/template/thumbnail.tpl b/admin/themes/default/template/thumbnail.tpl new file mode 100644 index 000000000..653f07cc3 --- /dev/null +++ b/admin/themes/default/template/thumbnail.tpl @@ -0,0 +1,119 @@ +
+

{'Thumbnail creation'|@translate}

+
+ +{if isset($results) } +
{'Results of miniaturization'|@translate}
+ + + + + + + + + {foreach from=$results.elements item=elt} + + + + + + + + {/foreach} +
{'Path'|@translate}{'Thumbnail'|@translate}{'generated in'|@translate}{'Filesize'|@translate}{'Dimensions'|@translate}
{$elt.PATH}{$elt.GEN_TIME}{$elt.TN_FILESIZE_IMG}{$elt.TN_WIDTH_IMG} x {$elt.TN_HEIGHT_IMG}
+ + + + + + + + + + + + + + + + + + + + + + + + + +
{'General statistics'|@translate}
{'number of miniaturized pictures'|@translate}{$results.TN_NB}
{'total time'|@translate}{$results.TN_TOTAL}
{'max time'|@translate}{$results.TN_MAX}
{'min time'|@translate}{$results.TN_MIN}
{'average time'|@translate}{$results.TN_AVERAGE}
+
+{/if} + +{if isset($params) } +
+ +
+ {'Miniaturization parameters'|@translate} + +
    +
  • + {'GD version'|@translate} + + +
  • + +
  • + + + + +
  • + +
  • + + + + +
  • + +
  • + {'Number of thumbnails to create'|@translate} + + + + +
  • +
+
+ +

+
+{/if} {*isset params*} + +{if !empty($remainings) } +
{$TOTAL_NB_REMAINING} {'pictures without thumbnail (jpeg and png only)'|@translate}
+ + + + + + + + {foreach from=$remainings item=elt name=remain_loop} + + + + + + + {/foreach} +
 {'Path'|@translate}{'Filesize'|@translate}{'Dimensions'|@translate}
{$smarty.foreach.remain_loop.iteration}
{$elt.PATH}
{$elt.FILESIZE_IMG}
{$elt.WIDTH_IMG} x {$elt.HEIGHT_IMG}
+{else} +
[ {'No missing thumbnail'|@translate} ]
+{/if} diff --git a/admin/themes/default/template/upgrade.tpl b/admin/themes/default/template/upgrade.tpl new file mode 100644 index 000000000..29b723ef1 --- /dev/null +++ b/admin/themes/default/template/upgrade.tpl @@ -0,0 +1,120 @@ + + + + + + + + +{foreach from=$themes item=theme} +{if isset($theme.local_head)}{include file=$theme.local_head}{/if} + +{/foreach} + +{literal} + +{/literal} +Piwigo {$RELEASE} - {'Upgrade'|@translate} + + + +
{* Dummy block for double background management *} +
+
+
+ +{if isset($introduction)} +

Piwigo {$RELEASE} - {'Upgrade'|@translate}

+ +{if isset($errors)} +
+
    + {foreach from=$errors item=error} +
  • {$error}
  • + {/foreach} +
+
+{/if} + + + + + + +
{'Language'|@translate} + +
+ +

{'introduction message'|@translate|@sprintf:$introduction.CURRENT_RELEASE}

+{if isset($login)} +

{'Only administrator can run upgrade: please sign in below.'|@translate}

+{/if} + +
+{if isset($login)} + + + + + + + + + +
{'Username'|@translate}
{'Password'|@translate}
+{/if} + +

+ +

+
+ + +{/if} + +{if isset($upgrade)} +

{'Upgrade from %s to %s'|@translate|@sprintf:$upgrade.VERSION:$RELEASE}

+ +

{'Statistics'|@translate}

+
    +
  • {'total upgrade time'|@translate} : {$upgrade.TOTAL_TIME}
  • +
  • {'total SQL time'|@translate} : {$upgrade.SQL_TIME}
  • +
  • {'SQL queries'|@translate} : {$upgrade.NB_QUERIES}
  • +
+ +

{'Upgrade informations'|@translate}

+
    + {foreach from=$infos item=info} +
  • {$info}
  • + {/foreach} +
+ +
+

+
+{/if} + +
{* content *} +
{$L_UPGRADE_HELP}
+
{* the_page *} + + diff --git a/admin/themes/default/template/upload.tpl b/admin/themes/default/template/upload.tpl new file mode 100644 index 000000000..cc56d9a02 --- /dev/null +++ b/admin/themes/default/template/upload.tpl @@ -0,0 +1,51 @@ +
+

{'Waiting'|@translate} {$TABSHEET_TITLE}

+
+ +

{'Pictures waiting for validation'|@translate}

+ +
+ + + + + + + + + + + {if not empty($pictures) } + {foreach from=$pictures item=picture name=picture_loop} + + + + + + + + + {/foreach} + {/if} +
{'Category'|@translate}{'Date'|@translate}{'File'|@translate}{'Thumbnail'|@translate}{'Author'|@translate} 
{$picture.CATEGORY_IMG}{$picture.DATE_IMG} + {$picture.FILE_IMG} + + {if not empty($picture.thumbnail) } + {$picture.thumbnail.FILE_TN_IMG} + {/if} + + {$picture.UPLOAD_USERNAME} + + + +
+ +

+ + + + + +

+ +
diff --git a/admin/themes/default/template/user_list.tpl b/admin/themes/default/template/user_list.tpl new file mode 100644 index 000000000..9eb14fa84 --- /dev/null +++ b/admin/themes/default/template/user_list.tpl @@ -0,0 +1,334 @@ +
+

{'User list'|@translate}

+
+ +
+
+ {'Add a user'|@translate} + + {if $Double_Password} + + + {else} + + {/if} + + +
+
+ +
+
+ {'Filter'|@translate} + + + + + + + + + + + + + + +
+ +
+ +
+ +{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} + + + + + + + + + + + {if not empty($plugin_user_list_column_titles)} + {foreach from=$plugin_user_list_column_titles item=title} + + {/foreach} + {/if} + + + + + {foreach from=$users item=user name=users_loop} + + + + + + + + {foreach from=$user.plugin_columns item=data} + + {/foreach} + + + {/foreach} +
 {'Username'|@translate}{'User status'|@translate}{'Email address'|@translate}{'Groups'|@translate}{'Properties'|@translate}{$title}{'Actions'|@translate}
{$user.STATUS}{$user.EMAIL}{$user.GROUPS}{$user.PROPERTIES}{$data} + {'Permissions'|@translate} + {'Profile'|@translate} + {foreach from=$user.plugin_actions item=data} + {$data} + {/foreach} +
+ +{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if} + +{* delete the selected users ? *} +
+ {'Deletions'|@translate} + + +
+ +
+ {'Status'|@translate} + + + + + + + + {if isset($adviser)} + + + + + {/if} + +
{'Status'|@translate} + + + +
{'Adviser'|@translate} + + / {'set to'|@translate} + + +
+
+ +{* form to set properties for many users at once *} +
+ {'Groups'|@translate} + + + + + + + + + + + + + +
{'associate to group'|@translate} + {html_options name=associate options=$association_options selected=$associate_selected} +
{'dissociate from group'|@translate} + {html_options name=dissociate options=$association_options selected=$dissociate_selected} +
+ +
+ +{* Properties *} +
+ {'Properties'|@translate} + + + + + + + + + + + + +
{'High definition enabled'|@translate} + + / {'set to'|@translate} + + +
{'Privacy level'|@translate} + + + +
+ +
+ +{* preference *} +
+ {'Preferences'|@translate} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
{'Number of images per row'|@translate} + + + +
{'Number of rows per page'|@translate} + + + + +
{'Interface theme'|@translate} + + + +
{'Language'|@translate} + + + +
{'Recent period'|@translate} + + + +
{'Expand all categories'|@translate} + + / {'set to'|@translate} + + +
{'Show number of comments'|@translate} + + / {'set to'|@translate} + + +
{'Show number of hits'|@translate} + + / {'set to'|@translate} + + +
{'Maximum width of the pictures'|@translate} + + + + +
{'Maximum height of the pictures'|@translate} + + + + +
+ +
+ +

+ {'target'|@translate} + + +

+ +

+ + +

+ +
+ + + diff --git a/admin/themes/default/template/user_perm.tpl b/admin/themes/default/template/user_perm.tpl new file mode 100644 index 000000000..d1ecdca9a --- /dev/null +++ b/admin/themes/default/template/user_perm.tpl @@ -0,0 +1,22 @@ +

{$TITLE}

+ +{if isset($categories_because_of_groups) } +
+ {'Categories authorized thanks to group associations'|@translate} + +
    + {foreach from=$categories_because_of_groups item=cat } +
  • {$cat}
  • + {/foreach} +
+
+{/if} + + +
+ {'Other private categories'|@translate} + +
+ {$DOUBLE_SELECT} +
+
diff --git a/admin/themes/default/theme.css b/admin/themes/default/theme.css new file mode 100644 index 000000000..3283e29a5 --- /dev/null +++ b/admin/themes/default/theme.css @@ -0,0 +1,10 @@ + +/* template css */ +/*@import "menubar.css";*/ +@import "content.css"; +@import "thumbnails.css"; +@import "default-layout.css"; +/* Override properties with import local file */ +@import "local-layout.css"; + +@import "default-colors.css"; diff --git a/admin/themes/default/themeconf.inc.php b/admin/themes/default/themeconf.inc.php new file mode 100644 index 000000000..36352b2b2 --- /dev/null +++ b/admin/themes/default/themeconf.inc.php @@ -0,0 +1,8 @@ + 'default', + 'icon_dir' => 'themes/default/icon', + 'admin_icon_dir' => 'admin/themes/default/icon', + 'mime_icon_dir' => 'themes/default/icon/mimetypes/', +); +?> diff --git a/admin/themes/default/thumbnails.css b/admin/themes/default/thumbnails.css new file mode 100644 index 000000000..432854e4b --- /dev/null +++ b/admin/themes/default/thumbnails.css @@ -0,0 +1,61 @@ +.content UL.thumbnails { + margin: 0; padding: 0; list-style: none; + text-align: center; /* to center the whole collection in .content */ + float: left; +} +.content UL.thumbnails LI { display: inline } +.content ul.thumbnails li.rank-of-image { + float: left; + background-color: #111; + border: 1px solid #666; + color: #666; + -moz-border-radius: 4px; + display: block; + width: 104px; + height: 128px; + cursor: move; + margin: 10px; +} +.content ul.thumbnails li.rank-of-image img { + width: 96px; + height: 96px; + margin: 4px; + float: left; +} +.content ul.thumbnails li.rank-of-image input { + height: 12px; + width: 50px; + position: relative; + top: 0; +} +.content UL.thumbnails SPAN.wrap1 { + margin: 0 5px 5px 5px; + display: table-cell; display: inline-table; + display: inline-block; /* Why 3 display option ??? */ + vertical-align: top; /* OK with Opera and IE6 not Geko */ + text-align: center; /* to center the thumbnail and legend in Geko/Opera */ +} +.content UL.thumbnails SPAN.wrap2 { + margin: 0; /* important reset the margins */ + display: table-cell; /* block prevents vertical-align here */ + vertical-align: middle; /* Ok with Opera and Geko not IE6 */ +} +.content UL.thumbnails LABEL { display: block; border-bottom: none; } +.content UL.thumbnails IMG { + margin-bottom: -4px; /* why ??? something wrong with Geko and Opera ignored by IE6*/ +} +.content UL.thumbnails LABEL { position: relative; } +.content UL.thumbnails INPUT { + position: relative; /* <= Opera can handle relative here */ + top: -20px; +} +:root .content UL.thumbnails INPUT { /* hide from Opera */ + position: absolute; /* <= Opera hide 1 checkbox over 2 !!! */ + left: 2px; top: 2px; +} +UL.thumbnails .levelIndicatorB { +display:block; position:absolute; z-index:100;padding:0px 0 0 14px; color:black; font-weight:bold; font-size:120%; +} +UL.thumbnails .levelIndicatorF { +display:block; position:absolute; z-index:101;padding:1px 0 0 15px; color:white; font-weight:bold; font-size:120%; +} -- cgit v1.2.3