Skip to content

Commit 705fc72

Browse files
committed
Add pocket guide size (11in x 4.25in)
version bump two
1 parent de45ab6 commit 705fc72

File tree

7 files changed

+11
-7
lines changed

7 files changed

+11
-7
lines changed
File renamed without changes.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM wordpress:6.2.2-php8.2-apache
1+
FROM wordpress:6.9.0-php8.2-apache
22

33
RUN apt-get update && \
44
apt-get install -y --no-install-recommends ssl-cert && \

admin/partials/_layout_setup.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
<div>
7575
Page Size:<br />
7676
<input class="mlg booklet" id="5inch" type="radio" name="page_size" value="5inch" <?php echo ($this->bread->getOption('page_size') == '5inch' ? 'checked' : '') ?>><label for="5inch" class="booklet">5 inch&nbsp;&nbsp;&nbsp;</label>
77+
<input class="mlg single-page" id="pocket" type="radio" name="page_size" value="pocket" <?php echo ($this->bread->getOption('page_size') == 'pocket' ? 'checked' : '') ?>><label for="pocket" class="single-page">Pocket&nbsp;&nbsp;&nbsp;</label>
7778
<input class="mlg" id="letter" type="radio" name="page_size" value="letter" <?php echo ($this->bread->getOption('page_size') == 'letter' ? 'checked' : '') ?>><label for="letter">Letter&nbsp;&nbsp;&nbsp;</label>
7879
<input class="mlg" id="legal" type="radio" name="page_size" value="legal" <?php echo ($this->bread->getOption('page_size') == 'legal' ? 'checked' : '') ?>><label for="legal">Legal&nbsp;&nbsp;&nbsp;</label>
7980
<input class="mlg" id="ledger" type="radio" name="page_size" value="ledger" <?php echo ($this->bread->getOption('page_size') == 'ledger' ? 'checked' : '') ?>><label for="ledger">Ledger&nbsp;&nbsp;&nbsp;</label>
@@ -191,4 +192,4 @@
191192
</div>
192193
</div>
193194
</div>
194-
</div>
195+
</div>

bmlt-meeting-list.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* Plugin Name: Bread
1212
* Plugin URI: https://bmlt.app
1313
* Description: Maintains and generates PDF Meeting Lists from BMLT.
14-
* Version: 2.9.5
14+
* Version: 2.9.6
1515
* Author: bmlt-enabled
1616
* Author URI: https://bmlt.app/
1717
* License: GPL-2.0+

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
version: '3.1'
2-
31
services:
42
wordpress:
53
depends_on:

public/class-bread-public.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ private function constuct_page_type_settings()
307307
$page_type_settings = ['format' => $ps . "-" . $this->options['page_orientation'], 'margin_footer' => $this->options['margin_footer']];
308308
} elseif ($this->options['page_size'] == '5inch') {
309309
$page_type_settings = ['format' => array(197.2, 279.4), 'margin_footer' => $this->options['margin_footer']];
310+
} elseif ($this->options['page_size'] == 'pocket') {
311+
$page_type_settings = ['format' => array(279.4, 107.95), 'margin_footer' => 0];
310312
} else {
311313
$ps = $this->options['page_size'];
312314
if ($ps == 'ledger') {

readme.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ Contributors: odathp, radius314, pjaudiomv, klgrimley, jbraswell, otrok7, alanb2
44
Tags: meeting list, bmlt, narcotics anonymous, na
55
Requires PHP: 8.1
66
Requires at least: 6.2
7-
Tested up to: 6.8
8-
Stable tag: 2.9.5
7+
Tested up to: 6.9
8+
Stable tag: 2.9.6
99

1010
License: GPLv2 or later
1111
License URI: http://www.gnu.org/licenses/gpl-2.0.html
@@ -55,6 +55,9 @@ Follow all these steps, keep in mind that once you start using bread, it's not g
5555

5656
== Changelog ==
5757

58+
= 2.9.6 =
59+
* Added Pocket size (11 x 4.25in).
60+
5861
= 2.9.5 =
5962
* Bug fix TinyMCE dropdowns
6063

0 commit comments

Comments
 (0)