Changeset 844 in ExiteCMS
- Timestamp:
- 09/27/07 19:37:06 (4 years ago)
- Location:
- modules/common
- Files:
-
- 18 edited
-
download_statistics_panel/php-files/modules/download_statistics_panel/download_statistics_panel.php (modified) (1 diff)
-
download_statistics_panel/php-files/modules/download_statistics_panel/locale/English.php (modified) (2 diffs)
-
download_statistics_panel/php-files/modules/download_statistics_panel/templates/modules.download_statistics_panel.geomapping.tpl (modified) (2 diffs)
-
download_statistics_panel/php-files/modules/download_statistics_panel/templates/modules.download_statistics_panel.tpl (modified) (3 diffs)
-
forum_threads_list_panel/php-files/modules/forum_threads_list_panel/forum_threads_list_panel.php (modified) (1 diff)
-
forum_threads_list_panel/php-files/modules/forum_threads_list_panel/my_posts.php (modified) (1 diff)
-
forum_threads_list_panel/php-files/modules/forum_threads_list_panel/my_threads.php (modified) (1 diff)
-
forum_threads_list_panel/php-files/modules/forum_threads_list_panel/new_posts.php (modified) (1 diff)
-
forum_threads_list_panel/php-files/modules/forum_threads_list_panel/new_posts_detail.php (modified) (1 diff)
-
forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.my_posts.tpl (modified) (1 diff)
-
forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.my_threads.tpl (modified) (1 diff)
-
forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.new_posts.tpl (modified) (1 diff)
-
forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.tpl (modified) (1 diff)
-
mail2forum/php-files/modules/mail2forum/locale/English.php (modified) (2 diffs)
-
mail2forum/php-files/modules/mail2forum/m2f_smtp.php (modified) (1 diff)
-
mail2forum/php-files/modules/mail2forum/m2f_subscriptions.php (modified) (1 diff)
-
mail2forum/php-files/modules/mail2forum/templates/modules.mail2forum.admin_panel.tpl (modified) (5 diffs)
-
mail2forum/php-files/modules/mail2forum/templates/modules.mail2forum.subscriptions.tpl (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
modules/common/download_statistics_panel/php-files/modules/download_statistics_panel/download_statistics_panel.php
r836 r844 56 56 $result = dbquery("SELECT ds_mirror, count(*) as count FROM ".$db_prefix."dls_statistics GROUP BY ds_mirror"); 57 57 while ($data = dbarray($result)) { 58 $data['mirror'] = $data['ds_mirror'] ? ("http://download".$data['ds_mirror'].".pli-images.org") : "Mirror site not recorded";58 $data['mirror'] = $data['ds_mirror'] ? ("http://download".$data['ds_mirror'].".pli-images.org") : $locale['dls298']; 59 59 $variables['stats_mirrors'][] = $data; 60 60 } -
modules/common/download_statistics_panel/php-files/modules/download_statistics_panel/locale/English.php
r764 r844 35 35 $locale['dls158'] = "Plugin"; 36 36 $locale['dls159'] = "Box type"; 37 $locale['dls160'] = "Mirror"; 38 $locale['dls161'] = "Downloads"; 37 39 // Statistics information 38 40 $locale['dls290'] = "Statistics information"; … … 42 44 $locale['dls294'] = "The most recent download took place on <b>%s</b>"; 43 45 // Error message 46 $locale['dls298'] = "Mirror site not logged"; 44 47 $locale['dls299'] = "There is no data available to generate the report."; 45 48 -
modules/common/download_statistics_panel/php-files/modules/download_statistics_panel/templates/modules.download_statistics_panel.geomapping.tpl
r768 r844 22 22 <tr> 23 23 <td class='tbl1'> 24 <div id='map' style='width: 790px; height: 550px ' style:'z-index:1;'>24 <div id='map' style='width: 790px; height: 550px; z-index:1;'> 25 25 {literal} <script type='text/javascript'> 26 26 //<![CDATA[ … … 32 32 var mymarker = new GMarker(point, icon); 33 33 GEvent.addListener(mymarker, 'mouseover', function() { 34 mymarker.openInfoWindowHtml('<span style="height:50px;font-size:10pt"><img width="18" height="12" src="{/literal}{$smarty.const.IMAGES}{literal}flags/' + cc + '.gif" alt="" /> ' + cn + '<br /><br />' + users + ' user(s)< /span>');34 mymarker.openInfoWindowHtml('<span style="height:50px;font-size:10pt"><img width="18" height="12" src="{/literal}{$smarty.const.IMAGES}{literal}flags/' + cc + '.gif" alt="" /> ' + cn + '<br /><br />' + users + ' user(s)<\/span>'); 35 35 }); 36 36 GEvent.addListener(mymarker, 'mouseout', function() { -
modules/common/download_statistics_panel/php-files/modules/download_statistics_panel/templates/modules.download_statistics_panel.tpl
r783 r844 35 35 <table align='center' cellpadding='0' cellspacing='1' width='400' class='tbl-border'> 36 36 <tr class='tbl2' align='center'> 37 <td width= 80%'>38 <b>{$locale.dls 207}</b>37 <td width='80%'> 38 <b>{$locale.dls160}</b> 39 39 </td> 40 40 <td width='20%'> 41 <b>{$locale.dls 302}</b>41 <b>{$locale.dls161}</b> 42 42 </td> 43 43 </tr> 44 44 {/if} 45 <tr class='{cycle values='tbl1 ,tbl2'}' align='center'>45 <tr class='{cycle values='tbl1'}' align='center'> 46 46 <td> 47 47 {$stats_mirrors[id].mirror} … … 63 63 {$locale.dls121} 64 64 <select name='top' class='textbox' style='width:50px;'> 65 <option value='1'{if $top == 5} selected {/if}>5</option>66 <option value='2'{if $top == 10} selected {/if}>10</option>67 <option value='3'{if $top == 15} selected {/if}>15</option>68 <option value='4'{if $top == 20} selected {/if}>20</option>69 <option value='5'{if $top == 25} selected {/if}>25</option>65 <option value='1'{if $top == 5} selected="selected"{/if}>5</option> 66 <option value='2'{if $top == 10} selected="selected"{/if}>10</option> 67 <option value='3'{if $top == 15} selected="selected"{/if}>15</option> 68 <option value='4'{if $top == 20} selected="selected"{/if}>20</option> 69 <option value='5'{if $top == 25} selected="selected"{/if}>25</option> 70 70 </select> 71 71 {$locale.dls122} 72 72 <select name='report' class='textbox' style='width:200px;'> 73 73 {section name=id loop=$reports} 74 <option value='{$reports[id].number}'{if $report == $reports[id].number} selected {/if}>{$reports[id].name}</option>74 <option value='{$reports[id].number}'{if $report == $reports[id].number} selected="selected"{/if}>{$reports[id].name}</option> 75 75 {/section} 76 76 </select> … … 85 85 {$locale.dls123} 86 86 <select name='filter' class='textbox' style='width:200px;'> 87 <option value='0'{if $filter == 0} selected {/if}></option>88 <option value='1'{if $filter == 1} selected {/if}>{$locale.dls140}</option>89 <option value='2'{if $filter == 2} selected {/if}>{$locale.dls141}</option>90 <option value='3'{if $filter == 3} selected {/if}>{$locale.dls142}</option>91 <option value='4'{if $filter == 4} selected {/if}>{$locale.dls143}</option>87 <option value='0'{if $filter == 0} selected="selected"{/if}> </option> 88 <option value='1'{if $filter == 1} selected="selected"{/if}>{$locale.dls140}</option> 89 <option value='2'{if $filter == 2} selected="selected"{/if}>{$locale.dls141}</option> 90 <option value='3'{if $filter == 3} selected="selected"{/if}>{$locale.dls142}</option> 91 <option value='4'{if $filter == 4} selected="selected"{/if}>{$locale.dls143}</option> 92 92 </select> 93 93 </td> -
modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/forum_threads_list_panel.php
r836 r844 37 37 $i = 0; 38 38 while ($data = dbarray($result)) { 39 $data[' fpm_append'] = fpm_panels_poll_exists($data['forum_id'], $data['thread_id']);39 $data['poll'] = fpm_panels_poll_exists($data['forum_id'], $data['thread_id']); 40 40 $data['count_posts']--; 41 41 $threadlist[] = $data; -
modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/my_posts.php
r836 r844 76 76 77 77 // define the search body panel variables 78 $template_panels[] = array('type' => 'body', 'name' => 'my_posts', 'title' => $title, 'template' => 'modules.forum_threads_list_panel.my_posts.tpl' , 'locale' => array(PATH_LOCALE.LOCALESET."admin/forum_polls.php"));78 $template_panels[] = array('type' => 'body', 'name' => 'my_posts', 'title' => $title, 'template' => 'modules.forum_threads_list_panel.my_posts.tpl'); 79 79 $template_variables['my_posts'] = $variables; 80 80 -
modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/my_threads.php
r836 r844 62 62 63 63 // define the search body panel variables 64 $template_panels[] = array('type' => 'body', 'name' => 'my_threads', 'template' => 'modules.forum_threads_list_panel.my_threads.tpl' , 'locale' => array(PATH_LOCALE.LOCALESET."admin/forum_polls.php"));64 $template_panels[] = array('type' => 'body', 'name' => 'my_threads', 'template' => 'modules.forum_threads_list_panel.my_threads.tpl'); 65 65 $template_variables['my_threads'] = $variables; 66 66 -
modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/new_posts.php
r836 r844 87 87 88 88 // define the search body panel variables 89 $template_panels[] = array('type' => 'body', 'name' => 'my_new_posts', 'template' => 'modules.forum_threads_list_panel.new_posts.tpl' , 'locale' => array(PATH_LOCALE.LOCALESET."admin/forum_polls.php"));89 $template_panels[] = array('type' => 'body', 'name' => 'my_new_posts', 'template' => 'modules.forum_threads_list_panel.new_posts.tpl'); 90 90 $template_variables['my_new_posts'] = $variables; 91 91 -
modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/new_posts_detail.php
r836 r844 71 71 72 72 // define the search body panel variables 73 $template_panels[] = array('type' => 'body', 'name' => 'my_new_posts', 'template' => 'modules.forum_threads_list_panel.new_posts_detail.tpl' , 'locale' => array(PATH_LOCALE.LOCALESET."admin/forum_polls.php"));73 $template_panels[] = array('type' => 'body', 'name' => 'my_new_posts', 'template' => 'modules.forum_threads_list_panel.new_posts_detail.tpl'); 74 74 $template_variables['my_new_posts'] = $variables; 75 75 -
modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.my_posts.tpl
r770 r844 45 45 <td class='{cycle values='tbl1,tbl2' advance=no}'> 46 46 <span class='small'> 47 <a href='{$smarty.const.FORUM}viewthread.php?{$posts[id].rstart}forum_id={$posts[id].forum_id}&thread_id={$posts[id].thread_id}&pid={$posts[id].post_id}#post_{$posts[id].post_id}' title='{$posts[id].post_subject}'>{$posts[id].post_subject|truncate:40:"..."}{if $posts[id].poll} <b>{$locale. FPM_200}</b>{/if}</a>47 <a href='{$smarty.const.FORUM}viewthread.php?{$posts[id].rstart}forum_id={$posts[id].forum_id}&thread_id={$posts[id].thread_id}&pid={$posts[id].post_id}#post_{$posts[id].post_id}' title='{$posts[id].post_subject}'>{$posts[id].post_subject|truncate:40:"..."}{if $posts[id].poll} <b>{$locale.112}</b>{/if}</a> 48 48 </span> 49 49 </td> -
modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.my_threads.tpl
r770 r844 45 45 <td width='55%' class='{cycle values='tbl1,tbl2' advance=no}'> 46 46 <span class='small'> 47 <a href='{$smarty.const.FORUM}viewthread.php?forum_id={$threads[id].forum_id}&thread_id={$threads[id].thread_id}' title='{$threads[id].thread_subject}'>{$threads[id].thread_subject|truncate:40:"..."}{if $threads[id].poll} <b>{$locale. FPM_200}</b>{/if}</a>47 <a href='{$smarty.const.FORUM}viewthread.php?forum_id={$threads[id].forum_id}&thread_id={$threads[id].thread_id}' title='{$threads[id].thread_subject}'>{$threads[id].thread_subject|truncate:40:"..."}{if $threads[id].poll} <b>{$locale.112}</b>{/if}</a> 48 48 </span> 49 49 </td> -
modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.new_posts.tpl
r839 r844 42 42 </td> 43 43 <td class='{cycle values='tbl1,tbl2' advance=no}'> 44 <a href='{$smarty.const.BASEDIR}forum/viewthread.php?forum_id={$posts[id].forum_id}&thread_id={$posts[id].thread_id}&pid={$posts[id].post_id}#post_{$posts[id].post_id}'>{$posts[id].thread_subject}{if $posts[id].poll} <b>{$locale. FPM_200}</b>{/if}</a>44 <a href='{$smarty.const.BASEDIR}forum/viewthread.php?forum_id={$posts[id].forum_id}&thread_id={$posts[id].thread_id}&pid={$posts[id].post_id}#post_{$posts[id].post_id}'>{$posts[id].thread_subject}{if $posts[id].poll} <b>{$locale.112}</b>{/if}</a> 45 45 </td> 46 46 <td align='center' width='1%' class='{cycle values='tbl1,tbl2' advance=no}' style='white-space:nowrap'> -
modules/common/forum_threads_list_panel/php-files/modules/forum_threads_list_panel/templates/modules.forum_threads_list_panel.tpl
r836 r844 29 29 {if $smarty.const.THEME_WIDTH == "100%" || $smarty.const.THEME_WIDTH > "990"} 30 30 <td width='45%' class='{cycle values="tbl1,tbl2" advance=false}'><a href='{$smarty.const.FORUM}viewforum.php?forum_id={$threadlist[entry].forum_id}' title='{$threadlist[entry].forum_name}'>{$threadlist[entry].forum_name}</a></td> 31 <td width='55%' class='{cycle values="tbl1,tbl2" advance=false}'><a href='{$smarty.const.FORUM}viewthread.php?forum_id={$threadlist[entry].forum_id}&thread_id={$threadlist[entry].thread_id}&pid={$threadlist[entry].last_id}#post_{$threadlist[entry].last_id}' title='{$threadlist[entry].thread_subject}'>{$threadlist[entry].thread_subject|truncate:40}{ $threadlist[entry].fpm_append}</a></td>31 <td width='55%' class='{cycle values="tbl1,tbl2" advance=false}'><a href='{$smarty.const.FORUM}viewthread.php?forum_id={$threadlist[entry].forum_id}&thread_id={$threadlist[entry].thread_id}&pid={$threadlist[entry].last_id}#post_{$threadlist[entry].last_id}' title='{$threadlist[entry].thread_subject}'>{$threadlist[entry].thread_subject|truncate:40}{if $threadlist[entry].poll} <b>{$locale.112}</b>{/if}</a></td> 32 32 {else} 33 33 <td width='100%' class='{cycle values="tbl1,tbl2" advance=false}'><a href='{$smarty.const.FORUM}viewthread.php?forum_id={$threadlist[entry].forum_id}&thread_id={$threadlist[entry].thread_id}&pid={$threadlist[entry].last_id}#post_{$threadlist[entry].last_id}' title='{$threadlist[entry].thread_subject} ($threadlist[entry].forum_name})'>{$threadlist[entry].thread_subject|truncate:40}{$threadlist[entry].fpm_append}</a></td> -
modules/common/mail2forum/php-files/modules/mail2forum/locale/English.php
r836 r844 12 12 $locale['m2f202'] = "Forum Postability"; 13 13 $locale['m2f203'] = "Options"; 14 $locale['m2f204'] = " Subscribers";14 $locale['m2f204'] = ""; 15 15 $locale['m2f205'] = "Sent"; 16 16 $locale['m2f210'] = "Configure"; 17 $locale['m2f211'] = " <font color='green'>Enable</font>";18 $locale['m2f212'] = " <font color='red'>Disable</font>";17 $locale['m2f211'] = "Activate this configuration"; 18 $locale['m2f212'] = "Disable this configuration"; 19 19 $locale['m2f213'] = "Received"; 20 20 $locale['m2f214'] = "Mail system"; 21 21 $locale['m2f215'] = "Remove"; 22 22 $locale['m2f216'] = "Cancel"; 23 $locale['m2f217'] = "View ";24 $locale['m2f218'] = "A ctivate";25 $locale['m2f219'] = "D eactivate";23 $locale['m2f217'] = "View the subscribers list"; 24 $locale['m2f218'] = "Allow users to subscribe"; 25 $locale['m2f219'] = "Disable user subscriptions"; 26 26 // Supported mailbox types 27 27 $locale['m2f230'] = "SMTP/POP3"; … … 129 129 $locale['m2f951'] = "Subscriptions succesfully updated"; 130 130 // Subscription intro message 131 $locale['m2f990'] = "Mail-to-Forum is a ExiteCMS installable module which binds the content of a forum with that of a mailing list.\n<ul> 132 <li>Any posts made in a designated forum will be automatically emailed to every member of the corresponding mailing list.\n 133 <li>Any mail sent to the mailing list will be automatically added as posts to this forum.\n 134 <li>Special formatting makes sure that replies to Mail-to-Forum emails will be added to the correct thread.</ul>"; 131 $locale['m2f990'] = "Mail-to-Forum is a ExiteCMS installable module which binds the content of a forum with that of a mailing list.\n 132 <ul> 133 <li>Any posts made in a designated forum will be automatically emailed to every member of the corresponding mailing list.</li>\n 134 <li>Any mail sent to the mailing list will be automatically added as posts to this forum.</li>\n 135 <li>Special formatting makes sure that replies to Mail-to-Forum emails will be added to the correct thread.</li>\n 136 </ul>"; 135 137 // M2F post error messages (used in NDR reports) 136 138 $locale['m2f991'] = "Mail2Forum - post error message"; -
modules/common/mail2forum/php-files/modules/mail2forum/m2f_smtp.php
r836 r844 361 361 if (M2F_SMTP_DEBUG) logdebug('ATTACHMENT', print_r($attachment, true)); 362 362 if (USE_PLI_ENHANCEMENTS) { 363 $attachURL = $settings['siteurl']."forum/viewthread.php?forum_id=".$postrecord['forum_id']."&thread_id=".$postrecord['thread_id']."&getfile=".$attachment['attach_id']."&user_name=".$recipient['user_name']."&user_pass="; 364 $attachURL = str_replace(" ", "%20", $attachURL); 363 $attachURL = $settings['siteurl']."getfile.php?type=a&file_id=".$attachment['attach_id']; 365 364 } else { 366 365 $attachURL = $settings['siteurl']."forum/attachments/".$attachment['attach_name']; -
modules/common/mail2forum/php-files/modules/mail2forum/m2f_subscriptions.php
r836 r844 82 82 83 83 $variables['subscriptions'] = array(); 84 $result = dbquery("SELECT * FROM ".$db_prefix."M2F_forums mf, ".$db_prefix."forums f WHERE mf.m2f_subscribe = 1 AND mf.m2f_active = 1 AND mf.m2f_forumid = f.forum_id AND ".groupaccess('mf.m2f_access') );84 $result = dbquery("SELECT * FROM ".$db_prefix."M2F_forums mf, ".$db_prefix."forums f WHERE mf.m2f_subscribe = 1 AND mf.m2f_active = 1 AND mf.m2f_forumid = f.forum_id AND ".groupaccess('mf.m2f_access')." ORDER BY f.forum_name"); 85 85 while ($data = dbarray($result)) { 86 86 $result2 = dbquery("SELECT * FROM ".$db_prefix."M2F_subscriptions WHERE m2f_forumid = '".$data['m2f_forumid']."' AND m2f_userid = '".$userdata['user_id']."'"); -
modules/common/mail2forum/php-files/modules/mail2forum/templates/modules.mail2forum.admin_panel.tpl
r767 r844 63 63 </center> 64 64 {/if} 65 <table align='center' cellpadding='0' cellspacing='1' width=' 80%' class='tbl-border'>65 <table align='center' cellpadding='0' cellspacing='1' width='95%' class='tbl-border'> 66 66 {section name=id loop=$forums} 67 67 {if $smarty.section.id.first} … … 70 70 <b>{$locale.m2f201}</b> 71 71 </td> 72 <td align='center' width='1%' class='tbl2' style='white-space:nowrap' >72 <td align='center' width='1%' class='tbl2' style='white-space:nowrap' colspan='2'> 73 73 <b>{$locale.m2f202}</b> 74 74 </td> 75 75 <td align='center' width='1%' class='tbl2' style='white-space:nowrap' colspan='2'> 76 76 <b>{$locale.m2f214}</b> 77 </td>78 <td align='center' width='1%' class='tbl2' style='white-space:nowrap' colspan='2'>79 <b>{$locale.m2f204}</b>80 77 </td> 81 78 <td align='center' width='1%' class='tbl2' style='white-space:nowrap'> … … 101 98 </td> 102 99 <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 100 {$forums[id].m2f_subscribers} 101 </td> 102 <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 103 103 <select name='m2f_type' class='textbox'> 104 104 {foreach from=$mailtypes item=type name=mailtype} … … 116 116 </td> 117 117 <td align='center' width='1%' class='tbl1' style='white-space:nowrap'> 118 {$forums[id].m2f_subscribers}119 {if $forums[id].m2f_subscribers > 0}120 [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=subscribers&forum_id={$forums[id].forum_id}'>{$locale.m2f217}</a>]121 {/if}122 </td>123 <td align='center' width='1%' class='tbl1' style='white-space:nowrap'>124 {if $forums[id].m2f_config}125 {if $forums[id].m2f_subscribe}126 [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=deactivate&forum_id={$forums[id].forum_id}'>{$locale.m2f219}</a>]127 {else}128 [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=activate&forum_id={$forums[id].forum_id}'>{$locale.m2f218}</a>]129 {/if}130 {/if}131 </td>132 <td align='center' width='1%' class='tbl1' style='white-space:nowrap'>133 118 {if $forums[id].m2f_config}{$forums[id].m2f_sent}{else}0{/if} 134 119 </td> … … 136 121 {if $forums[id].m2f_config}{$forums[id].m2f_received}{else}0{/if} 137 122 </td> 138 <td align=' center' width='1%' class='tbl1' style='white-space:nowrap'>123 <td align='left' width='1%' class='tbl1' style='white-space:nowrap'> 139 124 {if $forums[id].m2f_config} 125 {if $forums[id].m2f_subscribe} 126 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=deactivate&forum_id={$forums[id].forum_id}'><img src='{$smarty.const.THEME}images/cog_delete.gif' alt='{$locale.m2f219}' title='{$locale.m2f219}' /></a> 127 {else} 128 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=activate&forum_id={$forums[id].forum_id}'><img src='{$smarty.const.THEME}images/cog_add.gif' alt='{$locale.m2f218}' title='{$locale.m2f218}' /></a> 129 {/if} 140 130 {if $forums[id].m2f_active} 141 [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=setstatus&status=0&forum_id={$forums[id].forum_id}'>{$locale.m2f212}</a>]131 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=setstatus&status=0&forum_id={$forums[id].forum_id}'><img src='{$smarty.const.THEME}images/page_red.gif' alt='{$locale.m2f212}' title='{$locale.m2f212}' /></a> 142 132 {else} 143 [<a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=setstatus&status=1&forum_id={$forums[id].forum_id}'>{$locale.m2f211}</a>]133 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=setstatus&status=1&forum_id={$forums[id].forum_id}'><img src='{$smarty.const.THEME}images/page_green.gif' alt='{$locale.m2f211}' title='{$locale.m2f211}' /></a> 144 134 {/if} 145 135 {/if} 136 {if $forums[id].m2f_subscribers > 0} 137 <a href='{$smarty.const.FUSION_SELF}{$aidlink}&step=subscribers&forum_id={$forums[id].forum_id}'><img src='{$smarty.const.THEME}images/image_view.gif' alt='{$locale.m2f217}' title='{$locale.m2f217}'></a> 138 {/if} 146 139 </td> 147 140 </tr> -
modules/common/mail2forum/php-files/modules/mail2forum/templates/modules.mail2forum.subscriptions.tpl
r784 r844 41 41 <select name='m2f_html' class='textbox' style='width:150px'> 42 42 {foreach from=$ar_html item=choice name=fe} 43 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_html} selected {/if}>{$choice}</option>43 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_html} selected="selected"{/if}>{$choice}</option> 44 44 {/foreach} 45 45 </select> … … 53 53 <select name='m2f_attach' class='textbox' style='width:150px'> 54 54 {foreach from=$ar_attach item=choice name=fe} 55 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_attach} selected {/if}>{$choice}</option>55 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_attach} selected="selected"{/if}>{$choice}</option> 56 56 {/foreach} 57 57 </select> … … 67 67 <select name='m2f_inline' class='textbox' style='width:150px'> 68 68 {foreach from=$ar_inline item=choice name=fe} 69 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_inline} selected {/if}>{$choice}</option>69 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_inline} selected="selected"{/if}>{$choice}</option> 70 70 {/foreach} 71 71 </select> … … 79 79 <select name='m2f_thumbnail' class='textbox' style='width:150px'> 80 80 {foreach from=$ar_thumbnail item=choice name=fe} 81 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_thumbnail} selected {/if}>{$choice}</option>81 <option value='{$smarty.foreach.fe.index}'{if $smarty.foreach.fe.index == $config.m2f_thumbnail} selected="selected"{/if}>{$choice}</option> 82 82 {/foreach} 83 83 </select> … … 110 110 {if $smarty.section.id.first} 111 111 <tr> 112 <td width=''class='tbl2'>112 <td class='tbl2'> 113 113 <b>{$locale.m2f400}</b> 114 114 </td> … … 116 116 <b>{$locale.m2f401}</b> 117 117 </td> 118 <td width=''class='tbl2' style='white-space:nowrap'>118 <td class='tbl2' style='white-space:nowrap'> 119 119 <b>{$locale.m2f402}</b> 120 120 </td> … … 130 130 <td align='center' class='{cycle values='tbl1,tbl2' advance=no}'> 131 131 <select name='m2f_subscribed[{$smarty.section.id.index}]' class='textbox'> 132 <option value='0'{if $subscriptions[id].subscribed == "0"} selected {/if}>{$locale.m2f306}</option>133 <option value='1'{if $subscriptions[id].subscribed == "1"} selected {/if}>{$locale.m2f307}</option>132 <option value='0'{if $subscriptions[id].subscribed == "0"} selected="selected"{/if}>{$locale.m2f306}</option> 133 <option value='1'{if $subscriptions[id].subscribed == "1"} selected="selected"{/if}>{$locale.m2f307}</option> 134 134 </select> 135 135 </td>
Note: See TracChangeset
for help on using the changeset viewer.
