source: branches/2.2/expressoMail1_2/templates/default/readRss.tpl @ 4959

Revision 4959, 2.2 KB checked in by alexandrecorreia, 13 years ago (diff)

Ticket #2083 - Corrigido para que a add de novos RSS é feito apenas pelo administrador

  • Property svn:executable set to *
Line 
1<!-- BEGIN bodyRSS -->
2<script type="text/javascript" src="phpgwapi/js/x_tools/xtools.js"></script>
3<script type="text/javascript" src="{path_expressoMail}/js/news_edit.js"></script>
4<script>
5
6        function selectAll()
7        {
8                if( arguments.length > 0 )
9                {
10                        var _select = document.getElementById( arguments[0] );
11
12                        for( var i = 0 ; i < _select.options.length; i++ )
13                        {
14                                _select.options[i].selected = true;
15                        }
16                }
17        }
18       
19</script>
20
21<form method="POST" action="{action_url}">
22        <center>
23                <div style="width:500px;border:1px solid #000;">
24                       
25                        <div style="margin:20px; height:35px;text-align:left;">
26                                <img src="{path_expressoMail}/templates/default/images/rss.gif"/>
27                                <label style="font-size:12px;font-weight:bold;"> {lang_RSS_Manager} </label>
28                        </div>
29                       
30                        <div style="margin:20px; text-align:left;">
31                                <label>{lang_enable_RSS} .:</label>
32                                <br/>
33                                <select id="enabledReadRSS" name="newsettings[expressoMail_enabled_read_rss]">
34                                        <option value="false" {selected_expressoMail_enabled_read_rss_false}>{lang_No}</option>
35                                        <option value="true" {selected_expressoMail_enabled_read_rss_true}>{lang_Yes}</option>             
36                                </select>
37                        </div>
38
39                        <div style="margin:5px 5px 5px 20px; text-align:left;">
40                                <label>{lang_enter_Rss} .:</label>
41                                <br/>
42                                <input type="text" id="rssEnter" size="45"/>
43                        </div>
44
45                        <div style="margin:5px 5px 5px 20px; text-align:left;">
46                                <button type="button" onclick="news_edit.subscribe();">{lang_add}</button>
47                                <button type="button" onclick="news_edit.unsubscribe();">{lang_remove}</button>
48                        </div>
49                       
50                        <div style="margin:15px 5px 5px 20px; text-align:left;">
51                                <label>{lang_list_rss} .:</label>
52                                <br/>
53                                <select id="list_rss" size="10" style="width:320px;" multiple name="newsettings_expressoMail_list_rss[]">{options_list_rss}</select>
54                        </div>
55                       
56                        <div style="margin:20px; text-align:left;">
57                                <input type="submit" name="save" value="{lang_submit}" onclick="selectAll('list_rss');" />
58                                <input type="submit" name="cancel" value="{lang_cancel}" />
59                        </div>
60                        <input id="lang_can_not_access_this_rss" type="hidden" name="lang_can_not_access_this_rss" value="{lang_can_not_access_this_rss}" />
61                </div>
62        </center>
63</form>
64
65<!-- END bodyRSS -->
Note: See TracBrowser for help on using the repository browser.