Project

General

Profile

1
<!--
2
 @version         $Id: pages_sections.htt 96 2017-04-11 15:31:04Z Luisehahne $
3
-->
4
<!-- BEGIN main_block -->
5
<table class="header-info">
6
    <tbody>
7
        <tr >
8
           <td class="header-modify-page" ><h2>{HEADING_MODIFY_PAGE}</h2></td>
9
           <td class="header-page_id" style="">ID: {PAGE_ID}</td>
10
           <td class="header-current-page">{TEXT_CURRENT_PAGE}:<b title="{PAGE_TITLE}">{MENU_TITLE}</b>
11
        <!-- BEGIN show_settings_block -->
12
              <span style="{DISPLAY_MANAGE_MODIFY}">-</span>
13
              <a href="{ADMIN_URL}/pages/settings.php?page_id={PAGE_IDKEY}">{TEXT_CHANGE_SETTINGS}</a>
14
        <!-- END show_settings_block -->
15
        <!-- BEGIN show_modify_block -->
16
              -
17
              <a href="{ADMIN_URL}/pages/modify.php?page_id={PAGE_IDKEY}" style="{}">{HEADING_MODIFY_PAGE}</a>
18
        <!-- END show_modify_block -->
19
              <span style="color:#999;" class="{CLASS_DISPLAY_MODIFIED}"><br />
20
              {LAST_MODIFIED} {MODIFIED_BY}, {MODIFIED_WHEN}
21
              </span>
22
           </td>
23
        </tr>
24
    </tbody>
25
</table>
26
<form name="section_properties" action="{ADMIN_URL}/pages/sections_save.php?page_id={PAGE_IDKEY}" method="post">
27
{FTAN}
28
    <div class="jsadmin jcalendar hide"></div>
29
    <div class="block-outer">
30
        <table  class="img_noborder pages_section" >
31
            <thead>
32
                <tr class="sections_list">
33
                    <th class="header_list_type" style="width: 40%;">{TEXT_TYPE}</th>
34
                    <th class="header_list_block"><span {STYLE_DISPLAY_SECTION_BLOCK}>{TEXT_BLOCK}&nbsp;</span></th>
35
                    <th colspan="3" class="header_list_pubdate_start">{TEXT_PUBL_START_DATE}</th>
36
                    <th colspan="3" class="header_list_pubdate_end">{TEXT_PUBL_END_DATE}</th>
37
                    <th colspan="3" class="header_list_sections_actions" >{TEXT_ACTIONS}</th>
38
                    <th class="header_list_section_id">ID</th>
39
                    <th {DISPLAY_DEBUG}>{TEXT_PID}</th>
40
                </tr>
41
            </thead>
42
            <tbody>
43
    <!-- BEGIN show_section_block -->
44
                <tr class="sectionrow" title="{SEC_TAG_TITLE}">
45
                    <td style="display:none; float: right;">
46
                      <input type="hidden" name="page_id" value="{PAGE_IDKEY}"  />
47
                      <input type="hidden" name="section_id" value="{VAR_SECTION_ID}"  />
48
                      {VAR_SECTION_ID}
49
                    </td>
50
                    <td class="modify_link">{LINK_MODIFY_URL_VAR_MODUL_NAME}
51
                <!-- BEGIN section_title_block -->
52
                    <span class="sec_title" title="{SEC_TAG_TITLE}" style="font-weight: normal;">[ {SECTION_TITLE} ]</span>
53
                  <!-- END section_title_block -->
54
                    </td>
55

    
56
                    <td class="{INPUT_ATTRIBUTE}"><span {STYLE_DISPLAY_SECTION_BLOCK}>
57
                        <select class="input_normal w3-border" name="block{VAR_SECTION_ID}" style="width: 100%;">
58
                        {SET_NONE_DISPLAY_OPTION}
59
                        <!-- BEGIN section_list_block -->
60
                            <option value="{VALUE}"{SELECTED}>{NAME}</option>
61
                        <!-- END section_list_block -->
62
                        </select></span>&nbsp;
63
                    </td>
64

    
65
                    <td class="list_pubdate_start">
66
                        <input class="w3-input w3-border" style="height: 1.665em;" type="text" id="start_date{VAR_SECTION_ID}" name="start_date{VAR_SECTION_ID}" value="{VALUE_PUBL_START}" />
67
                    </td>
68
                    <td>
69
                        <img src="{THEME_URL}/images/calendar_16.png" id="trigger_start{VAR_SECTION_ID}" style="cursor:pointer;" title="{TEXT_CALENDAR}" alt="{TEXT_CALENDAR}"  />
70
                    </td>
71
                    <td>
72
                        <img src="{THEME_URL}/images/{CLOCK_DEL_16_PNG}" style="cursor:pointer;" alt="{TEXT_DELETE_DATE}" title="{TEXT_DELETE_DATE}" onclick="document.section_properties.start_date{VAR_SECTION_ID}.value=''" />
73
                    </td>
74
                    <td class="list_pubdate_end">
75
                        <input class="w3-input w3-border" style="height: 1.665em;" type="text" id="end_date{VAR_SECTION_ID}" name="end_date{VAR_SECTION_ID}" value="{VALUE_PUBL_END}" />
76
                    </td>
77
                    <td>
78
                        <img src="{THEME_URL}/images/calendar_16.png" id="trigger_stop{VAR_SECTION_ID}" alt="{TEXT_CALENDAR}" style="cursor: pointer;" title="{TEXT_CALENDAR}"  />
79
                    </td>
80
                    <td>
81
                        <img src="{THEME_URL}/images/{CLOCK_DEL_16_PNG}" style="cursor:pointer;" alt="{TEXT_DELETE_DATE}" title="{TEXT_DELETE_DATE}" onclick="document.section_properties.end_date{VAR_SECTION_ID}.value=''" />
82
                    </td>
83
                    <td>{VAR_MOVE_UP_URL}</td>
84

    
85
                    <td>{VAR_MOVE_DOWN_URL}</td>
86
                    <td>
87
          <!-- BEGIN can_delete_block -->
88
                        <a href="#" onclick="javascript: confirm_link('{TEXT_ARE_YOU_SURE}', '{ADMIN_URL}/pages/sections.php?page_id={PAGE_IDKEY}&amp;section_id={VAR_SECTION_IDKEY}');">
89
                        <img src="{THEME_URL}/images/{DELETE_16_PNG}" alt="{TEXT_DELETE}" />
90
                        </a>
91
          <!-- END can_delete_block -->
92
                    </td>
93
                    <td class="list_section_id">{VAR_SECTION_ID}</td>
94
                    <!--
95
                    <td {DISPLAY_DEBUG}>{POSITION}</td>
96
                    -->
97
                </tr>
98
    <!-- END show_section_block -->
99
            </tbody>
100
        </table>
101
    </div>
102
    <div>
103
        <label style="float: left;" ></label>
104
        <input type="submit" name="save" value="{TEXT_SAVE}" class="btn btn-default" />
105
    </div>
106
</form>
107
<br />
108
<h2>{TEXT_ADD_SECTION}</h2>
109
<form name="add" action="{ADMIN_URL}/pages/sections.php?page_id={PAGE_IDKEY}" method="post">
110
    <input type="hidden" name="page_id" value="{PAGE_IDKEY}"  />
111
    {FTAN}
112
    <table>
113
    <tr>
114
        <td style="width: 50%;">
115
            <select name="module" class="w3-border input_large">
116
            <!-- BEGIN module_block -->
117
             <option value="{VALUE}"{SELECTED}>{NAME}</option>
118
             <!-- END module_block -->
119
            </select>
120
            &nbsp;&nbsp;
121
            <input class="btn btn-default" type="submit" name="submit" value="{TEXT_ADD}"  />
122
         </td>
123
    </tr>
124
     </table>
125
</form>
126
    <!-- BEGIN calendar_block -->
127
    <script type="text/javascript" >
128
         var section_id = '{VAR_SECTION_ID}';
129
         var start_date = '{start_date}';
130
         var end_date = '{end_date}';
131
         var trigger_start = '{trigger_start}';
132
         var trigger_end = '{trigger_end}';
133
         var jscal_today = '{jscal_today}';
134
         var jscal_ifformat = '{jscal_ifformat}';
135
         var jscal_firstday = {jscal_firstday};
136
         var showsTime = {showsTime};
137
         var timeFormat = {timeFormat};
138
    </script>
139
    <script type="text/javascript" src="{ADMIN_URL}/pages/page_calendar.js" ></script>
140
    <!-- END calendar_block -->
141
<!-- END main_block -->
(21-21/32)