Changeset 3234235
- Timestamp:
- 02/03/2025 08:02:03 PM (13 months ago)
- Location:
- sign-up-sheets
- Files:
-
- 356 added
- 6 deleted
- 63 edited
-
tags/2.3.0 (added)
-
tags/2.3.0.1 (added)
-
tags/2.3.0.1/.editorconfig (added)
-
tags/2.3.0.1/build (added)
-
tags/2.3.0.1/build/block.json (added)
-
tags/2.3.0.1/build/index.asset.php (added)
-
tags/2.3.0.1/build/index.css (added)
-
tags/2.3.0.1/build/index.js (added)
-
tags/2.3.0.1/build/index.js.map (added)
-
tags/2.3.0.1/build/style-index.css (added)
-
tags/2.3.0.1/controller (added)
-
tags/2.3.0.1/controller/admin (added)
-
tags/2.3.0.1/controller/admin.php (added)
-
tags/2.3.0.1/controller/admin/dashboard.php (added)
-
tags/2.3.0.1/controller/admin/edit-sheet.php (added)
-
tags/2.3.0.1/controller/admin/edit-signup-page.php (added)
-
tags/2.3.0.1/controller/admin/export.php (added)
-
tags/2.3.0.1/controller/admin/help.php (added)
-
tags/2.3.0.1/controller/admin/manage-signups.php (added)
-
tags/2.3.0.1/controller/admin/meta-box.php (added)
-
tags/2.3.0.1/controller/admin/page-base.php (added)
-
tags/2.3.0.1/controller/admin/settings.php (added)
-
tags/2.3.0.1/controller/admin/site-health.php (added)
-
tags/2.3.0.1/controller/ajax.php (added)
-
tags/2.3.0.1/controller/base.php (added)
-
tags/2.3.0.1/controller/block.php (added)
-
tags/2.3.0.1/controller/cache.php (added)
-
tags/2.3.0.1/controller/captcha.php (added)
-
tags/2.3.0.1/controller/mail-customization.php (added)
-
tags/2.3.0.1/controller/mail.php (added)
-
tags/2.3.0.1/controller/migrate.php (added)
-
tags/2.3.0.1/controller/post-type-base.php (added)
-
tags/2.3.0.1/controller/privacy.php (added)
-
tags/2.3.0.1/controller/scode (added)
-
tags/2.3.0.1/controller/scode/sign-up-form.php (added)
-
tags/2.3.0.1/controller/scode/sign-up-sheet.php (added)
-
tags/2.3.0.1/controller/scode/sign-up-spot-count.php (added)
-
tags/2.3.0.1/controller/scode/user-sign-ups.php (added)
-
tags/2.3.0.1/controller/sheet.php (added)
-
tags/2.3.0.1/controller/signup.php (added)
-
tags/2.3.0.1/controller/task-table.php (added)
-
tags/2.3.0.1/controller/task.php (added)
-
tags/2.3.0.1/css (added)
-
tags/2.3.0.1/css/admin.css (added)
-
tags/2.3.0.1/css/font (added)
-
tags/2.3.0.1/css/font/fdsus (added)
-
tags/2.3.0.1/css/font/fdsus/Read Me.txt (added)
-
tags/2.3.0.1/css/font/fdsus/demo-files (added)
-
tags/2.3.0.1/css/font/fdsus/demo-files/demo.css (added)
-
tags/2.3.0.1/css/font/fdsus/demo-files/demo.js (added)
-
tags/2.3.0.1/css/font/fdsus/demo.html (added)
-
tags/2.3.0.1/css/font/fdsus/fonts (added)
-
tags/2.3.0.1/css/font/fdsus/fonts/fdsus.svg (added)
-
tags/2.3.0.1/css/font/fdsus/fonts/fdsus.ttf (added)
-
tags/2.3.0.1/css/font/fdsus/fonts/fdsus.woff (added)
-
tags/2.3.0.1/css/font/fdsus/selection.json (added)
-
tags/2.3.0.1/css/font/fdsus/style.css (added)
-
tags/2.3.0.1/css/font/fdsus/style.scss (added)
-
tags/2.3.0.1/css/font/fdsus/variables.scss (added)
-
tags/2.3.0.1/css/sass (added)
-
tags/2.3.0.1/css/sass/admin (added)
-
tags/2.3.0.1/css/sass/admin.scss (added)
-
tags/2.3.0.1/css/sass/admin/_manage.scss (added)
-
tags/2.3.0.1/css/sass/admin/_metaboxes.scss (added)
-
tags/2.3.0.1/css/sass/admin/_settings-page.scss (added)
-
tags/2.3.0.1/css/sass/admin/_sheet-edit.scss (added)
-
tags/2.3.0.1/css/sass/admin/_sheet-grid.scss (added)
-
tags/2.3.0.1/css/sass/admin/_signup-edit.scss (added)
-
tags/2.3.0.1/css/sass/style (added)
-
tags/2.3.0.1/css/sass/style.scss (added)
-
tags/2.3.0.1/css/sass/style/_common.scss (added)
-
tags/2.3.0.1/css/sass/style/_notices.scss (added)
-
tags/2.3.0.1/css/sass/style/_pro.scss (added)
-
tags/2.3.0.1/css/sass/style/_sheet-task-lists.scss (added)
-
tags/2.3.0.1/css/sass/style/_sign-up-form.scss (added)
-
tags/2.3.0.1/css/sass/style/_user-sign-ups.scss (added)
-
tags/2.3.0.1/css/sass/style/_variables.scss (added)
-
tags/2.3.0.1/css/style.css (added)
-
tags/2.3.0.1/id.php (added)
-
tags/2.3.0.1/js (added)
-
tags/2.3.0.1/js/admin.js (added)
-
tags/2.3.0.1/js/dist (added)
-
tags/2.3.0.1/js/dist/main.js (added)
-
tags/2.3.0.1/js/dist/main.min.js (added)
-
tags/2.3.0.1/js/jquery.comments.js (added)
-
tags/2.3.0.1/js/mailcheck.min.js (added)
-
tags/2.3.0.1/js/src (added)
-
tags/2.3.0.1/js/src/main.js (added)
-
tags/2.3.0.1/languages (added)
-
tags/2.3.0.1/languages/sign-up-sheets.pot (added)
-
tags/2.3.0.1/lib (added)
-
tags/2.3.0.1/lib/dls (added)
-
tags/2.3.0.1/lib/dls/meta-boxes (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/admin.js (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/chosen (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/chosen/chosen-sprite.png (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/chosen/[email protected] (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/chosen/chosen.jquery.min.js (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/chosen/chosen.min.css (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/google-map.js (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/icon-drag-y.png (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/jquery.ui.datepicker.min.js (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/jquery.ui.timepicker-addon.css (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/jquery.ui.timepicker-addon.js (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/assets/style.css (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/meta-boxes.php (added)
-
tags/2.3.0.1/lib/dls/meta-boxes/readme.txt (added)
-
tags/2.3.0.1/lib/dls/notice.php (added)
-
tags/2.3.0.1/lib/exception.php (added)
-
tags/2.3.0.1/lib/re-captcha (added)
-
tags/2.3.0.1/lib/re-captcha/re-captcha.php (added)
-
tags/2.3.0.1/lib/re-captcha/request-method (added)
-
tags/2.3.0.1/lib/re-captcha/request-method.php (added)
-
tags/2.3.0.1/lib/re-captcha/request-method/curl-post.php (added)
-
tags/2.3.0.1/lib/re-captcha/request-method/curl.php (added)
-
tags/2.3.0.1/lib/re-captcha/request-method/post.php (added)
-
tags/2.3.0.1/lib/re-captcha/request-method/socket-post.php (added)
-
tags/2.3.0.1/lib/re-captcha/request-method/socket.php (added)
-
tags/2.3.0.1/lib/re-captcha/request-parameters.php (added)
-
tags/2.3.0.1/lib/re-captcha/response.php (added)
-
tags/2.3.0.1/lib/timeout-handler.php (added)
-
tags/2.3.0.1/main.php (added)
-
tags/2.3.0.1/model (added)
-
tags/2.3.0.1/model/base.php (added)
-
tags/2.3.0.1/model/capabilities.php (added)
-
tags/2.3.0.1/model/data.php (added)
-
tags/2.3.0.1/model/db-update.php (added)
-
tags/2.3.0.1/model/meta-boxes.php (added)
-
tags/2.3.0.1/model/settings (added)
-
tags/2.3.0.1/model/settings-meta-boxes.php (added)
-
tags/2.3.0.1/model/settings.php (added)
-
tags/2.3.0.1/model/settings/sheet-order.php (added)
-
tags/2.3.0.1/model/sheet-base.php (added)
-
tags/2.3.0.1/model/sheet-collection.php (added)
-
tags/2.3.0.1/model/sheet.php (added)
-
tags/2.3.0.1/model/signup-base.php (added)
-
tags/2.3.0.1/model/signup-collection.php (added)
-
tags/2.3.0.1/model/signup-form-initial-values.php (added)
-
tags/2.3.0.1/model/signup.php (added)
-
tags/2.3.0.1/model/states.php (added)
-
tags/2.3.0.1/model/task-base.php (added)
-
tags/2.3.0.1/model/task-collection.php (added)
-
tags/2.3.0.1/model/task-table-row.php (added)
-
tags/2.3.0.1/model/task-table.php (added)
-
tags/2.3.0.1/model/task.php (added)
-
tags/2.3.0.1/package-lock.json (added)
-
tags/2.3.0.1/package.json (added)
-
tags/2.3.0.1/phpunit.xml (added)
-
tags/2.3.0.1/readme.txt (added)
-
tags/2.3.0.1/sign-up-sheets.php (added)
-
tags/2.3.0.1/src (added)
-
tags/2.3.0.1/src/block.json (added)
-
tags/2.3.0.1/src/edit.js (added)
-
tags/2.3.0.1/src/editor.scss (added)
-
tags/2.3.0.1/src/index.js (added)
-
tags/2.3.0.1/src/save.js (added)
-
tags/2.3.0.1/src/style.scss (added)
-
tags/2.3.0.1/template-tags.php (added)
-
tags/2.3.0.1/theme-files (added)
-
tags/2.3.0.1/theme-files/archive-dlssus_sheet.php (added)
-
tags/2.3.0.1/theme-files/content-dlssus_sheet.php (added)
-
tags/2.3.0.1/theme-files/content-dlssus_task.php (added)
-
tags/2.3.0.1/theme-files/fdsus (added)
-
tags/2.3.0.1/theme-files/fdsus-global (added)
-
tags/2.3.0.1/theme-files/fdsus-global/wrapper-content-end.php (added)
-
tags/2.3.0.1/theme-files/fdsus-global/wrapper-content-start.php (added)
-
tags/2.3.0.1/theme-files/fdsus-global/wrapper-end.php (added)
-
tags/2.3.0.1/theme-files/fdsus-global/wrapper-start.php (added)
-
tags/2.3.0.1/theme-files/fdsus/edit-user-signup.php (added)
-
tags/2.3.0.1/theme-files/fdsus/parts (added)
-
tags/2.3.0.1/theme-files/fdsus/parts/captcha-simple.php (added)
-
tags/2.3.0.1/theme-files/fdsus/sheet-list.php (added)
-
tags/2.3.0.1/theme-files/fdsus/sheet-none.php (added)
-
tags/2.3.0.1/theme-files/fdsus/sheet.php (added)
-
tags/2.3.0.1/theme-files/fdsus/sign-up-form-header.php (added)
-
tags/2.3.0.1/theme-files/fdsus/sign-up-form.php (added)
-
tags/2.3.0.1/theme-files/fdsus/sign-up-spot-count.php (added)
-
tags/2.3.0.1/theme-files/fdsus/user_sign_ups.php (added)
-
tags/2.3.0/.editorconfig (added)
-
tags/2.3.0/build (added)
-
tags/2.3.0/build/block.json (added)
-
tags/2.3.0/build/index.asset.php (added)
-
tags/2.3.0/build/index.css (added)
-
tags/2.3.0/build/index.js (added)
-
tags/2.3.0/build/index.js.map (added)
-
tags/2.3.0/build/style-index.css (added)
-
tags/2.3.0/controller (added)
-
tags/2.3.0/controller/admin (added)
-
tags/2.3.0/controller/admin.php (added)
-
tags/2.3.0/controller/admin/dashboard.php (added)
-
tags/2.3.0/controller/admin/edit-sheet.php (added)
-
tags/2.3.0/controller/admin/edit-signup-page.php (added)
-
tags/2.3.0/controller/admin/export.php (added)
-
tags/2.3.0/controller/admin/help.php (added)
-
tags/2.3.0/controller/admin/manage-signups.php (added)
-
tags/2.3.0/controller/admin/meta-box.php (added)
-
tags/2.3.0/controller/admin/page-base.php (added)
-
tags/2.3.0/controller/admin/settings.php (added)
-
tags/2.3.0/controller/admin/site-health.php (added)
-
tags/2.3.0/controller/ajax.php (added)
-
tags/2.3.0/controller/base.php (added)
-
tags/2.3.0/controller/block.php (added)
-
tags/2.3.0/controller/cache.php (added)
-
tags/2.3.0/controller/captcha.php (added)
-
tags/2.3.0/controller/mail-customization.php (added)
-
tags/2.3.0/controller/mail.php (added)
-
tags/2.3.0/controller/migrate.php (added)
-
tags/2.3.0/controller/post-type-base.php (added)
-
tags/2.3.0/controller/privacy.php (added)
-
tags/2.3.0/controller/scode (added)
-
tags/2.3.0/controller/scode/sign-up-form.php (added)
-
tags/2.3.0/controller/scode/sign-up-sheet.php (added)
-
tags/2.3.0/controller/scode/sign-up-spot-count.php (added)
-
tags/2.3.0/controller/scode/user-sign-ups.php (added)
-
tags/2.3.0/controller/sheet.php (added)
-
tags/2.3.0/controller/signup.php (added)
-
tags/2.3.0/controller/task-table.php (added)
-
tags/2.3.0/controller/task.php (added)
-
tags/2.3.0/css (added)
-
tags/2.3.0/css/admin.css (added)
-
tags/2.3.0/css/font (added)
-
tags/2.3.0/css/font/fdsus (added)
-
tags/2.3.0/css/font/fdsus/Read Me.txt (added)
-
tags/2.3.0/css/font/fdsus/demo-files (added)
-
tags/2.3.0/css/font/fdsus/demo-files/demo.css (added)
-
tags/2.3.0/css/font/fdsus/demo-files/demo.js (added)
-
tags/2.3.0/css/font/fdsus/demo.html (added)
-
tags/2.3.0/css/font/fdsus/fonts (added)
-
tags/2.3.0/css/font/fdsus/fonts/fdsus.svg (added)
-
tags/2.3.0/css/font/fdsus/fonts/fdsus.ttf (added)
-
tags/2.3.0/css/font/fdsus/fonts/fdsus.woff (added)
-
tags/2.3.0/css/font/fdsus/selection.json (added)
-
tags/2.3.0/css/font/fdsus/style.css (added)
-
tags/2.3.0/css/font/fdsus/style.scss (added)
-
tags/2.3.0/css/font/fdsus/variables.scss (added)
-
tags/2.3.0/css/sass (added)
-
tags/2.3.0/css/sass/admin (added)
-
tags/2.3.0/css/sass/admin.scss (added)
-
tags/2.3.0/css/sass/admin/_manage.scss (added)
-
tags/2.3.0/css/sass/admin/_metaboxes.scss (added)
-
tags/2.3.0/css/sass/admin/_settings-page.scss (added)
-
tags/2.3.0/css/sass/admin/_sheet-edit.scss (added)
-
tags/2.3.0/css/sass/admin/_sheet-grid.scss (added)
-
tags/2.3.0/css/sass/admin/_signup-edit.scss (added)
-
tags/2.3.0/css/sass/style (added)
-
tags/2.3.0/css/sass/style.scss (added)
-
tags/2.3.0/css/sass/style/_common.scss (added)
-
tags/2.3.0/css/sass/style/_notices.scss (added)
-
tags/2.3.0/css/sass/style/_pro.scss (added)
-
tags/2.3.0/css/sass/style/_sheet-task-lists.scss (added)
-
tags/2.3.0/css/sass/style/_sign-up-form.scss (added)
-
tags/2.3.0/css/sass/style/_user-sign-ups.scss (added)
-
tags/2.3.0/css/sass/style/_variables.scss (added)
-
tags/2.3.0/css/style.css (added)
-
tags/2.3.0/id.php (added)
-
tags/2.3.0/js (added)
-
tags/2.3.0/js/admin.js (added)
-
tags/2.3.0/js/dist (added)
-
tags/2.3.0/js/dist/main.js (added)
-
tags/2.3.0/js/dist/main.min.js (added)
-
tags/2.3.0/js/jquery.comments.js (added)
-
tags/2.3.0/js/mailcheck.min.js (added)
-
tags/2.3.0/js/src (added)
-
tags/2.3.0/js/src/main.js (added)
-
tags/2.3.0/languages (added)
-
tags/2.3.0/languages/sign-up-sheets.pot (added)
-
tags/2.3.0/lib (added)
-
tags/2.3.0/lib/dls (added)
-
tags/2.3.0/lib/dls/meta-boxes (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/admin.js (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/chosen (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/chosen/chosen-sprite.png (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/chosen/[email protected] (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/chosen/chosen.jquery.min.js (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/chosen/chosen.min.css (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/google-map.js (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/icon-drag-y.png (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/jquery.ui.datepicker.min.js (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/jquery.ui.timepicker-addon.css (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/jquery.ui.timepicker-addon.js (added)
-
tags/2.3.0/lib/dls/meta-boxes/assets/style.css (added)
-
tags/2.3.0/lib/dls/meta-boxes/meta-boxes.php (added)
-
tags/2.3.0/lib/dls/meta-boxes/readme.txt (added)
-
tags/2.3.0/lib/dls/notice.php (added)
-
tags/2.3.0/lib/exception.php (added)
-
tags/2.3.0/lib/re-captcha (added)
-
tags/2.3.0/lib/re-captcha/re-captcha.php (added)
-
tags/2.3.0/lib/re-captcha/request-method (added)
-
tags/2.3.0/lib/re-captcha/request-method.php (added)
-
tags/2.3.0/lib/re-captcha/request-method/curl-post.php (added)
-
tags/2.3.0/lib/re-captcha/request-method/curl.php (added)
-
tags/2.3.0/lib/re-captcha/request-method/post.php (added)
-
tags/2.3.0/lib/re-captcha/request-method/socket-post.php (added)
-
tags/2.3.0/lib/re-captcha/request-method/socket.php (added)
-
tags/2.3.0/lib/re-captcha/request-parameters.php (added)
-
tags/2.3.0/lib/re-captcha/response.php (added)
-
tags/2.3.0/lib/timeout-handler.php (added)
-
tags/2.3.0/main.php (added)
-
tags/2.3.0/model (added)
-
tags/2.3.0/model/base.php (added)
-
tags/2.3.0/model/capabilities.php (added)
-
tags/2.3.0/model/data.php (added)
-
tags/2.3.0/model/db-update.php (added)
-
tags/2.3.0/model/meta-boxes.php (added)
-
tags/2.3.0/model/settings (added)
-
tags/2.3.0/model/settings-meta-boxes.php (added)
-
tags/2.3.0/model/settings.php (added)
-
tags/2.3.0/model/settings/sheet-order.php (added)
-
tags/2.3.0/model/sheet-base.php (added)
-
tags/2.3.0/model/sheet-collection.php (added)
-
tags/2.3.0/model/sheet.php (added)
-
tags/2.3.0/model/signup-base.php (added)
-
tags/2.3.0/model/signup-collection.php (added)
-
tags/2.3.0/model/signup-form-initial-values.php (added)
-
tags/2.3.0/model/signup.php (added)
-
tags/2.3.0/model/states.php (added)
-
tags/2.3.0/model/task-base.php (added)
-
tags/2.3.0/model/task-collection.php (added)
-
tags/2.3.0/model/task-table-row.php (added)
-
tags/2.3.0/model/task-table.php (added)
-
tags/2.3.0/model/task.php (added)
-
tags/2.3.0/package-lock.json (added)
-
tags/2.3.0/package.json (added)
-
tags/2.3.0/phpunit.xml (added)
-
tags/2.3.0/readme.txt (added)
-
tags/2.3.0/sign-up-sheets.php (added)
-
tags/2.3.0/src (added)
-
tags/2.3.0/src/block.json (added)
-
tags/2.3.0/src/edit.js (added)
-
tags/2.3.0/src/editor.scss (added)
-
tags/2.3.0/src/index.js (added)
-
tags/2.3.0/src/save.js (added)
-
tags/2.3.0/src/style.scss (added)
-
tags/2.3.0/template-tags.php (added)
-
tags/2.3.0/theme-files (added)
-
tags/2.3.0/theme-files/archive-dlssus_sheet.php (added)
-
tags/2.3.0/theme-files/content-dlssus_sheet.php (added)
-
tags/2.3.0/theme-files/content-dlssus_task.php (added)
-
tags/2.3.0/theme-files/fdsus (added)
-
tags/2.3.0/theme-files/fdsus-global (added)
-
tags/2.3.0/theme-files/fdsus-global/wrapper-content-end.php (added)
-
tags/2.3.0/theme-files/fdsus-global/wrapper-content-start.php (added)
-
tags/2.3.0/theme-files/fdsus-global/wrapper-end.php (added)
-
tags/2.3.0/theme-files/fdsus-global/wrapper-start.php (added)
-
tags/2.3.0/theme-files/fdsus/edit-user-signup.php (added)
-
tags/2.3.0/theme-files/fdsus/parts (added)
-
tags/2.3.0/theme-files/fdsus/parts/captcha-simple.php (added)
-
tags/2.3.0/theme-files/fdsus/sheet-list.php (added)
-
tags/2.3.0/theme-files/fdsus/sheet-none.php (added)
-
tags/2.3.0/theme-files/fdsus/sheet.php (added)
-
tags/2.3.0/theme-files/fdsus/sign-up-form-header.php (added)
-
tags/2.3.0/theme-files/fdsus/sign-up-form.php (added)
-
tags/2.3.0/theme-files/fdsus/sign-up-spot-count.php (added)
-
tags/2.3.0/theme-files/fdsus/user_sign_ups.php (added)
-
trunk/build/index.css.map (deleted)
-
trunk/controller/admin.php (modified) (10 diffs)
-
trunk/controller/admin/edit-sheet.php (modified) (2 diffs)
-
trunk/controller/admin/edit-signup-page.php (modified) (17 diffs)
-
trunk/controller/admin/export.php (modified) (7 diffs)
-
trunk/controller/admin/help.php (modified) (7 diffs)
-
trunk/controller/admin/manage-signups.php (modified) (9 diffs)
-
trunk/controller/admin/meta-box.php (modified) (2 diffs)
-
trunk/controller/admin/settings.php (modified) (9 diffs)
-
trunk/controller/admin/site-health.php (modified) (2 diffs)
-
trunk/controller/ajax.php (modified) (1 diff)
-
trunk/controller/base.php (modified) (2 diffs)
-
trunk/controller/captcha.php (modified) (5 diffs)
-
trunk/controller/mail.php (modified) (2 diffs)
-
trunk/controller/migrate.php (modified) (15 diffs)
-
trunk/controller/post-type-base.php (modified) (1 diff)
-
trunk/controller/privacy.php (modified) (5 diffs)
-
trunk/controller/scode/sign-up-form.php (modified) (21 diffs)
-
trunk/controller/scode/sign-up-sheet.php (modified) (2 diffs)
-
trunk/controller/scode/user-sign-ups.php (modified) (4 diffs)
-
trunk/controller/sheet.php (modified) (4 diffs)
-
trunk/controller/task-table.php (modified) (18 diffs)
-
trunk/css/admin.css (modified) (1 diff)
-
trunk/css/admin.css.map (deleted)
-
trunk/css/sass/admin.scss (modified) (1 diff)
-
trunk/css/sass/style/_common.scss (modified) (1 diff)
-
trunk/css/style.css (modified) (1 diff)
-
trunk/css/style.css.map (deleted)
-
trunk/id.php (modified) (6 diffs)
-
trunk/images (deleted)
-
trunk/js/dist/main.js (modified) (1 diff)
-
trunk/js/dist/main.min.js (modified) (1 diff)
-
trunk/js/src/main.js (modified) (1 diff)
-
trunk/languages/sign-up-sheets.pot (modified) (36 diffs)
-
trunk/lib/dls/meta-boxes/assets/admin.js (modified) (1 diff)
-
trunk/lib/dls/meta-boxes/assets/style.css (modified) (1 diff)
-
trunk/lib/dls/meta-boxes/meta-boxes.php (modified) (5 diffs)
-
trunk/lib/fetch (deleted)
-
trunk/loco.xml (deleted)
-
trunk/main.php (modified) (11 diffs)
-
trunk/model/base.php (modified) (1 diff)
-
trunk/model/db-update.php (modified) (2 diffs)
-
trunk/model/meta-boxes.php (modified) (20 diffs)
-
trunk/model/settings-meta-boxes.php (modified) (26 diffs)
-
trunk/model/settings.php (modified) (5 diffs)
-
trunk/model/settings/sheet-order.php (modified) (4 diffs)
-
trunk/model/sheet-base.php (modified) (8 diffs)
-
trunk/model/sheet-collection.php (modified) (1 diff)
-
trunk/model/sheet.php (modified) (1 diff)
-
trunk/model/signup-collection.php (modified) (1 diff)
-
trunk/model/signup-form-initial-values.php (modified) (2 diffs)
-
trunk/model/signup.php (modified) (11 diffs)
-
trunk/model/task-base.php (modified) (7 diffs)
-
trunk/model/task-table.php (modified) (4 diffs)
-
trunk/model/task.php (modified) (1 diff)
-
trunk/package.json (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/sign-up-sheets.php (modified) (2 diffs)
-
trunk/src/block.json (modified) (2 diffs)
-
trunk/template-tags.php (modified) (1 diff)
-
trunk/theme-files/archive-dlssus_sheet.php (modified) (1 diff)
-
trunk/theme-files/content-dlssus_sheet.php (modified) (1 diff)
-
trunk/theme-files/fdsus/parts/captcha-simple.php (modified) (1 diff)
-
trunk/theme-files/fdsus/sheet-list.php (modified) (4 diffs)
-
trunk/theme-files/fdsus/sheet-none.php (modified) (1 diff)
-
trunk/theme-files/fdsus/sheet.php (modified) (1 diff)
-
trunk/theme-files/fdsus/sign-up-form-header.php (modified) (1 diff)
-
trunk/theme-files/fdsus/sign-up-form.php (modified) (11 diffs)
-
trunk/theme-files/fdsus/user_sign_ups.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sign-up-sheets/trunk/controller/admin.php
r3234219 r3234235 87 87 $status = $migrate->getStatus(); 88 88 if (!in_array($status['state'], array('running', 'rerun'))) return; 89 Notice::add('info', esc_html__('Sign-up sheets database upgrade is processing.', ' fdsus'), false, Id::PREFIX . '-migrate-status');89 Notice::add('info', esc_html__('Sign-up sheets database upgrade is processing.', 'sign-up-sheets'), false, Id::PREFIX . '-migrate-status'); 90 90 } 91 91 … … 100 100 unset($columns['date']); 101 101 return array_merge($columns, array( 102 'task_date' => esc_html__('Sheet Date', ' fdsus'),103 'total_tasks' => esc_html__('# of Tasks', ' fdsus'),104 'total_spots' => esc_html__('Total Spots', ' fdsus'),105 'filled_spots' => esc_html__('Filled Spots', ' fdsus'))102 'task_date' => esc_html__('Sheet Date', 'sign-up-sheets'), 103 'total_tasks' => esc_html__('# of Tasks', 'sign-up-sheets'), 104 'total_spots' => esc_html__('Total Spots', 'sign-up-sheets'), 105 'filled_spots' => esc_html__('Filled Spots', 'sign-up-sheets')) 106 106 ); 107 107 } … … 158 158 159 159 if (empty($_GET['sheet_id'])) { 160 wp_die(esc_html__('No sheet ID found.', ' fdsus'));160 wp_die(esc_html__('No sheet ID found.', 'sign-up-sheets')); 161 161 } 162 162 163 163 if (!wp_verify_nonce($_GET['_fdsus-nonce'], 'fdsus-copysheet-' . $_GET['sheet_id'])) { 164 wp_die(esc_html__('Copy action failed. Please try again.', ' fdsus'));164 wp_die(esc_html__('Copy action failed. Please try again.', 'sign-up-sheets')); 165 165 } 166 166 167 167 $sheetCaps = new Capabilities(SheetModel::POST_TYPE); 168 168 if (!current_user_can($sheetCaps->get('edit_post'))) { 169 wp_die(esc_html__('You do not have sufficient permissions to access this page.', ' fdsus'));169 wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets')); 170 170 } 171 171 … … 185 185 public function head() 186 186 { 187 // Pull pro or free 188 $pluginPath = WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . (Id::isPro() ? Id::PRO_PLUGIN_BASENAME 189 : Id::FREE_PLUGIN_BASENAME); 190 187 191 // Dequeue meta library scripts for now 188 192 if (wp_script_is('dlsmb-main', $list = 'enqueued')) { … … 203 207 wp_enqueue_style( 204 208 Id::PREFIX . '-admin', 205 plugins_url('css/admin.css', dirname(__FILE__)),209 plugins_url('css/admin.css', $pluginPath), 206 210 array(), 207 211 Id::version() … … 292 296 293 297 $id = array('fdsus-id' => sprintf( 294 '<span class="fdsus-id-value">' . esc_html__('ID', ' fdsus') . ': %s</span>',298 '<span class="fdsus-id-value">' . esc_html__('ID', 'sign-up-sheets') . ': %s</span>', 295 299 $post->ID 296 300 )); … … 301 305 '<a href="%s" title="" rel="permalink">%s</a>', 302 306 esc_url(Settings::getManageSignupsPageUrl($post->ID)), 303 esc_html__('Manage Sign-ups', ' fdsus')307 esc_html__('Manage Sign-ups', 'sign-up-sheets') 304 308 ); 305 309 … … 320 324 '_fdsus-nonce' 321 325 )), 322 esc_html__('Copy', ' fdsus')326 esc_html__('Copy', 'sign-up-sheets') 323 327 ); 324 328 } … … 370 374 <footer class="fdsus-footer" aria-label="Sign-up Sheet"> 371 375 <p> 372 <?php esc_html_e('Made by', ' fdsus'); ?> Fetch Designs376 <?php esc_html_e('Made by', 'sign-up-sheets'); ?> Fetch Designs 373 377 <span class="fdsus-footer-getpro"></span> 374 378 <?php if (!Id::isPro()): ?> 375 <a href="https://www.fetchdesigns.com/sign-up-sheets-wordpress-plugin/"><?php esc_html_e('Get Pro', ' fdsus'); ?></a>379 <a href="https://www.fetchdesigns.com/sign-up-sheets-wordpress-plugin/"><?php esc_html_e('Get Pro', 'sign-up-sheets'); ?></a> 376 380 | 377 381 <?php endif; ?> 378 382 <a href="<?php echo esc_url($supportUrl); ?>"> 379 <span><?php esc_html_e('Need help? Get Support »', ' fdsus'); ?></span>383 <span><?php esc_html_e('Need help? Get Support »', 'sign-up-sheets'); ?></span> 380 384 </a> 381 385 </p> … … 396 400 $settingsLink = sprintf( '<a href="%s">%s</a>', 397 401 esc_url($this->data->getSettingsUrl()), 398 esc_html__('Settings', ' fdsus')402 esc_html__('Settings', 'sign-up-sheets') 399 403 ); 400 404 array_unshift($links, $settingsLink); -
sign-up-sheets/trunk/controller/admin/edit-sheet.php
r3234219 r3234235 64 64 65 65 $actions['copy'] = array( 66 'title' => esc_html__('Copy Row', ' fdsus'),66 'title' => esc_html__('Copy Row', 'sign-up-sheets'), 67 67 'icon' => 'dashicons dashicons-admin-page', 68 68 ); … … 140 140 if ($post->post_type == SheetModel::POST_TYPE && !empty($_GET['action']) && $_GET['action'] === 'edit') { 141 141 ?> 142 <div class="fdsus-edit-quick-info" role="group" aria-label="<?php esc_attr_e('Sheet Quick Info', ' fdsus') ?>">143 <span class="quick-info-item quick-info-id"><strong><?php esc_html_e('Sheet ID', ' fdsus') ?>: </strong> <code><?php echo $post->ID ?></code></span>142 <div class="fdsus-edit-quick-info" role="group" aria-label="<?php esc_attr_e('Sheet Quick Info', 'sign-up-sheets') ?>"> 143 <span class="quick-info-item quick-info-id"><strong><?php esc_html_e('Sheet ID', 'sign-up-sheets') ?>: </strong> <code><?php echo $post->ID ?></code></span> 144 144 <?php do_action('fdsus_edit_sheet_quick_info', $post); ?> 145 145 </div> -
sign-up-sheets/trunk/controller/admin/edit-signup-page.php
r3234219 r3234235 46 46 add_submenu_page( 47 47 '', 48 esc_html__('Edit Sign-up', ' fdsus'),48 esc_html__('Edit Sign-up', 'sign-up-sheets'), 49 49 '', 50 50 $sheetCaps->get('edit_posts'), … … 69 69 $signup = new SignupModel($_GET['signup']); 70 70 if (!$signup->isValid()) { 71 wp_die(__('Sign-up invalid', ' fdsus'));71 wp_die(__('Sign-up invalid', 'sign-up-sheets')); 72 72 } 73 73 } … … 75 75 $task = new TaskModel(!empty($_GET['task']) ? $_GET['task'] : $signup->post_parent); 76 76 if (!$task->isValid()) { 77 wp_die(__('Task invalid', ' fdsus'));77 wp_die(__('Task invalid', 'sign-up-sheets')); 78 78 } 79 79 80 80 $sheet = new SheetModel($task->post_parent); 81 81 if (!$sheet->isValid()) { 82 wp_die(__('Sheet invalid', ' fdsus'));82 wp_die(__('Sheet invalid', 'sign-up-sheets')); 83 83 } 84 84 ?> … … 87 87 <h1 class="wp-heading-inline"> 88 88 <?php echo $_GET['action'] === 'add' 89 ? esc_html__('Add Sign-up', ' fdsus')90 : esc_html__('Edit Sign-up', ' fdsus');89 ? esc_html__('Add Sign-up', 'sign-up-sheets') 90 : esc_html__('Edit Sign-up', 'sign-up-sheets'); 91 91 ?> 92 92 </h1> … … 108 108 'multi_tag' => '', 109 109 'states' => $states->get(), 110 'submit_button_text' => __('Submit', ' fdsus'),110 'submit_button_text' => __('Submit', 'sign-up-sheets'), 111 111 'go_back_url' => '', 112 112 'signup_link_hash' => '' … … 119 119 <div id="postbox-container-1" class="postbox-container"> 120 120 <div class="fdsus-edit-quick-info" role="group" 121 aria-label="<?php esc_attr_e('Sheet Quick Info', ' fdsus') ?>">121 aria-label="<?php esc_attr_e('Sheet Quick Info', 'sign-up-sheets') ?>"> 122 122 <span class="quick-info-item quick-info-id"><strong><?php esc_html_e( 123 'Sheet ID', ' fdsus'123 'Sheet ID', 'sign-up-sheets' 124 124 ) ?>: </strong> <code><?php echo $sheet->ID ?></code></span> 125 125 <?php do_action('fdsus_edit_sheet_quick_info', $sheet->getData()); ?> … … 130 130 <div class="inside"> 131 131 <dl> 132 <dt><?php _e('Sheet', ' fdsus'); ?>:</dt>132 <dt><?php _e('Sheet', 'sign-up-sheets'); ?>:</dt> 133 133 <dd><?php echo wp_kses_post($sheet->post_title); ?></dd> 134 134 135 <dt><?php esc_html_e('Date', ' fdsus'); ?>:</dt>135 <dt><?php esc_html_e('Date', 'sign-up-sheets'); ?>:</dt> 136 136 <dd> 137 137 <?php echo(empty($sheet->dlssus_date) 138 ? esc_html__('N/A', ' fdsus')138 ? esc_html__('N/A', 'sign-up-sheets') 139 139 : date(get_option('date_format'), strtotime($sheet->dlssus_date)) 140 140 ); ?> 141 141 </dd> 142 142 143 <dt><?php _e('Task', ' fdsus'); ?>:</dt>143 <dt><?php _e('Task', 'sign-up-sheets'); ?>:</dt> 144 144 <dd><?php esc_html_e($task->post_title); ?></dd> 145 145 </dl> … … 171 171 switch($_GET['notice']) { 172 172 case 'edited': 173 Notice::add('success', esc_html__('Sign-up updated.', ' fdsus'));173 Notice::add('success', esc_html__('Sign-up updated.', 'sign-up-sheets')); 174 174 break; 175 175 case 'added': 176 Notice::add('success', esc_html__('Sign-up added.', ' fdsus'));176 Notice::add('success', esc_html__('Sign-up added.', 'sign-up-sheets')); 177 177 break; 178 178 } … … 195 195 $sheetCaps = new Capabilities(SheetModel::POST_TYPE); 196 196 if (!current_user_can($sheetCaps->get('edit_posts'))) { 197 wp_die(esc_html__('You do not have sufficient permissions to access this page.', ' fdsus'));197 wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets')); 198 198 } 199 199 200 200 if (empty($_GET['signup'])) { 201 wp_die(esc_html__('Sign-up ID missing', ' fdsus'));201 wp_die(esc_html__('Sign-up ID missing', 'sign-up-sheets')); 202 202 } 203 203 … … 207 207 || !wp_verify_nonce($_POST['signup_nonce'], 'fdsus_signup_submit') 208 208 ) { 209 wp_die(esc_html__('Sign-up nonce not valid.', ' fdsus'));209 wp_die(esc_html__('Sign-up nonce not valid.', 'sign-up-sheets')); 210 210 } 211 211 … … 216 216 217 217 if (!$signup->isValid()) { 218 Notice::add('error', esc_html__('Sign-up not found.', ' fdsus'));218 Notice::add('error', esc_html__('Sign-up not found.', 'sign-up-sheets')); 219 219 return; 220 220 } … … 231 231 sprintf( 232 232 /* translators: %s is replaced with a comma separated list of all missing required fields */ 233 esc_html__('Please complete the following required fields: %s', ' fdsus'),233 esc_html__('Please complete the following required fields: %s', 'sign-up-sheets'), 234 234 implode(', ', $missingFieldNames) 235 235 ) … … 262 262 $sheetCaps = new Capabilities(SheetModel::POST_TYPE); 263 263 if (!current_user_can($sheetCaps->get('edit_posts'))) { 264 wp_die(esc_html__('You do not have sufficient permissions to access this page.', ' fdsus'));264 wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets')); 265 265 } 266 266 … … 268 268 269 269 if (empty($_GET['task'])) { 270 wp_die(esc_html__('Task-up ID missing', ' fdsus'));270 wp_die(esc_html__('Task-up ID missing', 'sign-up-sheets')); 271 271 } 272 272 … … 276 276 || !wp_verify_nonce($_POST['signup_nonce'], 'fdsus_signup_submit') 277 277 ) { 278 wp_die(esc_html__('Sign-up nonce not valid.', ' fdsus'));278 wp_die(esc_html__('Sign-up nonce not valid.', 'sign-up-sheets')); 279 279 } 280 280 … … 293 293 sprintf( 294 294 /* translators: %s is replaced with a comma separated list of all missing required fields */ 295 esc_html__('Please complete the following required fields: %s', ' fdsus'),295 esc_html__('Please complete the following required fields: %s', 'sign-up-sheets'), 296 296 implode(', ', $missingFieldNames) 297 297 ) … … 328 328 <p class="fdsus-user"> 329 329 <label for="signup_user_id" class="signup_user_id"> 330 <?php esc_html_e('Linked User', ' fdsus'); ?>330 <?php esc_html_e('Linked User', 'sign-up-sheets'); ?> 331 331 </label> 332 332 <select id="signup_user_id" class="signup_user_id" name="signup_user_id"> -
sign-up-sheets/trunk/controller/admin/export.php
r3234219 r3234235 56 56 ) 57 57 )), 58 esc_html__('Export All as CSV', ' fdsus')58 esc_html__('Export All as CSV', 'sign-up-sheets') 59 59 ); 60 60 return $views; … … 81 81 '<a href="%s" id="dls-sus-export-sheet" class="quick-info-item">%s</a>', 82 82 esc_url($this->getExportUrl($post)), 83 esc_html__('Export as CSV', ' fdsus')83 esc_html__('Export as CSV', 'sign-up-sheets') 84 84 ); 85 85 } … … 95 95 '<a href="%s" class="add-new-h2 page-title-action"><span class="dashicons dashicons-download"></span> %s</a>', 96 96 esc_url($this->getExportUrl($sheet)), 97 esc_html__('Export as CSV', ' fdsus')97 esc_html__('Export as CSV', 'sign-up-sheets') 98 98 ); 99 99 } … … 119 119 $sheetCaps = new Capabilities(SheetModel::POST_TYPE); 120 120 if (!current_user_can('manage_options') && !current_user_can($sheetCaps->get('read_post'))) { 121 wp_die(esc_html__('You do not have sufficient permissions to export.', ' fdsus'));121 wp_die(esc_html__('You do not have sufficient permissions to export.', 'sign-up-sheets')); 122 122 } 123 123 124 124 if (isset($_GET['sheet_id']) && !is_numeric($_GET['sheet_id'])) { 125 wp_die(esc_html__('Invalid sheet ID.', ' fdsus'));125 wp_die(esc_html__('Invalid sheet ID.', 'sign-up-sheets')); 126 126 } 127 127 … … 266 266 267 267 $headersArray = array(); 268 $headersArray[] = esc_html__('Sheet ID', ' fdsus');269 $headersArray[] = esc_html__('Sheet Title', ' fdsus');270 $headersArray[] = esc_html__('Sheet Date', ' fdsus');268 $headersArray[] = esc_html__('Sheet ID', 'sign-up-sheets'); 269 $headersArray[] = esc_html__('Sheet Title', 'sign-up-sheets'); 270 $headersArray[] = esc_html__('Sheet Date', 'sign-up-sheets'); 271 271 272 272 /** … … 281 281 $headersArray = apply_filters('fdsus_export_headers_after_sheet', $headersArray, $sheets); 282 282 283 $headersArray[] = esc_html__('Task ID', ' fdsus');284 $headersArray[] = esc_html__('Task Title', ' fdsus');283 $headersArray[] = esc_html__('Task ID', 'sign-up-sheets'); 284 $headersArray[] = esc_html__('Task Title', 'sign-up-sheets'); 285 285 286 286 /** … … 295 295 $headersArray = apply_filters('fdsus_export_headers_after_task', $headersArray, $sheets); 296 296 297 $headersArray[] = esc_html__('Sign-up ID', ' fdsus');298 $headersArray[] = esc_html__('Sign-up First Name', ' fdsus');299 $headersArray[] = esc_html__('Sign-up Last Name', ' fdsus');300 $headersArray[] = esc_html__('Sign-up Phone', ' fdsus');301 $headersArray[] = esc_html__('Sign-up Email', ' fdsus');302 $headersArray[] = esc_html__('Address', ' fdsus');303 $headersArray[] = esc_html__('City', ' fdsus');304 $headersArray[] = esc_html__('State', ' fdsus');305 $headersArray[] = esc_html__('Zip', ' fdsus');306 $headersArray[] = esc_html__('User ID', ' fdsus');297 $headersArray[] = esc_html__('Sign-up ID', 'sign-up-sheets'); 298 $headersArray[] = esc_html__('Sign-up First Name', 'sign-up-sheets'); 299 $headersArray[] = esc_html__('Sign-up Last Name', 'sign-up-sheets'); 300 $headersArray[] = esc_html__('Sign-up Phone', 'sign-up-sheets'); 301 $headersArray[] = esc_html__('Sign-up Email', 'sign-up-sheets'); 302 $headersArray[] = esc_html__('Address', 'sign-up-sheets'); 303 $headersArray[] = esc_html__('City', 'sign-up-sheets'); 304 $headersArray[] = esc_html__('State', 'sign-up-sheets'); 305 $headersArray[] = esc_html__('Zip', 'sign-up-sheets'); 306 $headersArray[] = esc_html__('User ID', 'sign-up-sheets'); 307 307 308 308 /** -
sign-up-sheets/trunk/controller/admin/help.php
r3234219 r3234235 40 40 add_submenu_page( 41 41 'edit.php?post_type=' . SheetModel::POST_TYPE, 42 esc_html__('Sign-up Sheets Help', ' fdsus'),43 esc_html__('Help', ' fdsus'),42 esc_html__('Sign-up Sheets Help', 'sign-up-sheets'), 43 esc_html__('Help', 'sign-up-sheets'), 44 44 $sheetCaps->get('read_post'), 45 45 Id::PREFIX . '-help', … … 62 62 echo ' 63 63 <div class="wrap dls_sus"> 64 <h1 class="wp-heading-inline">' . esc_html__('Sign-up Sheets', ' fdsus') . (Id::isPro() ? ' <sup class="dls-sus-pro">Pro</sup>' : '') . ' ' . esc_html__('Help', 'fdsus') . '</h1>64 <h1 class="wp-heading-inline">' . esc_html__('Sign-up Sheets', 'sign-up-sheets') . (Id::isPro() ? ' <sup class="dls-sus-pro">Pro</sup>' : '') . ' ' . esc_html__('Help', 'sign-up-sheets') . '</h1> 65 65 '; 66 66 … … 70 70 . '</p></div>'; 71 71 } elseif ($mail_result === true) { 72 echo '<div class="updated"><p>' . esc_html__('Test email successfully sent by WordPress.', ' fdsus') . '</p></div>';72 echo '<div class="updated"><p>' . esc_html__('Test email successfully sent by WordPress.', 'sign-up-sheets') . '</p></div>'; 73 73 } 74 74 ?> … … 139 139 ?> 140 140 141 <h3><?php esc_html_e('System Information', ' fdsus') ?></h3>141 <h3><?php esc_html_e('System Information', 'sign-up-sheets') ?></h3> 142 142 <p><?php echo sprintf('%s <strong><a href="%s">%s</a></strong>', 143 143 esc_html__( 144 144 'We may request this information to help us troubleshoot your support request. You can now find this under', 145 ' fdsus'145 'sign-up-sheets' 146 146 ), 147 147 esc_url(admin_url('site-health.php?tab=debug')), 148 esc_html__('Tools > Site Health > Info', ' fdsus')148 esc_html__('Tools > Site Health > Info', 'sign-up-sheets') 149 149 ) ?></p> 150 <textarea readonly="readonly" class="dls-sus-system-info" rows="1" onclick="this.focus(); this.select();"><?php esc_html_e('System information has moved to Tools > Site Health > Info', ' fdsus') ?></textarea>150 <textarea readonly="readonly" class="dls-sus-system-info" rows="1" onclick="this.focus(); this.select();"><?php esc_html_e('System information has moved to Tools > Site Health > Info', 'sign-up-sheets') ?></textarea> 151 151 152 152 <?php … … 156 156 } 157 157 ?> 158 <h3><?php esc_html_e('Email Test', ' fdsus') ?></h3>159 <p><?php esc_html_e('Having trouble with emails sending on your site? Use this quick for to test your site with sending emails to different recipients.', ' fdsus') ?></p>160 <p><?php esc_html_e('If the test email is successfully sent by WordPress, but still not being received...', ' fdsus') ?></p>158 <h3><?php esc_html_e('Email Test', 'sign-up-sheets') ?></h3> 159 <p><?php esc_html_e('Having trouble with emails sending on your site? Use this quick for to test your site with sending emails to different recipients.', 'sign-up-sheets') ?></p> 160 <p><?php esc_html_e('If the test email is successfully sent by WordPress, but still not being received...', 'sign-up-sheets') ?></p> 161 161 <ol> 162 <li><?php esc_html_e('Ask the recipient to check their SPAM mailbox or SPAM filters. Your "From" address may need to be added to their list of safe senders.', ' fdsus') ?></li>163 <li><?php esc_html_e('Check with your host to see if they can trace emails being sent from your site. It is possible your emails are being delayed or blacklisted by your recipient\'s mail host.', ' fdsus') ?></li>162 <li><?php esc_html_e('Ask the recipient to check their SPAM mailbox or SPAM filters. Your "From" address may need to be added to their list of safe senders.', 'sign-up-sheets') ?></li> 163 <li><?php esc_html_e('Check with your host to see if they can trace emails being sent from your site. It is possible your emails are being delayed or blacklisted by your recipient\'s mail host.', 'sign-up-sheets') ?></li> 164 164 <li><?php echo sprintf( 165 165 /* translators: %s is replaced with a link to an SMTP plugin */ 166 esc_html__('Try sending email via SMTP instead by using a plugin like %s.', ' fdsus'),166 esc_html__('Try sending email via SMTP instead by using a plugin like %s.', 'sign-up-sheets'), 167 167 '<a href="https://wordpress.org/plugins/easy-wp-smtp/">Easy WP SMTP</a>' 168 168 ) ?></li> 169 169 <li><?php echo sprintf( 170 170 /* translators: %1$s is replaced with a link to Mailgun and %2$s is replaced with a link to the Mailgun WordPress plugin */ 171 esc_html__('Try sending email via a 3rd party service like %1$s with the %2$s', ' fdsus'),171 esc_html__('Try sending email via a 3rd party service like %1$s with the %2$s', 'sign-up-sheets'), 172 172 '<a href="https://www.mailgun.com/">Mailgun</a>', 173 173 '<a href="https://wordpress.org/plugins/mailgun/">Mailgun for WordPress plugin</a>' … … 177 177 <fieldset> 178 178 <p> 179 <label for="from"><?php esc_html_e('From', ' fdsus') ?></label><br />179 <label for="from"><?php esc_html_e('From', 'sign-up-sheets') ?></label><br /> 180 180 <input type="email" name="from" id="from" value="<?php echo esc_attr($from) ?>" /> 181 181 </p> 182 182 <p> 183 <label for="recipient"><?php esc_html_e('To', ' fdsus') ?></label><br />183 <label for="recipient"><?php esc_html_e('To', 'sign-up-sheets') ?></label><br /> 184 184 <input type="email" name="recipient" id="recipient" value="" /> 185 185 </p> 186 186 <p> 187 <label><?php esc_html_e('Message', ' fdsus') ?></label><br />188 <textarea name="message" rows="3"><?php esc_html_e('This is a test email.', ' fdsus') ?></textarea>187 <label><?php esc_html_e('Message', 'sign-up-sheets') ?></label><br /> 188 <textarea name="message" rows="3"><?php esc_html_e('This is a test email.', 'sign-up-sheets') ?></textarea> 189 189 </p> 190 190 <p> 191 191 <input type="checkbox" name="return_path" id="return_path" value="true" checked="checked" /> 192 <label for="return_path"><?php esc_html_e('Send bounced messages to "From" address', ' fdsus') ?></label>192 <label for="return_path"><?php esc_html_e('Send bounced messages to "From" address', 'sign-up-sheets') ?></label> 193 193 </p> 194 194 <input type="hidden" name="mode" value="submitted" /> 195 <input type="submit" value="<?php esc_attr_e('Send', ' fdsus') ?>" class="button" />195 <input type="submit" value="<?php esc_attr_e('Send', 'sign-up-sheets') ?>" class="button" /> 196 196 </fieldset> 197 197 </form> … … 231 231 return new WP_Error( 232 232 Id::PREFIX . 'test_email_error', 233 esc_html__('Error sending email.', ' fdsus')233 esc_html__('Error sending email.', 'sign-up-sheets') 234 234 . '.. ' . implode(' --- ', $ts_mail_errors) 235 235 ); -
sign-up-sheets/trunk/controller/admin/manage-signups.php
r3234219 r3234235 36 36 add_submenu_page( 37 37 '', 38 esc_html__('Manage Sign-ups', ' fdsus'),39 esc_html__('Manage Sign-ups', ' fdsus'),38 esc_html__('Manage Sign-ups', 'sign-up-sheets'), 39 esc_html__('Manage Sign-ups', 'sign-up-sheets'), 40 40 $sheetCaps->get('read_post'), 41 41 $this->menuSlug, … … 51 51 $sheetCaps = new Capabilities(SheetModel::POST_TYPE); 52 52 if (!current_user_can($sheetCaps->get('read_post'))) { 53 wp_die(esc_html__('You do not have sufficient permissions to access this page.', ' fdsus'));53 wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets')); 54 54 } 55 55 56 56 if (empty($_GET['sheet_id']) || !is_numeric($_GET['sheet_id'])) { 57 wp_die(esc_html__('Missing or invalid sheet ID.', ' fdsus'));57 wp_die(esc_html__('Missing or invalid sheet ID.', 'sign-up-sheets')); 58 58 } 59 59 60 60 $sheet = new SheetModel((int)$_GET['sheet_id']); 61 61 if (!is_object($sheet)) { 62 wp_die(esc_html__('No sign-up sheet found.', ' fdsus'));62 wp_die(esc_html__('No sign-up sheet found.', 'sign-up-sheets')); 63 63 } 64 64 ?> … … 66 66 <div class="wrap dls_sus"> 67 67 <h1> 68 <?php esc_html_e('Manage Sign-ups', ' fdsus'); ?>68 <?php esc_html_e('Manage Sign-ups', 'sign-up-sheets'); ?> 69 69 <span class="fdsus-manage-h1-suffix"> 70 <a href="<?php echo esc_attr(get_permalink($sheet->getData())); ?>" class="add-new-h2 page-title-action"><?php esc_html_e('View Sheet', ' fdsus'); ?></a>71 <a href="<?php echo esc_attr(get_edit_post_link($sheet->getData())); ?>" class="add-new-h2 page-title-action"><?php esc_html_e('Edit Sheet', ' fdsus'); ?></a>70 <a href="<?php echo esc_attr(get_permalink($sheet->getData())); ?>" class="add-new-h2 page-title-action"><?php esc_html_e('View Sheet', 'sign-up-sheets'); ?></a> 71 <a href="<?php echo esc_attr(get_edit_post_link($sheet->getData())); ?>" class="add-new-h2 page-title-action"><?php esc_html_e('Edit Sheet', 'sign-up-sheets'); ?></a> 72 72 <?php do_action('fdsus_manage_signup_h1_suffix', $sheet); ?> 73 73 </span> … … 76 76 <h3><?php echo wp_kses_post($sheet->post_title); ?></h3> 77 77 <p> 78 <?php esc_html_e('Date', ' fdsus'); ?>:78 <?php esc_html_e('Date', 'sign-up-sheets'); ?>: 79 79 <?php echo(empty($sheet->dlssus_date) 80 ? esc_html__('N/A', ' fdsus')80 ? esc_html__('N/A', 'sign-up-sheets') 81 81 : date(get_option('date_format'), strtotime($sheet->dlssus_date)) 82 82 ); ?> … … 85 85 <div class="dls-sus-sheet-details"><?php echo nl2br(wp_kses_post($sheet->post_content)); ?></div> 86 86 87 <h4><?php esc_html_e('Sign-ups', ' fdsus'); ?></h4>87 <h4><?php esc_html_e('Sign-ups', 'sign-up-sheets'); ?></h4> 88 88 89 89 <?php … … 133 133 ) { 134 134 Notice::add( 135 'error', esc_html__('Manage sign-up sheet nonce not valid', ' fdsus'), false,135 'error', esc_html__('Manage sign-up sheet nonce not valid', 'sign-up-sheets'), false, 136 136 Id::PREFIX . '-manage-signup-nonce-invalid' 137 137 ); … … 142 142 $sheet = new SheetModel($sheetId); 143 143 if (!$sheet->isValid()) { 144 Notice::add('error', esc_html__('Invalid Sheet', ' fdsus'), false, Id::PREFIX . '-sheet-invalid');144 Notice::add('error', esc_html__('Invalid Sheet', 'sign-up-sheets'), false, Id::PREFIX . '-sheet-invalid'); 145 145 return; 146 146 } … … 148 148 $result = $sheet->deleteSignups($idsToClear); 149 149 if ($result) { 150 Notice::add('success', esc_html__('Spot(s) cleared.', ' fdsus'), false, Id::PREFIX . '-clear-success');150 Notice::add('success', esc_html__('Spot(s) cleared.', 'sign-up-sheets'), false, Id::PREFIX . '-clear-success'); 151 151 } else { 152 152 /* translators: %d is replaced with the sheet ID */ 153 Notice::add('success', sprintf(esc_html__('Error clearing a spot (Sheet ID #%d)', ' fdsus'), $_GET['sheet_id']), false, Id::PREFIX . '-clear-error');153 Notice::add('success', sprintf(esc_html__('Error clearing a spot (Sheet ID #%d)', 'sign-up-sheets'), $_GET['sheet_id']), false, Id::PREFIX . '-clear-error'); 154 154 } 155 155 } … … 173 173 ) 174 174 )), 175 esc_html__('Manage Sign-ups', ' fdsus')175 esc_html__('Manage Sign-ups', 'sign-up-sheets') 176 176 ); 177 177 } -
sign-up-sheets/trunk/controller/admin/meta-box.php
r3234219 r3234235 14 14 * $metabox->add(array( 15 15 * 'id' => 'sheet', 16 * 'title' => esc_html__('Sign-up Sheet', ' fdsus'),16 * 'title' => esc_html__('Sign-up Sheet', 'sign-up-sheets'), 17 17 * 'order' => 10, 18 18 * 'options' => array( … … 29 29 * 'aria-labelledby' => 'my-label-id', // Default is '<name>-label' so only need to set this to change it or set to `false` to unset the aria-labelledby 30 30 * 'aria-describedby' => 'my-description-id', // Default is not set 31 * 'note' => '<span id="my-description-id">' . esc_html__('Some description', ' fdsus') . '</span>',31 * 'note' => '<span id="my-description-id">' . esc_html__('Some description', 'sign-up-sheets') . '</span>', 32 32 * 'pro' => true 33 33 * )); -
sign-up-sheets/trunk/controller/admin/settings.php
r3234219 r3234235 49 49 add_submenu_page( 50 50 'edit.php?post_type=' . SheetModel::POST_TYPE, 51 esc_html__('Sign-up Sheets Settings', ' fdsus'),52 esc_html__('Settings', ' fdsus'),51 esc_html__('Sign-up Sheets Settings', 'sign-up-sheets'), 52 esc_html__('Settings', 'sign-up-sheets'), 53 53 'manage_options', 54 54 SettingsModel::$menuSlug, … … 64 64 $sheetCaps = new Capabilities(SheetModel::POST_TYPE); 65 65 if (!current_user_can('manage_options') && !current_user_can($sheetCaps->get('read_post'))) { 66 wp_die(esc_html__('You do not have sufficient permissions to access this page.', ' fdsus'));66 wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets')); 67 67 } 68 68 ?> 69 69 <div class="wrap dls_sus metabox-holder"> 70 70 <h1 class="wp-heading-inline"> 71 <?php esc_html_e('Sign-up Sheets', ' fdsus'); ?>71 <?php esc_html_e('Sign-up Sheets', 'sign-up-sheets'); ?> 72 72 <?php if (Id::isPro()): ?><sup class="dls-sus-pro">Pro</sup><?php endif; ?> 73 <?php esc_html_e('Settings', ' fdsus'); ?>73 <?php esc_html_e('Settings', 'sign-up-sheets'); ?> 74 74 </h1> 75 <p style="text-align: right;"><a href="#" class="dls-sus-expand-all-postbox"><?php esc_html_e('+ Expand All', ' fdsus'); ?></a></p>75 <p style="text-align: right;"><a href="#" class="dls-sus-expand-all-postbox"><?php esc_html_e('+ Expand All', 'sign-up-sheets'); ?></a></p> 76 76 <form name="dls-sus-form" class="dls-sus-settings" method="post" action="<?php echo esc_url($this->data->getSettingsUrl()) ?>"> 77 77 … … 93 93 ?> 94 94 <input type="hidden" name="<?php echo esc_attr($this->hiddenFieldName); ?>" value="<?php echo esc_attr($this->hiddenFieldValue) ?>"> 95 <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes', ' fdsus'); ?>" />95 <input type="submit" name="Submit" class="button-primary" value="<?php esc_attr_e('Save Changes', 'sign-up-sheets'); ?>" /> 96 96 </p> 97 97 … … 117 117 if (FDSUS_DISABLE_MIGRATE_2_0_to_2_1) { 118 118 Notice::add( 119 'warning', esc_html__('Sorry, I cannot rerun migration. The migration logic is currently disabled with the FDSUS_DISABLE_MIGRATE_2_0_to_2_1 configuration.', ' fdsus'), false,119 'warning', esc_html__('Sorry, I cannot rerun migration. The migration logic is currently disabled with the FDSUS_DISABLE_MIGRATE_2_0_to_2_1 configuration.', 'sign-up-sheets'), false, 120 120 'dlssus-migrate-disabled' 121 121 ); … … 132 132 133 133 Notice::add( 134 'info', esc_html__('Sign-up Sheets database upgrade has been triggered.', ' fdsus'), false,134 'info', esc_html__('Sign-up Sheets database upgrade has been triggered.', 'sign-up-sheets'), false, 135 135 'dlssus-migrate-status' 136 136 ); … … 150 150 151 151 if (!isset($_GET['_fdsus-nonce']) || !wp_verify_nonce($_GET['_fdsus-nonce'], 'fdsus-settings-reset')) { 152 wp_die(esc_html__('Invalid request.', ' fdsus'));152 wp_die(esc_html__('Invalid request.', 'sign-up-sheets')); 153 153 } 154 154 155 155 $sheetCaps = new Capabilities(SheetModel::POST_TYPE); 156 156 if (!current_user_can('manage_options') && !current_user_can($sheetCaps->get('read_post'))) { 157 wp_die(esc_html__('You do not have sufficient permissions to access this page.', ' fdsus'));157 wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets')); 158 158 } 159 159 … … 206 206 Notice::add( 207 207 'success', 208 esc_html__('Sign-up Sheet settings have been successfully reset to default values.', ' fdsus')208 esc_html__('Sign-up Sheet settings have been successfully reset to default values.', 'sign-up-sheets') 209 209 ); 210 210 } … … 227 227 228 228 if (!isset($_POST['_fdsus-nonce']) || !wp_verify_nonce($_POST['_fdsus-nonce'], 'fdsus-settings-update')) { 229 wp_die(esc_html__('Invalid request.', ' fdsus'));229 wp_die(esc_html__('Invalid request.', 'sign-up-sheets')); 230 230 } 231 231 232 232 $sheetCaps = new Capabilities(SheetModel::POST_TYPE); 233 233 if (!current_user_can('manage_options') && !current_user_can($sheetCaps->get('read_post'))) { 234 wp_die(esc_html__('You do not have sufficient permissions to access this page.', ' fdsus'));234 wp_die(esc_html__('You do not have sufficient permissions to access this page.', 'sign-up-sheets')); 235 235 } 236 236 … … 283 283 284 284 if ($numberSaved === 1) { 285 Notice::add('success', esc_html__('Settings saved.', ' fdsus'));285 Notice::add('success', esc_html__('Settings saved.', 'sign-up-sheets')); 286 286 } 287 287 } -
sign-up-sheets/trunk/controller/admin/site-health.php
r3234219 r3234235 28 28 { 29 29 $info['wp-core']['fields']['fdsus_date_format'] = array( 30 'label' => esc_html__('Date Format', ' fdsus'),30 'label' => esc_html__('Date Format', 'sign-up-sheets'), 31 31 'value' => esc_html(get_option('date_format')), 32 32 ); 33 33 $info['wp-core']['fields']['fdsus_time_format'] = array( 34 'label' => esc_html__('Time Format', ' fdsus'),34 'label' => esc_html__('Time Format', 'sign-up-sheets'), 35 35 'value' => esc_html(get_option('time_format')), 36 36 ); 37 37 $info['wp-core']['fields']['fdsus_admin_email'] = array( 38 'label' => esc_html__('Admin Email', ' fdsus'),38 'label' => esc_html__('Admin Email', 'sign-up-sheets'), 39 39 'value' => esc_html(get_option('admin_email')), 40 40 ); 41 41 $info['wp-server']['fields']['fdsus_server_max_execution_time'] = array( 42 'label' => esc_html__('Max Execution Time', ' fdsus'),42 'label' => esc_html__('Max Execution Time', 'sign-up-sheets'), 43 43 'value' => ini_get('max_execution_time') . ' seconds', 44 44 ); 45 45 $info['wp-server']['fields']['fdsus_user_agent_string'] = array( 46 'label' => esc_html__('User Agent String', ' fdsus'),46 'label' => esc_html__('User Agent String', 'sign-up-sheets'), 47 47 'value' => $_SERVER['HTTP_USER_AGENT'], 48 48 ); 49 49 $info['sign-up-sheets'] = array( 50 'label' => esc_html__('Sign-up Sheets', ' fdsus'),50 'label' => esc_html__('Sign-up Sheets', 'sign-up-sheets'), 51 51 'fields' => $this->getFields(), 52 52 ); … … 67 67 $dataPrimary = array( 68 68 'version' => array( 69 'label' => esc_html__('Version', ' fdsus'),69 'label' => esc_html__('Version', 'sign-up-sheets'), 70 70 'value' => Id::version(), 71 71 ), 72 72 'db_version_type' => array( 73 'label' => esc_html__('Version Type', ' fdsus'),73 'label' => esc_html__('Version Type', 'sign-up-sheets'), 74 74 'value' => $allOptions['dls_sus_db_version_type'], 75 75 ), 76 76 'primary_db_version' => array( 77 'label' => esc_html__('DB Version', ' fdsus'),77 'label' => esc_html__('DB Version', 'sign-up-sheets'), 78 78 'value' => $allOptions['dls_sus_db_version'], 79 79 ), -
sign-up-sheets/trunk/controller/ajax.php
r3234219 r3234235 52 52 $restartButton = sprintf(' <a href="%s" class="button">%s</a>', 53 53 esc_url(add_query_arg('migrate', 'rerun-2.1', $this->data->getSettingsUrl())), 54 esc_html__('Restart Upgrade', ' fdsus')54 esc_html__('Restart Upgrade', 'sign-up-sheets') 55 55 ); 56 56 if ($status['state'] == 'complete') { -
sign-up-sheets/trunk/controller/base.php
r3234219 r3234235 47 47 $templateName = str_replace('/', DIRECTORY_SEPARATOR, $templateName); 48 48 49 $stylesheetPathFile = STYLESHEETPATH . DIRECTORY_SEPARATOR . $templateName; // child 50 $templatePathFile = TEMPLATEPATH . DIRECTORY_SEPARATOR . $templateName; // parent 51 $pluginFile = Id::getPluginPath() . $this->themeFilesDir . DIRECTORY_SEPARATOR . $templateName; // plugin 49 $stylesheetPathFile = get_stylesheet_directory() . DIRECTORY_SEPARATOR . $templateName; // child 50 $templatePathFile = get_template_directory() . DIRECTORY_SEPARATOR . $templateName; // parent 51 $proPluginFile = Id::isPro() 52 ? FDSUS_PRO_PLUGIN_DIR_PATH . $this->themeFilesDir . DIRECTORY_SEPARATOR . $templateName 53 : ''; 54 $freePluginFile = FDSUS_FREE_PLUGIN_DIR_PATH . $this->themeFilesDir . DIRECTORY_SEPARATOR . $templateName; 52 55 53 56 if (file_exists($stylesheetPathFile)) { … … 57 60 $located = $templatePathFile; 58 61 break; 59 } elseif (file_exists($pluginFile)) { 60 $located = $pluginFile; 62 } elseif (file_exists($proPluginFile)) { 63 $located = $proPluginFile; 64 break; 65 } elseif (file_exists($freePluginFile)) { 66 $located = $freePluginFile; 61 67 break; 62 68 } 63 69 } 64 70 65 if ((true == $load) && !empty($located)) {71 if ((true === $load) && !empty($located)) { 66 72 load_template($located, $requireOnce, $args); 67 73 } -
sign-up-sheets/trunk/controller/captcha.php
r3234219 r3234235 9 9 use FDSUS\Model\Settings; 10 10 use FDSUS\Lib\ReCaptcha\ReCaptcha; 11 use FDSUS\Model\Sheet as SheetModel; 11 12 use WP_Error; 12 13 … … 21 22 add_action('fdsus_enqueue_scripts_styles_on_signup', array(&$this, 'enqueue'), 10, 0); 22 23 add_filter('fdsus_error_before_add_signup', array(&$this, 'signupValidation'), 10, 3); 24 add_filter('fdsus_sign_up_form_errors_required_fields', array(&$this, 'updateRequiredFields'), 10, 3); 23 25 } 24 26 … … 43 45 wp_enqueue_script('fdsus-recaptcha'); 44 46 } 47 } 48 49 /** 50 * Adjust required fields 51 * 52 * @param array $missingFieldNames 53 * @param SheetModel $sheet 54 * @param array $fields 55 * 56 * @return array 57 */ 58 public function updateRequiredFields($missingFieldNames, $sheet, $fields) 59 { 60 if (!is_admin() 61 && !Settings::isAllCaptchaDisabled() 62 && !Settings::isRecaptchaEnabled() 63 && empty($fields['spam_check']) 64 ) { 65 $missingFieldNames['simple_captcha'] = esc_html__('Math Question', 'sign-up-sheets'); 66 } 67 68 return $missingFieldNames; 45 69 } 46 70 … … 71 95 return new WP_Error( 72 96 'fdsus-captcha-error', 73 __('Please check that the reCAPTCHA field is valid.', ' fdsus')97 __('Please check that the reCAPTCHA field is valid.', 'sign-up-sheets') 74 98 ); 75 99 } … … 81 105 'fdsus-captcha-error', sprintf( 82 106 /* translators: %s is replaced with the users response to the simple captcha */ 83 esc_html__('Oh dear, 7 + 1 does not equal %s. Please try again.', ' fdsus'),107 esc_html__('Oh dear, 7 + 1 does not equal %s. Please try again.', 'sign-up-sheets'), 84 108 esc_attr($_POST['spam_check']) 85 109 ) -
sign-up-sheets/trunk/controller/mail.php
r3234219 r3234235 128 128 return new WP_Error( 129 129 'fdsus_mail_send', 130 esc_html__('Error sending email.', ' fdsus')130 esc_html__('Error sending email.', 'sign-up-sheets') 131 131 . (Settings::isDetailedErrors() ? '.. ' . implode(' --- ', $ts_mail_errors) : '') 132 132 ); … … 172 172 173 173 // Build initial signup details 174 $signupDetails = (!empty($signupDate) ? esc_html__('Date', ' fdsus') . ': ' . date(get_option('date_format'), strtotime($signupDate)) . PHP_EOL : null)175 . esc_html__('Event', ' fdsus') . ': ' . wp_kses_post($args['sheet']->post_title) . PHP_EOL174 $signupDetails = (!empty($signupDate) ? esc_html__('Date', 'sign-up-sheets') . ': ' . date(get_option('date_format'), strtotime($signupDate)) . PHP_EOL : null) 175 . esc_html__('Event', 'sign-up-sheets') . ': ' . wp_kses_post($args['sheet']->post_title) . PHP_EOL 176 176 . esc_html(Settings::$text['task_title_label']['value']) 177 177 . ': ' . wp_kses_post($args['task']->post_title); -
sign-up-sheets/trunk/controller/migrate.php
r3234219 r3234235 21 21 22 22 if (Id::isPro()) { 23 class MigrateParent extends Pro\Migrate {}23 class MigrateParent extends \FDSUSPRO\Controller\Pro\Migrate {} 24 24 } else { 25 25 class MigrateParent extends Base {} … … 79 79 $output = sprintf( 80 80 /* translators: %1$s is replaced with the URL to retry */ 81 esc_html__('Migration has already been completed. <a href="%1$s" class="button">Run Migration Again</a>', ' fdsus'),81 esc_html__('Migration has already been completed. <a href="%1$s" class="button">Run Migration Again</a>', 'sign-up-sheets'), 82 82 esc_url(add_query_arg('retry', 'true', $this->data->getCurrentUrl())) 83 83 ); … … 603 603 'group' => 'settings', 604 604 'options' => null, 605 'note' => esc_html__('(comma-separated list of emails to be copied on sign-up confirmations/removals for this sheet)', ' fdsus'),605 'note' => esc_html__('(comma-separated list of emails to be copied on sign-up confirmations/removals for this sheet)', 'sign-up-sheets'), 606 606 ), 607 607 array( … … 611 611 'group' => 'settings', 612 612 'options' => $true_false, 613 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', ' fdsus'),613 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'), 614 614 ), 615 615 array( … … 619 619 'group' => 'settings', 620 620 'options' => $true_false, 621 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', ' fdsus'),621 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'), 622 622 ), 623 623 array( … … 627 627 'group' => 'settings', 628 628 'options' => $true_false, 629 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', ' fdsus'),629 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'), 630 630 ), 631 631 array( … … 635 635 'group' => 'settings', 636 636 'options' => $true_false, 637 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', ' fdsus'),637 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'), 638 638 ), 639 639 array( … … 643 643 'group' => 'settings', 644 644 'options' => array( 645 '' => esc_html__('Global', ' fdsus'),646 'false' => esc_html__('Disabled', ' fdsus'),647 'true' => esc_html__('Enabled', ' fdsus'),648 'semi' => esc_html__('Semi-Compact', ' fdsus'),645 '' => esc_html__('Global', 'sign-up-sheets'), 646 'false' => esc_html__('Disabled', 'sign-up-sheets'), 647 'true' => esc_html__('Enabled', 'sign-up-sheets'), 648 'semi' => esc_html__('Semi-Compact', 'sign-up-sheets'), 649 649 ), 650 'note' => esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', ' fdsus'),650 'note' => esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', 'sign-up-sheets'), 651 651 ), 652 652 array( … … 664 664 'group' => 'settings', 665 665 'options' => $true_false, 666 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', ' fdsus'),666 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'), 667 667 ), 668 668 array( … … 672 672 'group' => 'settings', 673 673 'options' => $true_false, 674 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', ' fdsus'),674 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'), 675 675 ), 676 676 array( … … 680 680 'group' => 'settings', 681 681 'options' => $true_false, 682 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', ' fdsus'),682 'note' => esc_html__('(Global setting in Settings > Sign-up Sheets)', 'sign-up-sheets'), 683 683 ), 684 684 array( … … 687 687 'type' => 'text', 688 688 'group' => 'settings', 689 'note' => '<br><em>' . esc_html__('Number of days before the date on the sign-up sheet that the email should be sent. Use whole numbers, for example, to remind one day before use...', ' fdsus') . ' <code>1</code> ' . esc_html__('(If this is blank Global setting is used. Global setting in Settings > Sign-up Sheets.)', 'fdsus') . '</em>',689 'note' => '<br><em>' . esc_html__('Number of days before the date on the sign-up sheet that the email should be sent. Use whole numbers, for example, to remind one day before use...', 'sign-up-sheets') . ' <code>1</code> ' . esc_html__('(If this is blank Global setting is used. Global setting in Settings > Sign-up Sheets.)', 'sign-up-sheets') . '</em>', 690 690 'options' => null, 691 691 ), … … 695 695 'type' => 'textarea', 696 696 'group' => 'settings', 697 'note' => '<br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', ' fdsus') . '</em>',697 'note' => '<br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'sign-up-sheets') . '</em>', 698 698 'options' => null, 699 699 ), … … 703 703 'type' => 'textarea', 704 704 'group' => 'settings', 705 'note' => '<br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', ' fdsus') . '</em>',705 'note' => '<br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'sign-up-sheets') . '</em>', 706 706 'options' => null, 707 707 ), … … 809 809 } 810 810 811 return new WP_Error(Id::PREFIX . '_migrate_timeout', esc_html__('Sign-up Sheets migration timed out.', ' fdsus'));811 return new WP_Error(Id::PREFIX . '_migrate_timeout', esc_html__('Sign-up Sheets migration timed out.', 'sign-up-sheets')); 812 812 } 813 813 -
sign-up-sheets/trunk/controller/post-type-base.php
r3234219 r3234235 90 90 'name' => $plural, 91 91 'singular_name' => $singular, 92 'all_items' => __('All', ' fdsus') . ' ' . $plural,93 'add_new' => __('Add New', ' fdsus'),94 'add_new_item' => __('Add New', ' fdsus') . ' ' . $singular,95 'edit_item' => __('Edit', ' fdsus') . ' ' . $singular,96 'new_item' => __('New', ' fdsus') . ' ' . $singular,97 'view_item' => __('View', ' fdsus') . ' ' . $singular,98 'search_items' => __('Search', ' fdsus') . ' ' . $plural,92 'all_items' => __('All', 'sign-up-sheets') . ' ' . $plural, 93 'add_new' => __('Add New', 'sign-up-sheets'), 94 'add_new_item' => __('Add New', 'sign-up-sheets') . ' ' . $singular, 95 'edit_item' => __('Edit', 'sign-up-sheets') . ' ' . $singular, 96 'new_item' => __('New', 'sign-up-sheets') . ' ' . $singular, 97 'view_item' => __('View', 'sign-up-sheets') . ' ' . $singular, 98 'search_items' => __('Search', 'sign-up-sheets') . ' ' . $plural, 99 99 /* translators: %s is replaced with the plural post type name */ 100 'not_found' => sprintf(__('No %s found', ' fdsus'), $plural),100 'not_found' => sprintf(__('No %s found', 'sign-up-sheets'), $plural), 101 101 /* translators: %s is replaced with the plural post type name */ 102 'not_found_in_trash' => sprintf(__('No %s found in Trash', ' fdsus'), $plural),102 'not_found_in_trash' => sprintf(__('No %s found in Trash', 'sign-up-sheets'), $plural), 103 103 /* translators: %s is replaced with the singluar post type name */ 104 'parent_item_colon' => sprintf(__('Parent %s Record:', ' fdsus'), $singular),104 'parent_item_colon' => sprintf(__('Parent %s Record:', 'sign-up-sheets'), $singular), 105 105 'menu_name' => $plural, 106 106 ); -
sign-up-sheets/trunk/controller/privacy.php
r3234219 r3234235 17 17 { 18 18 $this->fields = array( 19 'dlssus_email' => __('Email', ' fdsus'),20 'dlssus_firstname' => __('First Name', ' fdsus'),21 'dlssus_lastname' => __('Last Name', ' fdsus'),22 'dlssus_phone' => __('Phone', ' fdsus'),23 'dlssus_address' => __('Address', ' fdsus'),24 'dlssus_city' => __('City', ' fdsus'),25 'dlssus_state' => __('State', ' fdsus'),26 'dlssus_zip' => __('Zip', ' fdsus'),19 'dlssus_email' => __('Email', 'sign-up-sheets'), 20 'dlssus_firstname' => __('First Name', 'sign-up-sheets'), 21 'dlssus_lastname' => __('Last Name', 'sign-up-sheets'), 22 'dlssus_phone' => __('Phone', 'sign-up-sheets'), 23 'dlssus_address' => __('Address', 'sign-up-sheets'), 24 'dlssus_city' => __('City', 'sign-up-sheets'), 25 'dlssus_state' => __('State', 'sign-up-sheets'), 26 'dlssus_zip' => __('Zip', 'sign-up-sheets'), 27 27 ); 28 28 … … 42 42 { 43 43 $exporters['sign-up-sheets'] = array( 44 'exporter_friendly_name' => __('Sign-up Sheets Plugin', ' fdsus'),44 'exporter_friendly_name' => __('Sign-up Sheets Plugin', 'sign-up-sheets'), 45 45 'callback' => array(&$this, 'exportUserDataByEmail'), 46 46 ); … … 58 58 { 59 59 $erasers['sign-up-sheets'] = array( 60 'eraser_friendly_name' => __('Sign-up Sheets Plugin', ' fdsus'),60 'eraser_friendly_name' => __('Sign-up Sheets Plugin', 'sign-up-sheets'), 61 61 'callback' => array(&$this, 'removeUserDataByEmail'), 62 62 ); … … 79 79 $exportItems = array(); 80 80 81 $fields = array('ID' => __('Sign-up ID', ' fdsus')) + $this->fields;81 $fields = array('ID' => __('Sign-up ID', 'sign-up-sheets')) + $this->fields; 82 82 83 83 $signupCollection = new SignupCollection(); … … 94 94 $itemId = SignupModel::POST_TYPE . '-' . $signup->ID; 95 95 $groupId = 'fdsus-signups'; 96 $groupLabel = __('Sign-ups', ' fdsus');96 $groupLabel = __('Sign-ups', 'sign-up-sheets'); 97 97 98 98 foreach ($fields as $key => $name) { -
sign-up-sheets/trunk/controller/scode/sign-up-form.php
r3234219 r3234235 82 82 83 83 if (empty($task_id)) { 84 echo '<p>' . esc_html__('Task not found.', ' fdsus') . '</p>';84 echo '<p>' . esc_html__('Task not found.', 'sign-up-sheets') . '</p>'; 85 85 return ob_get_clean(); 86 86 } … … 88 88 $task = new TaskModel($task_id); 89 89 if (empty($task) || empty($task->post_parent)) { 90 echo '<p>' . esc_html__('No Sign-up Form Found.', ' fdsus') . '</p>';90 echo '<p>' . esc_html__('No Sign-up Form Found.', 'sign-up-sheets') . '</p>'; 91 91 return ob_get_clean(); 92 92 } … … 94 94 $sheet = $task->getSheet(); 95 95 if (empty($sheet)) { 96 echo '<p>' . esc_html__('No Sign-up Sheet Found.', ' fdsus') . '</p>';96 echo '<p>' . esc_html__('No Sign-up Sheet Found.', 'sign-up-sheets') . '</p>'; 97 97 return ob_get_clean(); 98 98 } … … 121 121 $date_display = null; 122 122 if ($date = $task->getDate()) { 123 $date_display = ' ' . esc_html__('on', ' fdsus')123 $date_display = ' ' . esc_html__('on', 'sign-up-sheets') 124 124 . sprintf(' <em class="dls-sus-task-date">%s</em>', 125 125 date(get_option('date_format'), strtotime($date)) … … 133 133 } else { // no task checkbox 134 134 if ($date = $task->getDate()) { 135 $date_display = ' ' . esc_html__('on', ' fdsus')135 $date_display = ' ' . esc_html__('on', 'sign-up-sheets') 136 136 . sprintf( 137 137 ' <em class="dls-sus-task-date">%s</em>', … … 178 178 $states = new StatesModel; 179 179 180 $submitButtonText = __('Sign me up!', ' fdsus');180 $submitButtonText = __('Sign me up!', 'sign-up-sheets'); 181 181 /** 182 182 * Filter for submit button text on sign-up form … … 235 235 || !wp_verify_nonce($_POST['signup_nonce'], 'fdsus_signup_submit') 236 236 ) { 237 Notice::add('error', esc_html__('Sign-up nonce not valid.', ' fdsus'), false, Id::PREFIX . '-signup-nonce-invalid');237 Notice::add('error', esc_html__('Sign-up nonce not valid.', 'sign-up-sheets'), false, Id::PREFIX . '-signup-nonce-invalid'); 238 238 return false; 239 239 } … … 248 248 if (!$task->isValid()) { 249 249 Notice::add( 250 'error', esc_html__('Hmm... we could not find the task for this sign-up.', ' fdsus'),250 'error', esc_html__('Hmm... we could not find the task for this sign-up.', 'sign-up-sheets'), 251 251 true, 'fdsus-task-invalid' 252 252 ); … … 257 257 if ($task->isExpired()) { 258 258 Notice::add( 259 'error', esc_html__('Sign-ups on this sheet can no longer be edited.', ' fdsus'),259 'error', esc_html__('Sign-ups on this sheet can no longer be edited.', 'sign-up-sheets'), 260 260 true, 'fdsus-sheet-expired' 261 261 ); … … 268 268 if ($sheet->isExpired()) { 269 269 Notice::add( 270 'error', esc_html__('Sign-ups on this task can no longer be edited.', ' fdsus'),270 'error', esc_html__('Sign-ups on this task can no longer be edited.', 'sign-up-sheets'), 271 271 true, 'fdsus-task-expired' 272 272 ); … … 276 276 if (!$sheet->dlssus_is_active) { 277 277 Notice::add( 278 'error', esc_html__('Sign-ups are no longer being accepted for this sheet.', ' fdsus'),278 'error', esc_html__('Sign-ups are no longer being accepted for this sheet.', 'sign-up-sheets'), 279 279 true, 'fdsus-signup-sheet-inactive' 280 280 ); … … 283 283 } else if ($sheet->ID != $task->post_parent) { 284 284 Notice::add( 285 'error', esc_html__('Signing up for more than one sheet is not currently supported.', ' fdsus'),285 'error', esc_html__('Signing up for more than one sheet is not currently supported.', 'sign-up-sheets'), 286 286 true, 'fdsus-multiple-sheet-signups-not-support' 287 287 ); … … 291 291 if (!$sheet->isValid()) { 292 292 Notice::add( 293 'error', esc_html__('Hmm... we could not find the sheet for this sign-up.', ' fdsus'),293 'error', esc_html__('Hmm... we could not find the sheet for this sign-up.', 'sign-up-sheets'), 294 294 true, 'fdsus-sheet-invalid' 295 295 ); … … 299 299 if (!$task->dlssus_is_active) { 300 300 Notice::add( 301 'error', esc_html__('Sign-ups are no longer being accepted for this task.', ' fdsus'),301 'error', esc_html__('Sign-ups are no longer being accepted for this task.', 'sign-up-sheets'), 302 302 true, 'fdsus-signup-task-inactive' 303 303 ); … … 309 309 if (empty($tasks)) { 310 310 Notice::add( 311 'error', esc_html__('No valid task was found for this sign-up.', ' fdsus'),311 'error', esc_html__('No valid task was found for this sign-up.', 'sign-up-sheets'), 312 312 true, 'fdsus-all-tasks-invalid' 313 313 ); … … 320 320 'warn', sprintf( 321 321 /* translators: %s is replaced with a comma separated list of all missing required fields */ 322 esc_html__('Please complete the following required fields: %s', ' fdsus'),322 esc_html__('Please complete the following required fields: %s', 'sign-up-sheets'), 323 323 implode(', ', $missingFieldNames) 324 324 ), false, 'fdsus-missing-fields' … … 327 327 } 328 328 329 if ( Settings::isEmailValidationEnabled() && (!filter_var($_POST['signup_email'], FILTER_VALIDATE_EMAIL))) {329 if ($sheet->showEmail() && !empty($_POST['signup_email']) && Settings::isEmailValidationEnabled() && (!filter_var($_POST['signup_email'], FILTER_VALIDATE_EMAIL))) { 330 330 Notice::add( 331 'warn', esc_html__('Please check that your email address is properly formatted', ' fdsus'),331 'warn', esc_html__('Please check that your email address is properly formatted', 'sign-up-sheets'), 332 332 false, 'fdsus-invalid-email' 333 333 ); … … 335 335 } 336 336 337 if ( Settings::isEmailValidationEnabled()337 if ($sheet->showEmail() && !empty($_POST['signup_email']) && Settings::isEmailValidationEnabled() 338 338 && !checkdnsrr( 339 339 substr($_POST['signup_email'], strpos($_POST['signup_email'], '@') + 1), 'MX' … … 341 341 ) { 342 342 Notice::add( 343 'warn', esc_html__('Whoops, it looks like your email domain may not be valid.', ' fdsus'),343 'warn', esc_html__('Whoops, it looks like your email domain may not be valid.', 'sign-up-sheets'), 344 344 false, 'fdsus-email-checkdnsrr' 345 345 ); … … 349 349 if ($this->data->is_honeypot_enabled() && !empty($_POST['website'])) { 350 350 Notice::add( 351 'warn', esc_html__('Sorry, your submission has been blocked.', ' fdsus'),351 'warn', esc_html__('Sorry, your submission has been blocked.', 'sign-up-sheets'), 352 352 false, 'fdsus-signup-form-honeypot' 353 353 ); … … 446 446 ); 447 447 448 if ( $sendSignupConfirmationEmail) {448 if (!empty($_POST['signup_email']) && $sendSignupConfirmationEmail) { 449 449 $this->mail->send($_POST['signup_email'], $sheet, $task, $signupId, 'signup'); 450 450 } -
sign-up-sheets/trunk/controller/scode/sign-up-sheet.php
r3234219 r3234235 68 68 array( 69 69 'id' => false, 70 'list_title' => esc_html__('Current Sign-up Sheets', ' fdsus'),70 'list_title' => esc_html__('Current Sign-up Sheets', 'sign-up-sheets'), 71 71 'category_id' => false, // Pro only - deprecated as of v2.1 72 72 'category_slug' => false, // Pro only - allows comma-separated string … … 79 79 $dbVersion = get_option('dls_sus_db_version'); 80 80 if (strpos($dbVersion, '1.0') === 0 || strpos($dbVersion, '2.0') === 0) { 81 Notice::add('info', esc_html__('No sheet found, please contact the webmaster.', ' fdsus'), true);81 Notice::add('info', esc_html__('No sheet found, please contact the webmaster.', 'sign-up-sheets'), true); 82 82 } 83 83 -
sign-up-sheets/trunk/controller/scode/user-sign-ups.php
r3234219 r3234235 69 69 $user = wp_get_current_user(); 70 70 if (!$user->exists()) { 71 Notice::add('info', esc_html__('You must be logged in to view your sign-ups.', ' fdsus'), true);71 Notice::add('info', esc_html__('You must be logged in to view your sign-ups.', 'sign-up-sheets'), true); 72 72 return apply_filters(Id::PREFIX . '_notices', null); 73 73 } … … 127 127 if ($sheet->showEmail()) { 128 128 $row['signup_additional']['email'] = array( 129 'label' => __('Email', ' fdsus'),129 'label' => __('Email', 'sign-up-sheets'), 130 130 'value' => $signup->dlssus_email, 131 131 ); … … 134 134 if ($sheet->showPhone()) { 135 135 $row['signup_additional']['phone'] = array( 136 'label' => __('Phone', ' fdsus'),136 'label' => __('Phone', 'sign-up-sheets'), 137 137 'value' => $signup->dlssus_phone, 138 138 ); … … 141 141 if ($sheet->showAddress()) { 142 142 $row['signup_additional']['phone'] = array( 143 'label' => __('Address', ' fdsus'),143 'label' => __('Address', 'sign-up-sheets'), 144 144 'value' => $signup->dlssus_address . ', ' . $signup->dlssus_city . ', ' . $signup->dlssus_state 145 145 . ' ' . $signup->dlssus_zip, -
sign-up-sheets/trunk/controller/sheet.php
r3234219 r3234235 151 151 sprintf( 152 152 /* translators: %1$s is replaced with task name, %2$d is replaced with the current number of signups on that task, %3$s is replaced with "person" or "people" depending on the number of signups */ 153 esc_html__('The number of spots for task "%1$s" cannot be set below %2$d because it currently has %2$d %3$s signed up. Please clear some spots first before updating this task.', ' fdsus'),153 esc_html__('The number of spots for task "%1$s" cannot be set below %2$d because it currently has %2$d %3$s signed up. Please clear some spots first before updating this task.', 'sign-up-sheets'), 154 154 esc_html($data['title']), 155 155 $signupCount, … … 178 178 sprintf( 179 179 /* translators: %1$s is replaced with task name, %2$d is replaced with the current number of signups on that task, %3$s is replaced with "person" or "people" depending on the number of signups */ 180 esc_html__('The task "%1$s" cannot be removed because it has %2$d %3$s signed up. Please clear all spots first before removing this task.', ' fdsus'),180 esc_html__('The task "%1$s" cannot be removed because it has %2$d %3$s signed up. Please clear all spots first before removing this task.', 'sign-up-sheets'), 181 181 $task->post_title, 182 182 $signupCount, … … 330 330 function modifyTheContent($content) 331 331 { 332 $before = ''; 333 $after = ''; 334 335 if (is_singular() && is_main_query() && get_post_type() === SheetModel::POST_TYPE) { 336 // Before 337 ob_start(); 338 fdsus_the_signup_form_response(); 339 if (dlssus_has_sheet_date() && empty($_GET['task_id'])): ?> 340 <p class="dls-sus-sheet-date"> 341 <?php esc_html_e('Date', 'fdsus'); ?>: 342 <?php echo dlssus_field('date'); ?> 343 </p> 344 <?php endif; 345 $before = ob_get_clean(); 346 347 // After 348 ob_start(); 349 dlssus_get_template_part('content'); 350 $after = ob_get_clean(); 351 352 // Hide normal sheet page content if displaying signup 353 if (!empty($_GET['task_id'])) { 354 $content = ''; 355 } 356 } 332 if (post_password_required(get_the_ID()) 333 || !is_singular() 334 || !is_main_query() 335 || get_post_type() !== SheetModel::POST_TYPE 336 ) { 337 return $content; 338 } 339 340 // Before 341 ob_start(); 342 fdsus_the_signup_form_response(); 343 if (dlssus_has_sheet_date() && empty($_GET['task_id'])): ?> 344 <p class="dls-sus-sheet-date"> 345 <?php esc_html_e('Date', 'sign-up-sheets'); ?>: 346 <?php echo dlssus_field('date'); ?> 347 </p> 348 <?php endif; 349 $before = ob_get_clean(); 350 351 // After 352 ob_start(); 353 dlssus_get_template_part('content'); 354 $after = ob_get_clean(); 355 356 // Hide normal sheet page content if displaying signup 357 if (!empty($_GET['task_id'])) { 358 $content = ''; 359 } 360 357 361 return $before . $content . $after; 358 362 } … … 418 422 $successMsg = sprintf( 419 423 /* translators: %s is replaced with the task title */ 420 esc_html__('You have been signed up for %s!', ' fdsus'),424 esc_html__('You have been signed up for %s!', 'sign-up-sheets'), 421 425 '<em>' . wp_kses_post($task->post_title) . '</em>' 422 426 ); -
sign-up-sheets/trunk/controller/task-table.php
r3234219 r3234235 50 50 /** 51 51 * @var bool $showSignupLink 52 * @var bool $emailSimplified 52 53 */ 53 54 extract(shortcode_atts(array( 54 55 'showSignupLink' => false, 56 'emailSimplified' => false, 55 57 ), $atts)); 56 58 $this->config['showSignupLink'] = $showSignupLink; 59 $this->config['emailSimplified'] = $emailSimplified; 57 60 58 61 $this->tasks = $this->sheet->getTasks(); 59 $this->table = new TaskTableModel($sheet); 62 $this->table = new TaskTableModel($sheet, $this->config); 63 64 $this->setVariables($atts); 60 65 61 66 parent::__construct(); … … 65 70 * Set variables 66 71 */ 67 private function setVariables( )72 private function setVariables($excludedAtts = array()) 68 73 { 69 $this->config['isFullCompact'] = $this->sheet->isFullCompact() && !is_admin() ;70 $this->config['displayAll'] = Settings::isDisplayAllSignupDataEnabled() || is_admin() ;74 $this->config['isFullCompact'] = $this->sheet->isFullCompact() && !is_admin() && !$this->config['emailSimplified']; 75 $this->config['displayAll'] = Settings::isDisplayAllSignupDataEnabled() || is_admin() || $this->config['emailSimplified']; 71 76 72 77 /** … … 110 115 $out = ''; 111 116 foreach ($this->table->rows as $row) { 112 $out .= sprintf('<tr class="%s">', $row->class ? $row->class : ''); 117 $out .= sprintf( 118 '<tr class="%s" %s>', 119 $row->class ? $row->class : '', 120 $this->config['emailSimplified'] ? 'valign="top" align="left"' : '' 121 ); 113 122 foreach ($row->cells as $cell) { 114 123 $scope = ''; … … 141 150 // Remaining empty spots 142 151 if ($this->config['displayAll'] && !$this->config['isFullCompact']) { 143 $this->config['emptySignupColspan'] += 7; 152 $this->config['emptySignupColspan'] += 6; 153 if ($this->sheet->showEmail()) { 154 $this->config['emptySignupColspan']++; 155 } 144 156 if ($this->sheet->showPhone()) { 145 157 $this->config['emptySignupColspan']++; … … 180 192 $this->table = apply_filters('fdsus_tasktable-table-header_data_after_task_title', $this->table, $this->sheet, $this->config); 181 193 182 $this->table->addHeaderCell('name', esc_html__('Name', ' fdsus'));194 $this->table->addHeaderCell('name', esc_html__('Name', 'sign-up-sheets')); 183 195 184 196 if ($this->config['displayAll']) { 185 $this->table->addHeaderCell('email', esc_html__('E-mail', 'fdsus')); 197 if ($this->sheet->showEmail()) { 198 $this->table->addHeaderCell('email', esc_html__('E-mail', 'sign-up-sheets')); 199 } 186 200 if ($this->sheet->showPhone()) { 187 $this->table->addHeaderCell('phone', esc_html__('Phone', ' fdsus'));201 $this->table->addHeaderCell('phone', esc_html__('Phone', 'sign-up-sheets')); 188 202 } 189 203 if ($this->sheet->showAddress()) { 190 $this->table->addHeaderCell('address', esc_html__('Address', ' fdsus'));191 $this->table->addHeaderCell('city', esc_html__('City', ' fdsus'));192 $this->table->addHeaderCell('state', esc_html__('State', ' fdsus'));193 $this->table->addHeaderCell('zip', esc_html__('Zip', ' fdsus'));204 $this->table->addHeaderCell('address', esc_html__('Address', 'sign-up-sheets')); 205 $this->table->addHeaderCell('city', esc_html__('City', 'sign-up-sheets')); 206 $this->table->addHeaderCell('state', esc_html__('State', 'sign-up-sheets')); 207 $this->table->addHeaderCell('zip', esc_html__('Zip', 'sign-up-sheets')); 194 208 } 195 209 } … … 212 226 'clear-checkbox', 213 227 '<label> 214 <span class="s r-only">' . __('Select all spots to Clear', 'fdsus') . '</span>228 <span class="screen-reader-text">' . esc_html__('Select all spots to Clear', 'sign-up-sheets') . '</span> 215 229 <input type="checkbox" value="" id="select-all-clear"> 216 230 </label> 217 <input name="multi_submit" type="submit" class="button" value="' . esc_html__('Clear Selected', ' fdsus') . '" onclick="return confirm(\'' . esc_html__('This will permanently remove all selected sign-ups for this sheet.', 'fdsus') . '\');">',231 <input name="multi_submit" type="submit" class="button" value="' . esc_html__('Clear Selected', 'sign-up-sheets') . '" onclick="return confirm(\'' . esc_html__('This will permanently remove all selected sign-ups for this sheet.', 'sign-up-sheets') . '\');">', 218 232 'fdsus-col-clear' 219 233 ); … … 284 298 285 299 $signupIndex = 0; 286 if (!$this->config['isFullCompact'] ) {300 if (!$this->config['isFullCompact'] || $this->config['emailSimplified']) { 287 301 if (!empty($signups) && is_array($signups)) { 288 302 foreach ($signups AS $signup) { … … 361 375 '<span class="dls-sus-spot-num">%s</span> <span>%s</span>', 362 376 /* translators: %d is replaced with the spot number */ 363 sprintf(esc_html__('#%d:', ' fdsus'), (int)$this->config['spotIndex']),377 sprintf(esc_html__('#%d:', 'sign-up-sheets'), (int)$this->config['spotIndex']), 364 378 $name 365 379 ); … … 367 381 368 382 if ($this->config['displayAll']) { 369 $this->table->addRowCell('auto', 'email', esc_html($signup->dlssus_email)); 383 if ($this->sheet->showEmail()) { 384 $this->table->addRowCell('auto', 'email', esc_html($signup->dlssus_email)); 385 } 370 386 if ($this->sheet->showPhone()) { 371 387 $this->table->addRowCell('auto', 'phone', esc_html($signup->dlssus_phone)); … … 408 424 <span class="delete"> 409 425 <label> 410 <span class="s r-only">'426 <span class="screen-reader-text">' 411 427 . /* translators: %s is replaced with the index of the spot within the current task */ 412 sprintf(__('Select spot #%s to clear', ' fdsus'), (int)$this->config['spotIndex']) . '</span>428 sprintf(__('Select spot #%s to clear', 'sign-up-sheets'), (int)$this->config['spotIndex']) . '</span> 413 429 <input type="checkbox" name="clear[]" value="' . (int)$signup->ID . '" class="clear-checkbox"> 414 430 </label> … … 418 434 </span> 419 435 <a href="' . esc_url(Settings::getAdminEditSignupPageUrl($signup->ID, $_GET['sheet_id'])) . '"> 420 <span class="s r-only">' . __('Edit', 'fdsus') . '</span>436 <span class="screen-reader-text">' . esc_html__('Edit', 'sign-up-sheets') . '</span> 421 437 <i class="dashicons dashicons-edit" aria-hidden="true"></i> 422 438 </a> … … 425 441 id="fdsus-signup-metadata-control-' . (int)$signup->ID . '" 426 442 aria-controls="fdsus-signup-metadata-detail-' . (int)$signup->ID . '"> 427 <span class="s r-only">' . __('Additional Details', 'fdsus') . '</span>443 <span class="screen-reader-text">' . esc_html__('Additional Details', 'sign-up-sheets') . '</span> 428 444 <i class="dashicons dashicons-info" aria-hidden="true"></i> 429 445 </a> … … 432 448 aria-labelledby="fdsus-signup-metadata-control-' . (int)$signup->ID . '"> 433 449 <ul class="fdsus-signup-metadata"> 434 <li>' . __('Added', 'fdsus') . ': %3$s</li>435 <li>' . __('Updated', 'fdsus') . ': %4$s</li>436 <li>' . __('Linked user', 'fdsus') . ': %5$s</li>450 <li>' . esc_html__('Added', 'sign-up-sheets') . ': %3$s</li> 451 <li>' . esc_html__('Updated', 'sign-up-sheets') . ': %4$s</li> 452 <li>' . esc_html__('Linked user', 'sign-up-sheets') . ': %5$s</li> 437 453 </ul> 438 454 </div> 439 455 </div> 440 456 ', 441 esc_html__('Clear Spot Now', ' fdsus'),442 'onclick="return confirm(\'' . esc_html__('This will permanently remove this sign-up.', ' fdsus') . '\');"',457 esc_html__('Clear Spot Now', 'sign-up-sheets'), 458 'onclick="return confirm(\'' . esc_html__('This will permanently remove this sign-up.', 'sign-up-sheets') . '\');"', 443 459 date('Y-m-d ' . get_option('time_format'), strtotime($signup->post_date)), 444 460 date('Y-m-d ' . get_option('time_format'), strtotime($signup->post_modified)), … … 510 526 $signupLink = $task->getSignupLink(); 511 527 } else { 512 $signupLink = esc_html__('(empty)', ' fdsus');528 $signupLink = esc_html__('(empty)', 'sign-up-sheets'); 513 529 if (is_admin()) { 514 530 $signupLink .= ' 515 531 <a href="' . esc_url(Settings::getAdminEditSignupPageUrl($task->ID, $_GET['sheet_id'], 'add')) . '"> 516 <span class="s r-only">' . __('Add Sign-up', 'fdsus') . '</span>532 <span class="screen-reader-text">' . esc_html__('Add Sign-up', 'sign-up-sheets') . '</span> 517 533 <i class="dashicons dashicons-plus" aria-hidden="true"></i> 518 534 </a>'; … … 520 536 } 521 537 if ($this->sheet->isExpired() || $task->isExpired()) { 522 $signupLink .= esc_html__(' - sign-ups closed', ' fdsus');538 $signupLink .= esc_html__(' - sign-ups closed', 'sign-up-sheets'); 523 539 } 524 540 … … 548 564 /** 549 565 * Get display code for tasks table (back and front-end) 566 * 567 * @param bool $echo 568 * @param bool $emailSimplified 569 * 570 * @return string|void 550 571 */ 551 public function output( )572 public function output($echo = true, $emailSimplified = false) 552 573 { 574 ob_start(); 575 553 576 if (empty($this->tasks)) : ?> 554 <p><?php esc_html_e('No tasks were found.', ' fdsus'); ?></p>577 <p><?php esc_html_e('No tasks were found.', 'sign-up-sheets'); ?></p> 555 578 <?php 556 return; 579 if ($echo) { 580 echo ob_get_clean(); 581 return; 582 } 583 return ob_get_clean(); 557 584 endif; 558 559 $this->setVariables();560 585 561 586 // Header … … 575 600 // Build Table 576 601 ?> 577 < form action="<?php echo esc_url($formUrl); ?>" method="post" id="sus_form" class="fdsus-form">578 <table class="dls-sus-tasks <?php echo is_admin() ? 'wp-list-table widefat' : null; ?>" >602 <?php if (!$emailSimplified) : ?><form action="<?php echo esc_url($formUrl); ?>" method="post" id="sus_form" class="fdsus-form"><?php endif; ?> 603 <table class="dls-sus-tasks <?php echo is_admin() ? 'wp-list-table widefat' : null; ?>" <?php if ($emailSimplified) : ?>cellspacing="0" cellpadding="5" border="1"<?php endif; ?>> 579 604 <thead><?php echo $header; ?></thead> 580 < tfoot><?php echo $header; ?></tfoot>605 <?php if (!$emailSimplified) : ?><tfoot><?php echo $header; ?></tfoot><?php endif; ?> 581 606 <tbody><?php echo $body; ?></tbody> 582 607 </table> … … 586 611 * 587 612 * @param SheetModel $sheet 613 * @param array $config 588 614 * 589 615 * @since 2.2 590 616 */ 591 do_action('fdsus_tasktable_after_table', $this->sheet );617 do_action('fdsus_tasktable_after_table', $this->sheet, $this->config); 592 618 593 619 wp_nonce_field('clear-multiple-signups', 'manage_signup_nonce', true, false); 594 620 ?> 595 < /form>621 <?php if (!$emailSimplified) : ?></form><?php endif; ?> 596 622 <?php 623 624 if ($echo) { 625 echo ob_get_clean(); 626 return; 627 } 628 return ob_get_clean(); 597 629 } 598 630 -
sign-up-sheets/trunk/css/admin.css
r3234219 r3234235 1 @font-face{font-family:"fdsus";src:url("font/fdsus/fonts/fdsus.ttf?jfroy1") format("truetype"),url("font/fdsus/fonts/fdsus.woff?jfroy1") format("woff"),url("font/fdsus/fonts/fdsus.svg?jfroy1#fdsus") format("svg");font-weight:normal;font-style:normal;font-display:block}[class^=fdsus-icon-],[class*=" fdsus-icon-"]{font-family:"fdsus" !important;speak:never;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fdsus-icon-cursor-move:before{content:""}.fdsus-icon-arrow-horizontal:before{content:""}.fdsus-icon-arrow-vertical:before{content:""}.fdsus-icon-cursor-move-two:before{content:""}.fdsus-icon-plus:before{content:""}.fdsus-icon-remove:before{content:""}.fdsus-icon-star:before{content:""}.fdsus-icon-checkbox:before{content:""}.fdsus-icon-clipboard-notes:before{content:""}.fdsus-icon-clipboard:before{content:""}.fdsus-icon-sus:before{content:""}.wp-list-table .fdsus-id-value{color:#50575e}.post-type-dlssus_sheet .fdsus-edit-quick-info{margin-bottom:1em;text-align:center}.post-type-dlssus_sheet .fdsus-edit-quick-info .quick-info-item{display:inline-block;margin:0 .6em .6em}.post-type-dlssus_sheet .fdsus-edit-quick-info .quick-info-id{display:block}.post-type-dlssus_sheet #dlssus_sheet-settings-meta .dls-sus-pro{font-size:.8em}.post-type-dlssus_sheet #dlssus_sheet-settings-meta .fdsus-pro-setting{padding:1%}.post-type-dlssus_sheet .dlsmb-main-label{margin-bottom:2px}@media screen and (min-width: 601px){#dlssus_sheet-settings-meta .inside{display:flex;flex-wrap:wrap;gap:3%}#dlssus_sheet-settings-meta .dlsmb-field{width:31.33%}#dlssus_sheet-settings-meta .dlsmb-field.fdsus-pro-setting{width:29.33%}#dlssus_sheet-settings-meta .dlsmb-field-col-6{width:48.5%}#dlssus_sheet-settings-meta .dlsmb-field-col-6.fdsus-pro-setting{width:46.5%}#dlssus_sheet-settings-meta .dlsmb-field-col-12{width:100%}#dlssus_sheet-settings-meta .dlsmb-field-col-12.fdsus-pro-setting{width:100%}#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes{display:flex;flex-wrap:wrap;gap:.6em}#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes .dlsmb-main-label{width:100%}}@media screen and (max-width: 600px){#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes label:not(.dlsmb-main-label){line-height:2.4}}.dlssus_sheet_page_fdsus-manage .page-title-action .dashicons{vertical-align:middle}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip{display:inline-block;position:relative}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a::after{content:"";font-family:"dashicons";vertical-align:middle;margin-left:-4px}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a[aria-expanded=true]::after{content:""}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a[aria-expanded=true] .dashicons{background:#fff;border:1px solid #c3c4c7;border-radius:2em 2em 0 0;border-bottom-color:#fff;margin-top:-1px;margin-left:-1px;position:relative;z-index:20}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip div[role=region]{background:#fff;border:1px solid #c3c4c7;margin-top:-1px;min-width:13em;padding:1em;position:absolute;right:0;z-index:10}.dlssus_sheet_page_fdsus-manage .fdsus-signup-metadata{font-size:.8em;list-style-type:none;margin:0;padding:0}.dlssus_sheet_page_fdsus-manage .fdsus-signup-metadata li{margin:0;padding:0}.dlssus_sheet_page_fdsus-manage #select-all-clear{margin-right:.6em}.dlssus_sheet_page_fdsus-manage .button{vertical-align:middle}.fdsus-pro-setting{background-color:#ebf9f6;background:-o-repeating-linear-gradient(left, #ebf9f6, #ebf9f6 10px, #e0f5f0 10px, #e0f5f0 12px);background:repeating-linear-gradient(90deg, #ebf9f6, #ebf9f6 10px, #e0f5f0 10px, #e0f5f0 12px)}.fdsus-pro-setting th{padding-left:10px}.fdsus-pro-setting .dls-sus-pro{font-size:.8em}.dls_sus .dls-sus-settings .dls-sus-pro{font-size:.8em}.dls-sus-signup-form label{display:block}.dls-sus-signup-form label.dls-sus-inline-label{display:inline}.dls-sus-signup-form input[type=text],.dls-sus-signup-form input[type=email]{width:100%}.dls _sus .sr-only:not(:focus):not(:active){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.dls_sus .dashicons-trash:before{color:#e22f2e}.dls_sus a:hover .dashicons-trash:before,.dls_sus a:focus .dashicons-trash:before{color:#ff5348}.dls_sus .fixed .column-task_num,.dls_sus .fixed .column-spot_num,.dls_sus .fixed .column-filled_spot_num{width:10%}.dls_sus .fixed .column-id{width:5%}.dls_sus .tasks{margin-bottom:3em}.dls_sus .tasks LI{background:rgba(0,0,0,0) url("../images/icon-drag-y.png") no-repeat scroll left center;padding-left:16px;min-height:20px}.dls_sus .tasks LI:hover{cursor:move}.dls_sus .tasks LI.ui-sortable-helper{cursor:move}.dls_sus .tasks .add-task-after,.dls_sus .tasks .remove-task{display:inline-block;border:2px solid #fff;color:#fff;width:1.4em;height:1.4em;line-height:1.4em;text-align:center;text-decoration:none;-webkit-border-radius:999em;-moz-border-radius:999em;border-radius:999em}.dls_sus .tasks .add-task-after{background-color:#6f9f44}.dls_sus .tasks .remove-task{background-color:#bf212e}.dls_sus .dls-sus-tasks tfoot .fdsus-col-clear *{display:none}.dls_sus .dls-sus-tasks .fdsus-col-clear input[type=checkbox]{margin-left:0}.dls-sus-tasks tbody th{vertical-align:top}.dls-sus-pro{background-color:#47c9af;color:#fff;font-size:.4em;font-weight:bold;padding:.2em .6em;-webkit-border-radius:1em;border-radius:1em}.dls-sus-repeater td{vertical-align:top}.dls-sus-repeater textarea{height:60px}.js .dls_sus .postbox H3{cursor:pointer}.dls_sus .postbox H3.hndle{padding:8px 12px;margin:0}.dls_sus form.dls-sus-settings{margin-top:1em}.dls-sus-system-info,.dls-sus-system-info[readonly=readonly]{width:100%;overflow:auto;background:#222;color:#bbb;padding:1em;white-space:pre;font-family:Menlo,Monaco,monospace}#dlssus_sheet-general-meta .dlsmb-field-key-datepicker-dlssus_date,#dlssus_sheet-general-meta .dlsmb-field-key-checkbox-dlssus_use_task_dates{display:inline-block;margin-right:1em}.dlssus_sheet-settings-meta .dlsmb-field LABEL.dlsmb-main-label{display:inline-block;width:30%;max-width:300px}#dlssus_sheet-general-meta .dlsmb-field-key-datepicker-dlssus_date,#dlssus_sheet-general-meta .dlsmb-field-key-checkbox-dlssus_use_task_dates{display:inline-block;margin-right:1em}.dlssus_sheet-settings-meta .dlsmb-field LABEL.dlsmb-main-label{display:inline-block;width:30%;max-width:300px}.dlssus_tasks-row .add-task-after,.dlssus_tasks-row .remove-task{display:inline-block;border:2px solid #fff;color:#fff;width:1.4em;height:1.4em;line-height:1.4em;text-align:center;text-decoration:none;-webkit-border-radius:999em;-moz-border-radius:999em;border-radius:999em}.dlssus_tasks-row .add-task-after{background-color:#6f9f44}.dlssus_tasks-row .remove-task{background-color:#bf212e}.dlsmb-repeater-dlssus_tasks-row .dlsmb-field-key-textarea-filled_spots .dlsmb-field-element{line-height:2;margin:0;padding:0 8px;vertical-align:middle}.dlsmb-field-key-textarea-dlssus_sheet_email_conf_message textarea{height:11.5em}.dlsmb-field-key-textarea-dlssus_sheet_email_message textarea{height:11.5em}.dls-sus-task-header-row .dashicons{width:auto;height:auto;line-height:1.6em}.dlsmb-field-type-hidden{display:none}@media only screen and (max-width: 760px){#dlssus_sheet-tasks-meta table,#dlssus_sheet-tasks-meta thead,#dlssus_sheet-tasks-meta tbody,#dlssus_sheet-tasks-meta td,#dlssus_sheet-tasks-meta tr.dlsmb-repeater-dlssus_tasks-row,#dlssus_sheet-tasks-meta th{display:block}#dlssus_sheet-tasks-meta tr.dlsmb-blank-repeater,#dlssus_sheet-tasks-meta thead tr{display:none}#dlssus_sheet-tasks-meta tr{margin:0 0 1rem 0}#dlssus_sheet-tasks-meta td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:5%}#dlssus_sheet-tasks-meta td{border:0}#dlssus_sheet-tasks-meta td:nth-of-type(1){min-height:30px}#dlssus_sheet-tasks-meta tr.dlsmb-repeater-dlssus_tasks-row td .dlsmb-main-label-mobile{display:block !important;margin-bottom:10px;font-weight:bold}.dlsmb-field-type-repeater LABEL.dlsmb-main-label{display:block;font-weight:bold;margin-bottom:.6em}}.dlssus-email-test fieldset{background-color:#e2e2e2;padding:2em;max-width:40em}.dlssus-email-test fieldset input[type=email],.dlssus-email-test fieldset textarea{width:100%}.dlssus-email-test fieldset p:first-child{margin-right:2%}.dlssus-email-test fieldset p:first-child,.dlssus-email-test fieldset p:nth-child(2){margin-top:0;width:49%;float:left}.dlssus-email-test fieldset p:nth-child(2){margin-top:0}.dlssus-email-test fieldset p:nth-child(3){clear:both}.dlssus-email-test fieldset p:last-child{margin-bottom:0}.fdsus-footer{text-align:center}.fdsus-footer hr{margin:2em 0 1em}.fdsus-footer-getpro{display:inline-block;text-decoration:none;vertical-align:middle}.fdsus-footer-getpro::before{font-family:"fdsus";content:"";vertical-align:middle;margin:0 .5em;font-size:1.4em}.fdsus-footer-getpro span{text-decoration:underline}.post-type-dlssus_sheet #wpbody-content,.post-type-dlssus_task #wpbody-content,.post-type-dlssus_signup #wpbody-content{padding-bottom:7rem}#dashboard_right_now li.dlssus_sheet-count a:before{content:"";font-family:"fdsus"}/*# sourceMappingURL=admin.css.map */1 @font-face{font-family:"fdsus";src:url("font/fdsus/fonts/fdsus.ttf?jfroy1") format("truetype"),url("font/fdsus/fonts/fdsus.woff?jfroy1") format("woff"),url("font/fdsus/fonts/fdsus.svg?jfroy1#fdsus") format("svg");font-weight:normal;font-style:normal;font-display:block}[class^=fdsus-icon-],[class*=" fdsus-icon-"]{font-family:"fdsus" !important;speak:never;font-style:normal;font-weight:normal;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.fdsus-icon-cursor-move:before{content:""}.fdsus-icon-arrow-horizontal:before{content:""}.fdsus-icon-arrow-vertical:before{content:""}.fdsus-icon-cursor-move-two:before{content:""}.fdsus-icon-plus:before{content:""}.fdsus-icon-remove:before{content:""}.fdsus-icon-star:before{content:""}.fdsus-icon-checkbox:before{content:""}.fdsus-icon-clipboard-notes:before{content:""}.fdsus-icon-clipboard:before{content:""}.fdsus-icon-sus:before{content:""}.wp-list-table .fdsus-id-value{color:#50575e}.post-type-dlssus_sheet .fdsus-edit-quick-info{margin-bottom:1em;text-align:center}.post-type-dlssus_sheet .fdsus-edit-quick-info .quick-info-item{display:inline-block;margin:0 .6em .6em}.post-type-dlssus_sheet .fdsus-edit-quick-info .quick-info-id{display:block}.post-type-dlssus_sheet #dlssus_sheet-settings-meta .dls-sus-pro{font-size:.8em}.post-type-dlssus_sheet #dlssus_sheet-settings-meta .fdsus-pro-setting{padding:1%}.post-type-dlssus_sheet .dlsmb-main-label{margin-bottom:2px}@media screen and (min-width: 601px){#dlssus_sheet-settings-meta .inside{display:flex;flex-wrap:wrap;gap:3%}#dlssus_sheet-settings-meta .dlsmb-field{width:31.33%}#dlssus_sheet-settings-meta .dlsmb-field.fdsus-pro-setting{width:29.33%}#dlssus_sheet-settings-meta .dlsmb-field-col-6{width:48.5%}#dlssus_sheet-settings-meta .dlsmb-field-col-6.fdsus-pro-setting{width:46.5%}#dlssus_sheet-settings-meta .dlsmb-field-col-12{width:100%}#dlssus_sheet-settings-meta .dlsmb-field-col-12.fdsus-pro-setting{width:100%}#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes{display:flex;flex-wrap:wrap;gap:.6em}#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes .dlsmb-main-label{width:100%}}@media screen and (max-width: 600px){#dlssus_sheet-settings-meta .dlsmb-field-type-checkboxes label:not(.dlsmb-main-label){line-height:2.4}}.dlssus_sheet_page_fdsus-manage .page-title-action .dashicons{vertical-align:middle}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip{display:inline-block;position:relative}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a::after{content:"";font-family:"dashicons";vertical-align:middle;margin-left:-4px}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a[aria-expanded=true]::after{content:""}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip>a[aria-expanded=true] .dashicons{background:#fff;border:1px solid #c3c4c7;border-radius:2em 2em 0 0;border-bottom-color:#fff;margin-top:-1px;margin-left:-1px;position:relative;z-index:20}.dlssus_sheet_page_fdsus-manage .fdsus-toggletip div[role=region]{background:#fff;border:1px solid #c3c4c7;margin-top:-1px;min-width:13em;padding:1em;position:absolute;right:0;z-index:10}.dlssus_sheet_page_fdsus-manage .fdsus-signup-metadata{font-size:.8em;list-style-type:none;margin:0;padding:0}.dlssus_sheet_page_fdsus-manage .fdsus-signup-metadata li{margin:0;padding:0}.dlssus_sheet_page_fdsus-manage #select-all-clear{margin-right:.6em}.dlssus_sheet_page_fdsus-manage .button{vertical-align:middle}.fdsus-pro-setting{background-color:#ebf9f6;background:-o-repeating-linear-gradient(left, #ebf9f6, #ebf9f6 10px, #e0f5f0 10px, #e0f5f0 12px);background:repeating-linear-gradient(90deg, #ebf9f6, #ebf9f6 10px, #e0f5f0 10px, #e0f5f0 12px)}.fdsus-pro-setting th{padding-left:10px}.fdsus-pro-setting .dls-sus-pro{font-size:.8em}.dls_sus .dls-sus-settings .dls-sus-pro{font-size:.8em}.dls-sus-signup-form label{display:block}.dls-sus-signup-form label.dls-sus-inline-label{display:inline}.dls-sus-signup-form input[type=text],.dls-sus-signup-form input[type=email]{width:100%}.dls-sus-pro{background-color:#47c9af;color:#fff;font-size:.4em;font-weight:bold;padding:.2em .6em;-webkit-border-radius:1em;border-radius:1em}.dls-sus-repeater td{vertical-align:top}.dls-sus-repeater textarea{height:60px}.js .dls_sus .postbox H3{cursor:pointer}.dls_sus .postbox H3.hndle{padding:8px 12px;margin:0}.dls_sus form.dls-sus-settings{margin-top:1em}.dls-sus-system-info,.dls-sus-system-info[readonly=readonly]{width:100%;overflow:auto;background:#222;color:#bbb;padding:1em;white-space:pre;font-family:Menlo,Monaco,monospace}#dlssus_sheet-general-meta .dlsmb-field-key-datepicker-dlssus_date,#dlssus_sheet-general-meta .dlsmb-field-key-checkbox-dlssus_use_task_dates{display:inline-block;margin-right:1em}.dlssus_sheet-settings-meta .dlsmb-field LABEL.dlsmb-main-label{display:inline-block;width:30%;max-width:300px}#dlssus_sheet-general-meta .dlsmb-field-key-datepicker-dlssus_date,#dlssus_sheet-general-meta .dlsmb-field-key-checkbox-dlssus_use_task_dates{display:inline-block;margin-right:1em}.dlssus_sheet-settings-meta .dlsmb-field LABEL.dlsmb-main-label{display:inline-block;width:30%;max-width:300px}.dlssus_tasks-row .add-task-after,.dlssus_tasks-row .remove-task{display:inline-block;border:2px solid #fff;color:#fff;width:1.4em;height:1.4em;line-height:1.4em;text-align:center;text-decoration:none;-webkit-border-radius:999em;-moz-border-radius:999em;border-radius:999em}.dlssus_tasks-row .add-task-after{background-color:#6f9f44}.dlssus_tasks-row .remove-task{background-color:#bf212e}.dlsmb-repeater-dlssus_tasks-row .dlsmb-field-key-textarea-filled_spots .dlsmb-field-element{line-height:2;margin:0;padding:0 8px;vertical-align:middle}.dlsmb-field-key-textarea-dlssus_sheet_email_conf_message textarea{height:11.5em}.dlsmb-field-key-textarea-dlssus_sheet_email_message textarea{height:11.5em}.dls-sus-task-header-row .dashicons{width:auto;height:auto;line-height:1.6em}.dlsmb-field-type-hidden{display:none}@media only screen and (max-width: 760px){#dlssus_sheet-tasks-meta table,#dlssus_sheet-tasks-meta thead,#dlssus_sheet-tasks-meta tbody,#dlssus_sheet-tasks-meta td,#dlssus_sheet-tasks-meta tr.dlsmb-repeater-dlssus_tasks-row,#dlssus_sheet-tasks-meta th{display:block}#dlssus_sheet-tasks-meta tr.dlsmb-blank-repeater,#dlssus_sheet-tasks-meta thead tr{display:none}#dlssus_sheet-tasks-meta tr{margin:0 0 1rem 0}#dlssus_sheet-tasks-meta td{border:none;border-bottom:1px solid #eee;position:relative;padding-left:5%}#dlssus_sheet-tasks-meta td{border:0}#dlssus_sheet-tasks-meta td:nth-of-type(1){min-height:30px}#dlssus_sheet-tasks-meta tr.dlsmb-repeater-dlssus_tasks-row td .dlsmb-main-label-mobile{display:block !important;margin-bottom:10px;font-weight:bold}.dlsmb-field-type-repeater LABEL.dlsmb-main-label{display:block;font-weight:bold;margin-bottom:.6em}}.dlssus-email-test fieldset{background-color:#e2e2e2;padding:2em;max-width:40em}.dlssus-email-test fieldset input[type=email],.dlssus-email-test fieldset textarea{width:100%}.dlssus-email-test fieldset p:first-child{margin-right:2%}.dlssus-email-test fieldset p:first-child,.dlssus-email-test fieldset p:nth-child(2){margin-top:0;width:49%;float:left}.dlssus-email-test fieldset p:nth-child(2){margin-top:0}.dlssus-email-test fieldset p:nth-child(3){clear:both}.dlssus-email-test fieldset p:last-child{margin-bottom:0}.fdsus-footer{text-align:center}.fdsus-footer hr{margin:2em 0 1em}.fdsus-footer-getpro{display:inline-block;text-decoration:none;vertical-align:middle}.fdsus-footer-getpro::before{font-family:"fdsus";content:"";vertical-align:middle;margin:0 .5em;font-size:1.4em}.fdsus-footer-getpro span{text-decoration:underline}.post-type-dlssus_sheet #wpbody-content,.post-type-dlssus_task #wpbody-content,.post-type-dlssus_signup #wpbody-content{padding-bottom:7rem}#dashboard_right_now li.dlssus_sheet-count a:before{content:"";font-family:"fdsus"}/*# sourceMappingURL=admin.css.map */ -
sign-up-sheets/trunk/css/sass/admin.scss
r3234219 r3234235 5 5 @import "admin/settings-page"; 6 6 @import "admin/signup-edit"; 7 8 .dls_sus {9 .sr-only:not(:focus):not(:active) {10 clip: rect(0 0 0 0);11 clip-path: inset(50%);12 height: 1px;13 overflow: hidden;14 position: absolute;15 white-space: nowrap;16 width: 1px;17 }18 19 .dashicons-trash:before {20 color: #e22f2e;21 }22 23 a:hover,24 a:focus {25 .dashicons-trash:before {26 color: #ff5348;27 }28 }29 }30 31 .dls_sus .fixed .column-task_num,32 .dls_sus .fixed .column-spot_num,33 .dls_sus .fixed .column-filled_spot_num {34 width: 10%;35 }36 .dls_sus .fixed .column-id {37 width: 5%;38 }39 .dls_sus .tasks {40 margin-bottom: 3em;41 }42 .dls_sus .tasks LI {43 background: transparent url("../images/icon-drag-y.png") no-repeat scroll left center;44 padding-left: 16px;45 min-height: 20px;46 }47 .dls_sus .tasks LI:hover {48 cursor: move;49 }50 .dls_sus .tasks LI.ui-sortable-helper{51 cursor: move;52 }53 .dls_sus .tasks .add-task-after,54 .dls_sus .tasks .remove-task {55 display: inline-block;56 border: 2px solid #fff;57 color: #fff;58 width: 1.4em;59 height: 1.4em;60 line-height: 1.4em;61 text-align: center;62 text-decoration: none;63 -webkit-border-radius: 999em;64 -moz-border-radius: 999em;65 border-radius: 999em;66 }67 .dls_sus .tasks .add-task-after {68 background-color: #6f9f44;69 }70 .dls_sus .tasks .remove-task {71 background-color: #bf212e;72 }73 74 .dls_sus .dls-sus-tasks tfoot .fdsus-col-clear * {75 display: none;76 }77 78 .dls_sus .dls-sus-tasks .fdsus-col-clear input[type=checkbox] {79 margin-left: 0;80 }81 82 .dls-sus-tasks {83 tbody th {84 vertical-align: top;85 }86 }87 7 88 8 .dls-sus-pro { -
sign-up-sheets/trunk/css/sass/style/_common.scss
r3234219 r3234235 1 1 .dls-sus-sheets, 2 2 .dls-sus-sheet { 3 .s r-only:not(:focus):not(:active) {3 .screen-reader-text:not(:focus):not(:active) { 4 4 clip: rect(0 0 0 0); 5 5 clip-path: inset(50%); -
sign-up-sheets/trunk/css/style.css
r3234219 r3234235 1 :root{--fdsus-filled--background: #eee;--fdsus-filled--color: #4f4f4f;--fdsus-expired--background: var(--fdsus-filled--background);--fdsus-expired--color: var(--fdsus-filled--color)}.dls-sus-sheets .s r-only:not(:focus):not(:active),.dls-sus-sheet .sr-only:not(:focus):not(:active){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.dls-sus-sheet .fdsus-form{overflow-x:auto}table.dls-sus-tasks,table.dls-sus-sheets,.fdsus-user-sign-ups-table{border-collapse:collapse}table.dls-sus-tasks td,table.dls-sus-tasks th,table.dls-sus-sheets td,table.dls-sus-sheets th,.fdsus-user-sign-ups-table td,.fdsus-user-sign-ups-table th{border-bottom:1px solid #ccc;padding:.2em .6em;text-align:left;vertical-align:top}table.dls-sus-sheets{width:100%}table.dls-sus-sheets tr.filled{background:var(--fdsus-filled--background);color:var(--fdsus-filled--color)}table.dls-sus-sheets .column-open_spots{text-align:center}table.dls-sus-sheets .column-open_spots{text-align:center}table.dls-sus-sheets .column-view_link a::after{display:inline-block;margin-left:.2em}@supports(content: "x"/"y"){table.dls-sus-sheets .column-view_link a::after{content:"»"/""}}@supports not (content: "x"/"y"){table.dls-sus-sheets .column-view_link a::after{content:"»";alt:""}}@media(min-width: 400px){table.dls-sus-sheets .column-view_link{white-space:nowrap}}table.dls-sus-tasks{border-bottom:1px solid #ccc}table.dls-sus-tasks td,table.dls-sus-tasks th{border-bottom:0}table.dls-sus-tasks tbody th{font-weight:normal}table.dls-sus-tasks .fdsus-task-first-row th,table.dls-sus-tasks .fdsus-task-first-row td{border-top:1px solid #ccc}table.dls-sus-tasks tfoot{display:none}table.dls-sus-tasks .dls-sus-task-expired th,table.dls-sus-tasks .dls-sus-task-expired td{background:#f2f2f2;color:#000}table.dls-sus-tasks .fdsus-name{font-style:italic}.fdsus-signup-availability{font-size:.8em}.fdsus-user-sign-ups-table dl{font-size:.8em}.fdsus-user-sign-ups-table dd{margin:0;display:inline}.fdsus-user-sign-ups-table dt{display:inline-block;margin:0 .4em 0 0}.fdsus-user-sign-ups-table dd:after{content:"\a";white-space:pre}.fdsus-user-sign-ups-table .dls-sus-task-expired th,.fdsus-user-sign-ups-table .dls-sus-task-expired td{background:var(--fdsus-expired--background);color:var(--fdsus-expired--color)}.fdsus-user-sign-ups-table .fdsus-task-date,.fdsus-user-sign-ups-table .fdsus-signups-closed{font-size:.8em}.fdsus-user-sign-ups-table .fdsus-actions{float:right}tr.dls-sus-row-header td{font-size:larger;font-weight:bolder}.dlsntc-notice{display:block;padding:0;background-color:#f2f2f2;color:#000;margin:1em auto}.dlsntc-notice svg{display:inline-block;vertical-align:middle;margin-right:.4em}.dlsntc-notice svg path{fill:#000}.dlsntc-notice p,.dlsntc-notice .dlsntc-message{border-bottom:1px solid #fff;margin:0;padding:.4em .8em}.dlsntc-notice .fdsus-receipt{border:1px dashed;padding:1em;margin:.4em 0}.dlsntc-notice .fdsus-receipt .fdsus-receipt-title{margin-top:0}.dlsntc-notice .fdsus-receipt .fdsus-receipt-signed-up-date{text-align:center;display:block;margin-top:1em;font-size:.9em}.dlsntc-notice .fdsus-receipt dl{margin:0}.dlsntc-notice .fdsus-receipt dd+dt,.dlsntc-notice .fdsus-receipt dt+dd{margin-top:0;margin-left:0}.dlsntc-notice .fdsus-receipt dt{float:left;clear:left;margin-right:.6em}.dlsntc-notice .fdsus-receipt dt:after{content:":"}.dlsntc-error{background-color:#ffbaba;color:#470004}.dlsntc-error svg path{fill:#470004}.dlsntc-warn{background-color:#feefb3;color:#523100}.dlsntc-warn svg path{fill:#523100}.dlsntc-info{background-color:#bde5f8;color:#002e57}.dlsntc-info svg path{fill:#223b07}.dlsntc-success{background-color:#dff2c0;color:#223b07}.dlsntc-success svg path{fill:#223b07}.dls-sus-signup-form p{margin:0 0 1em 0}.dls-sus-signup-form label{display:block}.dls-sus-signup-form input[type=text],.dls-sus-signup-form input[type=email],.dls-sus-signup-form input[type=date],.dls-sus-signup-form select{width:98%}.dls-sus-signup-form .dls-sus-city,.dls-sus-signup-form .dls-sus-state,.dls-sus-signup-form .dls-sus-zip{display:inline-block;vertical-align:top;margin-right:2%}.dls-sus-signup-form .dls-sus-city label,.dls-sus-signup-form .dls-sus-state label,.dls-sus-signup-form .dls-sus-zip label{white-space:nowrap}.dls-sus-signup-form .dls-sus-city{width:50%}.dls-sus-signup-form .dls-sus-state{width:20%}.dls-sus-signup-form .dls-sus-zip{width:22%;margin-right:0}.dls-sus-signup-form .dls-sus-remember label{display:inline}.dls-sus-signup-form label.dls-sus-inline-label{display:inline}.dls-sus-signup-form .dls-sus-note{font-style:italic;font-size:.8em;display:block}.dls-sus-signup-form #dls-sus-website{display:none}@media(max-width: 400px){.dls-sus-signup-form .dls-sus-state,.dls-sus-signup-form .dls-sus-zip{display:block;width:50%}}#dls-sus-mailcheck-suggestion{margin:0;padding:0}#dls-sus-mailcheck-suggestion::before{display:none}.fdsus-removal-link a,.fdsus-edit-link a{margin-left:.4em}.fdsus-removal-link a svg,.fdsus-edit-link a svg{display:inline-block;fill:currentColor;margin-bottom:-0.15em}tr.dls-sus-header-row td{border-top:1px solid #ccc;font-size:larger;font-weight:bolder}.single-dlssus_sheet .pagination-single,.single-dlssus_sheet .post-meta-wrapper,.single-dlssus_sheet .post-meta{display:none}1 :root{--fdsus-filled--background: #eee;--fdsus-filled--color: #4f4f4f;--fdsus-expired--background: var(--fdsus-filled--background);--fdsus-expired--color: var(--fdsus-filled--color)}.dls-sus-sheets .screen-reader-text:not(:focus):not(:active),.dls-sus-sheet .screen-reader-text:not(:focus):not(:active){clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.dls-sus-sheet .fdsus-form{overflow-x:auto}table.dls-sus-tasks,table.dls-sus-sheets,.fdsus-user-sign-ups-table{border-collapse:collapse}table.dls-sus-tasks td,table.dls-sus-tasks th,table.dls-sus-sheets td,table.dls-sus-sheets th,.fdsus-user-sign-ups-table td,.fdsus-user-sign-ups-table th{border-bottom:1px solid #ccc;padding:.2em .6em;text-align:left;vertical-align:top}table.dls-sus-sheets{width:100%}table.dls-sus-sheets tr.filled{background:var(--fdsus-filled--background);color:var(--fdsus-filled--color)}table.dls-sus-sheets .column-open_spots{text-align:center}table.dls-sus-sheets .column-open_spots{text-align:center}table.dls-sus-sheets .column-view_link a::after{display:inline-block;margin-left:.2em}@supports(content: "x"/"y"){table.dls-sus-sheets .column-view_link a::after{content:"»"/""}}@supports not (content: "x"/"y"){table.dls-sus-sheets .column-view_link a::after{content:"»";alt:""}}@media(min-width: 400px){table.dls-sus-sheets .column-view_link{white-space:nowrap}}table.dls-sus-tasks{border-bottom:1px solid #ccc}table.dls-sus-tasks td,table.dls-sus-tasks th{border-bottom:0}table.dls-sus-tasks tbody th{font-weight:normal}table.dls-sus-tasks .fdsus-task-first-row th,table.dls-sus-tasks .fdsus-task-first-row td{border-top:1px solid #ccc}table.dls-sus-tasks tfoot{display:none}table.dls-sus-tasks .dls-sus-task-expired th,table.dls-sus-tasks .dls-sus-task-expired td{background:#f2f2f2;color:#000}table.dls-sus-tasks .fdsus-name{font-style:italic}.fdsus-signup-availability{font-size:.8em}.fdsus-user-sign-ups-table dl{font-size:.8em}.fdsus-user-sign-ups-table dd{margin:0;display:inline}.fdsus-user-sign-ups-table dt{display:inline-block;margin:0 .4em 0 0}.fdsus-user-sign-ups-table dd:after{content:"\a";white-space:pre}.fdsus-user-sign-ups-table .dls-sus-task-expired th,.fdsus-user-sign-ups-table .dls-sus-task-expired td{background:var(--fdsus-expired--background);color:var(--fdsus-expired--color)}.fdsus-user-sign-ups-table .fdsus-task-date,.fdsus-user-sign-ups-table .fdsus-signups-closed{font-size:.8em}.fdsus-user-sign-ups-table .fdsus-actions{float:right}tr.dls-sus-row-header td{font-size:larger;font-weight:bolder}.dlsntc-notice{display:block;padding:0;background-color:#f2f2f2;color:#000;margin:1em auto}.dlsntc-notice svg{display:inline-block;vertical-align:middle;margin-right:.4em}.dlsntc-notice svg path{fill:#000}.dlsntc-notice p,.dlsntc-notice .dlsntc-message{border-bottom:1px solid #fff;margin:0;padding:.4em .8em}.dlsntc-notice .fdsus-receipt{border:1px dashed;padding:1em;margin:.4em 0}.dlsntc-notice .fdsus-receipt .fdsus-receipt-title{margin-top:0}.dlsntc-notice .fdsus-receipt .fdsus-receipt-signed-up-date{text-align:center;display:block;margin-top:1em;font-size:.9em}.dlsntc-notice .fdsus-receipt dl{margin:0}.dlsntc-notice .fdsus-receipt dd+dt,.dlsntc-notice .fdsus-receipt dt+dd{margin-top:0;margin-left:0}.dlsntc-notice .fdsus-receipt dt{float:left;clear:left;margin-right:.6em}.dlsntc-notice .fdsus-receipt dt:after{content:":"}.dlsntc-error{background-color:#ffbaba;color:#470004}.dlsntc-error svg path{fill:#470004}.dlsntc-warn{background-color:#feefb3;color:#523100}.dlsntc-warn svg path{fill:#523100}.dlsntc-info{background-color:#bde5f8;color:#002e57}.dlsntc-info svg path{fill:#223b07}.dlsntc-success{background-color:#dff2c0;color:#223b07}.dlsntc-success svg path{fill:#223b07}.dls-sus-signup-form p{margin:0 0 1em 0}.dls-sus-signup-form label{display:block}.dls-sus-signup-form input[type=text],.dls-sus-signup-form input[type=email],.dls-sus-signup-form input[type=date],.dls-sus-signup-form select{width:98%}.dls-sus-signup-form .dls-sus-city,.dls-sus-signup-form .dls-sus-state,.dls-sus-signup-form .dls-sus-zip{display:inline-block;vertical-align:top;margin-right:2%}.dls-sus-signup-form .dls-sus-city label,.dls-sus-signup-form .dls-sus-state label,.dls-sus-signup-form .dls-sus-zip label{white-space:nowrap}.dls-sus-signup-form .dls-sus-city{width:50%}.dls-sus-signup-form .dls-sus-state{width:20%}.dls-sus-signup-form .dls-sus-zip{width:22%;margin-right:0}.dls-sus-signup-form .dls-sus-remember label{display:inline}.dls-sus-signup-form label.dls-sus-inline-label{display:inline}.dls-sus-signup-form .dls-sus-note{font-style:italic;font-size:.8em;display:block}.dls-sus-signup-form #dls-sus-website{display:none}@media(max-width: 400px){.dls-sus-signup-form .dls-sus-state,.dls-sus-signup-form .dls-sus-zip{display:block;width:50%}}#dls-sus-mailcheck-suggestion{margin:0;padding:0}#dls-sus-mailcheck-suggestion::before{display:none}tr.dls-sus-header-row td{border-top:1px solid #ccc;font-size:larger;font-weight:bolder}.single-dlssus_sheet .pagination-single,.single-dlssus_sheet .post-meta-wrapper,.single-dlssus_sheet .post-meta{display:none} -
sign-up-sheets/trunk/id.php
r3234219 r3234235 2 2 3 3 namespace FDSUS; 4 5 use function is_plugin_active; 6 7 if (!function_exists('is_plugin_active')) { 8 require_once(ABSPATH . 'wp-admin/includes/plugin.php'); 9 } 4 10 5 11 if (!class_exists('\\' . __NAMESPACE__ . '\Id')): … … 7 13 class Id 8 14 { 9 10 15 const PREFIX = 'dlssus'; 11 16 const NAME = 'Sign-up Sheets - WordPress Plugin'; … … 26 31 * Get version from main PHP file `Version:` comment header 27 32 * 33 * @param string $type 'pro', 'free' (not fallback) or '' for the current type 34 * 28 35 * @return string version number 29 36 */ 30 public static function version( )37 public static function version($type = '') 31 38 { 32 39 if (!function_exists('get_plugin_data')) { 33 require_once(ABSPATH . 'wp-admin' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR 34 . 'plugin.php'); 35 } 36 37 $baseName = self::isPro() ? self::PRO_PLUGIN_BASENAME : self::FREE_PLUGIN_BASENAME; 38 $pluginData = get_plugin_data(WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $baseName, false); 40 require_once(ABSPATH . 'wp-admin' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR . 'plugin.php'); 41 } 42 43 switch ($type) { 44 case 'pro': 45 $pluginBasename = self::PRO_PLUGIN_BASENAME; 46 break; 47 case 'free': 48 $pluginBasename = self::FREE_PLUGIN_BASENAME; 49 break; 50 default: 51 $pluginBasename = self::isPro() ? self::PRO_PLUGIN_BASENAME : self::FREE_PLUGIN_BASENAME; 52 } 53 54 if (!file_exists(WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $pluginBasename)) { 55 return ''; 56 } 57 58 $pluginData = get_plugin_data(WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . $pluginBasename, false, false); 39 59 40 60 return $pluginData && $pluginData['Version'] ? $pluginData['Version'] : ''; … … 44 64 * Log 45 65 * 46 * @param string $msg66 * @param string $msg 47 67 * @param string|null $filename 48 * @param string $emailSubject Leave blank to prevent email from sending68 * @param string $emailSubject Leave blank to prevent email from sending 49 69 */ 50 70 public static function log($msg, $filename = null, $emailSubject = '') … … 147 167 public static function getPluginPath() 148 168 { 149 return dirname(__FILE__) . '/';169 return dirname(__FILE__) . DIRECTORY_SEPARATOR; 150 170 } 151 171 … … 155 175 public static function isPro() 156 176 { 157 return is_file(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'pro.php'); 158 } 159 177 if (self::isProActivating()) { 178 return true; 179 } 180 181 return is_plugin_active(self::PRO_PLUGIN_BASENAME); 182 } 183 184 /** 185 * Is the pro version currently activating? 186 * 187 * @return bool 188 */ 189 public static function isProActivating() 190 { 191 if (!empty($_GET['action']) && $_GET['action'] === 'activate' 192 && !empty($_GET['plugin']) 193 && $_GET['plugin'] === Id::PRO_PLUGIN_BASENAME 194 ) { 195 return true; 196 } 197 198 return false; 199 } 160 200 } 161 201 -
sign-up-sheets/trunk/js/dist/main.js
r3234219 r3234235 37 37 // Standard general format check 38 38 function fdsusValidateEmail(email) { 39 if (email === '') return true; 39 40 const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; 40 41 return re.test(String(email).toLowerCase()); -
sign-up-sheets/trunk/js/dist/main.min.js
r3234219 r3234235 1 1 /*! main.min.js file */ 2 function fdsusExistsInQueryString(e,t){return new RegExp("[?&]"+e).test(t)}function fdsusRemoveUrlParam(t,e){let s=e.split("?")[0],i=[],n=-1!==e.indexOf("?")?e.split("?")[1]:"";if(""!==n){for(let e=(i=n.split("&")).length-1;0<=e;--e)i[e].split("=")[0]===t&&i.splice(e,1);i.length&&(s=s+"?"+i.join("&"))}return s}function fdsusIsValidDate(e){var t,s;return!(!e.match(/^\d{4}-\d{2}-\d{2}$/)||!(s=(t=new Date(e)).getTime())&&0!==s||t.toISOString().slice(0,10)!==e)}function fdsusSignupFormSubmit(e){document.getElementById("fdsus-signup-form").submit()}jQuery(document).ready(function(t){t.extend({getUrlVars:function(){for(var e,t=[],s=window.location.href.split("#")[0].slice(window.location.href.indexOf("?")+1).split("&"),i=0;i<s.length;i++)e=s[i].split("="),t.push(e[0]),t[e[0]]=e[1];return t},getUrlVar:function(e){return t.getUrlVars()[e]}}),FDSUS.dlssus_validate_email.disable||t(".dls-sus-signup-form #signup_email").on("blur",function(e){let s='<div role="alertdialog" class="dlsntc-notice dlsntc-warn"><p class="dlsntc-message"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><title>Warning</title><path d="M22.56 16.3L14.89 3.58a3.43 3.43 0 0 0-5.78 0L1.44 16.3a3 3 0 0 0-.05 3A3.37 3.37 0 0 0 4.33 21h15.34a3.37 3.37 0 0 0 2.94-1.66a3 3 0 0 0-.05-3.04zM12 17a1 1 0 1 1 1-1a1 1 0 0 1-1 1zm1-4a1 1 0 0 1-2 0V9a1 1 0 0 1 2 0z"/></svg> ',i="</p></div>",n=t(".dls-sus-signup-form #dls-sus-mailcheck-suggestion");t(this).mailcheck({suggested:function(e,t){n.html(s+"Did you mean <b><i>"+t.full+"</b></i>?"+i)},empty:function(e){var t;n.html(""), t=document.getElementById("signup_email").value,/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())?n.html(""):n.html(s+"Please make sure your email is valid"+i)}})}),t(".dls-sus-signup-form input[type=date]").on("blur",function(e){t(".fdsus-date-check").remove(),t(this).val()&&!fdsusIsValidDate(t(this).val())&&t(this).after('<div role="alertdialog" class="dlsntc-notice dlsntc-warn fdsus-date-check"><p class="dlsntc-message"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><title>Warning</title><path d="M22.56 16.3L14.89 3.58a3.43 3.43 0 0 0-5.78 0L1.44 16.3a3 3 0 0 0-.05 3A3.37 3.37 0 0 0 4.33 21h15.34a3.37 3.37 0 0 0 2.94-1.66a3 3 0 0 0-.05-3.04zM12 17a1 1 0 1 1 1-1a1 1 0 0 1-1 1zm1-4a1 1 0 0 1-2 0V9a1 1 0 0 1 2 0z"/></svg> Please make sure date is in <strong>YYYY-MM-DD</strong> format</p></div>')})}),document.addEventListener("DOMContentLoaded",function(){let n=document.getElementById("fdsus-signup-form");if(null!==n){let i=!1;n.addEventListener("submit",e=>{let t=n.querySelector("[type=submit]");var s;i||(i=!0,t.disabled=!0,setTimeout(()=>{i=!1,t.disabled=!1},3e3)),"v2-checkbox"===FDSUS.dls_sus_recaptcha_version&&null!==(s=document.querySelector("#fdsus-signup-form #g-recaptcha-response"))&&""===s.value&&(e.preventDefault(),alert("Please check the reCAPTCHA to submit the form."))})}var t=window.location.toString();if(0<t.indexOf("?")){let e=t;(fdsusExistsInQueryString("action=removed",e)||fdsusExistsInQueryString("action=signup",e)||fdsusExistsInQueryString("action=updated",e))&&fdsusExistsInQueryString("status=success",e)&&(e=fdsusRemoveUrlParam("action",e),e=fdsusRemoveUrlParam("status",e)),e!==t&&window.history.replaceState({},document.title,e)}},!1);2 function fdsusExistsInQueryString(e,t){return new RegExp("[?&]"+e).test(t)}function fdsusRemoveUrlParam(t,e){let s=e.split("?")[0],i=[],n=-1!==e.indexOf("?")?e.split("?")[1]:"";if(""!==n){for(let e=(i=n.split("&")).length-1;0<=e;--e)i[e].split("=")[0]===t&&i.splice(e,1);i.length&&(s=s+"?"+i.join("&"))}return s}function fdsusIsValidDate(e){var t,s;return!(!e.match(/^\d{4}-\d{2}-\d{2}$/)||!(s=(t=new Date(e)).getTime())&&0!==s||t.toISOString().slice(0,10)!==e)}function fdsusSignupFormSubmit(e){document.getElementById("fdsus-signup-form").submit()}jQuery(document).ready(function(t){t.extend({getUrlVars:function(){for(var e,t=[],s=window.location.href.split("#")[0].slice(window.location.href.indexOf("?")+1).split("&"),i=0;i<s.length;i++)e=s[i].split("="),t.push(e[0]),t[e[0]]=e[1];return t},getUrlVar:function(e){return t.getUrlVars()[e]}}),FDSUS.dlssus_validate_email.disable||t(".dls-sus-signup-form #signup_email").on("blur",function(e){let s='<div role="alertdialog" class="dlsntc-notice dlsntc-warn"><p class="dlsntc-message"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><title>Warning</title><path d="M22.56 16.3L14.89 3.58a3.43 3.43 0 0 0-5.78 0L1.44 16.3a3 3 0 0 0-.05 3A3.37 3.37 0 0 0 4.33 21h15.34a3.37 3.37 0 0 0 2.94-1.66a3 3 0 0 0-.05-3.04zM12 17a1 1 0 1 1 1-1a1 1 0 0 1-1 1zm1-4a1 1 0 0 1-2 0V9a1 1 0 0 1 2 0z"/></svg> ',i="</p></div>",n=t(".dls-sus-signup-form #dls-sus-mailcheck-suggestion");t(this).mailcheck({suggested:function(e,t){n.html(s+"Did you mean <b><i>"+t.full+"</b></i>?"+i)},empty:function(e){var t;n.html(""),""===(t=document.getElementById("signup_email").value)||/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(String(t).toLowerCase())?n.html(""):n.html(s+"Please make sure your email is valid"+i)}})}),t(".dls-sus-signup-form input[type=date]").on("blur",function(e){t(".fdsus-date-check").remove(),t(this).val()&&!fdsusIsValidDate(t(this).val())&&t(this).after('<div role="alertdialog" class="dlsntc-notice dlsntc-warn fdsus-date-check"><p class="dlsntc-message"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 24 24"><title>Warning</title><path d="M22.56 16.3L14.89 3.58a3.43 3.43 0 0 0-5.78 0L1.44 16.3a3 3 0 0 0-.05 3A3.37 3.37 0 0 0 4.33 21h15.34a3.37 3.37 0 0 0 2.94-1.66a3 3 0 0 0-.05-3.04zM12 17a1 1 0 1 1 1-1a1 1 0 0 1-1 1zm1-4a1 1 0 0 1-2 0V9a1 1 0 0 1 2 0z"/></svg> Please make sure date is in <strong>YYYY-MM-DD</strong> format</p></div>')})}),document.addEventListener("DOMContentLoaded",function(){let n=document.getElementById("fdsus-signup-form");if(null!==n){let i=!1;n.addEventListener("submit",e=>{let t=n.querySelector("[type=submit]");var s;i||(i=!0,t.disabled=!0,setTimeout(()=>{i=!1,t.disabled=!1},3e3)),"v2-checkbox"===FDSUS.dls_sus_recaptcha_version&&null!==(s=document.querySelector("#fdsus-signup-form #g-recaptcha-response"))&&""===s.value&&(e.preventDefault(),alert("Please check the reCAPTCHA to submit the form."))})}var t=window.location.toString();if(0<t.indexOf("?")){let e=t;(fdsusExistsInQueryString("action=removed",e)||fdsusExistsInQueryString("action=signup",e)||fdsusExistsInQueryString("action=updated",e))&&fdsusExistsInQueryString("status=success",e)&&(e=fdsusRemoveUrlParam("action",e),e=fdsusRemoveUrlParam("status",e)),e!==t&&window.history.replaceState({},document.title,e)}},!1); -
sign-up-sheets/trunk/js/src/main.js
r3234219 r3234235 37 37 // Standard general format check 38 38 function fdsusValidateEmail(email) { 39 if (email === '') return true; 39 40 const re = /^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/; 40 41 return re.test(String(email).toLowerCase()); -
sign-up-sheets/trunk/languages/sign-up-sheets.pot
r3234219 r3234235 1 # Copyright (C) 202 4Fetch Designs1 # Copyright (C) 2025 Fetch Designs 2 2 # This file is distributed under the GPL2. 3 3 msgid "" 4 4 msgstr "" 5 "Project-Id-Version: Sign-up Sheets 2. 2.14\n"5 "Project-Id-Version: Sign-up Sheets 2.3.0.1\n" 6 6 "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/sign-up-sheets\n" 7 7 "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" … … 10 10 "Content-Type: text/plain; charset=UTF-8\n" 11 11 "Content-Transfer-Encoding: 8bit\n" 12 "POT-Creation-Date: 202 4-10-08T02:01:29+00:00\n"12 "POT-Creation-Date: 2025-02-03T19:47:12+00:00\n" 13 13 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" 14 "X-Generator: WP-CLI 2. 6.0\n"15 "X-Domain: fdsus\n"14 "X-Generator: WP-CLI 2.11.0\n" 15 "X-Domain: sign-up-sheets\n" 16 16 17 17 #. Plugin Name of the plugin 18 #: sign-up-sheets.php 18 19 #: controller/admin/help.php:64 19 20 #: controller/admin/settings.php:71 20 21 #: controller/admin/site-health.php:50 21 #: model/sheet-base.php:21 022 #: model/sheet-base.php:211 22 23 msgid "Sign-up Sheets" 23 24 msgstr "" 24 25 25 26 #. Plugin URI of the plugin 27 #: sign-up-sheets.php 26 28 msgid "https://www.fetchdesigns.com/sign-up-sheets-wordpress-plugin/" 27 29 msgstr "" 28 30 29 31 #. Description of the plugin 32 #: sign-up-sheets.php 30 33 msgid "An online sign-up sheet manager where your users/volunteers can sign up for tasks" 31 34 msgstr "" 32 35 33 36 #. Author of the plugin 37 #: sign-up-sheets.php 34 38 msgid "Fetch Designs" 35 39 msgstr "" 36 40 37 41 #. Author URI of the plugin 42 #: sign-up-sheets.php 38 43 msgid "https://www.fetchdesigns.com/" 39 44 msgstr "" … … 78 83 msgstr "" 79 84 80 #: controller/admin.php:29 485 #: controller/admin.php:298 81 86 msgid "ID" 82 87 msgstr "" 83 88 84 #: controller/admin.php:30 389 #: controller/admin.php:307 85 90 #: controller/admin/manage-signups.php:38 86 91 #: controller/admin/manage-signups.php:39 … … 90 95 msgstr "" 91 96 92 #: controller/admin.php:32 297 #: controller/admin.php:326 93 98 msgid "Copy" 94 99 msgstr "" 95 100 96 #: controller/admin.php:37 2101 #: controller/admin.php:376 97 102 msgid "Made by" 98 103 msgstr "" 99 104 100 #: controller/admin.php:37 5105 #: controller/admin.php:379 101 106 msgid "Get Pro" 102 107 msgstr "" 103 108 104 #: controller/admin.php:3 79109 #: controller/admin.php:383 105 110 msgid "Need help? Get Support »" 106 111 msgstr "" 107 112 108 #: controller/admin.php: 398113 #: controller/admin.php:402 109 114 #: controller/admin/settings.php:52 110 115 #: controller/admin/settings.php:73 … … 145 150 146 151 #: controller/admin/edit-signup-page.php:89 147 #: controller/task-table.php:5 16152 #: controller/task-table.php:532 148 153 msgid "Add Sign-up" 149 154 msgstr "" … … 160 165 #: controller/admin/manage-signups.php:78 161 166 #: controller/mail.php:174 162 #: controller/sheet.php:34 1167 #: controller/sheet.php:345 163 168 #: model/meta-boxes.php:42 164 169 #: theme-files/fdsus/sheet-list.php:35 … … 174 179 175 180 #: controller/admin/edit-signup-page.php:143 176 #: model/task-base.php:9 4181 #: model/task-base.php:92 177 182 msgid "Task" 178 183 msgstr "" … … 268 273 #: controller/privacy.php:23 269 274 #: controller/scode/user-sign-ups.php:143 270 #: controller/task-table.php: 190271 #: model/signup.php:5 30272 #: theme-files/fdsus/sign-up-form.php:8 5275 #: controller/task-table.php:204 276 #: model/signup.php:529 277 #: theme-files/fdsus/sign-up-form.php:87 273 278 msgid "Address" 274 279 msgstr "" … … 276 281 #: controller/admin/export.php:303 277 282 #: controller/privacy.php:24 278 #: controller/task-table.php: 191279 #: theme-files/fdsus/sign-up-form.php:9 7283 #: controller/task-table.php:205 284 #: theme-files/fdsus/sign-up-form.php:99 280 285 msgid "City" 281 286 msgstr "" … … 283 288 #: controller/admin/export.php:304 284 289 #: controller/privacy.php:25 285 #: controller/task-table.php: 192286 #: theme-files/fdsus/sign-up-form.php:1 09290 #: controller/task-table.php:206 291 #: theme-files/fdsus/sign-up-form.php:111 287 292 msgid "State" 288 293 msgstr "" … … 290 295 #: controller/admin/export.php:305 291 296 #: controller/privacy.php:26 292 #: controller/task-table.php: 193293 #: theme-files/fdsus/sign-up-form.php:12 6297 #: controller/task-table.php:207 298 #: theme-files/fdsus/sign-up-form.php:128 294 299 msgid "Zip" 295 300 msgstr "" … … 367 372 368 373 #: controller/admin/help.php:187 369 #: model/settings-meta-boxes.php:39 0370 #: model/settings-meta-boxes.php:43 1371 #: model/settings-meta-boxes.php:5 09374 #: model/settings-meta-boxes.php:396 375 #: model/settings-meta-boxes.php:437 376 #: model/settings-meta-boxes.php:515 372 377 msgid "Message" 373 378 msgstr "" … … 408 413 #: controller/admin/manage-signups.php:87 409 414 #: controller/privacy.php:96 410 #: model/signup.php:10 5415 #: model/signup.php:103 411 416 msgid "Sign-ups" 412 417 msgstr "" … … 498 503 msgstr "" 499 504 500 #: controller/captcha.php:73 505 #: controller/captcha.php:65 506 msgid "Math Question" 507 msgstr "" 508 509 #: controller/captcha.php:97 501 510 msgid "Please check that the reCAPTCHA field is valid." 502 511 msgstr "" 503 512 504 513 #. translators: %s is replaced with the users response to the simple captcha 505 #: controller/captcha.php: 83514 #: controller/captcha.php:107 506 515 msgid "Oh dear, 7 + 1 does not equal %s. Please try again." 507 516 msgstr "" … … 532 541 #: controller/migrate.php:645 533 542 #: model/meta-boxes.php:26 534 #: model/meta-boxes.php:16 2543 #: model/meta-boxes.php:169 535 544 msgid "Global" 536 545 msgstr "" 537 546 538 547 #: controller/migrate.php:646 539 #: model/meta-boxes.php:1 63548 #: model/meta-boxes.php:170 540 549 #: model/settings-meta-boxes.php:138 541 550 msgid "Disabled" … … 543 552 544 553 #: controller/migrate.php:647 545 #: model/meta-boxes.php:1 64554 #: model/meta-boxes.php:171 546 555 #: model/settings-meta-boxes.php:139 547 556 msgid "Enabled" … … 549 558 550 559 #: controller/migrate.php:648 551 #: model/meta-boxes.php:1 65560 #: model/meta-boxes.php:172 552 561 #: model/settings-meta-boxes.php:140 553 562 msgid "Semi-Compact" … … 555 564 556 565 #: controller/migrate.php:650 557 #: model/meta-boxes.php:1 67566 #: model/meta-boxes.php:174 558 567 #: model/settings-meta-boxes.php:136 559 568 msgid "Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming \"Front-end Display Names\" is not set to \"anonymous\"" … … 561 570 562 571 #: controller/migrate.php:689 563 #: model/meta-boxes.php:1 49564 #: model/settings-meta-boxes.php:48 3572 #: model/meta-boxes.php:156 573 #: model/settings-meta-boxes.php:489 565 574 msgid "Number of days before the date on the sign-up sheet that the email should be sent. Use whole numbers, for example, to remind one day before use..." 566 575 msgstr "" 567 576 568 577 #: controller/migrate.php:689 569 #: model/meta-boxes.php:15 1578 #: model/meta-boxes.php:158 570 579 msgid "(If this is blank Global setting is used. Global setting in Settings > Sign-up Sheets.)" 571 580 msgstr "" … … 573 582 #: controller/migrate.php:697 574 583 #: controller/migrate.php:705 575 #: model/meta-boxes.php:21 2576 #: model/meta-boxes.php:22 1584 #: model/meta-boxes.php:219 585 #: model/meta-boxes.php:228 577 586 msgid "Global setting in Settings > Sign-up Sheets" 578 587 msgstr "" … … 593 602 594 603 #: controller/post-type-base.php:95 595 #: controller/task-table.php:4 20604 #: controller/task-table.php:436 596 605 #: lib/dls/meta-boxes/meta-boxes.php:775 597 606 msgid "Edit" … … 631 640 632 641 #: controller/privacy.php:20 633 #: model/signup.php:51 3642 #: model/signup.php:512 634 643 #: theme-files/fdsus/sign-up-form.php:33 635 644 msgid "First Name" … … 637 646 638 647 #: controller/privacy.php:21 639 #: model/signup.php:51 6648 #: model/signup.php:515 640 649 #: theme-files/fdsus/sign-up-form.php:43 641 650 msgid "Last Name" … … 644 653 #: controller/privacy.php:22 645 654 #: controller/scode/user-sign-ups.php:136 646 #: controller/task-table.php: 187647 #: model/signup.php:52 2648 #: theme-files/fdsus/sign-up-form.php:7 0655 #: controller/task-table.php:201 656 #: model/signup.php:521 657 #: theme-files/fdsus/sign-up-form.php:72 649 658 msgid "Phone" 650 659 msgstr "" … … 743 752 744 753 #. translators: %s is replaced with the task title 745 #: controller/sheet.php:42 0754 #: controller/sheet.php:424 746 755 msgid "You have been signed up for %s!" 747 756 msgstr "" 748 757 749 #: controller/task-table.php:1 82758 #: controller/task-table.php:194 750 759 msgid "Name" 751 760 msgstr "" 752 761 753 #: controller/task-table.php:1 85754 #: model/signup.php:51 9762 #: controller/task-table.php:198 763 #: model/signup.php:518 755 764 #: theme-files/fdsus/sign-up-form.php:54 756 765 msgid "E-mail" 757 766 msgstr "" 758 767 759 #: controller/task-table.php:2 14768 #: controller/task-table.php:228 760 769 msgid "Select all spots to Clear" 761 770 msgstr "" 762 771 763 #: controller/task-table.php:2 17772 #: controller/task-table.php:231 764 773 msgid "Clear Selected" 765 774 msgstr "" 766 775 767 #: controller/task-table.php:2 17776 #: controller/task-table.php:231 768 777 msgid "This will permanently remove all selected sign-ups for this sheet." 769 778 msgstr "" 770 779 771 780 #. translators: %d is replaced with the spot number 772 #: controller/task-table.php:3 63781 #: controller/task-table.php:377 773 782 msgid "#%d:" 774 783 msgstr "" 775 784 776 785 #. translators: %s is replaced with the index of the spot within the current task 777 #: controller/task-table.php:4 12786 #: controller/task-table.php:428 778 787 msgid "Select spot #%s to clear" 779 788 msgstr "" 780 789 781 #: controller/task-table.php:4 27790 #: controller/task-table.php:443 782 791 msgid "Additional Details" 783 792 msgstr "" 784 793 785 #: controller/task-table.php:4 34794 #: controller/task-table.php:450 786 795 msgid "Added" 787 796 msgstr "" 788 797 789 #: controller/task-table.php:4 35798 #: controller/task-table.php:451 790 799 msgid "Updated" 791 800 msgstr "" 792 801 793 #: controller/task-table.php:4 36802 #: controller/task-table.php:452 794 803 msgid "Linked user" 795 804 msgstr "" 796 805 797 #: controller/task-table.php:4 41806 #: controller/task-table.php:457 798 807 msgid "Clear Spot Now" 799 808 msgstr "" 800 809 801 #: controller/task-table.php:4 42810 #: controller/task-table.php:458 802 811 msgid "This will permanently remove this sign-up." 803 812 msgstr "" 804 813 805 #: controller/task-table.php:5 12814 #: controller/task-table.php:528 806 815 msgid "(empty)" 807 816 msgstr "" 808 817 809 #: controller/task-table.php:5 22818 #: controller/task-table.php:538 810 819 msgid " - sign-ups closed" 811 820 msgstr "" 812 821 813 #: controller/task-table.php:5 54822 #: controller/task-table.php:577 814 823 msgid "No tasks were found." 815 824 msgstr "" … … 840 849 msgstr "" 841 850 842 #. translators: %1$s is replaced with the pro plugin version number, %2$s is replaced with the free plugin version number843 #: main.php:272844 msgid "The <strong>Sign-up Sheets Pro</strong> plugin version (%1$s) does not match the version number of the main <strong>Sign-up Sheets</strong> plugin (%2$s). Please update so both version numbers match to prevent possible conflicts."845 msgstr ""846 847 851 #: model/base.php:305 848 852 msgid "Sunday" … … 882 886 883 887 #: model/meta-boxes.php:53 884 #: model/task-base.php:9 4888 #: model/task-base.php:92 885 889 msgid "Tasks" 886 890 msgstr "" … … 906 910 907 911 #: model/meta-boxes.php:115 912 #: model/settings-meta-boxes.php:265 913 msgid "Set Email as Optional" 914 msgstr "" 915 916 #: model/meta-boxes.php:122 908 917 #: model/settings-meta-boxes.php:271 909 918 msgid "Hide Phone Field" 910 919 msgstr "" 911 920 912 #: model/meta-boxes.php:12 2921 #: model/meta-boxes.php:129 913 922 #: model/settings-meta-boxes.php:277 914 923 msgid "Hide Address Fields" 915 924 msgstr "" 916 925 917 #: model/meta-boxes.php:1 29918 #: model/settings-meta-boxes.php:2 65926 #: model/meta-boxes.php:136 927 #: model/settings-meta-boxes.php:283 919 928 msgid "Hide Email Field" 920 929 msgstr "" 921 930 922 #: model/meta-boxes.php:1 36931 #: model/meta-boxes.php:143 923 932 msgid "Sheet Specific BCC" 924 933 msgstr "" 925 934 926 #: model/meta-boxes.php:1 39935 #: model/meta-boxes.php:146 927 936 msgid "Comma-separated list of emails to be copied on confirmations/removals" 928 937 msgstr "" 929 938 930 #: model/meta-boxes.php:1 45931 #: model/settings-meta-boxes.php:48 0939 #: model/meta-boxes.php:152 940 #: model/settings-meta-boxes.php:486 932 941 msgid "Reminder Schedule" 933 942 msgstr "" 934 943 935 #: model/meta-boxes.php:1 58944 #: model/meta-boxes.php:165 936 945 #: model/settings-meta-boxes.php:133 937 946 msgid "Compact Sign-up Mode" 938 947 msgstr "" 939 948 940 #: model/meta-boxes.php:1 73949 #: model/meta-boxes.php:180 941 950 #: model/settings-meta-boxes.php:162 942 951 msgid "Enable Task Checkboxes" 943 952 msgstr "" 944 953 945 #: model/meta-boxes.php:18 1954 #: model/meta-boxes.php:188 946 955 #: model/settings-meta-boxes.php:146 947 956 msgid "Enable task sign-up limit" 948 957 msgstr "" 949 958 950 #: model/meta-boxes.php:1 89959 #: model/meta-boxes.php:196 951 960 #: model/settings-meta-boxes.php:154 952 961 msgid "Enable contiguous task sign-up limit" 953 962 msgstr "" 954 963 955 #: model/meta-boxes.php: 197964 #: model/meta-boxes.php:204 956 965 msgid "Auto-clear Schedule" 957 966 msgstr "" 958 967 959 #: model/meta-boxes.php:20 2968 #: model/meta-boxes.php:209 960 969 msgid "Auto-clear is not currently allowed globally under \"Sign-up Sheets > Settings\". Enable it for this setting to take effect." 961 970 msgstr "" 962 971 963 #: model/meta-boxes.php:2 09972 #: model/meta-boxes.php:216 964 973 msgid "Confirmation Email Message" 965 974 msgstr "" 966 975 967 #: model/meta-boxes.php:2 18976 #: model/meta-boxes.php:225 968 977 msgid "Reminder Email Message" 969 978 msgstr "" 970 979 971 980 #: model/settings-meta-boxes.php:84 972 #: model/sheet-base.php:21 0981 #: model/sheet-base.php:211 973 982 msgid "Sign-up Sheet" 974 983 msgstr "" … … 1072 1081 #. translators: %s is replaced with the timestamp of the next cron scheduled 1073 1082 #: model/settings-meta-boxes.php:207 1074 #: model/settings-meta-boxes.php:4 671083 #: model/settings-meta-boxes.php:473 1075 1084 msgid "Next scheduled check: %s" 1076 1085 msgstr "" … … 1085 1094 1086 1095 #: model/settings-meta-boxes.php:214 1087 #: model/settings-meta-boxes.php:47 21096 #: model/settings-meta-boxes.php:478 1088 1097 msgid "WordPress Cron" 1089 1098 msgstr "" 1090 1099 1091 1100 #: model/settings-meta-boxes.php:216 1092 #: model/settings-meta-boxes.php:4 741101 #: model/settings-meta-boxes.php:480 1093 1102 msgid "If you just enabled/disabled this, you may need to refresh this page to see the updated \"Next scheduled check\"" 1094 1103 msgstr "" … … 1106 1115 msgstr "" 1107 1116 1108 #: model/settings-meta-boxes.php:28 31117 #: model/settings-meta-boxes.php:289 1109 1118 msgid "Disable User Auto-populate" 1110 1119 msgstr "" 1111 1120 1112 #: model/settings-meta-boxes.php:2 861121 #: model/settings-meta-boxes.php:292 1113 1122 msgid "By default, for users that are logged in, their name and email auto-populates on sign-up form when available. This option disables that behavior." 1114 1123 msgstr "" 1115 1124 1116 #: model/settings-meta-boxes.php:29 01125 #: model/settings-meta-boxes.php:296 1117 1126 msgid "Disable Mail Check Validation" 1118 1127 msgstr "" 1119 1128 1120 #: model/settings-meta-boxes.php:29 31129 #: model/settings-meta-boxes.php:299 1121 1130 msgid "Validation includes a JS check for standard email formatting, possible incorrect domains with suggestions as well as an MX record check on the domain to confirm it is setup to receive emails" 1122 1131 msgstr "" 1123 1132 1124 #: model/settings-meta-boxes.php: 2971133 #: model/settings-meta-boxes.php:303 1125 1134 msgid "Disable sign-up link auto-scroll to sheet (hash in sign-up link)" 1126 1135 msgstr "" 1127 1136 1128 #: model/settings-meta-boxes.php:30 01137 #: model/settings-meta-boxes.php:306 1129 1138 msgid "The hash on the sign-up link is useful especially on longer pages where sheets are embedded further down the page or where the sheet description is longer. When the feature is enabled and the user clicks the sign-up link, it includes a `#` hash to and ID pointing to that same location where the sign-up form will appear on the next page." 1130 1139 msgstr "" 1131 1140 1132 #: model/settings-meta-boxes.php:3 041141 #: model/settings-meta-boxes.php:310 1133 1142 msgid "Sign-up Success Message Receipt" 1134 1143 msgstr "" 1135 1144 1136 #: model/settings-meta-boxes.php:3 071145 #: model/settings-meta-boxes.php:313 1137 1146 msgid "Displays a receipt below the sign-up success message which includes a copy of all the task details and all fields they entered in the sign-up form. Default: `unchecked`" 1138 1147 msgstr "" 1139 1148 1140 #: model/settings-meta-boxes.php:31 21149 #: model/settings-meta-boxes.php:318 1141 1150 msgid "Custom Sign-up Fields" 1142 1151 msgstr "" 1143 1152 1144 #: model/settings-meta-boxes.php:33 31153 #: model/settings-meta-boxes.php:339 1145 1154 msgid "Captcha and Spam Prevention" 1146 1155 msgstr "" 1147 1156 1148 #: model/settings-meta-boxes.php:3 371157 #: model/settings-meta-boxes.php:343 1149 1158 msgid "Disable honeypot" 1150 1159 msgstr "" 1151 1160 1152 #: model/settings-meta-boxes.php:34 01161 #: model/settings-meta-boxes.php:346 1153 1162 msgid "A honeypot is a less-invasive technique to reduce SPAM submission using a hidden field on the sign-up form. It can be used in place of or alongside the captcha." 1154 1163 msgstr "" 1155 1164 1156 #: model/settings-meta-boxes.php:34 31165 #: model/settings-meta-boxes.php:349 1157 1166 msgid "Disable all Captcha" 1158 1167 msgstr "" 1159 1168 1160 #: model/settings-meta-boxes.php:3 451169 #: model/settings-meta-boxes.php:351 1161 1170 msgid "Will disable all captcha even if you have reCAPTCHA enabled below" 1162 1171 msgstr "" 1163 1172 1164 #: model/settings-meta-boxes.php:3 461173 #: model/settings-meta-boxes.php:352 1165 1174 msgid "Will replace the default simple captcha validation" 1166 1175 msgstr "" 1167 1176 1168 #: model/settings-meta-boxes.php:3 471169 #: model/settings-meta-boxes.php:3 481177 #: model/settings-meta-boxes.php:353 1178 #: model/settings-meta-boxes.php:354 1170 1179 msgid "From your account at https://www.google.com/recaptcha/" 1171 1180 msgstr "" 1172 1181 1173 #: model/settings-meta-boxes.php:3 551182 #: model/settings-meta-boxes.php:361 1174 1183 msgid "Confirmation E-mail" 1175 1184 msgstr "" 1176 1185 1177 #: model/settings-meta-boxes.php:3 591178 #: model/settings-meta-boxes.php:42 31186 #: model/settings-meta-boxes.php:365 1187 #: model/settings-meta-boxes.php:429 1179 1188 msgid "Enable" 1180 1189 msgstr "" 1181 1190 1182 #: model/settings-meta-boxes.php:3 671183 #: model/settings-meta-boxes.php:4 871184 #: model/settings-meta-boxes.php:5 461191 #: model/settings-meta-boxes.php:373 1192 #: model/settings-meta-boxes.php:493 1193 #: model/settings-meta-boxes.php:552 1185 1194 msgid "Subject" 1186 1195 msgstr "" 1187 1196 1188 1197 #. translators: %s is replaced with the default subject 1189 #: model/settings-meta-boxes.php:37 11190 #: model/settings-meta-boxes.php:49 11191 #: model/settings-meta-boxes.php:55 01198 #: model/settings-meta-boxes.php:377 1199 #: model/settings-meta-boxes.php:497 1200 #: model/settings-meta-boxes.php:556 1192 1201 msgid "If blank, defaults to... \"%s\"" 1193 1202 msgstr "" 1194 1203 1195 #: model/settings-meta-boxes.php:3 751196 #: model/settings-meta-boxes.php: 4951197 #: model/settings-meta-boxes.php:5 541204 #: model/settings-meta-boxes.php:381 1205 #: model/settings-meta-boxes.php:501 1206 #: model/settings-meta-boxes.php:560 1198 1207 msgid "From E-mail Address" 1199 1208 msgstr "" 1200 1209 1201 #: model/settings-meta-boxes.php:3 781202 #: model/settings-meta-boxes.php: 4981203 #: model/settings-meta-boxes.php:5 571210 #: model/settings-meta-boxes.php:384 1211 #: model/settings-meta-boxes.php:504 1212 #: model/settings-meta-boxes.php:563 1204 1213 msgid "If blank, defaults to WordPress email on file under Settings > General" 1205 1214 msgstr "" 1206 1215 1207 #: model/settings-meta-boxes.php:38 21208 #: model/settings-meta-boxes.php:50 21216 #: model/settings-meta-boxes.php:388 1217 #: model/settings-meta-boxes.php:508 1209 1218 msgid "BCC" 1210 1219 msgstr "" 1211 1220 1212 #: model/settings-meta-boxes.php:3 851213 #: model/settings-meta-boxes.php:5 051221 #: model/settings-meta-boxes.php:391 1222 #: model/settings-meta-boxes.php:511 1214 1223 msgid "Comma separate for multiple email addresses" 1215 msgstr ""1216 1217 #: model/settings-meta-boxes.php:4021218 #: model/settings-meta-boxes.php:4421219 #: model/settings-meta-boxes.php:5201220 msgid "Variables that can be used in template..."1221 msgstr ""1222 1223 #: model/settings-meta-boxes.php:4031224 #: model/settings-meta-boxes.php:4431225 #: model/settings-meta-boxes.php:5211226 msgid "Multi-line list of sign-up details such as date, sheet title, task title"1227 msgstr ""1228 1229 #: model/settings-meta-boxes.php:4041230 #: model/settings-meta-boxes.php:4441231 #: model/settings-meta-boxes.php:5221232 msgid "First name of user that signed up"1233 msgstr ""1234 1235 #: model/settings-meta-boxes.php:4051236 #: model/settings-meta-boxes.php:4451237 #: model/settings-meta-boxes.php:5231238 msgid "Last name of user that signed up"1239 msgstr ""1240 1241 #: model/settings-meta-boxes.php:4061242 #: model/settings-meta-boxes.php:4461243 #: model/settings-meta-boxes.php:5241244 msgid "Email of user that signed up"1245 msgstr ""1246 1247 #: model/settings-meta-boxes.php:4071248 #: model/settings-meta-boxes.php:4471249 #: model/settings-meta-boxes.php:5251250 msgid "Name of site as defined in Settings > General > Site Title"1251 1224 msgstr "" 1252 1225 … … 1254 1227 #: model/settings-meta-boxes.php:448 1255 1228 #: model/settings-meta-boxes.php:526 1229 msgid "Variables that can be used in template..." 1230 msgstr "" 1231 1232 #: model/settings-meta-boxes.php:409 1233 #: model/settings-meta-boxes.php:449 1234 #: model/settings-meta-boxes.php:527 1235 msgid "Multi-line list of sign-up details such as date, sheet title, task title" 1236 msgstr "" 1237 1238 #: model/settings-meta-boxes.php:410 1239 #: model/settings-meta-boxes.php:450 1240 #: model/settings-meta-boxes.php:528 1241 msgid "First name of user that signed up" 1242 msgstr "" 1243 1244 #: model/settings-meta-boxes.php:411 1245 #: model/settings-meta-boxes.php:451 1246 #: model/settings-meta-boxes.php:529 1247 msgid "Last name of user that signed up" 1248 msgstr "" 1249 1250 #: model/settings-meta-boxes.php:412 1251 #: model/settings-meta-boxes.php:452 1252 #: model/settings-meta-boxes.php:530 1253 msgid "Email of user that signed up" 1254 msgstr "" 1255 1256 #: model/settings-meta-boxes.php:413 1257 #: model/settings-meta-boxes.php:453 1258 #: model/settings-meta-boxes.php:531 1259 msgid "Name of site as defined in Settings > General > Site Title" 1260 msgstr "" 1261 1262 #: model/settings-meta-boxes.php:414 1263 #: model/settings-meta-boxes.php:454 1264 #: model/settings-meta-boxes.php:532 1256 1265 msgid "URL of site" 1257 1266 msgstr "" 1258 1267 1259 #: model/settings-meta-boxes.php:4 091268 #: model/settings-meta-boxes.php:415 1260 1269 msgid "Link to remove sign-up" 1261 1270 msgstr "" 1262 1271 1263 #: model/settings-meta-boxes.php:4 191272 #: model/settings-meta-boxes.php:425 1264 1273 msgid "Removal Confirmation E-mail" 1265 1274 msgstr "" 1266 1275 1267 #: model/settings-meta-boxes.php:4 581276 #: model/settings-meta-boxes.php:464 1268 1277 msgid "Reminder E-mail" 1269 1278 msgstr "" 1270 1279 1271 #: model/settings-meta-boxes.php:4 581280 #: model/settings-meta-boxes.php:464 1272 1281 msgid "Pro Feature" 1273 1282 msgstr "" 1274 1283 1275 #: model/settings-meta-boxes.php:4 581284 #: model/settings-meta-boxes.php:464 1276 1285 msgid "Pro" 1277 1286 msgstr "" 1278 1287 1279 #: model/settings-meta-boxes.php:46 21288 #: model/settings-meta-boxes.php:468 1280 1289 msgid "Enable Reminders" 1281 1290 msgstr "" 1282 1291 1283 #: model/settings-meta-boxes.php:47 11292 #: model/settings-meta-boxes.php:477 1284 1293 msgid "Your site will check hourly to see if there are reminders that need to be sent using the" 1285 1294 msgstr "" 1286 1295 1287 #: model/settings-meta-boxes.php:48 31296 #: model/settings-meta-boxes.php:489 1288 1297 msgid "This field is required." 1289 1298 msgstr "" 1290 1299 1291 #: model/settings-meta-boxes.php:5 351300 #: model/settings-meta-boxes.php:541 1292 1301 msgid "Status E-mail" 1293 1302 msgstr "" 1294 1303 1295 #: model/settings-meta-boxes.php:5 391304 #: model/settings-meta-boxes.php:545 1296 1305 msgid "Enable Status E-mail" 1297 1306 msgstr "" 1298 1307 1299 #: model/settings-meta-boxes.php:54 21308 #: model/settings-meta-boxes.php:548 1300 1309 msgid "Shows all signups for a sheet. Sent when a user adds or removes a signup from the frontend." 1301 1310 msgstr "" 1302 1311 1303 #: model/settings-meta-boxes.php:56 11312 #: model/settings-meta-boxes.php:567 1304 1313 msgid "Send to main admin emails" 1305 1314 msgstr "" 1306 1315 1307 #: model/settings-meta-boxes.php:5 641316 #: model/settings-meta-boxes.php:570 1308 1317 msgid "E-mail address specified under Settings > General" 1309 1318 msgstr "" 1310 1319 1311 #: model/settings-meta-boxes.php:5 681320 #: model/settings-meta-boxes.php:574 1312 1321 msgid "Send to \"Sheet BCC\" recipients" 1313 1322 msgstr "" 1314 1323 1315 #: model/settings-meta-boxes.php:57 11324 #: model/settings-meta-boxes.php:577 1316 1325 msgid "These addresses will be added as a recipient only for sheets on which they are assigned." 1317 1326 msgstr "" 1318 1327 1319 #: model/settings-meta-boxes.php:5 791328 #: model/settings-meta-boxes.php:585 1320 1329 msgid "Advanced" 1321 1330 msgstr "" 1322 1331 1323 #: model/settings-meta-boxes.php:5 881332 #: model/settings-meta-boxes.php:594 1324 1333 msgid "Reset All Settings" 1325 1334 msgstr "" 1326 1335 1327 #: model/settings-meta-boxes.php:5911328 1336 #: model/settings-meta-boxes.php:597 1337 #: model/settings-meta-boxes.php:603 1329 1338 msgid "This will erase any custom configurations you have made on this page and reset them back to the defaults. This action cannot be undone." 1330 1339 msgstr "" 1331 1340 1332 #: model/settings-meta-boxes.php: 5961341 #: model/settings-meta-boxes.php:602 1333 1342 msgid "Are you sure?" 1334 1343 msgstr "" 1335 1344 1336 #: model/settings-meta-boxes.php:6 061345 #: model/settings-meta-boxes.php:612 1337 1346 msgid "Text Overrides" 1338 1347 msgstr "" … … 1378 1387 msgstr "" 1379 1388 1380 #: model/sheet-base.php:28 01389 #: model/sheet-base.php:281 1381 1390 msgid " (Copy)" 1382 1391 msgstr "" 1383 1392 1384 #: model/signup.php:10 51393 #: model/signup.php:103 1385 1394 msgid "Sign-up" 1386 1395 msgstr "" 1387 1396 1388 1397 #. translators: %1$s is replaced with task title and %2$s is replaced with optional detailed errors if enabled 1389 #: model/signup.php:1 501398 #: model/signup.php:148 1390 1399 msgid "Error adding signup for %1$s. All spots are filled. %2$s" 1391 1400 msgstr "" 1392 1401 1393 #: model/signup.php:18 41402 #: model/signup.php:183 1394 1403 msgid "You have already signed up for this task. Do you want to sign up again?" 1395 1404 msgstr "" 1396 1405 1406 #: model/signup.php:208 1407 msgid "Yes, sign me up" 1408 msgstr "" 1409 1397 1410 #: model/signup.php:209 1398 msgid "Yes, sign me up"1399 msgstr ""1400 1401 #: model/signup.php:2101402 1411 msgid "No, thanks" 1403 1412 msgstr "" 1404 1413 1405 1414 #. translators: %s is replaced with the sign-up email 1406 #: model/signup.php:23 71407 #: model/signup.php:34 41415 #: model/signup.php:236 1416 #: model/signup.php:343 1408 1417 msgid "Error adding the sign-up for \"%s\"" 1409 1418 msgstr "" 1410 1419 1411 #: model/signup.php:5461412 msgid "Math Question"1413 msgstr ""1414 1415 1420 #. translators: %s is replaced with the task title 1416 #: model/task-base.php:15 71421 #: model/task-base.php:155 1417 1422 msgid "Error adding the task \"%s\"" 1418 1423 msgstr "" 1419 1424 1420 #: model/task-base.php:19 21425 #: model/task-base.php:190 1421 1426 msgid "Error adding additional fields to task." 1422 1427 msgstr "" 1423 1428 1424 1429 #. translators: %s is replaced with the task title 1425 #: model/task-base.php:2 411430 #: model/task-base.php:239 1426 1431 msgid "Error updating the task \"%s\"" 1427 1432 msgstr "" 1428 1433 1429 #: model/task-base.php:28 51434 #: model/task-base.php:283 1430 1435 msgid "Error deleting task." 1431 1436 msgstr "" 1432 1437 1433 #: model/task-base.php:49 71438 #: model/task-base.php:495 1434 1439 msgid "Sign up »" 1435 1440 msgstr "" … … 1488 1493 msgstr "" 1489 1494 1490 #: theme-files/fdsus/sign-up-form.php:14 51495 #: theme-files/fdsus/sign-up-form.php:147 1491 1496 msgid "required" 1492 1497 msgstr "" 1493 1498 1494 #: theme-files/fdsus/sign-up-form.php:16 11499 #: theme-files/fdsus/sign-up-form.php:163 1495 1500 msgid "or" 1496 1501 msgstr "" 1497 1502 1498 #: theme-files/fdsus/sign-up-form.php:16 31503 #: theme-files/fdsus/sign-up-form.php:165 1499 1504 msgid "« go back to the Sign-Up Sheet" 1500 1505 msgstr "" … … 1512 1517 msgstr "" 1513 1518 1514 #: build/block.json1515 1519 #: src/block.json 1516 1520 msgctxt "block title" … … 1518 1522 msgstr "" 1519 1523 1520 #: build/block.json1521 1524 #: src/block.json 1522 1525 msgctxt "block description" -
sign-up-sheets/trunk/lib/dls/meta-boxes/assets/admin.js
r3234219 r3234235 155 155 }); 156 156 157 $('.dlsmb-field-type-repeater T ABLE').sortable({157 $('.dlsmb-field-type-repeater TBODY').sortable({ 158 158 distance: 5, 159 159 opacity: 0.6, 160 160 cursor: 'move', 161 toleranceElement: '.dlsmb-sort',162 items: 't body > tr'161 handle: '.dlsmb-sort', 162 items: 'tr' 163 163 }); 164 164 -
sign-up-sheets/trunk/lib/dls/meta-boxes/assets/style.css
r3234219 r3234235 183 183 } 184 184 185 .dlsmb-field-type-repeater TBODY TR:hover {185 .dlsmb-field-type-repeater TBODY .dlsmb-sort:hover { 186 186 cursor: move; 187 187 } -
sign-up-sheets/trunk/lib/dls/meta-boxes/meta-boxes.php
r3234219 r3234235 259 259 </li> 260 260 <li class="hide-if-no-js"> 261 <a href="#<?php echo esc_url($taxonomy); ?>-pop" tabindex="3"><?php esc_html_e('Most Used', ' fdsus'); ?></a>261 <a href="#<?php echo esc_url($taxonomy); ?>-pop" tabindex="3"><?php esc_html_e('Most Used', 'sign-up-sheets'); ?></a> 262 262 </li> 263 263 </ul> … … 722 722 case 'checkbox': 723 723 $checked = ($value === 'true') ? ' checked="checked"' : null; 724 $boxLabel = empty($field['box_label_override']) ? esc_html__('True', ' fdsus') : $field['box_label_override'];724 $boxLabel = empty($field['box_label_override']) ? esc_html__('True', 'sign-up-sheets') : $field['box_label_override']; 725 725 echo '<input type="checkbox" name="' . $field_name . '" value="true" class="dlsmb-field-element" id="' . $id . '"' . $checked . '> <label for="' . $id . '" class="dlsmb-checkbox">' . $boxLabel . '</label><br />'; 726 726 break; … … 773 773 <div class="dlsmb-image-hover"> 774 774 <ul> 775 <li class="dlsmb-image-hover-icon dlsmb-image-hover-edit"><a href="#" title="' . esc_html__('Edit', ' fdsus') . '"></a></li>776 <li class="dlsmb-image-hover-icon dlsmb-image-hover-remove"><a href="#" title="' . esc_html__('Remove', ' fdsus') . '"></a></li>775 <li class="dlsmb-image-hover-icon dlsmb-image-hover-edit"><a href="#" title="' . esc_html__('Edit', 'sign-up-sheets') . '"></a></li> 776 <li class="dlsmb-image-hover-icon dlsmb-image-hover-remove"><a href="#" title="' . esc_html__('Remove', 'sign-up-sheets') . '"></a></li> 777 777 </ul> 778 778 </div> … … 924 924 if (empty($field['map_api_key'])) { 925 925 $error_class = 'map-not-loaded'; 926 $msg = '<p>' .esc_html__('Map not loaded. Check your api key.', ' fdsus') . '</p>';926 $msg = '<p>' .esc_html__('Map not loaded. Check your api key.', 'sign-up-sheets') . '</p>'; 927 927 } else { 928 928 $error_class = ''; … … 961 961 $actions = array( 962 962 'add' => array( 963 'title' => esc_html__('Add Row', ' fdsus'),963 'title' => esc_html__('Add Row', 'sign-up-sheets'), 964 964 'icon' => 'dashicons dashicons-plus-alt', 965 965 ), 966 966 'remove' => array( 967 'title' => esc_html__('Delete Row', ' fdsus'),967 'title' => esc_html__('Delete Row', 'sign-up-sheets'), 968 968 'icon' => 'dashicons dashicons-trash', 969 969 ), -
sign-up-sheets/trunk/main.php
r3234219 r3234235 22 22 function fdsusAutoloader($className) 23 23 { 24 if (false !== strpos($className, __NAMESPACE__) && !in_array($className, array(__NAMESPACE__ . '\Main'))) { 24 $classesDir = ''; 25 $classFile = ''; 26 27 if (0 === strpos($className, __NAMESPACE__ . '\\') && !in_array($className, array(__NAMESPACE__ . '\Main'))) { 25 28 $classesDir = realpath(plugin_dir_path(__FILE__)) . DIRECTORY_SEPARATOR; 26 29 $classFile = str_replace(__NAMESPACE__ . '/', '', str_replace('\\', '/', $className)) . '.php'; 27 30 $classFile = strtolower(preg_replace('/\B([A-Z])/', '-$1', $classFile)); // add hyphen before uppercase classes then convert to all lowercase 31 } elseif (0 === strpos($className, 'FDSUSPRO\\') && Id::isProActivating()) { 32 // Autoload Pro if it's in the process of activating 33 $classesDir = dirname(realpath(plugin_dir_path(__FILE__))) . DIRECTORY_SEPARATOR . dirname(Id::PRO_PLUGIN_BASENAME) . DIRECTORY_SEPARATOR; 34 $classFile = str_replace('FDSUSPRO/', '', str_replace('\\', '/', $className)) . '.php'; 35 $classFile = strtolower(preg_replace('/\B([A-Z])/', '-$1', $classFile)); // add hyphen before uppercase classes then convert to all lowercase 36 } 37 38 if ($classesDir && $classFile) { 39 if (!file_exists($classesDir . $classFile)) { 40 error_log('Autoloader tried to load a file that did not exist... ' . $classesDir . $classFile); 41 return; 42 } 28 43 require_once $classesDir . $classFile; 29 44 } … … 33 48 endif; 34 49 35 if (!class_exists('\FDSUS\Main')): 50 if (!function_exists('\FDSUS\fdsusIsFallbackPlugin')): 51 function fdsusIsFallbackPlugin() 52 { 53 return dirname(__FILE__) !== dirname(WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . Id::FREE_PLUGIN_BASENAME); 54 } 55 endif; 56 57 Notice::instance(array('frontendFilter' => Id::PREFIX . '_notices')); 58 Settings::instance(); 59 60 if ( 61 ( 62 empty(Id::version('pro')) 63 || fdsusIsFallbackPlugin() 64 || (!empty(Id::version('free')) && !empty(Id::version('pro')) 65 && version_compare(Id::version('free'), Id::version('pro'), '==') 66 && !class_exists('\FDSUS\Main') 67 ) 68 ) 69 && !class_exists('\FDSUS\Main') 70 ): 36 71 37 72 class Main { … … 64 99 65 100 global $wpdb; 66 Notice::instance(array('frontendFilter' => Id::PREFIX . '_notices'));67 Settings::instance();68 101 $this->wpdb = $wpdb; 69 102 $this->data = new Data(); … … 101 134 } 102 135 103 register_activation_hook( Settings::getCurrentPluginBasename(), array(&$this, 'activate'));104 register_deactivation_hook( Settings::getCurrentPluginBasename(), array(&$this, 'deactivate'));136 register_activation_hook(FDSUS_FREE_PLUGIN_BASENAME, array(&$this, 'activate')); 137 register_deactivation_hook(FDSUS_FREE_PLUGIN_BASENAME, array(&$this, 'deactivate')); 105 138 106 139 add_action('wp_enqueue_scripts', array(&$this, 'add_css_and_js_to_frontend')); 107 140 add_action('init', array(&$this, 'setDefaultOptions'), 0); 108 141 add_action('init', array(&$this, 'flushIfNeeded'), 0); 109 add_action('admin_init', array(&$this, 'dupPluginVersionCheck'));110 142 111 143 add_filter('rewrite_rules_array', array(&$this, 'add_rewrite_rules')); … … 146 178 function add_css_and_js_to_frontend() 147 179 { 180 // Pull pro or free 181 $pluginPath = WP_PLUGIN_DIR . DIRECTORY_SEPARATOR . (Id::isPro() ? Id::PRO_PLUGIN_BASENAME 182 : Id::FREE_PLUGIN_BASENAME); 183 148 184 wp_enqueue_script('jquery'); 149 185 … … 151 187 wp_register_script( 152 188 Id::PREFIX . '-mailcheck', 153 esc_url(plugins_url('js/mailcheck.min.js', __FILE__)),189 plugins_url('js/mailcheck.min.js', __FILE__), 154 190 array(), 155 191 '1.1.2' … … 159 195 wp_register_style( 160 196 Id::PREFIX . '-style', 161 plugins_url('css/style.css', __FILE__),197 plugins_url('css/style.css', $pluginPath), 162 198 array(), 163 199 Id::version() … … 172 208 wp_register_script( 173 209 'dlssus-js', 174 plugins_url('js/dist/main.min.js', __FILE__),210 plugins_url('js/dist/main.min.js', $pluginPath), 175 211 $mainSusDeps, 176 212 Id::version() … … 238 274 239 275 /** 240 * Duplicate plugin version check241 */242 public function dupPluginVersionCheck()243 {244 if ((Id::isPro() && is_plugin_active(Id::FREE_PLUGIN_BASENAME))245 || (!Id::isPro() && is_plugin_active(Id::PRO_PLUGIN_BASENAME))246 ) {247 $pluginFileRequire = ABSPATH . 'wp-admin' . DIRECTORY_SEPARATOR . 'includes' . DIRECTORY_SEPARATOR248 . 'plugin.php';249 if (!function_exists('get_plugins')) {250 require_once($pluginFileRequire);251 }252 253 $plugins = get_plugins();254 255 if ($plugins[Id::FREE_PLUGIN_BASENAME]['Version']256 <> $plugins[Id::PRO_PLUGIN_BASENAME]['Version']257 ) {258 if (!function_exists('get_plugins')) {259 require_once($pluginFileRequire);260 }261 $plugins = get_plugins();262 $versionFree = $plugins[Id::FREE_PLUGIN_BASENAME]['Version'];263 $versionPro = $plugins[Id::PRO_PLUGIN_BASENAME]['Version'];264 $allowedHtml = array(265 'strong' => array(),266 );267 268 Notice::add(269 'error', sprintf(270 wp_kses(271 /* translators: %1$s is replaced with the pro plugin version number, %2$s is replaced with the free plugin version number */272 __(273 'The <strong>Sign-up Sheets Pro</strong> plugin version (%1$s) does not match the version number of the main <strong>Sign-up Sheets</strong> plugin (%2$s). Please update so both version numbers match to prevent possible conflicts.',274 'fdsus'275 ),276 $allowedHtml277 ),278 esc_html($versionPro), esc_html($versionFree)279 )280 );281 }282 }283 }284 285 /**286 276 * Check if we need to flush rewrites (like if slug was changed in Settings) 287 277 */ … … 329 319 330 320 // Crons 331 wp_clear_scheduled_hook( Id::PREFIX . '_dbupdate_action');321 wp_clear_scheduled_hook('fdsus_dbupdate_action'); 332 322 333 323 /** … … 341 331 $fdsus = new Main(); 342 332 require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'template-tags.php'; 343 is_file(dirname(__FILE__) . DIRECTORY_SEPARATOR . 'pro.php') and include 'pro.php';344 333 345 334 endif; -
sign-up-sheets/trunk/model/base.php
r3234219 r3234235 303 303 { 304 304 return array( 305 '0' => __('Sunday', ' fdsus'),306 '1' => __('Monday', ' fdsus'),307 '2' => __('Tuesday', ' fdsus'),308 '3' => __('Wednesday', ' fdsus'),309 '4' => __('Thursday', ' fdsus'),310 '5' => __('Friday', ' fdsus'),311 '6' => __('Saturday', ' fdsus'),305 '0' => __('Sunday', 'sign-up-sheets'), 306 '1' => __('Monday', 'sign-up-sheets'), 307 '2' => __('Tuesday', 'sign-up-sheets'), 308 '3' => __('Wednesday', 'sign-up-sheets'), 309 '4' => __('Thursday', 'sign-up-sheets'), 310 '5' => __('Friday', 'sign-up-sheets'), 311 '6' => __('Saturday', 'sign-up-sheets'), 312 312 ); 313 313 } -
sign-up-sheets/trunk/model/db-update.php
r3234219 r3234235 28 28 $this->data = new Data(); 29 29 30 add_action(' init', array(&$this, 'check'));31 add_action( Id::PREFIX . '_dbupdate_action', array(&$this, 'asyncUpdate'));30 add_action('wp_loaded', array(&$this, 'check')); 31 add_action('fdsus_dbupdate_action', array(&$this, 'asyncUpdate')); 32 32 } 33 33 … … 49 49 public function scheduleAsyncUpdate() 50 50 { 51 wp_schedule_single_event(time(), Id::PREFIX . '_dbupdate_action');51 wp_schedule_single_event(time(), 'fdsus_dbupdate_action'); 52 52 } 53 53 -
sign-up-sheets/trunk/model/meta-boxes.php
r3234219 r3234235 24 24 { 25 25 $trueFalse = array( 26 '' => esc_html__('Global', ' fdsus'),27 'true' => esc_html__('True', ' fdsus'),28 'false' => esc_html__('False', ' fdsus'),26 '' => esc_html__('Global', 'sign-up-sheets'), 27 'true' => esc_html__('True', 'sign-up-sheets'), 28 'false' => esc_html__('False', 'sign-up-sheets'), 29 29 ); 30 30 … … 34 34 'general' => array( 35 35 'id' => SheetModel::POST_TYPE . '-general-meta', 36 'title' => esc_html__('General', ' fdsus'),36 'title' => esc_html__('General', 'sign-up-sheets'), 37 37 'post_type' => SheetModel::POST_TYPE, 38 38 'context' => 'normal', … … 40 40 'fields' => array( 41 41 array( 42 'label' => esc_html__('Date', ' fdsus'),42 'label' => esc_html__('Date', 'sign-up-sheets'), 43 43 'key' => 'dlssus_date', 44 44 'type' => 'datepicker', … … 51 51 'tasks' => array( 52 52 'id' => SheetModel::POST_TYPE . '-tasks-meta', 53 'title' => esc_html__('Tasks', ' fdsus'),53 'title' => esc_html__('Tasks', 'sign-up-sheets'), 54 54 'post_type' => SheetModel::POST_TYPE, 55 55 'context' => 'normal', … … 62 62 'fields' => array( 63 63 array( 64 'label' => esc_html__('What', ' fdsus'),64 'label' => esc_html__('What', 'sign-up-sheets'), 65 65 'key' => 'title', 66 66 'type' => 'text', … … 68 68 ), 69 69 array( 70 'label' => esc_html__('# of Spots', ' fdsus'),70 'label' => esc_html__('# of Spots', 'sign-up-sheets'), 71 71 'key' => 'qty', 72 72 'type' => 'text', … … 99 99 'fields' => array( 100 100 array( 101 'label' => esc_html__('Set Phone as Optional', ' fdsus'),101 'label' => esc_html__('Set Phone as Optional', 'sign-up-sheets'), 102 102 'key' => Id::PREFIX . '_optional_phone', 103 103 'type' => 'select', … … 106 106 ), 107 107 array( 108 'label' => esc_html__('Set Address as Optional', ' fdsus'),108 'label' => esc_html__('Set Address as Optional', 'sign-up-sheets'), 109 109 'key' => Id::PREFIX . '_optional_address', 110 110 'type' => 'select', … … 113 113 ), 114 114 array( 115 'label' => esc_html__('Hide Phone Field', 'fdsus'), 115 'label' => esc_html__('Set Email as Optional', 'sign-up-sheets'), 116 'key' => 'fdsus_optional_email', 117 'type' => 'select', 118 'options' => $trueFalse, 119 'order' => 22, 120 ), 121 array( 122 'label' => esc_html__('Hide Phone Field', 'sign-up-sheets'), 116 123 'key' => Id::PREFIX . '_hide_phone', 117 124 'type' => 'select', … … 120 127 ), 121 128 array( 122 'label' => esc_html__('Hide Address Fields', ' fdsus'),129 'label' => esc_html__('Hide Address Fields', 'sign-up-sheets'), 123 130 'key' => Id::PREFIX . '_hide_address', 124 131 'type' => 'select', … … 127 134 ), 128 135 array( 129 'label' => esc_html__('Hide Email Field', ' fdsus'),136 'label' => esc_html__('Hide Email Field', 'sign-up-sheets'), 130 137 'key' => Id::PREFIX . '_hide_email', 131 138 'type' => 'select', … … 134 141 ), 135 142 array( 136 'label' => esc_html__('Sheet Specific BCC', ' fdsus'),143 'label' => esc_html__('Sheet Specific BCC', 'sign-up-sheets'), 137 144 'key' => Id::PREFIX . '_sheet_bcc', 138 145 'type' => 'text', 139 'append' => ' <em>' . esc_html__('Comma-separated list of emails to be copied on confirmations/removals', ' fdsus') . '</em>',146 'append' => ' <em>' . esc_html__('Comma-separated list of emails to be copied on confirmations/removals', 'sign-up-sheets') . '</em>', 140 147 'order' => 50, 141 148 'wrap_class' => 'dlsmb-field-col-12', … … 143 150 ), 144 151 array( 145 'label' => esc_html__('Reminder Schedule', ' fdsus'),152 'label' => esc_html__('Reminder Schedule', 'sign-up-sheets'), 146 153 'key' => Id::PREFIX . '_sheet_reminder_days', 147 154 'type' => 'text', 148 155 'append' => ' <br><em>' 149 . esc_html__('Number of days before the date on the sign-up sheet that the email should be sent. Use whole numbers, for example, to remind one day before use...', ' fdsus')156 . esc_html__('Number of days before the date on the sign-up sheet that the email should be sent. Use whole numbers, for example, to remind one day before use...', 'sign-up-sheets') 150 157 . ' <code>1</code> ' 151 . esc_html__('(If this is blank Global setting is used. Global setting in Settings > Sign-up Sheets.)', ' fdsus')158 . esc_html__('(If this is blank Global setting is used. Global setting in Settings > Sign-up Sheets.)', 'sign-up-sheets') 152 159 . '</em>', 153 160 'order' => 60, … … 156 163 ), 157 164 array( 158 'label' => esc_html__('Compact Sign-up Mode', ' fdsus'),165 'label' => esc_html__('Compact Sign-up Mode', 'sign-up-sheets'), 159 166 'key' => Id::PREFIX . '_compact_signups', 160 167 'type' => 'select', 161 168 'options' => array( 162 '' => esc_html__('Global', ' fdsus'),163 'false' => esc_html__('Disabled', ' fdsus'),164 'true' => esc_html__('Enabled', ' fdsus'),165 'semi' => esc_html__('Semi-Compact', ' fdsus'),169 '' => esc_html__('Global', 'sign-up-sheets'), 170 'false' => esc_html__('Disabled', 'sign-up-sheets'), 171 'true' => esc_html__('Enabled', 'sign-up-sheets'), 172 'semi' => esc_html__('Semi-Compact', 'sign-up-sheets'), 166 173 ), 167 'append' => ' <em>' . esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', ' fdsus') . '</em>',174 'append' => ' <em>' . esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', 'sign-up-sheets') . '</em>', 168 175 'order' => 70, 169 176 'wrap_class' => 'dlsmb-field-col-12', … … 171 178 ), 172 179 array( 173 'label' => esc_html__('Enable Task Checkboxes', ' fdsus'),180 'label' => esc_html__('Enable Task Checkboxes', 'sign-up-sheets'), 174 181 'key' => Id::PREFIX . '_use_task_checkboxes', 175 182 'type' => 'select', … … 179 186 ), 180 187 array( 181 'label' => esc_html__('Enable task sign-up limit', ' fdsus'),188 'label' => esc_html__('Enable task sign-up limit', 'sign-up-sheets'), 182 189 'key' => Id::PREFIX . '_task_signup_limit', 183 190 'type' => 'select', … … 187 194 ), 188 195 array( 189 'label' => esc_html__('Enable contiguous task sign-up limit', ' fdsus'),196 'label' => esc_html__('Enable contiguous task sign-up limit', 'sign-up-sheets'), 190 197 'key' => Id::PREFIX . '_contiguous_task_signup_limit', 191 198 'type' => 'select', … … 195 202 ), 196 203 array( 197 'label' => esc_html__('Auto-clear Schedule', ' fdsus'),204 'label' => esc_html__('Auto-clear Schedule', 'sign-up-sheets'), 198 205 'key' => 'fdsus_autoclear', 199 206 'type' => 'checkboxes', 200 207 'options' => $this->getDaysOfWeekArray(), 201 208 'append' => Id::isPro() && !Settings::isAutoclearSignupsAllowed() 202 ? ' <em>' . esc_html__('Auto-clear is not currently allowed globally under "Sign-up Sheets > Settings". Enable it for this setting to take effect.', ' fdsus') . '</em>'209 ? ' <em>' . esc_html__('Auto-clear is not currently allowed globally under "Sign-up Sheets > Settings". Enable it for this setting to take effect.', 'sign-up-sheets') . '</em>' 203 210 : '', 204 211 'order' => 110, … … 207 214 ), 208 215 array( 209 'label' => esc_html__('Confirmation Email Message', ' fdsus'),216 'label' => esc_html__('Confirmation Email Message', 'sign-up-sheets'), 210 217 'key' => Id::PREFIX . '_sheet_email_conf_message', 211 218 'type' => 'textarea', 212 'append' => ' <br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', ' fdsus') . '</em>',219 'append' => ' <br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'sign-up-sheets') . '</em>', 213 220 'order' => 130, 214 221 'wrap_class' => 'dlsmb-field-col-6', … … 216 223 ), 217 224 array( 218 'label' => esc_html__('Reminder Email Message', ' fdsus'),225 'label' => esc_html__('Reminder Email Message', 'sign-up-sheets'), 219 226 'key' => Id::PREFIX . '_sheet_email_message', 220 227 'type' => 'textarea', 221 'append' => ' <br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', ' fdsus') . '</em>',228 'append' => ' <br><em>' . esc_html__('Global setting in Settings > Sign-up Sheets', 'sign-up-sheets') . '</em>', 222 229 'order' => 140, 223 230 'wrap_class' => 'dlsmb-field-col-6', -
sign-up-sheets/trunk/model/settings-meta-boxes.php
r3234219 r3234235 28 28 * $options = array( 29 29 * 'id' => 'sheet', 30 * 'title' => esc_html__('Sign-up Sheet', ' fdsus'),30 * 'title' => esc_html__('Sign-up Sheet', 'sign-up-sheets'), 31 31 * 'order' => 10, 32 32 * 'options' => array( … … 55 55 56 56 // Sheets Listing 57 $sheetSelection = array('' => esc_html__('All', ' fdsus'));57 $sheetSelection = array('' => esc_html__('All', 'sign-up-sheets')); 58 58 if (Id::isPro()) { 59 59 $sheetCollection = new SheetCollectionModel(); … … 82 82 $options['sheet'] = array( 83 83 'id' => 'sheet', 84 'title' => esc_html__('Sign-up Sheet', ' fdsus'),84 'title' => esc_html__('Sign-up Sheet', 'sign-up-sheets'), 85 85 'order' => 10, 86 86 'options' => array( 87 87 array( 88 'label' => esc_html__('Sheet order on Front-end', ' fdsus'),88 'label' => esc_html__('Sheet order on Front-end', 'sign-up-sheets'), 89 89 'name' => 'dls_sus_sheet_order', 90 90 'type' => 'dropdown', … … 93 93 ), 94 94 array( 95 'label' => esc_html__('Show All Sign-up Data Fields on Front-end', ' fdsus'),95 'label' => esc_html__('Show All Sign-up Data Fields on Front-end', 'sign-up-sheets'), 96 96 'name' => 'dls_sus_display_all', 97 97 'type' => 'checkbox', 98 'note' => esc_html__('WARNING: Sign-up sheet table will appear much like the table when sign-ups are viewed via the admin. This option will potentially display personal user information on the frontend like email address and phone. This option is best used if you are using the [sign_up_sheet] short code within a password protected area. (This also overrides the "Front-end Display Names" option and displays all as full names.)', ' fdsus'),98 'note' => esc_html__('WARNING: Sign-up sheet table will appear much like the table when sign-ups are viewed via the admin. This option will potentially display personal user information on the frontend like email address and phone. This option is best used if you are using the [sign_up_sheet] short code within a password protected area. (This also overrides the "Front-end Display Names" option and displays all as full names.)', 'sign-up-sheets'), 99 99 'order' => 20 100 100 ), 101 101 array( 102 'label' => esc_html__('Front-end Display Names', ' fdsus'),102 'label' => esc_html__('Front-end Display Names', 'sign-up-sheets'), 103 103 'name' => 'dls_sus_display_name', 104 104 'type' => 'dropdown', 105 'note' => esc_html__('How the user\'s name should be displayed on the front-end after they sign-up', ' fdsus'),105 'note' => esc_html__('How the user\'s name should be displayed on the front-end after they sign-up', 'sign-up-sheets'), 106 106 'options' => array( 107 107 'default' => '"John S." - first name plus first letter of last name', 108 108 'full' => '"John Smith" - full name', 109 'anonymous' => '"' . esc_html__('Filled', ' fdsus') . '" - ' . esc_html__('anonymous', 'fdsus'),109 'anonymous' => '"' . esc_html__('Filled', 'sign-up-sheets') . '" - ' . esc_html__('anonymous', 'sign-up-sheets'), 110 110 ), 111 111 'th-rowspan' => 2, … … 118 118 'type' => 'dropdown', 119 119 'note' => '<span id="fdsus_display_name_username_override-label">' . esc_html__( 120 'For logged in users, override the Front-end Display Name with their WP username on their sign-ups.', ' fdsus'120 'For logged in users, override the Front-end Display Name with their WP username on their sign-ups.', 'sign-up-sheets' 121 121 ) . '</span>', 122 122 'options' => array( 123 '' => esc_html__('Not Enabled', ' fdsus'),124 'display_name' => esc_html__('Public Display Name', ' fdsus'),125 'nickname' => esc_html__('Nickname', ' fdsus'),126 'user_login' => esc_html__('Username', ' fdsus'),123 '' => esc_html__('Not Enabled', 'sign-up-sheets'), 124 'display_name' => esc_html__('Public Display Name', 'sign-up-sheets'), 125 'nickname' => esc_html__('Nickname', 'sign-up-sheets'), 126 'user_login' => esc_html__('Username', 'sign-up-sheets'), 127 127 ), 128 128 'aria-labelledby' => 'fdsus_display_name_username_override-label', … … 131 131 ), 132 132 array( 133 'label' => esc_html__('Compact Sign-up Mode', ' fdsus'),133 'label' => esc_html__('Compact Sign-up Mode', 'sign-up-sheets'), 134 134 'name' => 'dls_sus_compact_signups', 135 135 'type' => 'dropdown', 136 'note' => esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', ' fdsus'),136 'note' => esc_html__('Show sign-up spots on one line with just # of open spots and a link to sign-up if open. Semi-Compact will also include the names of those who already signed up (assuming "Front-end Display Names" is not set to "anonymous"', 'sign-up-sheets'), 137 137 'options' => array( 138 'false' => esc_html__('Disabled', ' fdsus'),139 'true' => esc_html__('Enabled', ' fdsus'),140 'semi' => esc_html__('Semi-Compact', ' fdsus'),138 'false' => esc_html__('Disabled', 'sign-up-sheets'), 139 'true' => esc_html__('Enabled', 'sign-up-sheets'), 140 'semi' => esc_html__('Semi-Compact', 'sign-up-sheets'), 141 141 ), 142 142 'order' => 40, … … 144 144 ), 145 145 array( 146 'label' => esc_html__('Enable task sign-up limit', ' fdsus'),146 'label' => esc_html__('Enable task sign-up limit', 'sign-up-sheets'), 147 147 'name' => 'dls_sus_task_signup_limit', 148 148 'type' => 'checkbox', 149 'note' => esc_html__('Prevent users from being able to sign-up for a task more than once. This is checked by email address.', ' fdsus'),149 'note' => esc_html__('Prevent users from being able to sign-up for a task more than once. This is checked by email address.', 'sign-up-sheets'), 150 150 'order' => 50, 151 151 'pro' => true 152 152 ), 153 153 array( 154 'label' => esc_html__('Enable contiguous task sign-up limit', ' fdsus'),154 'label' => esc_html__('Enable contiguous task sign-up limit', 'sign-up-sheets'), 155 155 'name' => 'dls_sus_contiguous_task_signup_limit', 156 156 'type' => 'checkbox', 157 'note' => esc_html__('Prevent users from being able to sign-up for a task directly before or after a task for which they have already signed up. This is checked by email address.', ' fdsus'),157 'note' => esc_html__('Prevent users from being able to sign-up for a task directly before or after a task for which they have already signed up. This is checked by email address.', 'sign-up-sheets'), 158 158 'order' => 60, 159 159 'pro' => true 160 160 ), 161 161 array( 162 'label' => esc_html__('Enable Task Checkboxes', ' fdsus'),162 'label' => esc_html__('Enable Task Checkboxes', 'sign-up-sheets'), 163 163 'name' => 'dls_sus_enable_task_checkbox', 164 164 'type' => 'checkbox', 165 'note' => esc_html__('Allow check boxes on signup line items that allow user to sign up for multiple tasks.', ' fdsus'),165 'note' => esc_html__('Allow check boxes on signup line items that allow user to sign up for multiple tasks.', 'sign-up-sheets'), 166 166 'order' => 70, 167 167 'pro' => true 168 168 ), 169 169 array( 170 'label' => esc_html__('Enable Spot Lock', ' fdsus'),170 'label' => esc_html__('Enable Spot Lock', 'sign-up-sheets'), 171 171 'name' => 'dls_sus_spot_lock', 172 172 'type' => 'checkbox', 173 'note' => esc_html__('Spot will be locked and held for current user for 3 minutes when they access the sign-up form page. Spot Lock is available when signing up for a single task at a time.', ' fdsus'),173 'note' => esc_html__('Spot will be locked and held for current user for 3 minutes when they access the sign-up form page. Spot Lock is available when signing up for a single task at a time.', 'sign-up-sheets'), 174 174 'order' => 80, 175 175 'pro' => true 176 176 ), 177 177 array( 178 'label' => esc_html__('Hide self-removal from Sign-up Sheet', ' fdsus'),178 'label' => esc_html__('Hide self-removal from Sign-up Sheet', 'sign-up-sheets'), 179 179 'name' => 'dls_sus_hide_removal', 180 180 'type' => 'checkbox', 181 'note' => esc_html__('Hides the "Remove" link from the sign-up form if users were logged in when they signed up. This is always hidden if "Front-end Display Names" is set to "anonymous".', ' fdsus'),181 'note' => esc_html__('Hides the "Remove" link from the sign-up form if users were logged in when they signed up. This is always hidden if "Front-end Display Names" is set to "anonymous".', 'sign-up-sheets'), 182 182 'order' => 85, 183 183 'pro' => true 184 184 ), 185 185 array( 186 'label' => esc_html__('Number of days before sheet/task date to allow users to edit their own sign-ups', ' fdsus'),186 'label' => esc_html__('Number of days before sheet/task date to allow users to edit their own sign-ups', 'sign-up-sheets'), 187 187 'name' => 'fdsus_user_editable_signups', 188 188 'type' => 'number', 189 'note' => esc_html__('Leave blank to disable the user edit feature. Number entered will calculate based on the task date, if set, otherwise it will use the sheet date. If no sheet and task date is set, editing will be allowed indefinitely. Use negative numbers to allow editing after the date has passed', ' fdsus'),189 'note' => esc_html__('Leave blank to disable the user edit feature. Number entered will calculate based on the task date, if set, otherwise it will use the sheet date. If no sheet and task date is set, editing will be allowed indefinitely. Use negative numbers to allow editing after the date has passed', 'sign-up-sheets'), 190 190 'order' => 88, 191 191 'pro' => true 192 192 ), 193 193 array( 194 'label' => esc_html__('Show Filled Spots in Admin Edit Sheet', ' fdsus'),194 'label' => esc_html__('Show Filled Spots in Admin Edit Sheet', 'sign-up-sheets'), 195 195 'name' => 'dls_sus_show_filled_spots_admin_edit', 196 196 'type' => 'checkbox', 197 'note' => esc_html__('Show names and count of filled spots in the admin Edit Sheet screen.', ' fdsus'),197 'note' => esc_html__('Show names and count of filled spots in the admin Edit Sheet screen.', 'sign-up-sheets'), 198 198 'order' => 90, 199 199 'pro' => true 200 200 ), 201 201 array( 202 'label' => esc_html__('Allow Auto-Clearing Sign-ups Per Sheet', ' fdsus'),202 'label' => esc_html__('Allow Auto-Clearing Sign-ups Per Sheet', 'sign-up-sheets'), 203 203 'name' => 'fdsus_allow_autoclear_signups', 204 204 'type' => 'checkbox', 205 205 'note' => 206 206 /* translators: %s is replaced with the timestamp of the next cron scheduled */ 207 sprintf(esc_html__('Next scheduled check: %s', ' fdsus'),207 sprintf(esc_html__('Next scheduled check: %s', 'sign-up-sheets'), 208 208 Settings::getNextScheduledCronCheck('fdsus_autoclear')) 209 209 . '<ul>' 210 210 . '<li>' 211 . esc_html__('Enabling this activates the optional setting on each Sheet under "Additional Settings" which provides the ability auto-clear all sign-ups for that sheet on a schedule.', ' fdsus')211 . esc_html__('Enabling this activates the optional setting on each Sheet under "Additional Settings" which provides the ability auto-clear all sign-ups for that sheet on a schedule.', 'sign-up-sheets') 212 212 . '</li><li>' 213 . esc_html__('Your site will check if there are sheets that need to be cleared that need to be sent using the', ' fdsus')214 . ' <a href="https://developer.wordpress.org/plugins/cron/">' . esc_html__('WordPress Cron', ' fdsus') . '</a>'213 . esc_html__('Your site will check if there are sheets that need to be cleared that need to be sent using the', 'sign-up-sheets') 214 . ' <a href="https://developer.wordpress.org/plugins/cron/">' . esc_html__('WordPress Cron', 'sign-up-sheets') . '</a>' 215 215 . '</li><li>' 216 . esc_html__('If you just enabled/disabled this, you may need to refresh this page to see the updated "Next scheduled check"', ' fdsus')216 . esc_html__('If you just enabled/disabled this, you may need to refresh this page to see the updated "Next scheduled check"', 'sign-up-sheets') 217 217 . '</li>' 218 218 . '</ul>', … … 221 221 ), 222 222 array( 223 'label' => esc_html__('Custom Task Fields', ' fdsus'),223 'label' => esc_html__('Custom Task Fields', 'sign-up-sheets'), 224 224 'name' => 'dls_sus_custom_task_fields', 225 225 'type' => 'repeater', … … 240 240 $options['form'] = array( 241 241 'id' => 'form', 242 'title' => esc_html__('Sign-up Form', ' fdsus'),242 'title' => esc_html__('Sign-up Form', 'sign-up-sheets'), 243 243 'order' => 20, 244 244 'options' => array( 245 245 array( 246 'label' => esc_html__('Show "Remember Me" checkbox', ' fdsus'),246 'label' => esc_html__('Show "Remember Me" checkbox', 'sign-up-sheets'), 247 247 'name' => 'dls_sus_remember', 248 248 'type' => 'checkbox', … … 251 251 ), 252 252 array( 253 'label' => esc_html__('Set Phone as Optional', ' fdsus'),253 'label' => esc_html__('Set Phone as Optional', 'sign-up-sheets'), 254 254 'name' => 'dls_sus_optional_phone', 255 255 'type' => 'checkbox', … … 257 257 ), 258 258 array( 259 'label' => esc_html__('Set Address as Optional', ' fdsus'),259 'label' => esc_html__('Set Address as Optional', 'sign-up-sheets'), 260 260 'name' => 'dls_sus_optional_address', 261 261 'type' => 'checkbox', … … 263 263 ), 264 264 array( 265 'label' => esc_html__('Hide Email Field', 'fdsus'), 265 'label' => esc_html__('Set Email as Optional', 'sign-up-sheets'), 266 'name' => 'fdsus_optional_email', 267 'type' => 'checkbox', 268 'order' => 22 269 ), 270 array( 271 'label' => esc_html__('Hide Phone Field', 'sign-up-sheets'), 272 'name' => 'dls_sus_hide_phone', 273 'type' => 'checkbox', 274 'order' => 30 275 ), 276 array( 277 'label' => esc_html__('Hide Address Fields', 'sign-up-sheets'), 278 'name' => 'dls_sus_hide_address', 279 'type' => 'checkbox', 280 'order' => 40 281 ), 282 array( 283 'label' => esc_html__('Hide Email Field', 'sign-up-sheets'), 266 284 'name' => 'dls_sus_hide_email', 267 285 'type' => 'checkbox', 268 'order' => 30 269 ), 270 array( 271 'label' => esc_html__('Hide Phone Field', 'fdsus'), 272 'name' => 'dls_sus_hide_phone', 273 'type' => 'checkbox', 274 'order' => 30 275 ), 276 array( 277 'label' => esc_html__('Hide Address Fields', 'fdsus'), 278 'name' => 'dls_sus_hide_address', 279 'type' => 'checkbox', 280 'order' => 40 281 ), 282 array( 283 'label' => esc_html__('Disable User Auto-populate', 'fdsus'), 286 'order' => 42 287 ), 288 array( 289 'label' => esc_html__('Disable User Auto-populate', 'sign-up-sheets'), 284 290 'name' => 'dls_sus_disable_user_autopopulate', 285 291 'type' => 'checkbox', 286 'note' => esc_html__('By default, for users that are logged in, their name and email auto-populates on sign-up form when available. This option disables that behavior.', ' fdsus'),292 'note' => esc_html__('By default, for users that are logged in, their name and email auto-populates on sign-up form when available. This option disables that behavior.', 'sign-up-sheets'), 287 293 'order' => 45 288 294 ), 289 295 array( 290 'label' => esc_html__('Disable Mail Check Validation', ' fdsus'),296 'label' => esc_html__('Disable Mail Check Validation', 'sign-up-sheets'), 291 297 'name' => 'dls_sus_deactivate_email_validation', 292 298 'type' => 'checkbox', 293 'note' => esc_html__('Validation includes a JS check for standard email formatting, possible incorrect domains with suggestions as well as an MX record check on the domain to confirm it is setup to receive emails', ' fdsus'),299 'note' => esc_html__('Validation includes a JS check for standard email formatting, possible incorrect domains with suggestions as well as an MX record check on the domain to confirm it is setup to receive emails', 'sign-up-sheets'), 294 300 'order' => 50 295 301 ), 296 302 array( 297 'label' => esc_html__('Disable sign-up link auto-scroll to sheet (hash in sign-up link)', ' fdsus'),303 'label' => esc_html__('Disable sign-up link auto-scroll to sheet (hash in sign-up link)', 'sign-up-sheets'), 298 304 'name' => 'fdsus_disable_signup_link_hash', 299 305 'type' => 'checkbox', 300 'note' => esc_html__('The hash on the sign-up link is useful especially on longer pages where sheets are embedded further down the page or where the sheet description is longer. When the feature is enabled and the user clicks the sign-up link, it includes a `#` hash to and ID pointing to that same location where the sign-up form will appear on the next page.', ' fdsus'),306 'note' => esc_html__('The hash on the sign-up link is useful especially on longer pages where sheets are embedded further down the page or where the sheet description is longer. When the feature is enabled and the user clicks the sign-up link, it includes a `#` hash to and ID pointing to that same location where the sign-up form will appear on the next page.', 'sign-up-sheets'), 301 307 'order' => 55 302 308 ), 303 309 array( 304 'label' => esc_html__('Sign-up Success Message Receipt', ' fdsus'),310 'label' => esc_html__('Sign-up Success Message Receipt', 'sign-up-sheets'), 305 311 'name' => 'dls_sus_signup_receipt', 306 312 'type' => 'checkbox', 307 'note' => esc_html__('Displays a receipt below the sign-up success message which includes a copy of all the task details and all fields they entered in the sign-up form. Default: `unchecked`', ' fdsus'),313 'note' => esc_html__('Displays a receipt below the sign-up success message which includes a copy of all the task details and all fields they entered in the sign-up form. Default: `unchecked`', 'sign-up-sheets'), 308 314 'order' => 60, 309 315 'pro' => true 310 316 ), 311 317 array( 312 'label' => esc_html__('Custom Sign-up Fields', ' fdsus'),318 'label' => esc_html__('Custom Sign-up Fields', 'sign-up-sheets'), 313 319 'name' => 'dls_sus_custom_fields', 314 320 'type' => 'repeater', … … 331 337 $options['spam'] = array( 332 338 'id' => 'spam', 333 'title' => esc_html__('Captcha and Spam Prevention', ' fdsus'),339 'title' => esc_html__('Captcha and Spam Prevention', 'sign-up-sheets'), 334 340 'order' => 30, 335 341 'options' => array( 336 342 array( 337 'label' => esc_html__('Disable honeypot', ' fdsus'),343 'label' => esc_html__('Disable honeypot', 'sign-up-sheets'), 338 344 'name' => 'dls_sus_disable_honeypot', 339 345 'type' => 'checkbox', 340 'note' => esc_html__('A honeypot is a less-invasive technique to reduce SPAM submission using a hidden field on the sign-up form. It can be used in place of or alongside the captcha.', ' fdsus')341 ), 342 array( 343 'label' => esc_html__('Disable all Captcha', ' fdsus'),346 'note' => esc_html__('A honeypot is a less-invasive technique to reduce SPAM submission using a hidden field on the sign-up form. It can be used in place of or alongside the captcha.', 'sign-up-sheets') 347 ), 348 array( 349 'label' => esc_html__('Disable all Captcha', 'sign-up-sheets'), 344 350 'name' => 'dls_sus_disable_captcha', 345 'type' => 'checkbox', esc_html__('Will disable all captcha even if you have reCAPTCHA enabled below', ' fdsus')),346 array('Use reCAPTCHA', 'dls_sus_recaptcha', 'checkbox', esc_html__('Will replace the default simple captcha validation', ' fdsus')),347 array('reCAPTCHA Public Key', 'dls_sus_recaptcha_public_key', 'text', esc_html__('From your account at https://www.google.com/recaptcha/', ' fdsus')),348 array('reCAPTCHA Private Key', 'dls_sus_recaptcha_private_key', 'text', esc_html__('From your account at https://www.google.com/recaptcha/', ' fdsus')),351 'type' => 'checkbox', esc_html__('Will disable all captcha even if you have reCAPTCHA enabled below', 'sign-up-sheets')), 352 array('Use reCAPTCHA', 'dls_sus_recaptcha', 'checkbox', esc_html__('Will replace the default simple captcha validation', 'sign-up-sheets')), 353 array('reCAPTCHA Public Key', 'dls_sus_recaptcha_public_key', 'text', esc_html__('From your account at https://www.google.com/recaptcha/', 'sign-up-sheets')), 354 array('reCAPTCHA Private Key', 'dls_sus_recaptcha_private_key', 'text', esc_html__('From your account at https://www.google.com/recaptcha/', 'sign-up-sheets')), 349 355 array('reCAPTCHA Version', 'dls_sus_recaptcha_version', 'dropdown', '', array('v3' => 'v3', 'v2-checkbox' => 'v2 Checkbox', 'v2-invisible' => 'v2 Invisible')), 350 356 ) … … 353 359 $options['confirmation_email'] = array( 354 360 'id' => 'confirmation_email', 355 'title' => esc_html__('Confirmation E-mail', ' fdsus'),361 'title' => esc_html__('Confirmation E-mail', 'sign-up-sheets'), 356 362 'order' => 40, 357 363 'options' => array( 358 364 array( 359 'label' => esc_html__('Enable', ' fdsus'),365 'label' => esc_html__('Enable', 'sign-up-sheets'), 360 366 'name' => 'fdsus_enable_confirmation_email', 361 367 'type' => 'checkbox', … … 365 371 ), 366 372 array( 367 'label' => esc_html__('Subject', ' fdsus'),373 'label' => esc_html__('Subject', 'sign-up-sheets'), 368 374 'name' => 'dls_sus_email_subject', 369 375 'type' => 'text', 370 376 /* translators: %s is replaced with the default subject */ 371 'note' => esc_html(sprintf(__('If blank, defaults to... "%s"', ' fdsus'), Settings::$defaultMailSubjects['signup'])),377 'note' => esc_html(sprintf(__('If blank, defaults to... "%s"', 'sign-up-sheets'), Settings::$defaultMailSubjects['signup'])), 372 378 'order' => 20 373 379 ), 374 380 array( 375 'label' => esc_html__('From E-mail Address', ' fdsus'),381 'label' => esc_html__('From E-mail Address', 'sign-up-sheets'), 376 382 'name' => 'dls_sus_email_from', 377 383 'type' => 'text', 378 'note' => esc_html__('If blank, defaults to WordPress email on file under Settings > General', ' fdsus'),384 'note' => esc_html__('If blank, defaults to WordPress email on file under Settings > General', 'sign-up-sheets'), 379 385 'order' => 30 380 386 ), 381 387 array( 382 'label' => esc_html__('BCC', ' fdsus'),388 'label' => esc_html__('BCC', 'sign-up-sheets'), 383 389 'name' => 'dls_sus_email_bcc', 384 390 'type' => 'text', 385 'note' => esc_html__('Comma separate for multiple email addresses', ' fdsus'),391 'note' => esc_html__('Comma separate for multiple email addresses', 'sign-up-sheets'), 386 392 'order' => 40, 387 393 'pro' => true 388 394 ), 389 395 array( 390 'label' => esc_html__('Message', ' fdsus'),396 'label' => esc_html__('Message', 'sign-up-sheets'), 391 397 'name' => 'dls_sus_email_message', 392 398 'type' => 'textarea', … … 400 406 <code>{site_url}</code> - %s<br> 401 407 <code>{removal_link}</code> - %s', 402 esc_html__('Variables that can be used in template...', ' fdsus'),403 esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', ' fdsus'),404 esc_html__('First name of user that signed up', ' fdsus'),405 esc_html__('Last name of user that signed up', ' fdsus'),406 esc_html__('Email of user that signed up', ' fdsus'),407 esc_html__('Name of site as defined in Settings > General > Site Title', ' fdsus'),408 esc_html__('URL of site', ' fdsus'),409 esc_html__('Link to remove sign-up', ' fdsus')408 esc_html__('Variables that can be used in template...', 'sign-up-sheets'), 409 esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', 'sign-up-sheets'), 410 esc_html__('First name of user that signed up', 'sign-up-sheets'), 411 esc_html__('Last name of user that signed up', 'sign-up-sheets'), 412 esc_html__('Email of user that signed up', 'sign-up-sheets'), 413 esc_html__('Name of site as defined in Settings > General > Site Title', 'sign-up-sheets'), 414 esc_html__('URL of site', 'sign-up-sheets'), 415 esc_html__('Link to remove sign-up', 'sign-up-sheets') 410 416 ), 411 417 'order' => 50, … … 417 423 $options['removal_confirmation_email'] = array( 418 424 'id' => 'removal_confirmation_email', 419 'title' => esc_html__('Removal Confirmation E-mail', ' fdsus') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="Pro Feature">Pro</span>' : ''),425 'title' => esc_html__('Removal Confirmation E-mail', 'sign-up-sheets') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="Pro Feature">Pro</span>' : ''), 420 426 'order' => 50, 421 427 'options' => array( 422 428 array( 423 'label' => esc_html__('Enable', ' fdsus'),429 'label' => esc_html__('Enable', 'sign-up-sheets'), 424 430 'name' => 'fdsus_enable_removal_confirmation_email', 425 431 'type' => 'checkbox', … … 429 435 ), 430 436 array( 431 'label' => esc_html__('Message', ' fdsus'),437 'label' => esc_html__('Message', 'sign-up-sheets'), 432 438 'name' => 'dls_sus_removed_email_message', 433 439 'type' => 'textarea', … … 440 446 <code>{site_name}</code> - %s<br> 441 447 <code>{site_url}</code> - %s', 442 esc_html__('Variables that can be used in template...', ' fdsus'),443 esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', ' fdsus'),444 esc_html__('First name of user that signed up', ' fdsus'),445 esc_html__('Last name of user that signed up', ' fdsus'),446 esc_html__('Email of user that signed up', ' fdsus'),447 esc_html__('Name of site as defined in Settings > General > Site Title', ' fdsus'),448 esc_html__('URL of site', ' fdsus')448 esc_html__('Variables that can be used in template...', 'sign-up-sheets'), 449 esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', 'sign-up-sheets'), 450 esc_html__('First name of user that signed up', 'sign-up-sheets'), 451 esc_html__('Last name of user that signed up', 'sign-up-sheets'), 452 esc_html__('Email of user that signed up', 'sign-up-sheets'), 453 esc_html__('Name of site as defined in Settings > General > Site Title', 'sign-up-sheets'), 454 esc_html__('URL of site', 'sign-up-sheets') 449 455 ), 450 456 'order' => 20, … … 456 462 $options['reminder_email'] = array( 457 463 'id' => 'reminder_email', 458 'title' => esc_html__('Reminder E-mail', ' fdsus') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="' . esc_html__('Pro Feature', 'fdsus') . '">' . esc_html__('Pro', 'fdsus') . '</span>' : ''),464 'title' => esc_html__('Reminder E-mail', 'sign-up-sheets') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="' . esc_html__('Pro Feature', 'sign-up-sheets') . '">' . esc_html__('Pro', 'sign-up-sheets') . '</span>' : ''), 459 465 'order' => 60, 460 466 'options' => array( 461 467 array( 462 'label' => esc_html__('Enable Reminders', ' fdsus'),468 'label' => esc_html__('Enable Reminders', 'sign-up-sheets'), 463 469 'name' => 'dls_sus_reminder_email', 464 470 'type' => 'checkbox', 465 471 'note' => 466 472 /* translators: %s is replaced with the timestamp of the next cron scheduled */ 467 sprintf(esc_html__('Next scheduled check: %s', ' fdsus'),473 sprintf(esc_html__('Next scheduled check: %s', 'sign-up-sheets'), 468 474 Settings::getNextScheduledCronCheck('dls_sus_send_reminders')) 469 475 . '<ul>' 470 476 . '<li>' 471 . esc_html__('Your site will check hourly to see if there are reminders that need to be sent using the', ' fdsus')472 . ' <a href="https://developer.wordpress.org/plugins/cron/">' . esc_html__('WordPress Cron', ' fdsus') . '</a>'477 . esc_html__('Your site will check hourly to see if there are reminders that need to be sent using the', 'sign-up-sheets') 478 . ' <a href="https://developer.wordpress.org/plugins/cron/">' . esc_html__('WordPress Cron', 'sign-up-sheets') . '</a>' 473 479 . '</li><li>' 474 . esc_html__('If you just enabled/disabled this, you may need to refresh this page to see the updated "Next scheduled check"', ' fdsus')480 . esc_html__('If you just enabled/disabled this, you may need to refresh this page to see the updated "Next scheduled check"', 'sign-up-sheets') 475 481 . '</li>' 476 482 . '</ul>', … … 478 484 ), 479 485 array( 480 'label' => esc_html__('Reminder Schedule', ' fdsus'),486 'label' => esc_html__('Reminder Schedule', 'sign-up-sheets'), 481 487 'name' => 'dls_sus_reminder_email_days_before', 482 488 'type' => 'text', 483 'note' => esc_html__('Number of days before the date on the sign-up sheet that the email should be sent. Use whole numbers, for example, to remind one day before use...', ' fdsus') . ' <code>1</code> ' . esc_html__('This field is required.', 'fdsus'),489 'note' => esc_html__('Number of days before the date on the sign-up sheet that the email should be sent. Use whole numbers, for example, to remind one day before use...', 'sign-up-sheets') . ' <code>1</code> ' . esc_html__('This field is required.', 'sign-up-sheets'), 484 490 'pro' => true 485 491 ), 486 492 array( 487 'label' => esc_html__('Subject', ' fdsus'),493 'label' => esc_html__('Subject', 'sign-up-sheets'), 488 494 'name' => 'dls_sus_reminder_email_subject', 489 495 'type' => 'text', 490 496 /* translators: %s is replaced with the default subject */ 491 'note' => esc_html(sprintf(__('If blank, defaults to... "%s"', ' fdsus'), Settings::$defaultMailSubjects['reminder'])),497 'note' => esc_html(sprintf(__('If blank, defaults to... "%s"', 'sign-up-sheets'), Settings::$defaultMailSubjects['reminder'])), 492 498 'pro' => true 493 499 ), 494 500 array( 495 'label' => esc_html__('From E-mail Address', ' fdsus'),501 'label' => esc_html__('From E-mail Address', 'sign-up-sheets'), 496 502 'name' => 'dls_sus_reminder_email_from', 497 503 'type' => 'text', 498 'note' => esc_html__('If blank, defaults to WordPress email on file under Settings > General', ' fdsus'),504 'note' => esc_html__('If blank, defaults to WordPress email on file under Settings > General', 'sign-up-sheets'), 499 505 'pro' => true 500 506 ), 501 507 array( 502 'label' => esc_html__('BCC', ' fdsus'),508 'label' => esc_html__('BCC', 'sign-up-sheets'), 503 509 'name' => 'dls_sus_reminder_email_bcc', 504 510 'type' => 'text', 505 'note' => esc_html__('Comma separate for multiple email addresses', ' fdsus'),511 'note' => esc_html__('Comma separate for multiple email addresses', 'sign-up-sheets'), 506 512 'pro' => true 507 513 ), 508 514 array( 509 'label' => esc_html__('Message', ' fdsus'),515 'label' => esc_html__('Message', 'sign-up-sheets'), 510 516 'name' => 'dls_sus_reminder_email_message', 511 517 'type' => 'textarea', … … 518 524 <code>{site_name}</code> - %s<br> 519 525 <code>{site_url}</code> - %s', 520 esc_html__('Variables that can be used in template...', ' fdsus'),521 esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', ' fdsus'),522 esc_html__('First name of user that signed up', ' fdsus'),523 esc_html__('Last name of user that signed up', ' fdsus'),524 esc_html__('Email of user that signed up', ' fdsus'),525 esc_html__('Name of site as defined in Settings > General > Site Title', ' fdsus'),526 esc_html__('URL of site', ' fdsus')526 esc_html__('Variables that can be used in template...', 'sign-up-sheets'), 527 esc_html__('Multi-line list of sign-up details such as date, sheet title, task title', 'sign-up-sheets'), 528 esc_html__('First name of user that signed up', 'sign-up-sheets'), 529 esc_html__('Last name of user that signed up', 'sign-up-sheets'), 530 esc_html__('Email of user that signed up', 'sign-up-sheets'), 531 esc_html__('Name of site as defined in Settings > General > Site Title', 'sign-up-sheets'), 532 esc_html__('URL of site', 'sign-up-sheets') 527 533 ), 528 534 'pro' => true … … 533 539 $options['status_email'] = array( 534 540 'id' => 'status_email', 535 'title' => esc_html__('Status E-mail', ' fdsus') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="Pro Feature">Pro</span>' : ''),541 'title' => esc_html__('Status E-mail', 'sign-up-sheets') . (!Id::isPro() ? ' <span class="dls-sus-pro" title="Pro Feature">Pro</span>' : ''), 536 542 'order' => 70, 537 543 'options' => array( 538 544 array( 539 'label' => esc_html__('Enable Status E-mail', ' fdsus'),545 'label' => esc_html__('Enable Status E-mail', 'sign-up-sheets'), 540 546 'name' => 'dls_sus_status_email', 541 547 'type' => 'checkbox', 542 'note' => esc_html__('Shows all signups for a sheet. Sent when a user adds or removes a signup from the frontend.', ' fdsus'),543 'pro' => true 544 ), 545 array( 546 'label' => esc_html__('Subject', ' fdsus'),548 'note' => esc_html__('Shows all signups for a sheet. Sent when a user adds or removes a signup from the frontend.', 'sign-up-sheets'), 549 'pro' => true 550 ), 551 array( 552 'label' => esc_html__('Subject', 'sign-up-sheets'), 547 553 'name' => 'dls_sus_status_email_subject', 548 554 'type' => 'text', 549 555 /* translators: %s is replaced with the default subject */ 550 'note' => esc_html(sprintf(__('If blank, defaults to... "%s"', ' fdsus'), Settings::$defaultMailSubjects['status'])),551 'pro' => true 552 ), 553 array( 554 'label' => esc_html__('From E-mail Address', ' fdsus'),556 'note' => esc_html(sprintf(__('If blank, defaults to... "%s"', 'sign-up-sheets'), Settings::$defaultMailSubjects['status'])), 557 'pro' => true 558 ), 559 array( 560 'label' => esc_html__('From E-mail Address', 'sign-up-sheets'), 555 561 'name' => 'dls_sus_status_email_from', 556 562 'type' => 'text', 557 'note' => esc_html__('If blank, defaults to WordPress email on file under Settings > General', ' fdsus'),558 'pro' => true 559 ), 560 array( 561 'label' => esc_html__('Send to main admin emails', ' fdsus'),563 'note' => esc_html__('If blank, defaults to WordPress email on file under Settings > General', 'sign-up-sheets'), 564 'pro' => true 565 ), 566 array( 567 'label' => esc_html__('Send to main admin emails', 'sign-up-sheets'), 562 568 'name' => 'dls_sus_status_to_admin', 563 569 'type' => 'checkbox', 564 'note' => esc_html__('E-mail address specified under Settings > General', ' fdsus'),565 'pro' => true 566 ), 567 array( 568 'label' => esc_html__('Send to "Sheet BCC" recipients', ' fdsus'),570 'note' => esc_html__('E-mail address specified under Settings > General', 'sign-up-sheets'), 571 'pro' => true 572 ), 573 array( 574 'label' => esc_html__('Send to "Sheet BCC" recipients', 'sign-up-sheets'), 569 575 'name' => 'dls_sus_status_to_sheet_bcc', 570 576 'type' => 'checkbox', 571 'note' => esc_html__('These addresses will be added as a recipient only for sheets on which they are assigned.', ' fdsus'),577 'note' => esc_html__('These addresses will be added as a recipient only for sheets on which they are assigned.', 'sign-up-sheets'), 572 578 'pro' => true 573 579 ), … … 577 583 $options['advanced'] = array( 578 584 'id' => 'advanced', 579 'title' => esc_html__('Advanced', ' fdsus'),585 'title' => esc_html__('Advanced', 'sign-up-sheets'), 580 586 'order' => 80, 581 587 'options' => array( … … 586 592 array('Display Detailed Errors', 'dls_sus_detailed_errors', 'checkbox', '(Not recommended for production sites)'), 587 593 array( 588 'label' => esc_html__('Reset All Settings', ' fdsus'),594 'label' => esc_html__('Reset All Settings', 'sign-up-sheets'), 589 595 'name' => 'fdsus_reset', 590 596 'type' => 'button', 591 'note' => '<span id="fdsus-reset"></span><p>' . esc_html__('This will erase any custom configurations you have made on this page and reset them back to the defaults. This action cannot be undone.', ' fdsus') . '</p>',597 'note' => '<span id="fdsus-reset"></span><p>' . esc_html__('This will erase any custom configurations you have made on this page and reset them back to the defaults. This action cannot be undone.', 'sign-up-sheets') . '</p>', 592 598 'options' => array( 593 599 'href' => add_query_arg('fdsus-reset', 'all', 594 600 wp_nonce_url($this->data->getSettingsUrl(), 'fdsus-settings-reset', '_fdsus-nonce')), 595 601 'onclick' => sprintf('return confirm(`%s %s`)', 596 esc_html__('Are you sure?', ' fdsus'),597 esc_html__('This will erase any custom configurations you have made on this page and reset them back to the defaults. This action cannot be undone.', ' fdsus')602 esc_html__('Are you sure?', 'sign-up-sheets'), 603 esc_html__('This will erase any custom configurations you have made on this page and reset them back to the defaults. This action cannot be undone.', 'sign-up-sheets') 598 604 ), 599 605 ) … … 604 610 $options['text_overrides'] = array( 605 611 'id' => 'text_overrides', 606 'title' => esc_html__('Text Overrides', ' fdsus'),612 'title' => esc_html__('Text Overrides', 'sign-up-sheets'), 607 613 'order' => 90, 608 614 'options' => array() -
sign-up-sheets/trunk/model/settings.php
r3234219 r3234235 13 13 14 14 if (Id::isPro()) { 15 class SettingsParent extends Pro\Settings {}15 class SettingsParent extends \FDSUSPRO\Model\Pro\Settings {} 16 16 } else { 17 17 class SettingsParent {} … … 41 41 { 42 42 self::$defaultMailSubjects = array( 43 'signup' => esc_html__('Thank you for signing up!', ' fdsus'),44 'remove' => esc_html__('Sign-up has been removed', ' fdsus'),45 'reminder' => esc_html__('Sign-up Reminder', ' fdsus'),46 'status' => esc_html__('Sign-up Status Report', ' fdsus'),43 'signup' => esc_html__('Thank you for signing up!', 'sign-up-sheets'), 44 'remove' => esc_html__('Sign-up has been removed', 'sign-up-sheets'), 45 'reminder' => esc_html__('Sign-up Reminder', 'sign-up-sheets'), 46 'status' => esc_html__('Sign-up Status Report', 'sign-up-sheets'), 47 47 ); 48 48 … … 80 80 self::$text = array( 81 81 'task_title_label' => array( 82 'label' => esc_html__('Task Title Label', ' fdsus'),83 'default' => esc_html__('What', ' fdsus'),82 'label' => esc_html__('Task Title Label', 'sign-up-sheets'), 83 'default' => esc_html__('What', 'sign-up-sheets'), 84 84 ), 85 85 ); … … 211 211 212 212 /** 213 * Get current plugin basename depending on if we are inthe pro or free version213 * Get current plugin basename depending on if we are running the pro or free version 214 214 * 215 215 * @return string … … 300 300 $checkUtcTimestamp = wp_next_scheduled($cronHook); 301 301 if (is_null($defaultText)) { 302 $defaultText = esc_html__('Not Scheduled', ' fdsus');302 $defaultText = esc_html__('Not Scheduled', 'sign-up-sheets'); 303 303 } 304 304 $displayCheckTime = $defaultText; -
sign-up-sheets/trunk/model/settings/sheet-order.php
r3234219 r3234235 21 21 $this->options = array( 22 22 'date_asc' => array( 23 'label' => esc_html__('Date (ASC)', ' fdsus'),23 'label' => esc_html__('Date (ASC)', 'sign-up-sheets'), 24 24 'direction' => 'ASC', 25 25 'sort_by' => 'dlssus_end_date', … … 27 27 ), 28 28 'date_desc' => array( 29 'label' => esc_html__('Date (DESC)', ' fdsus'),29 'label' => esc_html__('Date (DESC)', 'sign-up-sheets'), 30 30 'direction' => 'DESC', 31 31 'sort_by' => 'dlssus_end_date', … … 33 33 ), 34 34 'id_asc' => array( 35 'label' => esc_html__('Sheet ID (ASC)', ' fdsus'),35 'label' => esc_html__('Sheet ID (ASC)', 'sign-up-sheets'), 36 36 'direction' => 'ASC', 37 37 'sort_by' => false, … … 39 39 ), 40 40 'id_desc' => array( 41 'label' => esc_html__('Sheet ID (DESC)', ' fdsus'),41 'label' => esc_html__('Sheet ID (DESC)', 'sign-up-sheets'), 42 42 'direction' => 'DESC', 43 43 'sort_by' => false, -
sign-up-sheets/trunk/model/sheet-base.php
r3234219 r3234235 25 25 * @property string dlssus_start_date 26 26 * @property string dlssus_end_date 27 * @property string dlssus_hide_email 27 * @property string dlssus_optional_phone 28 * @property string dlssus_optional_address 29 * @property string fdsus_optional_email 28 30 * @property string dlssus_hide_phone 29 31 * @property string dlssus_hide_address 32 * @property string dlssus_hide_email 30 33 * @property string dlssus_use_task_checkboxes 31 34 * @property bool dlssus_is_active … … 38 41 * @property array fdsus_autoclear 39 42 * @property string fdsus_last_autoclear 40 *41 * @package FDSUS\Model42 43 */ 43 44 class SheetBase extends Base … … 208 209 public static function getName($singular = false) 209 210 { 210 return $singular ? __('Sign-up Sheet', ' fdsus') : __('Sign-up Sheets', 'fdsus');211 return $singular ? __('Sign-up Sheet', 'sign-up-sheets') : __('Sign-up Sheets', 'sign-up-sheets'); 211 212 } 212 213 … … 278 279 $sheetArray = $this->objectToArray($this->getData()); 279 280 $this->cleanBeforeCopy($sheetArray); 280 $sheetArray['post_title'] .= esc_html__(' (Copy)', ' fdsus');281 $sheetArray['post_title'] .= esc_html__(' (Copy)', 'sign-up-sheets'); 281 282 282 283 // Copy sheet … … 507 508 508 509 /** 509 * Should the phone be displayed on the sheet?510 * Should the phone be required on the sheet? 510 511 * 511 512 * @return bool … … 513 514 public function isPhoneRequired() 514 515 { 516 if (!$this->showPhone()) { 517 return false; 518 } 515 519 return (isset($this->dlssus_optional_phone) && $this->dlssus_optional_phone === 'false') 516 520 || (empty($this->dlssus_optional_phone) && get_option('dls_sus_optional_phone') !== 'true'); … … 518 522 519 523 /** 520 * Should the address be displayed on the sheet?524 * Should the address be required on the sheet? 521 525 * 522 526 * @return bool … … 524 528 public function isAddressRequired() 525 529 { 530 if (!$this->showAddress()) { 531 return false; 532 } 526 533 return (isset($this->dlssus_optional_address) && $this->dlssus_optional_address === 'false') 527 534 || (empty($this->dlssus_optional_address) && get_option('dls_sus_optional_address') !== 'true'); 535 } 536 537 /** 538 * Should the email be displayed on the sheet? 539 * 540 * @return bool 541 */ 542 public function isEmailRequired() 543 { 544 if (!$this->showEmail()) { 545 return false; 546 } 547 return (isset($this->fdsus_optional_email) && $this->fdsus_optional_email === 'false') 548 || (empty($this->fdsus_optional_email) && get_option('fdsus_optional_email') !== 'true'); 528 549 } 529 550 -
sign-up-sheets/trunk/model/sheet-collection.php
r3234219 r3234235 13 13 14 14 if (Id::isPro()) { 15 class SheetCollectionParent extends Pro\SheetCollection {}15 class SheetCollectionParent extends \FDSUSPRO\Model\Pro\SheetCollection {} 16 16 } else { 17 17 class SheetCollectionParent extends Base {} -
sign-up-sheets/trunk/model/sheet.php
r3234219 r3234235 10 10 11 11 if (Id::isPro()) { 12 class SheetParent extends Pro\Sheet {}12 class SheetParent extends \FDSUSPRO\Model\Pro\Sheet {} 13 13 } else { 14 14 class SheetParent extends SheetBase {} -
sign-up-sheets/trunk/model/signup-collection.php
r3234219 r3234235 13 13 14 14 if (Id::isPro()) { 15 class SignupCollectionParent extends Pro\SignupCollection {}15 class SignupCollectionParent extends \FDSUSPRO\Model\Pro\SignupCollection {} 16 16 } else { 17 17 class SignupCollectionParent extends Base {} -
sign-up-sheets/trunk/model/signup-form-initial-values.php
r3234219 r3234235 15 15 /** 16 16 * Class SignupFormInitialValues 17 *18 * @package FDSUS\Model19 17 */ 20 18 class SignupFormInitialValues … … 91 89 92 90 // If not set, but logged in, pull from user 93 if (! is_admin() && !Settings::isUserAutopopulateDisabled()) {91 if (!$this->signup && !is_admin() && !Settings::isUserAutopopulateDisabled()) { 94 92 $currentUser = wp_get_current_user(); 95 93 if (($currentUser instanceof WP_User)) { -
sign-up-sheets/trunk/model/signup.php
r3234219 r3234235 15 15 16 16 if (Id::isPro()) { 17 class SignupParent extends Pro\Signup {}17 class SignupParent extends \FDSUSPRO\Model\Pro\Signup {} 18 18 } else { 19 19 class SignupParent extends SignupBase {} … … 38 38 * @property string dlssus_removal_token 39 39 * @property string dlssus_reminded 40 *41 * @package FDSUS\Model42 40 */ 43 41 class Signup extends SignupParent … … 103 101 public static function getName($singular = false) 104 102 { 105 return $singular ? __('Sign-up', ' fdsus') : __('Sign-ups', 'fdsus');103 return $singular ? __('Sign-up', 'sign-up-sheets') : __('Sign-ups', 'sign-up-sheets'); 106 104 } 107 105 … … 148 146 sprintf( 149 147 /* translators: %1$s is replaced with task title and %2$s is replaced with optional detailed errors if enabled */ 150 esc_html__('Error adding signup for %1$s. All spots are filled. %2$s', ' fdsus'),148 esc_html__('Error adding signup for %1$s. All spots are filled. %2$s', 'sign-up-sheets'), 151 149 '<em>' . wp_kses_post($task->post_title) . '</em>', 152 150 Settings::isDetailedErrors() … … 180 178 && empty($fields['double_signup']) 181 179 && $sheet->showEmail() 180 && !empty($fields['signup_email']) 182 181 && $task->isEmailOnTask($fields['signup_email']) 183 182 ) { 184 $msg = esc_html__('You have already signed up for this task. Do you want to sign up again?', ' fdsus') . '183 $msg = esc_html__('You have already signed up for this task. Do you want to sign up again?', 'sign-up-sheets') . ' 185 184 <form method="post" action="' . esc_url($this->getCurrentUrl(true) . Settings::maybeGetSignUpLinkHash($sheet->ID)) . '">'; 186 185 … … 207 206 <input type="hidden" name="double_signup" value="1" /> 208 207 <input type="hidden" name="action" value="signup-confirmed" /> 209 <input type="submit" name="Submit" class="button-primary wp-block-button__link wp-element-button dls-sus-double-signup-confirm-button" value="' . esc_html__('Yes, sign me up', ' fdsus') . '" />210 <a href="' . esc_url(fdsus_back_to_sheet_url($task->ID)) . '">' . esc_html__('No, thanks', ' fdsus') . '</a>208 <input type="submit" name="Submit" class="button-primary wp-block-button__link wp-element-button dls-sus-double-signup-confirm-button" value="' . esc_html__('Yes, sign me up', 'sign-up-sheets') . '" /> 209 <a href="' . esc_url(fdsus_back_to_sheet_url($task->ID)) . '">' . esc_html__('No, thanks', 'sign-up-sheets') . '</a> 211 210 </form> 212 211 '; … … 235 234 sprintf( 236 235 /* translators: %s is replaced with the sign-up email */ 237 esc_html__('Error adding the sign-up for "%s"', ' fdsus'), esc_attr($cleanFields['email']))236 esc_html__('Error adding the sign-up for "%s"', 'sign-up-sheets'), esc_attr($cleanFields['email'])) 238 237 . (($this->detailed_errors === true) ? '.. ' . print_r($signupId->get_error_message(), true) : '') 239 238 ); … … 342 341 sprintf( 343 342 /* translators: %s is replaced with the sign-up email */ 344 esc_html__('Error adding the sign-up for "%s"', ' fdsus'), esc_attr($cleanFields['email'])343 esc_html__('Error adding the sign-up for "%s"', 'sign-up-sheets'), esc_attr($cleanFields['email']) 345 344 ) 346 345 . (($this->detailed_errors === true && is_wp_error($signupId)) ? '.. ' . print_r($signupId->get_error_message(), true) : '') … … 511 510 $missingFieldNames = array(); 512 511 if (empty($fields['signup_firstname'])) { 513 $missingFieldNames[ ] = esc_html__('First Name', 'fdsus');512 $missingFieldNames['firstname'] = esc_html__('First Name', 'sign-up-sheets'); 514 513 } 515 514 if (empty($fields['signup_lastname'])) { 516 $missingFieldNames[ ] = esc_html__('Last Name', 'fdsus');517 } 518 if ($sheet-> showEmail() && empty($fields['signup_email'])) {519 $missingFieldNames[ ] = esc_html__('E-mail', 'fdsus');520 } 521 if ($sheet->isPhoneRequired() && $sheet->showPhone() &&empty($fields['signup_phone'])) {522 $missingFieldNames[ ] = esc_html__('Phone', 'fdsus');523 } 524 if ($sheet->isAddressRequired() && $sheet->showAddress()515 $missingFieldNames['lastname'] = esc_html__('Last Name', 'sign-up-sheets'); 516 } 517 if ($sheet->isEmailRequired() && empty($fields['signup_email'])) { 518 $missingFieldNames['email'] = esc_html__('E-mail', 'sign-up-sheets'); 519 } 520 if ($sheet->isPhoneRequired() && empty($fields['signup_phone'])) { 521 $missingFieldNames['phone'] = esc_html__('Phone', 'sign-up-sheets'); 522 } 523 if ($sheet->isAddressRequired() 525 524 && (empty($fields['signup_address']) 526 525 || empty($fields['signup_city']) … … 528 527 || empty($fields['signup_zip'])) 529 528 ) { 530 $missingFieldNames[] = esc_html__('Address', ' fdsus');529 $missingFieldNames[] = esc_html__('Address', 'sign-up-sheets'); 531 530 } 532 531 … … 536 535 * @param array $missingFieldNames 537 536 * @param SheetModel $sheet 537 * @param array $fields 538 538 * 539 539 * @return array 540 540 * @since 2.2 541 541 */ 542 $missingFieldNames = apply_filters('fdsus_sign_up_form_errors_required_fields', $missingFieldNames, $sheet); 543 544 // TODO CAPTCHA - move to Captcha class 545 if (!is_admin() && !Settings::isAllCaptchaDisabled() && !Settings::isRecaptchaEnabled() && empty($fields['spam_check'])) { 546 $missingFieldNames[] = esc_html__('Math Question', 'fdsus'); 547 } 542 $missingFieldNames = apply_filters('fdsus_sign_up_form_errors_required_fields', $missingFieldNames, $sheet, $fields); 548 543 549 544 return $missingFieldNames ? $missingFieldNames : true; -
sign-up-sheets/trunk/model/task-base.php
r3234219 r3234235 24 24 * @property string dlssus_task_row_type 25 25 * @property bool dlssus_is_active 26 *27 * @package FDSUS\Model28 26 */ 29 27 class TaskBase extends Base … … 92 90 public static function getName($singular = false) 93 91 { 94 return $singular ? __('Task', ' fdsus') : __('Tasks', 'fdsus');92 return $singular ? __('Task', 'sign-up-sheets') : __('Tasks', 'sign-up-sheets'); 95 93 } 96 94 … … 155 153 sprintf( 156 154 /* translators: %s is replaced with the task title */ 157 esc_html__('Error adding the task "%s"', ' fdsus'),155 esc_html__('Error adding the task "%s"', 'sign-up-sheets'), 158 156 $cleanFields['title'] 159 157 ) … … 190 188 foreach ($meta as $k => $v) { 191 189 if (update_post_meta($taskId, $k, maybe_unserialize($v)) === false) { 192 return new WP_Error('add_task_additional_err', esc_html__('Error adding additional fields to task.', ' fdsus'));190 return new WP_Error('add_task_additional_err', esc_html__('Error adding additional fields to task.', 'sign-up-sheets')); 193 191 } 194 192 $i++; … … 239 237 sprintf( 240 238 /* translators: %s is replaced with the task title */ 241 esc_html__('Error updating the task "%s"', ' fdsus'),239 esc_html__('Error updating the task "%s"', 'sign-up-sheets'), 242 240 $cleanFields['title'] 243 241 ) . (Settings::isDetailedErrors() ? '.. ' . print_r($task_id->get_error_message(), true) : '') … … 283 281 $result = wp_delete_post($id, true); 284 282 if ($result === false) { 285 return new WP_Error('task_delete_err', esc_html__('Error deleting task.', ' fdsus'));283 return new WP_Error('task_delete_err', esc_html__('Error deleting task.', 'sign-up-sheets')); 286 284 } 287 285 … … 495 493 public function getSignupLink($linkText = '') { 496 494 if (empty($linkText)) { 497 $linkText = esc_html__('Sign up »', ' fdsus');495 $linkText = esc_html__('Sign up »', 'sign-up-sheets'); 498 496 } 499 497 -
sign-up-sheets/trunk/model/task-table.php
r3234219 r3234235 20 20 protected $sheet; 21 21 22 /** @var array */ 23 public $config; 24 22 25 /** 23 26 * Constructor … … 25 28 * @param SheetModel $sheet 26 29 */ 27 public function __construct($sheet )30 public function __construct($sheet, $config) 28 31 { 29 32 $this->sheet = $sheet; 33 $this->config = $config; 30 34 31 35 return $this; … … 73 77 * @param SheetModel $sheet 74 78 * @param string $class 79 * @param array $config 75 80 * 76 81 * @return string 77 82 * @since 2.2 78 83 */ 79 $slug = apply_filters('fdsus_tasktable_task_cell_slug', $slug, $value, $this->sheet, $class );84 $slug = apply_filters('fdsus_tasktable_task_cell_slug', $slug, $value, $this->sheet, $class, $this->config); 80 85 81 86 /** … … 113 118 * @param SheetModel $sheet 114 119 * @param string $class 120 * @param array $config 115 121 * 116 122 * @return string 117 123 * @since 2.2 118 124 */ 119 $slug = apply_filters('fdsus_tasktable_header_cell_slug', $slug, $value, $this->sheet, $class );125 $slug = apply_filters('fdsus_tasktable_header_cell_slug', $slug, $value, $this->sheet, $class, $this->config); 120 126 121 127 if ($slug !== false) { -
sign-up-sheets/trunk/model/task.php
r3234219 r3234235 11 11 12 12 if (Id::isPro()) { 13 class TaskParent extends Pro\Task {}13 class TaskParent extends \FDSUSPRO\Model\Pro\Task {} 14 14 } else { 15 15 class TaskParent extends TaskBase {} -
sign-up-sheets/trunk/package.json
r3234219 r3234235 1 1 { 2 2 "name": "sign-up-sheets", 3 "version": "2. 2.1",3 "version": "2.3.0", 4 4 "description": "An online sign-up sheet manager where your users/volunteers can sign up for tasks.", 5 5 "author": "fetchdesigns", -
sign-up-sheets/trunk/readme.txt
r3234219 r3234235 3 3 Tags: sign up, volunteer, non-profit, signup, sign-up 4 4 Tested up to: 6.7 5 Stable tag: 2. 2.145 Stable tag: 2.3.0.1 6 6 License: GPLv2 or later 7 7 … … 115 115 == Upgrade Notice == 116 116 117 = 2.3.0.1 | 2025-02-02 = 118 * Fixed issue where base version wouldn't load on its own. 119 120 = 2.3.0 | 2025-02-02 = 121 * Added ability to mark email field as optional. 122 * Updated translation textdomain to better match WordPress standard of 'sign-up-sheets'. [⚠️Breaking Change] 123 * Updated .sr-only class to use .screen-reader-text to be more consistent with WP core. 124 * Fixed missing escaping around translations on tasks table. 125 * Fixed sheets with the hidden email set so that the column doesn't show up in the admin and status email task tables. 126 * Fixed password-protected sheets to prevent displaying sheet content prior to password being entered. 127 * Fixed WP 6.7 notice being thrown of "Function _load_textdomain_just_in_time was called incorrectly." 128 * Fixed bug preventing editing of new tasks on mobile devices. 129 117 130 = 2.2.14 | 2024-10-07 = 118 131 * Added setting to clear cache on specific post IDs when a sign-up occurs. … … 179 192 180 193 == Changelog == 194 195 = 2.3.0.1 | 2025-02-02 = 196 * Fixed issue where base version wouldn't load on its own. 197 198 = 2.3.0 | 2025-02-02 = 199 * Added ability to mark email field as optional. 200 * Updated translation textdomain to better match WordPress standard of 'sign-up-sheets'. [⚠️Breaking Change] 201 * Updated .sr-only class to use .screen-reader-text to be more consistent with WP core. 202 * Fixed missing escaping around translations on tasks table. 203 * Fixed sheets with the hidden email set so that the column doesn't show up in the admin and status email task tables. 204 * Fixed password-protected sheets to prevent displaying sheet content prior to password being entered. 205 * Fixed WP 6.7 notice being thrown of "Function _load_textdomain_just_in_time was called incorrectly." 206 * Fixed bug preventing editing of new tasks on mobile devices. 181 207 182 208 = 2.2.14 | 2024-10-07 = -
sign-up-sheets/trunk/sign-up-sheets.php
r3234219 r3234235 4 4 Plugin URI: https://www.fetchdesigns.com/sign-up-sheets-wordpress-plugin/ 5 5 Description: An online sign-up sheet manager where your users/volunteers can sign up for tasks 6 Version: 2. 2.146 Version: 2.3.0.1 7 7 Requires PHP: 5.5 8 8 Requires at least: 5.5 9 9 Author: Fetch Designs 10 10 Author URI: https://www.fetchdesigns.com/ 11 Text Domain: fdsus12 Domain Path: /languages /11 Text Domain: sign-up-sheets 12 Domain Path: /languages 13 13 License: GPL2 14 14 */ … … 30 30 */ 31 31 32 if (!defined('FDSUS_FREE_PLUGIN_DIR_PATH')) { 33 define('FDSUS_FREE_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__)); 34 } 35 36 if (!defined('FDSUS_FREE_PLUGIN_BASENAME')) { 37 define('FDSUS_FREE_PLUGIN_BASENAME', plugin_basename(__FILE__)); 38 } 39 32 40 require_once dirname(__FILE__) . DIRECTORY_SEPARATOR . 'main.php'; -
sign-up-sheets/trunk/src/block.json
r3234219 r3234235 3 3 "apiVersion": 2, 4 4 "name": "sign-up-sheets/sheet", 5 "version": "2. 2.11",5 "version": "2.3.0", 6 6 "title": "Sign-up Sheets", 7 7 "category": "widgets", … … 11 11 "html": false 12 12 }, 13 "textdomain": " fdsus",13 "textdomain": "sign-up-sheets", 14 14 "editorScript": "file:./index.js", 15 15 "editorStyle": "file:./index.css", -
sign-up-sheets/trunk/template-tags.php
r3234219 r3234235 522 522 } 523 523 } 524 525 if (!function_exists('fdsus_scode_user_sign_ups_actions')) { 526 /** 527 * Call do_action for customizing the user sign-ups after the additional fields output 528 * 529 * @param array $row 530 * 531 * @return void 532 */ 533 function fdsus_scode_user_sign_ups_actions($row) 534 { 535 /** 536 * [user_sign_ups] shortcode - after signup name is output 537 * 538 * @param SheetModel $sheet 539 * @param TaskModel $task 540 * @param SignupModel $signup 541 * 542 * @since todo user-signups 543 */ 544 do_action('fdsus_scode_user_sign_ups_actions', $row['sheet'], $row['task'], $row['signup']); 545 } 546 } -
sign-up-sheets/trunk/theme-files/archive-dlssus_sheet.php
r3234219 r3234235 32 32 <?php echo do_shortcode('[sign_up_sheet]'); ?> 33 33 <?php else: ?> 34 <p><?php esc_attr_e('No sign-up sheets found.', ' fdsus'); ?></p>34 <p><?php esc_attr_e('No sign-up sheets found.', 'sign-up-sheets'); ?></p> 35 35 <?php endif; ?> 36 36 -
sign-up-sheets/trunk/theme-files/content-dlssus_sheet.php
r3234219 r3234235 17 17 <div class="<?php echo esc_attr(fdsus_template_classes_sign_up_sheet()) ?>" id="<?php echo get_the_ID() ? 'dls-sus-sheet-' . get_the_ID() : '' ?>"> 18 18 19 <h3><?php esc_attr_e('Sign up below...', ' fdsus'); ?></h3>19 <h3><?php esc_attr_e('Sign up below...', 'sign-up-sheets'); ?></h3> 20 20 21 21 <?php dlssus_the_tasks_table(); ?> -
sign-up-sheets/trunk/theme-files/fdsus/parts/captcha-simple.php
r3234219 r3234235 14 14 <p> 15 15 <label for="spam_check" class="spam_check"> 16 <?php esc_html_e('Answer the following: 7 + 1 = __', ' fdsus'); ?>16 <?php esc_html_e('Answer the following: 7 + 1 = __', 'sign-up-sheets'); ?> 17 17 <span class="dls-sus-required-icon">*</span> 18 18 </label> -
sign-up-sheets/trunk/theme-files/fdsus/sheet-list.php
r3234219 r3234235 23 23 <?php if (empty($args['sheets'])) : ?> 24 24 25 <p><?php esc_html_e('No sheets available at this time.', ' fdsus'); ?></p>25 <p><?php esc_html_e('No sheets available at this time.', 'sign-up-sheets'); ?></p> 26 26 27 27 <?php else: ?> … … 32 32 <thead> 33 33 <tr> 34 <th class="column-title"><?php esc_html_e('Title', ' fdsus'); ?></th>35 <th class="column-date"><?php esc_html_e('Date', ' fdsus'); ?></th>36 <th class="column-open_spots"><?php esc_html_e('Open Spots', ' fdsus'); ?></th>34 <th class="column-title"><?php esc_html_e('Title', 'sign-up-sheets'); ?></th> 35 <th class="column-date"><?php esc_html_e('Date', 'sign-up-sheets'); ?></th> 36 <th class="column-open_spots"><?php esc_html_e('Open Spots', 'sign-up-sheets'); ?></th> 37 37 <th class="column-view_link"> </th> 38 38 </tr> … … 45 45 $endDate = null; 46 46 if (empty($sheet->dlssus_end_date)) { 47 $displayDate = esc_html__('N/A', ' fdsus');47 $displayDate = esc_html__('N/A', 'sign-up-sheets'); 48 48 } else { 49 49 $displayDate = (($sheet->dlssus_start_date == $sheet->dlssus_end_date) ? null : date(get_option('date_format'), strtotime($sheet->dlssus_start_date)) . ' - '); … … 61 61 <td class="column-view_link"> 62 62 <?php if ($openSpots > 0): ?> 63 <a href="<?php echo esc_url(get_the_permalink($sheet->ID)); ?>" class="fdsus-signup-cta"><?php esc_html_e('View & sign-up', ' fdsus'); ?><span class="sr-only"> <?php63 <a href="<?php echo esc_url(get_the_permalink($sheet->ID)); ?>" class="fdsus-signup-cta"><?php esc_html_e('View & sign-up', 'sign-up-sheets'); ?><span class="screen-reader-text"> <?php 64 64 /* translators: %s is replaced with the sheet title */ 65 echo esc_html(sprintf(__('for %s', ' fdsus'), $sheet->post_title)); ?></span></a>65 echo esc_html(sprintf(__('for %s', 'sign-up-sheets'), $sheet->post_title)); ?></span></a> 66 66 <?php else: ?> 67 <?php esc_html_e('✔ Filled', ' fdsus'); ?>67 <?php esc_html_e('✔ Filled', 'sign-up-sheets'); ?> 68 68 <?php endif; ?> 69 69 </td> -
sign-up-sheets/trunk/theme-files/fdsus/sheet-none.php
r3234219 r3234235 13 13 ?> 14 14 15 <p><?php esc_attr_e('Sign-up sheet not found.', ' fdsus'); ?></p>15 <p><?php esc_attr_e('Sign-up sheet not found.', 'sign-up-sheets'); ?></p> -
sign-up-sheets/trunk/theme-files/fdsus/sheet.php
r3234219 r3234235 20 20 <p class="dls-sus-backlink"> 21 21 <a href="<?php echo esc_url(remove_query_arg(array('sheet_id', 'task_id'), $_SERVER['REQUEST_URI'])); ?>"> 22 <?php esc_attr_e('« View all', ' fdsus'); ?>22 <?php esc_attr_e('« View all', 'sign-up-sheets'); ?> 23 23 </a> 24 24 </p> -
sign-up-sheets/trunk/theme-files/fdsus/sign-up-form-header.php
r3234219 r3234235 18 18 19 19 if (!is_admin()): ?> 20 <h3><?php esc_html_e('Sign-up below', ' fdsus'); ?></h3>20 <h3><?php esc_html_e('Sign-up below', 'sign-up-sheets'); ?></h3> 21 21 <p> 22 <?php esc_html_e('You are signing up for...', ' fdsus'); ?>22 <?php esc_html_e('You are signing up for...', 'sign-up-sheets'); ?> 23 23 <em class="dls-sus-task-title"><?php echo wp_kses_post($signup_titles_str); ?></em> 24 24 </p> -
sign-up-sheets/trunk/theme-files/fdsus/sign-up-form.php
r3234219 r3234235 9 9 * @see https://www.fetchdesigns.com/sign-up-sheets-pro-overriding-templates-in-your-theme/ 10 10 * @since 2.2 (plugin version) 11 * @version 1. 2.0 (template file version)11 * @version 1.3.0 (template file version) 12 12 */ 13 13 … … 31 31 <p> 32 32 <label for="signup_firstname" class="signup_firstname"> 33 <?php esc_html_e('First Name', ' fdsus'); ?>33 <?php esc_html_e('First Name', 'sign-up-sheets'); ?> 34 34 <span class="dls-sus-required-icon">*</span> 35 35 </label> … … 41 41 <p> 42 42 <label for="signup_lastname" class="signup_lastname"> 43 <?php esc_html_e('Last Name', ' fdsus'); ?>43 <?php esc_html_e('Last Name', 'sign-up-sheets'); ?> 44 44 <span class="dls-sus-required-icon">*</span> 45 45 </label> … … 52 52 <p> 53 53 <label for="signup_email" class="signup_email"> 54 <?php esc_html_e('E-mail', 'fdsus'); ?> 55 <span class="dls-sus-required-icon">*</span> 54 <?php esc_html_e('E-mail', 'sign-up-sheets'); ?> 55 <?php if ($sheet->isEmailRequired()): ?> 56 <span class="dls-sus-required-icon">*</span> 57 <?php endif; ?> 56 58 </label> 57 59 <input type="email" id="signup_email" class="signup_email" name="signup_email" 58 maxlength="100" required aria-required="true"autocomplete="email"60 maxlength="100" <?php if ($sheet->isEmailRequired()) echo 'required aria-required="true"'; ?> autocomplete="email" 59 61 value="<?php echo esc_attr($initial['email']); ?>"/> 60 62 </p> … … 68 70 <p> 69 71 <label for="signup_phone" class="signup_phone"> 70 <?php esc_html_e('Phone', ' fdsus'); ?>72 <?php esc_html_e('Phone', 'sign-up-sheets'); ?> 71 73 <?php if ($sheet->isPhoneRequired()): ?> 72 74 <span class="dls-sus-required-icon">*</span> … … 83 85 <p> 84 86 <label for="signup_address" class="signup_address"> 85 <?php esc_html_e('Address', ' fdsus'); ?>87 <?php esc_html_e('Address', 'sign-up-sheets'); ?> 86 88 <?php if ($sheet->isAddressRequired()): ?> 87 89 <span class="dls-sus-required-icon">*</span> … … 95 97 <p class="dls-sus-city"> 96 98 <label for="signup_city" class="signup_city"> 97 <?php esc_html_e('City', ' fdsus'); ?>99 <?php esc_html_e('City', 'sign-up-sheets'); ?> 98 100 <?php if ($sheet->isAddressRequired()): ?> 99 101 <span class="dls-sus-required-icon">*</span> … … 107 109 <p class="dls-sus-state"> 108 110 <label for="signup_state" class="signup_state"> 109 <?php esc_html_e('State', ' fdsus'); ?>111 <?php esc_html_e('State', 'sign-up-sheets'); ?> 110 112 <?php if ($sheet->isAddressRequired()): ?> 111 113 <span class="dls-sus-required-icon">*</span> … … 124 126 <p class="dls-sus-zip"> 125 127 <label for="signup_zip" class="signup_zip"> 126 <?php esc_html_e('Zip', ' fdsus'); ?>128 <?php esc_html_e('Zip', 'sign-up-sheets'); ?> 127 129 <?php if ($sheet->isAddressRequired()): ?> 128 130 <span class="dls-sus-required-icon">*</span> … … 143 145 ?> 144 146 145 <p><span class="dls-sus-required-icon">*</span> = <?php esc_html_e('required', ' fdsus'); ?></p>147 <p><span class="dls-sus-required-icon">*</span> = <?php esc_html_e('required', 'sign-up-sheets'); ?></p> 146 148 147 149 <p class="submit"> … … 159 161 value="<?php echo esc_html($submit_button_text); ?>"/> 160 162 <?php if (!is_admin() && !empty($go_back_url)): ?> 161 <?php esc_html_e('or', ' fdsus'); ?>163 <?php esc_html_e('or', 'sign-up-sheets'); ?> 162 164 <a href="<?php echo esc_url($go_back_url); ?>" class="dls-sus-backlink-from-task"> 163 <?php esc_html_e('« go back to the Sign-Up Sheet', ' fdsus'); ?>165 <?php esc_html_e('« go back to the Sign-Up Sheet', 'sign-up-sheets'); ?> 164 166 </a> 165 167 <?php endif; ?> -
sign-up-sheets/trunk/theme-files/fdsus/user_sign_ups.php
r3234219 r3234235 25 25 <thead> 26 26 <tr> 27 <th class="fdssus-column-date"><?php e cho __('Date Added', 'fdsus') ?></th>27 <th class="fdssus-column-date"><?php esc_html_e('Date Added', 'sign-up-sheets') ?></th> 28 28 <th class="fdssus-column-sheet-task"> 29 29 <?php echo esc_html($taskTitleLabel) ?> 30 30 </th> 31 <th class="fdssus-column-signup"><?php e cho __('Sign-up Details', 'fdsus') ?></th>31 <th class="fdssus-column-signup"><?php esc_html_e('Sign-up Details', 'sign-up-sheets') ?></th> 32 32 </tr> 33 33 </thead> … … 38 38 <?php echo $row['date_added'] 39 39 ? date(get_option('date_format'), strtotime($row['date_added'])) 40 : __('N/A', 'fdsus') ?>40 : esc_html__('N/A', 'sign-up-sheets') ?> 41 41 </td> 42 42 <td class="fdsus-col-sheet"> … … 88 88 89 89 <?php if ($row['sheet']->isExpired() || $row['task']->isExpired()): ?> 90 <span class="fdsus-signups-closed"><?php _e('Sign-ups Closed', ' fdsus') ?></span>90 <span class="fdsus-signups-closed"><?php _e('Sign-ups Closed', 'sign-up-sheets') ?></span> 91 91 <?php endif; ?> 92 92 </td>
Note: See TracChangeset
for help on using the changeset viewer.