Koha/koha-tmpl/opac-tmpl/bootstrap/en/modules
Simith D'Oliveira 43fadbadea Bug 13485: Add a page to display links to restricted sites
To test:

I) Apply the patch
II) Run updatedatabase.pl

scenario I)

1) Add some content in RestrictedPageContent and RestrictedPageTitle sysprefs.
2) Add your machine ip (ex. 127.0.0)
3) Validate cgi-bin/koha/opac-proxypage.pl shows a page with RestrictedPageContent and RestrictedPageTitle contents.

scenario II)

1) Logout opac page
2) Add some content in RestrictedPageContent and RestrictedPageTitle sysprefs.
3) Add other ip that your machine ip.
4) Validate: cgi-bin/koha/opac-proxypage.pl shows a login page.
5) Validate: cgi-bin/koha/opac-proxypage.pl shows a page with RestrictedPageContent and RestrictedPageTitle contents after login.

Followed both scenarios, works as expected.
Signed-off-by: Marc Veron <veron@veron.ch>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Bug 13485 [QA Followup]

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Bug 13485 - Atomic Update + Rename Proxy page to Restricted page

Test plan:

I) Apply the patch
II) Run updatedatabase.pl

scenario I)

1) Add some content in RestrictedPageContent and RestrictedPageTitle sysprefs.
2) Add your machine ip (ex. 127.0.0)
3) Validate cgi-bin/koha/opac-restrictedpage.pl shows a page with RestrictedPageContent and RestrictedPageTitle contents.

scenario II)

1) Logout opac page
2) Add some content in RestrictedPageContent and RestrictedPageTitle sysprefs.
3) Add a diffrent ip.
4) Validate: cgi-bin/koha/opac-restrictedpage.pl shows a login page.
5) Validate: cgi-bin/koha/opac-restrictedpage.pl shows a page with RestrictedPageContent and RestrictedPageTitle contents after login.

	new file:   installer/data/mysql/atomicupdate/Bug13485_RestrictedSitesPage.sql
	modified:   installer/data/mysql/sysprefs.sql
	modified:   koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/opac.pref
	renamed:    koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-proxypage.tt -> koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-restrictedpage.tt
	renamed:    opac/opac-proxypage.pl -> opac/opac-restrictedpage.pl

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>
2015-08-11 15:15:16 -03:00
..
errors Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
sco Bug 14404: Rename class no-show to noshow for consistency with nosort 2015-07-20 10:34:00 -03:00
svc Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
text Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
ilsdi.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
maintenance.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-account.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-addbybiblionumber.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-advsearch.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-alert-subscribe.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-auth-detail.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-auth-MARCdetail.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-auth.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-authorities-home.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-authoritiessearchresultlist.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-basket.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-blocked.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-browser.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-course-details.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-course-reserves.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-detail.tt Bug 14345: broken isbn logic prevents display of idreambooks image 2015-07-07 15:33:03 -03:00
opac-discharge.tt Bug 8007: (QA followup) Add error handling when generating the pdf 2015-04-30 12:34:21 -03:00
opac-downloadcart.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-downloadshelf.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-full-serial-issues.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-idref.tt Bug 8992: (QA followup) <body> was missing id and class 2015-04-28 18:11:35 -03:00
opac-imageviewer.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-ISBDdetail.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-main.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-MARCdetail.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-memberentry-update-submitted.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-memberentry.tt Bug 5685: [OPAC follow-up] Validation of email address field 2015-07-24 13:47:57 -03:00
opac-messaging.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-mymessages.tt Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
opac-news-rss.tt Bug 7843: Create an RSS feed for news in Opac 2015-04-30 16:12:25 -03:00
opac-opensearch.tt Bug 11308: fix RSS page in bootstrap theme 2013-11-27 15:50:19 +00:00
opac-overdrive-search.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-passwd.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-privacy.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-readingrecord.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-registration-confirmation.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-registration-email-sent.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-registration-invalid.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-reserve.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-restrictedpage.tt Bug 13485: Add a page to display links to restricted sites 2015-08-11 15:15:16 -03:00
opac-results-grouped.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-results.tt Bug 14524: Don't escape query_cgi with uri 2015-07-20 10:20:20 -03:00
opac-review.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-search-history.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-sendbasket.tt Bug 14329: Useless copy/pasta from Template::Plugin::HtmlToText 2015-06-08 09:47:06 -03:00
opac-sendbasketform.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-sendshelf.tt Bug 14329: Useless copy/pasta from Template::Plugin::HtmlToText 2015-06-08 09:47:06 -03:00
opac-sendshelfform.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-serial-issues.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-shareshelf.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-shelves-rss.tt Bug 1917 [QA Followup] - Use html filter, only show 'by' if author exists, change link title 2015-04-29 12:09:23 -03:00
opac-shelves.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-showmarc.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-showreviews-rss.tt Bug 10309 - New OPAC theme based on Bootstrap 2013-10-14 23:13:05 +00:00
opac-showreviews.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-suggestions.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-tags.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-tags_subject.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-topissues.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00
opac-user.tt Bug 5025: discrepancy between opac doc-head-open.inc and staff doc-head-open.inc 2015-06-22 17:04:48 -03:00