-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add module theme files for email capture
- Loading branch information
Showing
6 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?xml version="1.0"?> | ||
<data> | ||
<object> | ||
<class>Cms_Page</class> | ||
<file_name>social_capture_email</file_name> | ||
<name>Social Capture Email</name> | ||
<url>/social/capture-email</url> | ||
<title>null</title> | ||
<description>null</description> | ||
<keywords>null</keywords> | ||
<sort_order>null</sort_order> | ||
<published>1</published> | ||
<action_code>Custom</action_code> | ||
<security_id>everyone</security_id> | ||
<unique_id>51dcd8013cfe94.53302981</unique_id> | ||
</object> | ||
</data> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<? | ||
|
||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<? | ||
|
||
|
||
|
||
?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
<? | ||
|
||
|
||
|
||
?> |
Empty file.
28 changes: 28 additions & 0 deletions
28
theme/pages/social_capture_email/page_social_capture_email.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<div id="email_confirmation"> | ||
<?= form_open() ?> | ||
|
||
<input type="hidden" name='flynsarmysocialmedia_email_confirmation' value="1" /> | ||
|
||
<?= flash_message() ?> | ||
|
||
<div class="page-header"> | ||
<h2><?=__('Confirm email')?></h2> | ||
<p><?=__("You're almost done. Please confirm your email address.")?></p> | ||
</div> | ||
|
||
<fieldset class="form-horizontal"> | ||
<div class="control-group"> | ||
<label for="signup_email" class="control-label">Email</label> | ||
<div class="controls"> | ||
<input id="signup_email" type="text" name="email" value="<? post('email', '') ?>" class="text" /> | ||
</div> | ||
</div> | ||
|
||
<div class="form-actions"> | ||
<a href="javascript:;" class="btn btn-large btn-success" | ||
onclick="return $(this).getForm().sendRequest('flynsarmysociallogin:on_email_confirmation', {update: {email_confirmation: 'email_confirmation'}})">Submit</a> | ||
</div> | ||
</fieldset> | ||
|
||
<?= form_close() ?> | ||
</div> |