|
From: <luc...@us...> - 2014-04-16 16:36:14
|
Revision: 12455
http://sourceforge.net/p/xoops/svn/12455
Author: luciorota
Date: 2014-04-16 16:36:11 +0000 (Wed, 16 Apr 2014)
Log Message:
-----------
rename templates
Added Paths:
-----------
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_catsubscr_block_day.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_catsubscr_block_recent.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_day.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_random.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_recent.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_subscrinfo_block.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_common_breadcrumb.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_footer.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_header.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_index.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_index_list_letters.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_list_letters.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_list_subscrs.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_preview.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_print.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_protocol.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription_list_subscriptions.html
XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription_result.html
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_catsubscr_block_day.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_catsubscr_block_day.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_catsubscr_block_day.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,11 @@
+<table class="outer">
+<{foreachq item=catsubscr from=$block}>
+ <tr class = "<{cycle values = "even,odd"}>">
+ <td>
+ <{$catsubscr.catsubscr_email}>;
+ <{$catsubscr.catsubscr_newsletter}>;
+ <{$catsubscr.catsubscr_created}>;
+ </td>
+ </tr>
+<{/foreach}>
+</table>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_catsubscr_block_recent.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_catsubscr_block_recent.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_catsubscr_block_recent.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,11 @@
+<table class="outer">
+<{foreachq item=catsubscr from=$block}>
+ <tr class = "<{cycle values = "even,odd"}>">
+ <td>
+ <{$catsubscr.catsubscr_email}>;
+ <{$catsubscr.catsubscr_newsletter}>;
+ <{$catsubscr.catsubscr_created}>;
+ </td>
+ </tr>
+<{/foreach}>
+</table>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_day.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_day.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_day.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,9 @@
+<table class="outer">
+<{foreachq item=letter from=$block}>
+ <tr class = "<{cycle values = "even,odd"}>">
+ <td>
+ <a href="<{$letter.href}>"><{$letter.letter_title}><br />(<{$letter.letter_created}>)</a>
+ </td>
+ </tr>
+<{/foreach}>
+</table>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_random.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_random.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_random.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,9 @@
+<table class="outer">
+<{foreachq item=letter from=$block}>
+ <tr class = "<{cycle values = "even,odd"}>">
+ <td>
+ <a href="<{$letter.href}>"><{$letter.letter_title}><br />(<{$letter.letter_created}>)</a>
+ </td>
+ </tr>
+<{/foreach}>
+</table>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_recent.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_recent.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_letter_block_recent.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,9 @@
+<table class="outer">
+<{foreachq item=letter from=$block}>
+ <tr class = "<{cycle values = "even,odd"}>">
+ <td>
+ <a href="<{$letter.href}>"><{$letter.letter_title}><br />(<{$letter.letter_created}>)</a>
+ </td>
+ </tr>
+<{/foreach}>
+</table>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_subscrinfo_block.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_subscrinfo_block.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/blocks/xNewsletter_subscrinfo_block.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,14 @@
+<form name="<{$block.formname}>" id="<{$block.formname}>" action="<{$block.formaction}>" method="post" enctype="multipart/form-data">
+ <table class="outer">
+ <tr class = "<{cycle values = "even,odd"}>">
+ <td style="text-align:center">
+ <{$block.infotext}>
+ </td>
+ </tr>
+ <tr class = "<{cycle values = "even,odd"}>">
+ <td style="text-align:center">
+ <input type="submit" class="formButton" name="submit" id="submit" value="<{$block.buttontext}>" title="<{$block.buttontext}>" />
+ </td>
+ </tr>
+ </table>
+</form>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_common_breadcrumb.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_common_breadcrumb.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_common_breadcrumb.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,16 @@
+<div class="xnewsletter_headertable">
+ <div class="xnewsletter_breadcrumb">
+ <{foreach item=bread from=$breadcrumb name=bcloop}>
+ <span class="bread">
+ <{if ($bread.link)}>
+ <a href="<{$bread.link}>" title="<{$bread.title}>"><{$bread.title}></a>
+ <{else}>
+ <{$bread.title}>
+ <{/if}>
+ </span>
+ <{if !$smarty.foreach.bcloop.last}>
+ <span class="delimiter">></span>
+ <{/if}>
+ <{/foreach}>
+ </div>
+</div>
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_footer.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_footer.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_footer.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,24 @@
+<{if $advertise_code != ''}>
+<div class="center">
+ <{$advertise_code}>
+</div>
+<{/if}>
+<{if $social_active != 0}>
+<div class="center">
+ <{$social_code}>
+</div>
+<{/if}>
+<div class="center">
+ <{$copyright_code}>
+</div>
+
+<!-- footer menu -->
+<div class="xnewsletter_adminlinks">
+<{foreach item='footerMenuItem' from=$xnewsletterModuleInfoSub}>
+ <a href='<{$smarty.const.XNEWSLETTER_URL}>/<{$footerMenuItem.url}>'><{$footerMenuItem.name}></a>
+<{/foreach}>
+<{if $isAdmin == true}>
+ <br />
+ <a href='<{$smarty.const.XNEWSLETTER_URL}>/admin/index.php'><{$smarty.const._MA_XNEWSLETTER_ADMIN}></a>
+<{/if}>
+</div>
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_header.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_header.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_header.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,7 @@
+<{$xnewsletter_breadcrumb}>
+
+<{if $advertise_code != ''}>
+<div class="center">
+ <{$advertise_code}>
+</div>
+<{/if}>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_index.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_index.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_index.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,5 @@
+<{include file="db:xnewsletter_header.html"}>
+<div class="outer">
+ <div><{$welcome_message}></div>
+</div>
+<{include file="db:xnewsletter_footer.html"}>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_index_list_letters.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_index_list_letters.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_index_list_letters.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,36 @@
+<{include file="db:xnewsletter_header.html"}>
+<div class="outer">
+ <table cellpadding="0" cellspacing="0" class="item" width="100%">
+ <tr class="itemHead">
+ <th class="center"></th>
+ <th class="center"><{$smarty.const._AM_XNEWSLETTER_LETTER_TITLE}></th>
+ <th class="center"><{$smarty.const._AM_XNEWSLETTER_LETTER_CONTENT}></th>
+ <th class="center"><{$smarty.const._MA_XNEWSLETTER_LETTER_CATS}></th>
+ <th class="center"><{$smarty.const._AM_XNEWSLETTER_LETTER_CREATED}></th>
+ <th class="center"> </th>
+ </tr>
+ <{foreachq item='letter' from=$letters}>
+ <tr class = "<{cycle values = 'even,odd'}>">
+ <td class="center"><{$letter.letter_id}></td>
+ <td class="center"><{$letter.letter_title}></td>
+ <td class="center"><{$letter.letter_content}></td>
+ <td class="center">
+ <{foreach item='letter_cat' from=$letter.letter_cats}>
+ <{$letter_cat.cat_name}>
+ <br />
+ <{/foreach}>
+ </td>
+ <td class="center"><{$letter.letter_created_timestamp}></td>
+ <td class="center">
+ <a href="index.php?op=show_preview&letter_id=<{$letter.letter_id}>">
+ <img
+ src="<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_preview.png"
+ alt="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_PREVIEW}>"
+ title="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_PREVIEW}>" />
+ </a>
+ </td>
+ </tr>
+ <{/foreach}>
+ </table>
+</div>
+<{include file="db:xnewsletter_footer.html"}>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,5 @@
+<{include file="db:xnewsletter_header.html"}>
+<div class="outer">
+ <{$content}>
+</div>
+<{include file="db:xnewsletter_footer.html"}>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_list_letters.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_list_letters.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_list_letters.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,98 @@
+<{include file="db:xnewsletter_header.html"}>
+<div class="outer">
+ <table class='outer width100' cellspacing='1'>
+ <tr>
+ <th class='center width2'><{$smarty.const._AM_XNEWSLETTER_LETTER_ID}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_LETTER_TITLE}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_LETTER_TEMPLATE}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_LETTER_CATS}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_LETTER_ATTACHMENT}></th>
+ <th class='center width10'><{$smarty.const._AM_XNEWSLETTER_LETTER_EMAIL_TEST}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_PROTOCOL_LAST_STATUS}></th>
+ <th class='center' width='120px'><{$smarty.const._AM_XNEWSLETTER_FORMACTION}></th>
+ </tr>
+ <{foreach item='letter' from=$letters}>
+ <tr class="<{cycle values = 'even,odd'}>">
+ <td class="center"><{$letter.letter_id}></td>
+ <td class="center"><{$letter.letter_title}></td>
+ <td class="center"><{$letter.letter_template}></td>
+ <td class="center">
+ <{foreach item='letter_cat' from=$letter.letter_cats}>
+ <{$letter_cat.cat_name}>
+ <br />
+ <{/foreach}>
+ </td>
+ <td class="center"><{$letter.attachmentCount}></td>
+ <td class="center"><{$letter.letter_email_test}></td>
+ <td class="center">
+ <{if ($letter.userPermissions.edit)}>
+ <{foreach item='protocol' from=$letter.protocols}>
+ <a href='protocol.php?op=list_letter&letter_id=<{$protocol.protocol_letter_id}>'><{$protocol.protocol_status}></a>
+ <br />
+ <{/foreach}>
+ <{else}>
+ -
+ <{/if}>
+ </td>
+ <td class="center">
+ <{if ($letter.userPermissions.edit)}>
+ <a href="?op=edit_letter&letter_id=<{$letter.letter_id}>">
+ <img
+ src="<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_edit.png"
+ alt="<{$smarty.const._EDIT}>"
+ title="<{$smarty.const._EDIT}>" />
+ </a>
+ <{/if}>
+ <{if ($letter.userPermissions.delete)}>
+ <a href="?op=delete_letter&letter_id=<{$letter.letter_id}>">
+ <img
+ src="<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_delete.png"
+ alt="<{$smarty.const._DELETE}>"
+ title="<{$smarty.const._DELETE}>" />
+ </a>
+ <{/if}>
+ <{if ($letter.userPermissions.create)}>
+ <a href="?op=copy_letter&letter_id=<{$letter.letter_id}>">
+ <img
+ src="<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_copy.png"
+ alt="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_COPYNEW}>"
+ title="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_COPYNEW}>" />
+ </a>
+ <{/if}>
+ <{if ($letter.userPermissions.read)}>
+ <a href="?op=show_preview&letter_id=<{$letter.letter_id}>">
+ <img
+ src="<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_preview.png"
+ alt="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_PREVIEW}>"
+ title="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_PREVIEW}>" />
+ </a>
+ <{/if}>
+ <{if ($letter.userPermissions.send)}>
+ <a href="sendletter.php?op=send_test&letter_id=<{$letter.letter_id}>">
+ <img
+ src="<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_sendtest.png"
+ alt="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_SENDTEST}>"
+ title="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_SENDTEST}>" />
+ </a>
+ <a href="sendletter.php?op=send_letter&letter_id=<{$letter.letter_id}>">
+ <img
+ src="<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_send.png"
+ alt="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_SEND}>"
+ title="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_SEND}>" />
+ </a>
+ <a href="sendletter.php?op=resend_letter&letter_id=<{$letter.letter_id}>">
+ <img
+ src="<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_resend.png"
+ alt="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_RESEND}>"
+ title="<{$smarty.const._AM_XNEWSLETTER_LETTER_ACTION_RESEND}>" />
+ </a>
+ <{/if}>
+ </td>
+ </tr>
+ <{/foreach}>
+ </table>
+ <br />
+ <div class='center'><{$pagenav}></div>
+ <br />
+</div>
+<{include file="db:xnewsletter_footer.html"}>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_list_subscrs.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_list_subscrs.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_list_subscrs.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,71 @@
+<{include file="db:xnewsletter_header.html"}>
+<div class="outer">
+ <{$searchSubscriberForm}>
+ <br />
+ <!-- cats table -->
+ <table class='outer width100' cellspacing='1'>
+ <tr>
+ <th class='center width2'><{$smarty.const._AM_XNEWSLETTER_CAT_ID}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_CAT_NAME}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_CAT_INFO}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_CATSUBSCR_SUBSCRID}></th>
+ <th class='center width5'><{$smarty.const._AM_XNEWSLETTER_FORMACTION}></th>
+ </tr>
+ <{$cats_content}>
+ <{foreach item='cat' from=$cats}>
+ <tr class="<{cycle values = 'even,odd'}>">
+ <td class='center'><{$cat.cat_id}></td>
+ <td class='center'><{$cat.cat_name}></td>
+ <td><{$cat.cat_info}></td>
+ <td class='center'><{$cat.catsubscrCount}></td>
+ <td class='center'>
+ <a href='?op=list_subscrs&cat_id=<{$cat.cat_id}>'>
+ <img
+ src='<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_details.png'
+ alt='<{$smarty.const._AM_XNEWSLETTER_DETAILS}>'
+ title='<{$smarty.const._AM_XNEWSLETTER_DETAILS}>' />
+ </a>
+ </td>
+ </tr>
+ <{/foreach}>
+ </table>
+ <br />
+ <br />
+<{if ($cat_id > 0)}>
+ <h2><{$smarty.const._AM_XNEWSLETTER_CATSUBSCR_SUBSCRID}>: <{$cats[$cat_id].cat_name}></h2>
+ <table class='outer width100' cellspacing='1'>
+ <tr>
+ <th class='center width5'> </th>
+ <th class='center width10'><{$smarty.const._AM_XNEWSLETTER_SUBSCR_SEX}></th>
+ <th class='center width25'><{$smarty.const._AM_XNEWSLETTER_SUBSCR_LASTNAME}></th>
+ <th class='center width25'><{$smarty.const._AM_XNEWSLETTER_SUBSCR_FIRSTNAME}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_SUBSCR_EMAIL}></th>
+ <{if ($permissionChangeOthersSubscriptions)}>
+ <th class='center width5'><{$smarty.const._AM_XNEWSLETTER_FORMACTION}></th>
+ <{/if}>
+ </tr>
+ <{foreach item='subscr' from=$subscrs}>
+ <tr>
+ <td class='center'><{$subscr.counter}></td>
+ <td class='center'><{$subscr.subscr_sex}></td>
+ <td class='center'><{$subscr.subscr_lastname}></td>
+ <td class='center'><{$subscr.subscr_firstname}></td>
+ <td class='center'><{$subscr.subscr_email}></td>
+ <{if ($permissionChangeOthersSubscriptions)}>
+ <td class='center'>
+ <a href='subscription.php?op=edit_subscription&subscr_id=<{$subscr.subscr_id}>'>
+ <img
+ src='<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_edit.png'
+ alt='<{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_EDIT}>'
+ title='<{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_EDIT}>' />
+ </a>
+ </td>
+ <{/if}>
+ </tr>
+ <{/foreach}>
+ </table>
+ <br />
+ <br />
+<{/if}>
+</div>
+<{include file="db:xnewsletter_footer.html"}>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_preview.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_preview.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_letter_preview.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,11 @@
+<{include file="db:xnewsletter_header.html"}>
+<div style='clear:both;'></div>
+<div class="outer">
+ <h2><{$letter.letter_title}></h2>
+ <div style='padding:10px;border:1px solid black;'>
+ <{$letter.letter_content_templated}>
+ </div>
+ <input action="action" type="button" value="<{$smarty.const._BACK}>" onclick="history.go(-1);" />
+</div>
+<div style='clear:both;'></div>
+<{include file="db:xnewsletter_footer.html"}>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_print.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_print.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_print.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,164 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$smarty.const._LANGCODE}>" lang="<{$smarty.const._LANGCODE}>">
+
+ <head>
+ <title>' . $xoopsConfig['sitename'] . '</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <meta name="AUTHOR" content="<{$xoopsConfig.sitename}>" />
+ <meta name="keywords" content="<{$xoops_meta_keywords}>" />
+ <meta name="COPYRIGHT" content="Copyright (c) 2012 by <{$xoopsConfig.sitename}>" />
+ <meta name="DESCRIPTION" content="<{$xoops_meta_description}>" />
+ <meta name="GENERATOR" content="XOOPS" />
+ <!-- Sheet Css -->
+ <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{$smarty.const.XOOPS_URL}>/xoops.css" />
+ <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{$smarty.const.XOOPS_URL}>/themes/default/style.css" />
+ <link rel="stylesheet" type="text/css" media="all" title="Style sheet" href="<{$smarty.const.XOOPS_URL}>/modules/xnewsletter/css/module.css" />
+
+
+ <script type="text/javascript">
+ // <![CDATA[
+ /*------------------------------------------------------------------------------
+ Function: footnoteLinks()
+ Author: Aaron Gustafson (aaron at easy-designs dot net)
+ Creation Date: 8 May 2005
+ Version: 1.3
+ Homepage: http://www.easy-designs.net/code/footnoteLinks/
+ License: Creative Commons Attribution-ShareAlike 2.0 License
+ http://creativecommons.org/licenses/by-sa/2.0/
+ Note: This version has reduced functionality as it is a demo of
+ the script's development
+ ------------------------------------------------------------------------------*/
+ function footnoteLinks(containerID,targetID) {
+ if (!document.getElementById ||
+ !document.getElementsByTagName ||
+ !document.createElement) return false;
+ if (!document.getElementById(containerID) ||
+ !document.getElementById(targetID)) return false;
+ var container = document.getElementById(containerID);
+ var target = document.getElementById(targetID);
+ var h2 = document.createElement('h2');
+ addClass.apply(h2,['printOnly']);
+ var h2_txt = document.createTextNode('<?php echo "_MA_NW_LINKS"; ?>');
+ h2.appendChild(h2_txt);
+ var coll = container.getElementsByTagName('*');
+ var ol = document.createElement('ol');
+ addClass.apply(ol,['printOnly']);
+ var myArr = [];
+ var thisLink;
+ var num = 1;
+ for (var i=0; i<coll.length; i++) {
+ if ( coll[i].getAttribute('href') ||
+ coll[i].getAttribute('cite') ) {
+ thisLink = coll[i].getAttribute('href') ? coll[i].href : coll[i].cite;
+ var note = document.createElement('sup');
+ addClass.apply(note,['printOnly']);
+ var note_txt;
+ var j = inArray.apply(myArr,[thisLink]);
+ if ( j || j===0 ) { // if a duplirolee
+ // get the corresponding number from
+ // the array of used links
+ note_txt = document.createTextNode(j+1);
+ } else {
+ // if not a duplirolee
+ var li = document.createElement('li');
+ var li_txt = document.createTextNode(thisLink);
+ li.appendChild(li_txt);
+ ol.appendChild(li);
+ myArr.push(thisLink);
+ note_txt = document.createTextNode(num);
+ num++;
+ }
+ note.appendChild(note_txt);
+ if (coll[i].tagName.toLowerCase() == 'blockquote') {
+ var lastChild = lastChildContainingText.apply(coll[i]);
+ lastChild.appendChild(note);
+ } else {
+ coll[i].parentNode.insertBefore(note, coll[i].nextSibling);
+ }
+ }
+ }
+ target.appendChild(h2);
+ target.appendChild(ol);
+ return true;
+ }
+ // ]]>
+ </script>
+ <script type="text/javascript">
+ // <![CDATA[
+ /*------------------------------------------------------------------------------
+ Excerpts from the jsUtilities Library
+ Version: 2.1
+ Homepage: http://www.easy-designs.net/code/jsUtilities/
+ License: Creative Commons Attribution-ShareAlike 2.0 License
+ http://creativecommons.org/licenses/by-sa/2.0/
+ Note: If you change or improve on this script, please let us know.
+ ------------------------------------------------------------------------------*/
+ if(Array.prototype.push == null) {
+ Array.prototype.push = function(item) {
+ this[this.length] = item;
+ return this.length;
+ };
+ };
+ // ---------------------------------------------------------------------
+ // function.apply (if unsupported)
+ // Courtesy of Aaron Boodman - http://youngpup.net
+ // ---------------------------------------------------------------------
+ if (!Function.prototype.apply) {
+ Function.prototype.apply = function(oScope, args) {
+ var sarg = [];
+ var rtrn, call;
+ if (!oScope) oScope = window;
+ if (!args) args = [];
+ for (var i = 0; i < args.length; i++) {
+ sarg[i] = "args["+i+"]";
+ };
+ call = "oScope.__applyTemp__(" + sarg.join(",") + ");";
+ oScope.__applyTemp__ = this;
+ rtrn = eval(call);
+ oScope.__applyTemp__ = null;
+ return rtrn;
+ };
+ };
+ function inArray(needle) {
+ for (var i=0; i < this.length; i++) {
+ if (this[i] === needle) {
+ return i;
+ }
+ }
+ return false;
+ }
+ function addClass(theClass) {
+ if (this.className != '') {
+ this.className += ' ' + theClass;
+ } else {
+ this.className = theClass;
+ }
+ }
+ function lastChildContainingText() {
+ var testChild = this.lastChild;
+ var contentCntnr = ['p','li','dd'];
+ while (testChild.nodeType != 1) {
+ testChild = testChild.previousSibling;
+ }
+ var tag = testChild.tagName.toLowerCase();
+ var tagInArr = inArray.apply(contentCntnr, [tag]);
+ if (!tagInArr && tagInArr!==0) {
+ testChild = lastChildContainingText.apply(testChild);
+ }
+ return testChild;
+ }
+ // ]]>
+ </script>
+ <style type="text/css" media="screen">
+ .printOnly {
+ display: none;
+ }
+ </style>
+ </head>
+ <body bgcolor="#ffffff" text="#000000" onload="window.print()">
+ <h2><{$letter.letter_title}></h2>
+ <div style='padding:10px;border:1px solid black;'>
+ <{$letter.letter_content_templated}>
+ </div>
+ </body>
+</html>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_protocol.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_protocol.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_protocol.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,40 @@
+<{include file="db:xnewsletter_header.html"}>
+<div class="outer">
+ <table cellpadding="0" cellspacing="0" class="item" width="100%">
+ <tr class="itemHead">
+ <th class="center"><{$smarty.const._AM_XNEWSLETTER_PROTOCOL_ID}></th>
+ <th class="center"><{$smarty.const._AM_XNEWSLETTER_SUBSCR_EMAIL}></th>
+ <th class="center" colspan="2"><{$smarty.const._AM_XNEWSLETTER_PROTOCOL_STATUS}></th>
+ <th class="center"><{$smarty.const._AM_XNEWSLETTER_PROTOCOL_CREATED}></th>
+ </tr>
+ <{foreachq item='protocol' from=$protocols}>
+ <tr class = "<{cycle values = 'even,odd'}>">
+ <td class="center"><{$protocol.protocol_id}></td>
+ <td class="center">
+ <{if ($protocol.subscr)}>
+ <{$protocol.subscr_email}>
+ <{else}>
+ <{$smarty.const._AM_XNEWSLETTER_PROTOCOL_NO_SUBSCREMAIL}>
+ <{/if}>
+
+ </td>
+ <td class="right">
+ <{if ($protocol.protocol_success)}>
+ <img
+ src='<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_ok.png'
+ alt='<{$smarty.const._AM_XNEWSLETTER_OK}>'
+ title='<{$smarty.const._AM_XNEWSLETTER_OK}>' />
+ <{else}>
+ <img
+ src='<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_failed.png'
+ alt='<{$smarty.const._AM_XNEWSLETTER_FAILED}>'
+ title='<{$smarty.const._AM_XNEWSLETTER_FAILED}>' />
+ <{/if}>
+ </td>
+ <td class="left"><{$protocol.protocol_status}></td>
+ <td class="center"><{$protocol.protocol_created_timestamp}></td>
+ </tr>
+ <{/foreach}>
+ </table>
+</div>
+<{include file="db:xnewsletter_footer.html"}>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,5 @@
+<{include file="db:xnewsletter_header.html"}>
+<div class="outer">
+ <div><{$xnewsletter_content}></div>
+</div>
+<{include file="db:xnewsletter_footer.html"}>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription_list_subscriptions.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription_list_subscriptions.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription_list_subscriptions.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,78 @@
+<{include file="db:xnewsletter_header.html"}>
+<div class="outer">
+ <div>
+ <{if ($subscrCount > 0)}>
+ <{$smarty.const._MA_XNEWSLETTER_REGISTRATION_EXIST}>
+ <{else}>
+ <{$smarty.const._MA_XNEWSLETTER_REGISTRATION_NONE}>
+ <{/if}>
+ </div>
+
+<{if ($showSubscrSearchForm)}>
+ <{$subscrSearchForm}>
+<{/if}>
+<{if ($showSubscrForm)}>
+ <{$subscrForm}>
+<{/if}>
+</div>
+
+<{if ($subscrCount > 0)}>
+ <table class='outer width100' cellspacing='1'>
+ <tr>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_SUBSCR_EMAIL}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_SUBSCR_SEX}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_SUBSCR_FIRSTNAME}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_SUBSCR_LASTNAME}></th>
+ <th class='center'><{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_EXIST}></th>
+ <th class='center'><{$smarty.const._AM_XNEWSLETTER_SUBSCR_CREATED}></th>
+ <th class='center width10'><{$smarty.const._AM_XNEWSLETTER_FORMACTION}></th>
+ </tr>
+ <{foreach item='subscr' from=$subscrs}>
+ <tr>
+ <td class='center'><{$subscr.subscr_email}></td>
+ <td class='center'><{$subscr.subscr_sex}></td>
+ <td class='center'><{$subscr.subscr_firstname}></td>
+ <td class='center'><{$subscr.subscr_lastname}></td>
+ <td class='center'>
+ <{if ($subscr.catsubscrs|count > 0)}>
+ <ul>
+ <{foreach item='catsubscr' from=$subscr.catsubscrs}>
+ <li>
+ <{$catsubscr.cat.cat_name}>
+ <{if ($catsubscr.catsubscr_quited)}>
+ <{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_QUITED}>
+ <{/if}>
+ </li>
+ <{/foreach}>
+ </ul>
+ <{else}>
+ <{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_EXIST_NONE}>
+ <{/if}>
+ </td>
+ <td class='center'><{$subscr.subscr_created_timestamp}></td>
+ <td class='center'>
+ <a href='?op=edit_subscription&subscr_id=<{$subscr.subscr_id}>'>
+ <img
+ src='<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_edit.png'
+ alt='<{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_EDIT}>'
+ title='<{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_EDIT}>' />
+ </a>
+ <a href='?op=delete_subscription&subscr_id=<{$subscr.subscr_id}>&subscr_email=<{$subscr.subscr_email}>'>
+ <img
+ src='<{$smarty.const.XNEWSLETTER_ICONS_URL}>/xn_delete.png'
+ alt='<{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_DELETE}>'
+ title='<{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_DELETE}>' />
+ </a>
+ </td>
+ </tr>
+ <{if ($subscr.subscr_activated == 0)}>
+ <tr>
+ <td colspan='7'>
+ <{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_UNFINISHED|replace:'%link':'?op=resend_subscription&subscr_id=%subscr_id'|replace:'%subscr_id':$subscr.subscr_id}>
+ </td>
+ </tr>
+ <{/if}>
+ <{/foreach}>
+ </table>
+<{/if}>
+<{include file="db:xnewsletter_footer.html"}>
\ No newline at end of file
Added: XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription_result.html
===================================================================
--- XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription_result.html (rev 0)
+++ XoopsModules/xnewsletter/branches/luciorota/xNewsletter/templates/xNewsletter_subscription_result.html 2014-04-16 16:36:11 UTC (rev 12455)
@@ -0,0 +1,20 @@
+<{include file="db:xnewsletter_header.html"}>
+<div class="outer">
+ <p align="center" style="margin-top: 20px; margin-bottom: 20px; font-weight:bold">
+ <{$subscription_result}>
+ </p>
+<{foreach item='actionProt_ok' from=$actionProts_ok}>
+ <p>
+ <img src='<{$smarty.const.XNEWSLETTER_ICONS_URL}>/on.png' alt='<{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_OK}>' title='<{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_OK}>'>
+ <{$actionProt_ok}>
+ </p>
+<{/foreach}>
+<{foreach item='actionProt_error' from=$actionProts_error}>
+ <p>
+ <img src='<{$smarty.const.XNEWSLETTER_ICONS_URL}>/off.png' alt='<{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_ERROR}>' title='<{$smarty.const._MA_XNEWSLETTER_SUBSCRIPTION_ERROR}>"'>
+
+ <{$actionProt_error}>
+ </p>
+<{/foreach}>
+</div>
+<{include file="db:xnewsletter_footer.html"}>
\ No newline at end of file
|