1
|
<!-- BEGIN main_block -->
|
2
|
<div class="jsadmin jcalendar hide"><!-- INSERT THIS TO LOAD xxx BY JQUERY! --></div>
|
3
|
<div class="page-info">
|
4
|
<table>
|
5
|
<thead>
|
6
|
<tr>
|
7
|
<th class="description"></th>
|
8
|
<th class="id"></th>
|
9
|
<th></th>
|
10
|
</tr>
|
11
|
</thead>
|
12
|
<tbody>
|
13
|
<tr>
|
14
|
<td class="left nowrap"><h2>{HEADING_MANAGE_SECTIONS}</h2></td>
|
15
|
<td class="left">PID: {PAGE_ID}</td>
|
16
|
<td class="right nowrap" style="width: auto;">
|
17
|
{TEXT_CURRENT_PAGE}:<strong>{PAGE_TITLE}</strong><br />
|
18
|
{MODIFY_LINK_BEFORE}{HEADING_MODIFY_PAGE}{MODIFY_LINK_AFTER}
|
19
|
<span class="{DISPLAY_MANAGE_SETTINGS}">
|
20
|
- {SETTINGS_LINK_BEFORE}{TEXT_CHANGE_SETTINGS}{SETTINGS_LINK_AFTER}
|
21
|
</span>
|
22
|
<br />
|
23
|
<span class="right {DISPLAY_MODIFIED}">
|
24
|
{TEXT_LAST_MODIFIED} {MODIFIED_BY}, {MODIFIED_WHEN}
|
25
|
</span>
|
26
|
</td>
|
27
|
</tr>
|
28
|
</tbody>
|
29
|
</table>
|
30
|
</div>
|
31
|
|
32
|
|
33
|
<form name="section_properties" action="{ADMIN_URL}/pages/sections_save.php?page_id={PAGE_IDKEY}" method="post">
|
34
|
{FTAN}
|
35
|
|
36
|
<table class="img_noborder">
|
37
|
<thead>
|
38
|
<tr class="sections_list">
|
39
|
<td class="header_list_type">{TEXT_TYPE}</td>
|
40
|
<td class="header_list_block"><span {STYLE_DISPLAY_SECTION_BLOCK}>{TEXT_BLOCK} </span></td>
|
41
|
<td class="header_list_pubdate_start">{TEXT_PUBL_START_DATE}</td>
|
42
|
<td class="header_list_pubdate_end">{TEXT_PUBL_END_DATE}</td>
|
43
|
<td class="header_list_actions" colspan="3">{TEXT_ACTIONS}</td>
|
44
|
<td title="{TEXT_SECTION}" class="header_list_section_id">ID</td>
|
45
|
<td title="Position" class="header_list_section_id" {DISPLAY_DEBUG}>{TEXT_PID}</td>
|
46
|
</tr>
|
47
|
</thead>
|
48
|
<tbody>
|
49
|
<!-- BEGIN section_block -->
|
50
|
<tr class="sectionrow">
|
51
|
<td align="right" style="display:none;">
|
52
|
<input type="hidden" name="page_id" value="{PAGE_IDKEY}" />
|
53
|
<input type="hidden" name="section_id" value="{VAR_SECTION_ID}" />
|
54
|
{VAR_SECTION_ID}
|
55
|
</td>
|
56
|
|
57
|
<td>{LINK_MODIFY_URL_VAR_MODUL_NAME}</td>
|
58
|
|
59
|
<td class="{INPUT_ATTRIBUTE}"><span {STYLE_DISPLAY_SECTION_BLOCK}>
|
60
|
<select {STYLE_DISPLAY_SECTION_BLOCK} name="block{VAR_SECTION_ID}" class="input_normal">
|
61
|
{SET_NONE_DISPLAY_OPTION}
|
62
|
<!-- BEGIN block_block -->
|
63
|
<option value="{VALUE}"{SELECTED}>{NAME}</option>
|
64
|
<!-- END block_block -->
|
65
|
</select></span>
|
66
|
</td>
|
67
|
|
68
|
<td class="list_pubdate_start"><input type="text" id="start_date{VAR_SECTION_ID}" name="start_date{VAR_SECTION_ID}" value="{VALUE_PUBL_START}" class="input_normal" />
|
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
|
<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=''" />
|
71
|
</td>
|
72
|
|
73
|
<td class="list_pubdate_end"><input type="text" id="end_date{VAR_SECTION_ID}" name="end_date{VAR_SECTION_ID}" value="{VALUE_PUBL_END}" class="input_normal" />
|
74
|
<img src="{THEME_URL}/images/calendar_16.png" id="trigger_stop{VAR_SECTION_ID}" alt="{TEXT_CALENDAR}" style="cursor: pointer;" title="{TEXT_CALENDAR}" />
|
75
|
<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=''" />
|
76
|
</td>
|
77
|
|
78
|
<td>{VAR_MOVE_UP_URL}</td>
|
79
|
|
80
|
<td>{VAR_MOVE_DOWN_URL}</td>
|
81
|
|
82
|
<td>
|
83
|
<!-- BEGIN delete_block -->
|
84
|
<a href="#" onclick="javascript:confirm_link('{TEXT_ARE_YOU_SURE}', '{ADMIN_URL}/pages/sections.php?page_id={PAGE_IDKEY}&section_id={VAR_SECTION_IDKEY}');">
|
85
|
<img src="{THEME_URL}/images/{DELETE_16_PNG}" alt="{TEXT_DELETE}" border="0" />
|
86
|
</a>
|
87
|
<!-- END delete_block -->
|
88
|
|
89
|
</td>
|
90
|
|
91
|
<td class="list_section_id">{VAR_SECTION_ID}</td>
|
92
|
|
93
|
<td class="list_section_id" {DISPLAY_DEBUG}>{POSITION}</td>
|
94
|
</tr>
|
95
|
|
96
|
<!-- END section_block -->
|
97
|
<tr>
|
98
|
<td align="left" colspan="{DEBUG_COLSPAN_SIZE}">
|
99
|
<br />
|
100
|
<input type="submit" name="save" value="{TEXT_SAVE}" class="input_medium" />
|
101
|
</td>
|
102
|
</tr>
|
103
|
</tbody>
|
104
|
</table>
|
105
|
</form>
|
106
|
<br />
|
107
|
<h2>{TEXT_ADD_SECTION}</h2>
|
108
|
<form name="add" action="{ADMIN_URL}/pages/sections.php?page_id={PAGE_IDKEY}" method="post">
|
109
|
<input type="hidden" name="page_id" value="{PAGE_IDKEY}" />
|
110
|
{FTAN}
|
111
|
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="100%">
|
112
|
<tr>
|
113
|
<td width="50%" valign="middle">
|
114
|
<select name="module" class="input_large">
|
115
|
<option value="">{TEXT_PLEASE_SELECT}</option>
|
116
|
<!-- BEGIN module_block -->
|
117
|
<option value="{VALUE}"{SELECTED}>{NAME}</option>
|
118
|
<!-- END module_block -->
|
119
|
</select>
|
120
|
|
121
|
<input type="submit" name="submit" value="{TEXT_ADD}" class="input_medium" />
|
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 -->
|