├── .gitmodules ├── README.md ├── admin ├── admin.inc.php ├── css │ └── admin.css ├── index.php ├── less │ └── admin.less └── template │ ├── about.tpl │ ├── changelog.tpl │ └── settings.tpl ├── fixplugins.css ├── img ├── logo.png ├── transparent.png └── user.png ├── include ├── config.php ├── index.php └── themecontroller.php ├── index.php ├── js ├── jquery.awesomeCloud.js ├── jquery.cookie.js ├── jquery.equalheights.js ├── rating.js └── theme.js ├── less ├── fixplugins.less └── theme.less ├── release.sh ├── screenshot.png ├── template ├── about.tpl ├── comment_list.tpl ├── comments.tpl ├── footer.tpl ├── grid_classes.tpl ├── header.tpl ├── http_scheme.tpl ├── identification.tpl ├── index.tpl ├── infos_errors.tpl ├── mainpage_categories.tpl ├── menubar.tpl ├── menubar_additional_pages.tpl ├── menubar_categories.tpl ├── menubar_identification.tpl ├── menubar_links.tpl ├── menubar_menu.tpl ├── menubar_specials.tpl ├── menubar_tags.tpl ├── menubar_user_collections.tpl ├── navigation_bar.tpl ├── notification.tpl ├── password.tpl ├── picture.tpl ├── picture_content.tpl ├── picture_nav_buttons.tpl ├── popuphelp.tpl ├── profile.tpl ├── profile_content.tpl ├── redirect.tpl ├── register.tpl ├── search.tpl ├── slideshow.tpl ├── stuffs_blocks.tpl ├── stuffs_logon.tpl ├── tags.tpl └── thumbnails.tpl ├── theme.css └── themeconf.inc.php /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "bootstrap"] 2 | path = bootstrap 3 | url = git@github.com:twbs/bootstrap.git 4 | [submodule "selectize.js"] 5 | path = selectize.js 6 | url = git@github.com:selectize/selectize.js.git 7 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | Bootstrap Default theme for Piwigo 1.0.6 2 | ======================================== 3 | 4 | A modern and responsive theme for [Piwigo](http://piwigo.org/) built with standard [Bootstrap](http://getbootstrap.com/) components and using the default [Bootstrap](http://getbootstrap.com/) theme. 5 | Intended for easy customisation using [Bootstrap](http://getbootstrap.com/) styles or as a parent theme for creating responsive themes for [Piwigo](http://piwigo.org/). 6 | 7 | ## DEPRECATED 8 | 9 | This theme is no longer maintained as I'm no longer actively using Piwigo for photo hosting. The theme has served it's purpose and inspired the creation of [Bootstrap Darkroom](https://github.com/tkuther/piwigo-bootstrap-darkroom) which is great theme, actively maintained and has numerous additional features, so I recommend using this instead. 10 | 11 | ## Features 12 | 13 | * Fully responsive and fully featured theme based on Bootstrap's default theme 14 | * Browse albums as a grid or list with selectable thumbnail sizes 15 | * Image size selection enabled for better viewing of images and slide show on higher resolution monitors, with 16 | responsive scaling of over sized images 17 | * Slide in side bar with image information 18 | * Share buttons for Twitter, Facebook and Google+ 19 | * Gravatar support for comment avatars 20 | * Masonry style tag view 21 | * Configuration page in admin to customise features such as Bootstrap theme, social integration and comments 22 | * Works with all supported languages (admin page is currently English only) 23 | 24 | ## Live demo 25 | 26 | A demo of the theme can be found here: https://phil.si/ 27 | 28 | ## Installing 29 | 30 | Download the latest release from the [Piwigo website](http://piwigo.org/ext/extension_view.php?eid=796). 31 | 32 | ## Get the source 33 | 34 | Clone the [Github repository](https://github.com/Philio/bootstrapdefault): 35 | 36 | git clone git@github.com:Philio/bootstrapdefault.git 37 | 38 | *Add the `--recursive` option to include the submodules or run `git submodule update --init` after cloning.* 39 | 40 | ## Bundled libraries 41 | 42 | * [Bootstrap](http://getbootstrap.com/) 3.3.7 - Included as sub module 43 | * [Selectize.js](http://selectize.github.io/selectize.js/) 0.12.3 - Included as sub module. Note: The bundled version 44 | with Piwigo 2.7.x+ is ignored in favour of the latest build with Bootstrap styling. 45 | 46 | ## License 47 | 48 | Copyright 2015 Phil Bayfield 49 | 50 | Licensed under the Apache License, Version 2.0 (the "License"); 51 | you may not use this file except in compliance with the License. 52 | You may obtain a copy of the License at 53 | 54 | http://www.apache.org/licenses/LICENSE-2.0 55 | 56 | Unless required by applicable law or agreed to in writing, software 57 | distributed under the License is distributed on an "AS IS" BASIS, 58 | WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 59 | See the License for the specific language governing permissions and 60 | limitations under the License. 61 | -------------------------------------------------------------------------------- /admin/admin.inc.php: -------------------------------------------------------------------------------- 1 | fromPost($_POST); 28 | $themeconfig->save(); 29 | } 30 | } 31 | 32 | // TabSheet 33 | $tabsheet = new tabsheet(); 34 | $tabsheet->set_id('bsd'); 35 | $tabsheet->add(TAB_SETTINGS, l10n('Settings'), ADMIN_PATH . '&tab=' . TAB_SETTINGS); 36 | $tabsheet->add(TAB_CHANGELOG, l10n('Change Log'), ADMIN_PATH . '&tab=' . TAB_CHANGELOG); 37 | $tabsheet->add(TAB_ABOUT, l10n('About'), ADMIN_PATH . '&tab=' . TAB_ABOUT); 38 | $tabsheet->select($page['tab']); 39 | $tabsheet->assign(); 40 | 41 | // Fetch the template. 42 | global $template; 43 | 44 | // Add our template to the global template 45 | $template->set_filenames( 46 | array( 47 | 'theme_admin_content' => dirname(__FILE__) . '/template/' . $page['tab'] . '.tpl' 48 | ) 49 | ); 50 | 51 | // Assign the template contents to ADMIN_CONTENT 52 | $template->assign('theme_config', $themeconfig); 53 | $template->assign_var_from_handle('ADMIN_CONTENT', 'theme_admin_content'); -------------------------------------------------------------------------------- /admin/css/admin.css: -------------------------------------------------------------------------------- 1 | #configContent fieldset.mainConf label.radio { 2 | display: inline-block; 3 | width: 120px; 4 | } 5 | -------------------------------------------------------------------------------- /admin/index.php: -------------------------------------------------------------------------------- 1 | 3 |
{'A modern and responsive theme for Piwigo built with standard Bootstrap components and using the default Bootstrap theme. Intended for easy customisation using Bootstrap styles or as a parent theme for creating responsive themes for Piwigo.'|@translate}
11 | 12 |{'Download'|@translate}: http://piwigo.org/ext/extension_view.php?eid=796 13 |
14 | 15 |{'Source'|@translate}: https://github.com/Philio/bootstrapdefault 16 |
17 | 18 | 21 |