Project

General

Profile

« Previous | Next » 

Revision 1825

Added by Dietmar almost 12 years ago

! update page settings, add save & back Button, add extended hide/show
redesign the page settings for a better overview

View differences:

branches/2.8.x/CHANGELOG
13 13

  
14 14

  
15 15

  
16
20 Nov-2012 Build 1825 Dietmar Woellbrink (Luisehahne)
17
! update page settings, add save & back Button, add extended hide/show
18
  redesign the page settings for a better overview  
16 19
20 Nov-2012 Build 1824 Dietmar Woellbrink (Luisehahne)
17 20
! update media in look to the changes in user management
18 21
20 Nov-2012 Build 1823 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/admin/skel/themes/htt/pages_modify.htt
1 1
<!-- BEGIN main_block -->
2
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
3
  <tr style="background:#f0f0f0;">
4
	<td valign="middle" align="left"><h2>{HEADING_MODIFY_PAGE}</h2></td>
5
	<td nowrap="nowrap">ID: {PAGE_ID}</td>
6
	<td align="right">
7
		{TEXT_CURRENT_PAGE}:
8
		<b>{PAGE_TITLE}</b>
9
		- {SETTINGS_LINK_BEFORE}{TEXT_CHANGE_SETTINGS}{SETTINGS_LINK_AFTER}
2
<div class="page-info">
3
<table>
4
<thead>
5
  <tr>
6
    <th class="description"></th>
7
    <th class="id"></th>
8
    <th></th>
9
  </tr>
10
</thead>
11
<tbody>
12
  <tr>
13
	<td class="left nowrap"><h2>{HEADING_MODIFY_PAGE}</h2></td>
14
	<td class="left">PID: {PAGE_ID}</td>
15
	<td class="right nowrap">
16
		{TEXT_CURRENT_PAGE}:<strong>{PAGE_TITLE}</strong><br />
17
        {SETTINGS_LINK_BEFORE}{TEXT_CHANGE_SETTINGS}{SETTINGS_LINK_AFTER}
10 18
		<span class="{DISPLAY_MANAGE_SECTIONS}">
11
		- {SECTIONS_LINK_BEFORE}{TEXT_MANAGE_SECTIONS}{SECTIONS_LINK_AFTER}
19
		-
20
        {SECTIONS_LINK_BEFORE}{TEXT_MANAGE_SECTIONS}{SECTIONS_LINK_AFTER}
12 21
		</span>
13 22
		<br />
14
		<span class="grey {DISPLAY_MODIFIED}">
15
			{TEXT_LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
23
		<span class="right {CLASS_DISPLAY_MODIFIED}">
24
			{TEXT_LAST_MODIFIED} {MODIFIED_BY}, {MODIFIED_WHEN}
16 25
		</span>
17 26
	</td>
27

  
18 28
  </tr>
29
</tbody>
19 30
</table>
20

  
31
</div>
21 32
<!-- END main_block -->
branches/2.8.x/wb/admin/skel/themes/htt/addons.htt
5 5
		<td align="right">{URL_ADVANCED}</td>
6 6
	</tr>
7 7
</table>
8

  
9
<table summary="" cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
10
	<tr>
11
		<td align="center" valign="top">
12 8
			<!-- BEGIN modules_block -->
13
			<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_MODULES} >
9
			<table class="section" {DISPLAY_MODULES} >
10
            <tbody>
14 11
				<tr>
15 12
					<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/modules/index.php"><img src="{THEME_URL}/icons/modules.png" alt="0" /> </a> </td>
16 13
					<td class="description" valign="top"><a href="{ADMIN_URL}/modules/index.php"><span class="title">{MODULES}</span></a><p>{MODULES_OVERVIEW}</p></td>
17 14
				</tr>
15
            </tbody>
18 16
			</table>
19 17
			<!-- END modules_block -->
20 18
			<!-- BEGIN templates_block -->
21
			<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_TEMPLATES} >
19
			<table class="section" {DISPLAY_TEMPLATES} >
20
            <tbody>
22 21
				<tr>
23 22
					<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/templates/index.php"><img src="{THEME_URL}/icons/templates.png" alt="{TEMPLATES}" /> </a> </td>
24 23
					<td class="description" valign="top"><a href="{ADMIN_URL}/templates/index.php"><span class="title">{TEMPLATES}</span></a><p>{TEMPLATES_OVERVIEW}</p></td>
25 24
				</tr>
25
            </tbody>
26 26
			</table>
27 27
			<!-- END templates_block -->
28 28
			<!-- BEGIN languages_block -->
29 29
			<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_LANGUAGES} >
30
            <tbody>
30 31
				<tr>
31 32
					<td class="graphic" align="center" valign="middle" rowspan="2"><a href="{ADMIN_URL}/languages/index.php"><img src="{THEME_URL}/icons/languages.png" alt="{LANGUAGES}" /> </a> </td>
32 33
					<td class="description" valign="top"> <a href="{ADMIN_URL}/languages/index.php"><span class="title">{LANGUAGES}</span></a><p>{LANGUAGES_OVERVIEW}</p></td>
33 34
				</tr>
35
            </tbody>
34 36
			</table>
35 37
			<!-- END languages_block -->
36 38
			<!-- BEGIN reload_block -->
......
78 80
				</table>
79 81
			</form>
80 82
			<!-- END reload_block -->
81
		</td>
82
	</tr>
83
</table>
84 83
<!-- END main_block -->
branches/2.8.x/wb/admin/skel/themes/htt/pages_sections.htt
1 1
<!-- BEGIN main_block -->
2 2
<div class="jsadmin jcalendar hide"></div>
3
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
4
  <tr style="background:#f0f0f0;">
5
	<td valign="middle" align="left"><h2>{HEADING_MANAGE_SECTIONS}</h2></td>
6
	<td nowrap="nowrap">ID: {PAGE_ID}</td>
7
	<td align="right">{TEXT_CURRENT_PAGE}:<b>{PAGE_TITLE}</b>
8
		-
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 />
9 18
		{MODIFY_LINK_BEFORE}{HEADING_MODIFY_PAGE}{MODIFY_LINK_AFTER}
10 19
		<span class="{DISPLAY_MANAGE_SETTINGS}">
11 20
		- {SETTINGS_LINK_BEFORE}{TEXT_CHANGE_SETTINGS}{SETTINGS_LINK_AFTER}
12 21
		</span>
13 22
		<br />
14
		<span style="color:#999;" class="{DISPLAY_MODIFIED}">
15
			{TEXT_LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
23
		<span class="right {DISPLAY_MODIFIED}">
24
			{TEXT_LAST_MODIFIED} {MODIFIED_BY}, {MODIFIED_WHEN}
16 25
		</span>
17 26
	</td>
18 27
  </tr>
28
</tbody>
19 29
</table>
30
</div>
20 31

  
21
        <form name="section_properties" action="{ADMIN_URL}/pages/sections_save.php?page_id={PAGE_IDKEY}" method="post">
22
		{FTAN}
23 32

  
24
        <table summary="" cellpadding="0" cellspacing="0" border="0" width="100%" class="img_noborder">
25
			<tr class="sections_list">
26
				<td class="header_list_type">{TEXT_TYPE}</td>
27
				<td class="header_list_block"><span {STYLE_DISPLAY_SECTION_BLOCK}>{TEXT_BLOCK}&nbsp;</span></td>
28
				<td class="header_list_pubdate_start">{TEXT_PUBL_START_DATE}</td>
29
				<td class="header_list_pubdate_end">{TEXT_PUBL_END_DATE}</td>
30
				<td class="header_list_sections_actions" colspan="3">{TEXT_ACTIONS}</td>
31
				<td class="header_list_section_id">ID</td>
32
				<td {DISPLAY_DEBUG}>{TEXT_PID}</td>
33
			</tr>
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}&nbsp;</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 class="header_list_section_id">ID</td>
45
		<td {DISPLAY_DEBUG}>{TEXT_PID}</td>
46
	</tr>
47
</thead>
48
<tbody>
34 49
<!-- BEGIN section_block -->
35
            	<tr class="sectionrow">
36
    				<td align="right" style="display:none;">
37
                      <input type="hidden" name="page_id" value="{PAGE_IDKEY}"  />
38
                      <input type="hidden" name="section_id" value="{VAR_SECTION_ID}"  />
39
                      {VAR_SECTION_ID}
40
                    </td>
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>
41 56

  
42
                    <td>{LINK_MODIFY_URL_VAR_MODUL_NAME}</td>
57
        <td>{LINK_MODIFY_URL_VAR_MODUL_NAME}</td>
43 58

  
44
                    <td class="{INPUT_ATTRIBUTE}"><span {STYLE_DISPLAY_SECTION_BLOCK}>
45
                    	<select name="block{VAR_SECTION_ID}" class="input_normal">
46
                        {SET_NONE_DISPLAY_OPTION}
47
                    	<!-- BEGIN block_block -->
48
                    		<option value="{VALUE}"{SELECTED}>{NAME}</option>
49
                    	<!-- END block_block -->
50
                    	</select></span>&nbsp;
51
                    </td>
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>&nbsp;
66
        </td>
52 67

  
53
                    <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" />
54
                        <img src="{THEME_URL}/images/calendar_16.png" id="trigger_start{VAR_SECTION_ID}" style="cursor:pointer;" title="{TEXT_CALENDAR}" alt="{TEXT_CALENDAR}"  />
55
                        <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=''" />
56
                    </td>
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>
57 72

  
58
                    <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" />
59
                        <img src="{THEME_URL}/images/calendar_16.png" id="trigger_stop{VAR_SECTION_ID}" alt="{TEXT_CALENDAR}" style="cursor: pointer;" title="{TEXT_CALENDAR}"  />
60
                        <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=''" />
61
                    </td>
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>
62 77

  
63
					<td>{VAR_MOVE_UP_URL}</td>
78
		<td>{VAR_MOVE_UP_URL}</td>
64 79

  
65
                    <td>{VAR_MOVE_DOWN_URL}</td>
80
        <td>{VAR_MOVE_DOWN_URL}</td>
66 81

  
67
                    <td>
68
                        <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}');">
69
                        <img src="{THEME_URL}/images/{DELETE_16_PNG}" alt="{TEXT_DELETE}" border="0" />
70
                        </a>
71
                    </td>
82
        <td>
83
            <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}');">
84
            <img src="{THEME_URL}/images/{DELETE_16_PNG}" alt="{TEXT_DELETE}" border="0" />
85
            </a>
86
        </td>
72 87

  
73
                    <td class="list_section_id">{VAR_SECTION_ID}</td>
88
        <td class="list_section_id">{VAR_SECTION_ID}</td>
74 89

  
75
                    <td {DISPLAY_DEBUG}>{POSITION}</td>
76
                </tr>
90
        <td {DISPLAY_DEBUG}>{POSITION}</td>
91
    </tr>
77 92
<!-- END section_block -->
78
                <tr>
79
                    <td align="left" colspan="{DEBUG_COLSPAN_SIZE}">
80
					<br />
81
					<input type="submit" name="save" value="{TEXT_SAVE}" class="input_medium" />
82
					</td>
83
    	        </tr>
84
	    </table>
93
    <tr>
94
        <td align="left" colspan="{DEBUG_COLSPAN_SIZE}">
95
		<br />
96
		<input type="submit" name="save" value="{TEXT_SAVE}" class="input_medium" />
97
		</td>
98
    </tr>
99
</tbody>
100
</table>
85 101
    </form>
86 102
<br />
87 103
	<h2>{TEXT_ADD_SECTION}</h2>
branches/2.8.x/wb/admin/skel/themes/htt/pages_settings.htt
1 1
<!-- BEGIN main_block -->
2 2
<script src="{WB_URL}/include/jquery/overlib_mini.js" type="text/javascript"></script>
3 3
<script src="{ADMIN_URL}/pages/page_settings.js" type="text/javascript"></script>
4

  
5
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
6
  <tr style="background:#f0f0f0;">
7
	<td valign="middle" align="left"><h2>{HEADING_MODIFY_PAGE_SETTINGS}</h2></td>
8
	<td nowrap="nowrap">ID: {PAGE_ID}</td>
9
	<td align="right">
10
		{TEXT_CURRENT_PAGE}:
11
		<b>{PAGE_TITLE}</b>
12
		-
4
<div class="page-info">
5
<table>
6
<thead>
7
  <tr>
8
    <th class="description"></th>
9
    <th class="id"></th>
10
    <th></th>
11
  </tr>
12
</thead>
13
<tbody>
14
  <tr>
15
	<td class="left nowrap"><h2>{HEADING_MODIFY_PAGE_SETTINGS}</h2></td>
16
	<td class="left">PID: {PAGE_ID}</td>
17
	<td class="right nowrap">
18
		{TEXT_CURRENT_PAGE}:<strong>{PAGE_TITLE}</strong><br />
13 19
		{MODIFY_LINK_BEFORE}{TEXT_MODIFY_PAGE}{MODIFY_LINK_AFTER}
14 20
		<span class="{DISPLAY_MANAGE_SECTIONS}">
15 21
		- {SECTIONS_LINK_BEFORE}{TEXT_MANAGE_SECTIONS}{SECTIONS_LINK_AFTER}
16 22
		</span>
17 23
		<br />
18
		<span style="color:#999;" class="{DISPLAY_MODIFIED}">
19
			{TEXT_LAST_MODIFIED} {MODIFIED_BY} ({MODIFIED_BY_USERNAME}), {MODIFIED_WHEN}
24
		<span class="right {DISPLAY_MODIFIED}">
25
			{TEXT_LAST_MODIFIED} {MODIFIED_BY}, {MODIFIED_WHEN}
20 26
		</span>
21 27
	</td>
22 28
  </tr>
29
</tbody>
23 30
</table>
31
</div>
24 32

  
25 33
<form name="settings" action="settings_save.php" method="post">
26 34
	{FTAN}
27 35
	<input type="hidden" name="page_id" value="{PAGE_IDKEY}" />
28 36
	<div class="page-settings">
29 37
		<div class="page-settings-leftcol"> <!-- left column -->
38
<div class="page-settings-tab">
30 39
			<div class="caption">{TEXT_SECTION_GENERAL}</div>
31 40
			<div>
32 41
				<label for="page_title">{TEXT_PAGE_TITLE}:</label>
......
79 88
				<label for="keywords">{TEXT_KEYWORDS}:</label>
80 89
				<textarea id="keywords" name="keywords" rows="14" cols="1">{KEYWORDS}</textarea>
81 90
			</div>
91
</div>
92
<div class="page-settings-tab">
82 93
			<div class="caption">{TEXT_SECTION_ORGANISATION}</div>
83 94
			<div>
84 95
				<label for="parent">{TEXT_PARENT}:</label>
......
116 127
				<!-- END template_list_block -->
117 128
				</select>
118 129
			</div>
130
</div>
131
<div class="page-settings-tab">
119 132
			<div class="caption">{TEXT_SECTION_CONTENT}</div>
120 133
			<div>
121 134
				<label for="language">{TEXT_LANGUAGE}:</label>
......
144 157
				</select>
145 158
			</div>
146 159
		</div>
160
</div>
161
<div class="page-settings-right"> <!-- right column -->
162

  
147 163
		<div class="page-settings-righttoprow">
148 164
			<div class="caption">{TEXT_SECTION_SECURITY}</div>
149 165
			<div>
150 166
				<label for="visibility">{TEXT_VISIBILITY}:</label>
151
				<select id="visibility" name="visibility" onchange="javascript: toggle_viewers();">
167
				<select id="visibility" name="visibility" onchange="javascript:toggle_viewers();">
152 168
					<option value="public"{PUBLIC_SELECTED}>{TEXT_PUBLIC}</option>
153 169
					<option value="private"{PRIVATE_SELECTED}>{TEXT_PRIVATE}</option>
154 170
					<option value="registered"{REGISTERED_SELECTED}>{TEXT_REGISTERED}</option>
......
157 173
				</select>
158 174
			</div>
159 175
		</div>
160

  
161

  
176
<div class="content-right">
162 177
	<!-- BEGIN admin_group_show_list_block -->
163
		<div class="page-settings-centercol"> <!-- center column -->
178
	<div class="page-settings-centercol"> <!-- center column -->
179
        <div class="content">
164 180
			<b>{TEXT_ADMINISTRATORS}</b><hr />
165 181
			<p class="page_group" style="text-decoration :underline;">{TEXT_GROUP}</p>
166 182
<!-- *** List of groups which can administrate this page *** -->
......
179 195
			<hr />
180 196
			<p class="page_user" style="text-decoration :underline;">{TEXT_USER}</p>
181 197
<!-- *** List of users which can administrate this page *** -->
182
			<select name="admin_users[]" multiple="multiple" size="{USER_LIST_SIZE}">
198
            <div class="page_user">
199
			<select class="page_user" name="admin_users[]" multiple="multiple" size="{USER_LIST_SIZE}">
183 200
				<option value="0">--- {TEXT_NO_SELECTION} ---</option>
184 201
			<!-- BEGIN admin_user_list_block -->
185 202
				<option value="{ID}"{SELECTED}>{NAME}</option>
186 203
			<!-- END admin_user_list_block -->
187 204
			</select>
205
    		</div>
188 206
		</div>
207
    </div>
189 208
	<!-- END admin_group_show_list_block -->
190

  
191
		<div id="allowed_viewers" class="page-settings-rightcol" style="{DISPLAY_VIEWERS}"> <!-- right column -->
209
	<div class="page-settings-centercol"> <!-- center column -->
210
    <div id="viewers" class="content" style="{DISPLAY_VIEWERS}">
211
		<div id="allowed_viewers" class="page-settings-rightcol " style="{DISPLAY_VIEWERS}"> <!-- right column -->
192 212
			<b>{TEXT_ALLOWED_VIEWERS}</b><hr />
193 213
			<p class="page_group" style="text-decoration :underline;">{TEXT_GROUP}</p>
194 214
<!-- *** List of groups which can see this page *** -->
......
207 227
			<hr />
208 228
			<p class="page_user" style="text-decoration :underline;">{TEXT_USER}</p>
209 229
<!-- *** List of users which can see this page *** -->
210
			<select name="viewing_users[]" multiple="multiple" size="{USER_LIST_SIZE}">
230
			<select class="page_user" name="viewing_users[]" multiple="multiple" size="{USER_LIST_SIZE}">
211 231
				<option value="0">--- {TEXT_NO_SELECTION} ---</option>
212 232
			<!-- BEGIN viewer_user_list_block -->
213 233
				<option value="{ID}"{SELECTED}>{NAME}</option>
214 234
			<!-- END viewer_user_list_block -->
215 235
			</select>
216 236
		</div>
237
    </div>
238
    </div>
217 239

  
240
</div>
241
</div>
242

  
218 243
		<div style="clear:both; padding-top: 1em;">
219
			<input type="submit" name="submit" value="{TEXT_SAVE}" style="width: 117px;" />
220
			<input type="reset" name="reset" value="{TEXT_RESET}" style="width: 117px;" />
244
			<input type="submit" name="submit" value="{TEXT_SAVE}" />
245
			<input type="submit" name="back_submit" value="{TEXT_SAVE_BACK}" />
246
			<span style="padding-left: 2em;"><input type="reset" name="reset" value="{TEXT_RESET}" />
247
			<input type="submit" name="extended_submit" value="{TEXT_EXTENDED}" /></span>
221 248
		</div>
222 249
	</div>
223 250
</form>
branches/2.8.x/wb/admin/pages/settings.php
15 15
 *
16 16
 */
17 17
// Create new admin object
18
require('../../config.php');
19
require_once(WB_PATH.'/framework/class.admin.php');
20
$admin = new admin('Pages', 'pages_settings');
18
if(!defined('WB_URL'))
19
{
20
    $config_file = realpath('../../config.php');
21
    if(file_exists($config_file) && !defined('WB_URL'))
22
    {
23
    	require($config_file);
24
    }
25
}
21 26

  
27
if(!class_exists('admin', false)){ include(WB_PATH.'/framework/class.admin.php'); }
22 28

  
29
$admin = new admin('Pages', 'pages_settings');
23 30
/*-- Parent page list ------------------------------------------------------------------*/
24 31
	function parent_list($parent)
25 32
	{
......
129 136
	$oTpl->set_file('page', 'pages_settings.htt');
130 137
	$oTpl->set_block('page', 'main_block', 'main');
131 138
	$oTpl->set_var('FTAN', $admin->getFTAN());
139
//    $sShowIconDirText = $TEXT['EXPAND'].' ';
140
	$sql = 'SELECT `value` FROM `'.TABLE_PREFIX.'settings` WHERE `name` = \'page_exented\'';
141
	if($page_extend = $database->get_one($sql)) {}
142

  
143
	$sShowIconDirText = ($page_extend=='1') ? $TEXT['HIDE_ADVANCED'] : $TEXT['SHOW_ADVANCED'];
144

  
132 145
	$oTpl->set_var(array(
133 146
			'PAGE_ID'              => $aCurrentPage['page_id'],
134 147
			'PAGE_IDKEY'           => $admin->getIDKEY($aCurrentPage['page_id']),
......
141 154
			'MODIFIED_BY'          => $user['display_name'],
142 155
			'MODIFIED_BY_USERNAME' => $user['username'],
143 156
			'MODIFIED_WHEN'        => $modified_ts,
157
			'TEXT_SAVE_BACK'       => $TEXT['SAVE'].' &amp; '.$TEXT['BACK'],
158
			'TEXT_EXTENDED'        => $sShowIconDirText,
144 159
			'ADMIN_URL'            => ADMIN_URL,
145 160
			'WB_URL'               => WB_URL,
146 161
			'THEME_URL'            => THEME_URL
......
176 191
				'SECTIONS_LINK_AFTER' => '</a>',
177 192
				'DISPLAY_MANAGE_SECTIONS' => 'link',
178 193
				));
179
	}else {
194
	} else {
180 195
//		$oTpl->set_block('show_manage_sections', '');
181 196
		$oTpl->set_var(array(
182 197
				'SECTIONS_LINK_BEFORE' => '<span class="bold grey">',
......
192 207
	$sTemplate = ($aCurrentPage['template'] == '' ? DEFAULT_TEMPLATE : $aCurrentPage['template']);
193 208
	$sIconDir = str_replace('\\', '/', ((defined('PAGE_ICON_DIR') && PAGE_ICON_DIR != '') ? PAGE_ICON_DIR : MEDIA_DIRECTORY));
194 209
	$sIconDir = str_replace('/*', '/'.$sTemplate, $sIconDir);
195
	$bIconDirHide = (defined('PAGE_EXTENDED') && PAGE_EXTENDED) ? '' : 'hide';
210
	$bIconDirHide = ($page_extend=='1') ? '' : 'hide';
196 211
//	$oTpl->set_var('ICON_DIR', WB_REL.$sIconDir);
197 212
	$sHelp = replaceVars($mLang->HELP_PAGE_IMAGE_DIR, array('icon_dir'=>WB_REL.$sIconDir ) );
198 213

  
......
332 347
	$oTpl->set_block('admin_group_show_list_block', 'admin_user_list_block', 'admin_user_list');
333 348
	$sAllowedAdminUsers = trim(implode(',',$aAdminUsers));
334 349
	$sAllowedAdminUsers = $sAllowedAdminUsers ? $sAllowedAdminUsers : '-1';
335
	$sql = 'SELECT `user_id`, `display_name` '
350
	$sql = 'SELECT `user_id`, `display_name`,`username` '
336 351
		 . 'FROM `'.TABLE_PREFIX.'users` '
337 352
	     . 'WHERE `active`=1 '
338 353
	     . 'ORDER BY (`user_id` NOT IN('.$sAllowedAdminUsers.')), `display_name`';
......
341 356
			if($aUser['user_id'] == 1) { continue; }
342 357
			$oTpl->set_var(array(
343 358
				'ID'        => $aUser['user_id'],
344
				'NAME'      => $aUser['display_name'],
359
				'NAME'      => $aUser['display_name'].' ('.$aUser['username'].')',
345 360
			    'SELECTED'  => (in_array($aUser['user_id'], $aAdminUsers) ? $sSelected : ''),
346 361
			));
347 362
			$oTpl->parse('admin_user_list', 'admin_user_list_block', true);
......
362 377
	$oTpl->set_block('main_block', 'viewer_user_list_block', 'viewer_user_list');
363 378
	$sAllowedViewingUsers = trim(implode(',',$aViewingUsers));
364 379
	$sAllowedViewingUsers = $sAllowedViewingUsers ? $sAllowedViewingUsers : '-1';
365
	$sql = 'SELECT `user_id`, `display_name` '
380
	$sql = 'SELECT `user_id`, `display_name`,`username` '
366 381
		 . 'FROM `'.TABLE_PREFIX.'users` '
367 382
	     . 'WHERE `active`=1 '
368 383
	     . 'ORDER BY (`user_id` NOT IN('.$sAllowedViewingUsers.')), `display_name`';
......
371 386
			if($aUser['user_id'] == 1) { continue; }
372 387
			$oTpl->set_var(array(
373 388
				'ID'        => $aUser['user_id'],
374
				'NAME'      => $aUser['display_name'],
389
				'NAME'      => $aUser['display_name'].' ('.$aUser['username'].')',
375 390
			    'SELECTED'  => (in_array($aUser['user_id'], $aViewingUsers) ? $sSelected : ''),
376 391
			));
377 392
			$oTpl->parse('viewer_user_list', 'viewer_user_list_block', true);
branches/2.8.x/wb/admin/pages/settings_save.php
14 14
 * @lastmodified    $Date$
15 15
 *
16 16
 */
17
/* */
18 17

  
19 18
// Create new admin object and print admin header
20
require('../../config.php');
21
require_once(WB_PATH.'/framework/class.admin.php');
19
if(!defined('WB_URL'))
20
{
21
    $config_file = realpath('../../config.php');
22
    if(file_exists($config_file) && !defined('WB_URL'))
23
    {
24
    	require($config_file);
25
    }
26
}
27
if(!class_exists('admin', false)){ include(WB_PATH.'/framework/class.admin.php'); }
22 28

  
23 29
$lang_dir = dirname(__FILE__).'/languages/';
24 30
$lang = file_exists($lang_dir.LANGUAGE.'.php') ? LANGUAGE : 'EN';
......
26 32

  
27 33
// suppress to print the header, so no new FTAN will be set
28 34
$admin = new admin('Pages', 'pages_settings',false);
29

  
30 35
$pagetree_url = ADMIN_URL.'/pages/index.php';
31 36

  
32 37
// Get page id
......
56 61
	$admin->print_header();
57 62
	$admin->print_error($MESSAGE['GENERIC_SECURITY_ACCESS'],$target_url);
58 63
}
64

  
59 65
// After check print the header
60 66
$admin->print_header();
61 67

  
68
if(isset($_POST['extended_submit'])) {
69
	$sql = 'SELECT `value` FROM `'.TABLE_PREFIX.'settings` WHERE `name` = \'page_exented\'';
70
	if( ($page_exented = $database->get_one($sql)) != '' ) {
71
		$sql = 'UPDATE ';
72
		$sql_where = 'WHERE `name` = \'page_exented\'';
73
	} else {
74
		$sql = 'INSERT INTO ';
75
		$sql_where = '';
76
	}
77
	$val = (((($page_exented=='1') ? $page_exented : 0)) + 1) % 2;
78

  
79
	$sql .= '`'.TABLE_PREFIX.'settings` ';
80
	$sql .= 'SET `name` = \'page_exented\', ';
81
	$sql .= '`value` = \''.$val.'\' '.$sql_where;
82

  
83
    if($database->query($sql)) {
84
        // redirect to backend
85
echo "<p style=\"text-align:center;\"> If the script</strong> could not be start automatically.\n" .
86
     "Please click <a style=\"font-weight:bold;\" " .
87
     "href=\"".$target_url."\">on this link</a> to start the script!</p>\n";
88
echo "<script type=\"text/javascript\">
89
<!--
90
// Get the location object
91
var locationObj = document.location;
92
// Set the value of the location object
93
document.location = '$target_url';
94
-->
95
</script>";
96

  
97
    } else {
98
    	$admin->print_error($database->get_error(), $target_url );
99
    }
100
}
101

  
62 102
// Include the WB functions file
63
require_once(WB_PATH.'/framework/functions.php');
103
if(!function_exists('directory_list')) { require(WB_PATH.'/framework/functions.php'); }
64 104

  
65 105
// Get values
66 106
$page_title = str_replace(array("[[", "]]"), '', htmlspecialchars($admin->get_post_escaped('page_title')));
......
335 375

  
336 376
// using standard function by core,
337 377
function fix_page_trail($page_id) {
338
    global $database,$admin,$target_url,$MESSAGE;
378
    global $database,$admin,$target_url,$pagetree_url,$MESSAGE;
379

  
380
    $target_url = (isset($_POST['back_submit'])) ? $pagetree_url : $target_url;
381

  
339 382
    // Work out level
340 383
    $level = level_count($page_id);
341 384
    // Work out root parent
branches/2.8.x/wb/admin/pages/page_settings.js
1 1
function toggle_viewers() {
2 2
	if(document.settings.visibility.value == 'private' || document.settings.visibility.value == 'registered') {
3
		document.getElementById('viewers').style.display = 'block';
3 4
		document.getElementById('allowed_viewers').style.display = 'block';
4 5
	} else {
6
		document.getElementById('viewers').style.display = 'none';
5 7
		document.getElementById('allowed_viewers').style.display = 'none';
6 8
	}
7 9
}
branches/2.8.x/wb/admin/pages/sections.php
16 16
 */
17 17

  
18 18
// Include config file
19
require('../../config.php');
19
if(!defined('WB_URL'))
20
{
21
    $config_file = realpath('../../config.php');
22
    if(file_exists($config_file) && !defined('WB_URL'))
23
    {
24
    	require($config_file);
25
    }
26
}
20 27

  
21 28
// Make sure people are allowed to access this page
22 29
if(MANAGE_SECTIONS != 'enabled')
......
27 34
/* */
28 35
$debug = false; // to show position and section_id
29 36
If(!defined('DEBUG')) { define('DEBUG',$debug);}
30
// Include the WB functions file
31
require_once(WB_PATH.'/framework/functions.php');
32 37
// Create new admin object
33
require_once(WB_PATH.'/framework/class.admin.php');
38
if(!class_exists('admin', false)){ include(WB_PATH.'/framework/class.admin.php'); }
34 39
$admin = new admin('Pages', 'pages_view', false);
35 40

  
41
// Include the WB functions file
42
if(!function_exists('directory_list')) { require(WB_PATH.'/framework/functions.php'); }
43

  
36 44
$action = 'show';
37 45
// Get page id
38 46
$requestMethod = '_'.strtoupper($_SERVER['REQUEST_METHOD']);
......
384 392
								'LINK_MODIFY_URL_VAR_MODUL_NAME' => $edit_page,
385 393
								'NAME' => htmlentities(strip_tags($block[1])),
386 394
								'VALUE' => 1,
387
								'SET_NONE_DISPLAY_OPTION' => ''
395
								'SET_NONE_DISPLAY_OPTION' => '<option>&nbsp;</option>'
388 396
								)
389 397
							);
390 398
					}
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '1824');
54
if(!defined('REVISION')) define('REVISION', '1825');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/templates/wb_theme/css/screen.css
3 3
html{ font-family :Verdana, "Trebuchet MS", Arial, Helvetica, sans-serif; font-size :100.1%; font-weight :normal; color :#333333; overflow :auto; overflow-y :scroll; }
4 4
body{ margin :0 auto; padding :0px; background :#a8bccb; text-align :left; font-size :0.8em; }
5 5
/*  */
6
div.main { border :0px none #666666; margin :0px auto 1em auto; min-width :60em; max-width :90em; font-size :1.0em; padding :10px 15px; width :83%; overflow :hidden; }
6
div.main { border :0px none #666666; margin :0px auto 1em auto; min-width :75em; max-width :90em; font-size :1.0em; padding :10px 15px; width :83%; overflow :hidden; }
7 7
.td { clear :both; font-size :1.0em; margin :0 auto; text-align :center; width :100%; }
8 8
div.main .table { background :url(../images/bgtitle.png) #ffffff repeat-x; margin :0 auto; overflow :auto; width :100%; }
9 9
.wrapper { position :relative; display :block; overflow :auto; width :inherit; }
......
17 17
.input_large { width :300px; }
18 18
.input_full { width :100%; }
19 19
/*  */
20
table {
21
   border-collapse :separate;
22
   width :100%;
23
   table-layout:fixed;
24
}
20
table { border-collapse :collapse; width :100%; table-layout :fixed; }
25 21
table.layout { table-layout :auto; }
26 22
table.header { margin :auto; width :100%; }
27 23
table.header td { min-width :10%; }
......
101 97
.center{ text-align :center; }
102 98
.hidden { visibility :hidden; }
103 99
.left{ text-align :left; }
100
.right{ text-align :right; }
101
.middle { vertical-align :middle; }
102
.top { vertical-align :top; }
103
.nowrap { white-space :nowrap; }
104 104
.hide, .none { display :none; height :0; }
105 105
#hide1, #hide2, #hide3 { display :none; }
106
.right{ text-align :right; vertical-align :middle; }
106
/* */
107 107
.rBold{ text-align :right; font-weight :bold; vertical-align :middle; }
108 108
.rightTop{ text-align :right; vertical-align :top; }
109 109
.bold{ font-weight :bold; }
......
119 119
.note { border :2px #448844 solid; padding :10px; margin :10px auto; background :#eeffee; color :#004400; }
120 120
.important { border :2px #888844 solid; padding :10px; margin-bottom :1em; background :#ffffee; color :#444400; }
121 121
.warning { border :2px #884444 solid; padding :10px; margin-bottom :1em; background :#ffeeee; color :#440000; }
122
.graphic { border :4px solid #fdfdfd; height :50px; padding-left :3px; width :50px; }
123
.graphic img { background-color :#ffffff; border :1px solid #d0d0d0; padding :4px; vertical-align :middle; width :50px; height :50px; }
124

  
125
.section {
126
   background-color :#fdfdfd;
127
   border :1px solid #999999;
128
   font-size :0.9em;
129
   height :85px;
130
   margin :5px;
131
   padding :0;
132
   width :98%;
133
}
134
.description { padding :4px 0 0; text-align :left; }
122
.graphic { border :0px solid #fdfdfd; height :52px; padding-left :3px; width :70px; }
123
.graphic img { background-color :transparent; border :1px solid #d0d0d0; padding :2px; vertical-align :middle; width :50px; height :50px; }
124
.section { background-color :transparent; font-size :0.9em; margin-bottom :15px; padding :5px; height :85px; }
125
table.section { border-collapse :separate; width :100%; table-layout :fixed; border-spacing :0px; border :1px solid #999999; }
126
.section tr td.graphic { border-right :2px solid #cccccc; width :60px; height :50px; padding :5px; margin :0; }
127
.section tbody tr { padding :5px; }
128
.description { padding :4px 0 0 10px; text-align :left; }
135 129
.title { text-align :left; padding :4px 5px 0px 3px; font-weight :bold; font-size :1.2em; margin-bottom :5px; }
136 130
   span.title { display :block; }
137 131
.tool_table td { text-align :left; vertical-align :top; }
......
140 134
/* new tablelayout without table attribute  */
141 135
div.settings_table { margin :0 auto; width :90%; }
142 136
form.settings_table { border :1px none #eeee; font-family :verdana,arial,helvetica,sans-serif; margin :5px auto; padding :5px; }
143
   form.settings_table fieldset { border :1px none #eeeeee; display :block; line-height :1.0em; margin :1px auto; padding :3px 0px 3px 0px; }
137
   form.settings_table fieldset { border :2px none #eeeeee; display :block; line-height :1.0em; margin :1px auto; padding :3px 0px 3px 0px; }
144 138
   input[type="file"] { width :100%; border :1px solid #000000; background-color :#ccccff; }
145 139
   legend.settings_table ,
146 140
   form.settings_table legend { border :none; color :#006699; font-size :140%; margin :5px; padding :0; }
......
192 186
table.permission_box tbody { text-align :left; }
193 187
table.permission_box td label { text-align :left; vertical-align :text-top; font-size :0.8em; }
194 188
/* */
189
div.page-info table { border-collapse :collapse; width :100%; table-layout :fixed; margin-bottom :10px; }
190
div.page-info .id { width :80px; }
191
div.page-info .description { width :30%; }
192
div.page-info table tbody td { padding :5px; background :#f0f0f0; }
195 193
div.pages_list { font-size :0.6em; width :100%; }
196 194
table.pages_list table td, 
197 195
table.pages_view td { font-size :1.2em; padding :0 2px; vertical-align :middle; margin :0 auto; height :30px; }
......
214 212
/**/
215 213
.list_page_title, .list_menu_title, 
216 214
.header_list_menu_title, .header_list_type { text-align :left; vertical-align :middle; }
217

  
218 215
.header_list_pubdate_start, 
219 216
.header_list_pubdate_end, 
220 217
.list_pubdate_start, 
221
.list_pubdate_end {
222
   text-align :left;
223
   white-space :nowrap;
224
   width :185px;
225
}
226
.header_list_sections_actions {
227
   text-align :left;
228
   width :30px;
229
}
230
.header_list_type {
231
   font-size :1em;
232
   padding :4px 0;
233
   text-align :left;
234
   width :30%;
235
}
218
.list_pubdate_end { text-align :left; white-space :nowrap; width :185px; }
219
.header_list_sections_actions { text-align :left; width :30px; }
220
.header_list_type { font-size :1em; padding :4px 0; text-align :left; width :34%; }
236 221
.jsadmin_drag img { cursor :pointer; margin-top :0px; padding :0px 0; vertical-align :baseline; }
237 222
.list_actions { height :20px; padding :0 1px; text-align :left; width :20px; }
238 223
.list_page_code, 
......
248 233
.page_list_show li { display :block; }
249 234
.pages_list 
250 235
.icon_col td img { border-style :none; display :inline; float :left; padding-right :7px; }
251
.pages_list {  } 
236
.pages_list { }
252 237
.icon_col td img { border-style :none; display :inline; float :left; padding-right :7px; }
253 238
.pages_list table { background-color :#dcdcdc; font-size :1.3em; margin :0 auto; table-layout :fixed; width :100%; }
254 239
.pages_list ul { font-weight :normal; margin :0; padding :0px; }
255 240
.pages_list ul li { list-style-type :none; margin :1px 0; padding :0; vertical-align :baseline; }
256

  
257 241
.sectionrow { font-size :1.1em; height :30px; table-layout :fixed; }
258 242
.sectionrow a:link { color :#003366; font-weight :bold; text-decoration :none; }
259 243
.sectionrow a:hover { color :#6699ff; }
......
266 250
.value_page_code { color :#006400; font-weight :400; width :240px; }
267 251
.section-info { margin :1em auto; }
268 252
/* depending styles for /admin/pages_settings */
269
div.page-settings { font-size :0.9em; border :none; text-align :left; }
270
	div.page-settings div.caption { font-size :1em; font-weight :bold; padding :3px 0 0px 0; margin :0; padding :0; border :none; margin-bottom :10px; border-bottom :groove 2px #a8bccb; }
253
div.page-settings { font-size :0.9em; border :none; text-align :left; overflow :hidden; }
254
	div.page-settings div.caption { font-size :1em; font-weight :bold; padding :3px 0 0px 0; margin :0; padding :0; border :0px none; margin-bottom :10px; border-bottom :groove 2px #a8bccb; width :100%; }
271 255
	div.page-settings label { display :inline-block; }
272 256
	div.page-settings input,
273 257
	div.page-settings textarea,
......
275 259
	div.page-settings select { }
276 260
	div.page-settings textarea { height :5em; }
277 261
	div.page-settings [type=checkbox] { width :2.5em; }
278
div.page-settings-leftcol { float :left; padding :10px 10px 10px 10px; border-right :groove 2px #a8bccb; }
262
   div.page-settings [type=reset],
263
	div.page-settings [type=submit] { padding :2px; width :auto; }
264
div.page-settings-leftcol { float :left; padding :10px 10px 10px 10px; border-right :groove 0px #a8bccb; border 0 solid 1px  #a8bccb :; }
265
div.page-settings-leftcol div.page-settings-tab { border :solid 1px #a8bccb; padding :8px; margin-bottom :8px; }
279 266
	div.page-settings-leftcol div { padding :2px 0 3px 0; vertical-align :top; }
280 267
	div.page-settings-leftcol label { width :170px; vertical-align :top; }
281
div.page-settings-righttoprow { margin-left :417px; padding :10px; }
268
div.page-settings-righttoprow { margin-left :0px; padding :10px; border :solid 0px #a8bccb; }
282 269
	div.page-settings-righttoprow label { width :110px; vertical-align :top; }
283
div.page-settings-centercol { float :left; padding :10px 20px 10px 20px; border-right :groove 2px #a8bccb; }
284
div.page-settings-rightcol { float :left; padding :10px 20px 10px 10px; border :none; }
270
div.page-settings-centercol { float :left; padding :10px; border-right :groove 0px #a8bccb; width :40%; }
271
div.page-settings-right { float :none; padding :10px 10px 10px 10px; border-right :groove 0px #a8bccb; border :solid 0px #a8bccb; margin-left :417px; min-width :40em; }
272
div.page-settings-right div.content { border :solid 1px #a8bccb; min-width :10em; }
273
div.page-settings-right div.page-settings-tab { border :solid 1px #a8bccb; padding :8px; margin-bottom :8px; }
274
div.page-settings-rightcol { float :none; padding :0px; border :none; }
285 275
h1, h2, h3, h4, h5, h6 { color :#003366; display :block; font-weight :normal; margin :0.5em auto; padding-bottom :5px; }
286 276
h6 { font-size :100%; }
287 277
/* end depending styles for /admin/pages_settings */
......
292 282
#overDiv { max-width :450px; background-position :center; background-attachment :fixed; text-align :left; line-height :1em; padding :1px; font-size :120%; }
293 283
div.page-settings span.overlib { width :20px; margin-left :-20px; }
294 284
/* */
295
div.page_group { height :180px; max-height :260px; margin :0; padding :0; overflow :auto; }
285
div.page_group { height :174px; max-height :260px; margin :0; padding :0; overflow :auto; }
296 286
div.page_group div { overflow :hidden; }
287
div.page-settings select.page_user { width :100%; min-width :160px; }
297 288
div.page-settings p.page_user,
298 289
div.page-settings p.page_group { }
299 290
/* */
branches/2.8.x/wb/templates/argos_theme/css/screen.css
1 1
* html body * { overflow :auto; }
2 2
html { font-family :"trebuchet MS", verdana, arial, sans-serif; font-size :100.1%; overflow-y :scroll;  :; }
3
body,td,th,input,textarea { font-family :verdana,arial,helvetica,sans-serif; font-size :12px; color : #666666; }
3
body,td,th,input,textarea { font-family :verdana,arial,helvetica,sans-serif; font-size :12px; color :#666666; }
4 4
body { background :url(../images/background.jpg) #f9f9f9 0 0 repeat-x; margin :0; text-align :center; }
5 5
img { border :0px; }
6 6
#admin_header { text-align :center; width :948px; height :105px; margin :0 auto; padding :10px 0 0 0; }
......
22 22
.menu a span { display :block; background :url(../images/tabr.jpg) #28609b no-repeat right top; padding :6px 9px 6px 6px; }
23 23
.menu a:hover, .menu a:hover span { background-color :#28609b; text-decoration :none; }
24 24
.menu .current a, .menu a:hover { border-bottom :3px solid #d25e59; }
25
#content_container { text-align :center; width : 948px; clear :both; margin :0 auto; }
26
.content { margin :0; padding :20px 0; width : 948px; text-align :left; vertical-align :top; }
25
#content_container { text-align :center; width :948px; clear :both; margin :0 auto; }
26
.content { margin :0; padding :20px 0; width :948px; text-align :left; vertical-align :top; }
27 27
hr { margin :15px 0; color :#003366; height :1px; }
28 28
.center { text-align :center; }
29 29
form { margin :0; }
......
33 33
.img_noborder img { border :0; }
34 34
iframe { border :1px solid #35373a; }
35 35
div.box { font-size :11px; width :100%; text-align :right; margin :-10px 0 0 0; }
36
.section { margin-top :10px; padding :0; border :1px solid #999999; height :75px; width :100%; background-color :#fdfdfd; }
36
.section { margin-top :10px; padding :5px; border :0px solid #999999; height :85px; width :100%; background-color :#fdfdfd; }
37
table.section { border-collapse :separate; width :100%; table-layout :fixed; border-spacing :0px; border :1px solid #999999; }
38
.section tr td.graphic { border-right :2px solid #cccccc; width :70px; height :50px; padding :10px 0px; margin :0; }
39
.section tbody tr { padding :5px; }
37 40
.note { color :#666666; font-size :11px; }
38 41
.bold { font-weight :bold; }
39 42
.rBold { font-weight :bold; text-align :right; }
......
66 69
.pages_list .icon_col td img { display :block; border-style :none; float :left; padding-right :7px; }
67 70
.pages_list table { width :900px; }
68 71
table.pages_view { width :900px; }
69
table.pages_view tr, tr.sectionrow { background :#f0f0f0; line-height :2.2em; }
72
table.pages_view tr, tr.sectionrow { line-height :2.2em; }
70 73
table.pages_view tr:hover, tr.sectionrow:hover { background :#eaeff6; }
71 74
tr.sectionrow { padding :0 10px; }
72 75
tr.sectionrow td { border-top :3px solid #f9f9f9; }
......
114 117
div.mbox span, 
115 118
div.mbox textarea, 
116 119
div.mbox input { display :block; float :left; margin :3px auto; }
117
div.mbox label { padding-right : 5px; }
120
div.mbox label { padding-right :5px; }
118 121
div.mbox br { clear :both; }
119 122
div.mbox span { white-space :nowrap; }
120 123
div.mbox [type="radio"],
121
div.mbox [type="checkbox"] { width : 1.5em; }
124
div.mbox [type="checkbox"] { width :1.5em; }
122 125
/**/
123 126
div.mbox label.radio { text-align :left; padding-right :20px; width :100px; }
124 127
/* END of mbox - definition ************************************************* */
......
127 130
div.mbox.dev-info { background :#dddddd; color :#990066; font-size :0.9em; overflow :auto; height :auto; white-space :normal; margin :0 auto 3em; position :relative; }
128 131
div.mbox.dev-info div span { margin-bottom :1px; }
129 132
/* */
130
.msg-box { background :#e5ffe6; border :0.2em #009900 solid; color :#336600; margin-bottom :1em; padding :0.63em; text-align : left; }
133
.msg-box { background :#e5ffe6; border :0.2em #009900 solid; color :#336600; margin-bottom :1em; padding :0.63em; text-align :left; }
131 134
.error-box { background :#ffeeee; border :0.2em #884444 solid; color :#440000; margin-bottom :1em; padding :0.63em; text-align :center; }
132 135
.msg-box p,
133 136
.error-box p { font-size :120%; }
......
137 140
.center{ text-align :center; }
138 141
.hidden { visibility :hidden; }
139 142
.left{ text-align :left; }
140
.bold{ font-weight :bold; }
141
.grey { color :#999999; }
143
.right{ text-align :right; }
144
.middle { vertical-align :middle; }
145
.top { vertical-align :top; }
146
.nowrap { white-space :nowrap; }
142 147
.hide, .none { display :none; height :0; }
143 148
#hide1, #hide2, #hide3 { display :none; }
149
/* */
144 150
.right{ text-align :right; }
145
.row_0 { background-color :#fff; }
146
.row_1 { background-color :#eee; }
151
.row_0 { background-color :#ffffff; }
152
.row_1 { background-color :#eeeeee; }
147 153
.rounded { border-radius :10px; -khtml-border-radius :10px; -webkit-border-radius :10px; -moz-border-radius :10px; }
148 154
/* set div layers in dead tables */
149 155
.info { padding :10px; margin-bottom :0.5em; background :#f8f8f8; color :#666666; font-size :91.7%; }
150 156
.note { border :2px #448844 solid; padding :10px; margin :10px auto; background :#eeffee; color :#004400; }
151 157
.important { border :2px #888844 solid; padding :10px; margin-bottom :1em; background :#ffffee; color :#444400; }
152 158
.warning { border :2px #884444 solid; padding :10px; margin-bottom :1em; background :#ffeeee; color :#440000; }
153
.section { background-color :#FDFDFD; border :1px solid #999999; font-size :0.9em; height :85px; margin :5px; padding :0; width :98%; }
154
.graphic { border :4px none #FDFDFD; height :50px; padding-left :3px; width :50px; }
155
.graphic img { background-color :#FFFFFF; border :1px none #D0D0D0; padding :4px; vertical-align :middle; width :50px; height :50px; }
156
.description { padding :4px 0 0; text-align :left; }
159
.section { background-color :transparent; font-size :0.9em; margin-bottom :15px; padding :5px; height :85px; }
160
.graphic { border :0px solid #fdfdfd; height :52px; padding-left :3px; width :70px; }
161
.graphic img { background-color :#ffffff; border :1px none #d0d0d0; padding :4px; vertical-align :middle; width :50px; height :50px; }
162
.description { padding :4px 5px 0; text-align :left; }
157 163
.title { text-align :left; padding :4px 5px 0px 3px; font-weight :bold; font-size :1.2em; margin-bottom :5px; }
158 164
   span.title { display :block; }
159 165
.tool_table td { text-align :left; vertical-align :top; }
......
163 169
div.settings_table { margin :0 auto; width :90%; }
164 170
form.settings_table { border :1px none #eeee; font-family :verdana,arial,helvetica,sans-serif; margin :5px auto; padding :5px; }
165 171
   form.settings_table fieldset { border :1px none #eeeeee; display :block; line-height :1.0em; margin-bottom :1px; padding :3px 0px 3px 0px; }
166
   form input[type="file"] { width :80%; border :1px solid black; background-color :#ccccff; }
172
   form input[type="file"] { width :80%; border :1px solid #000000; background-color :#ccccff; }
167 173
   legend.settings_table ,
168 174
   form.settings_table legend { border :none; color :#006699; font-size :140%; margin :1em; padding :0; }
169 175
   form.settings_table div.sub-row { background-color :transparent !important; background-color :#eeeeee; }
170
   form.settings_table label { text-align :right; margin : 1px auto; }
171
   form.settings_table label.setting_name { clear :left; color :#333333; vertical-align :top; display :block; margin :3px auto; min-height :1.6em; float :left; padding-right :5px; width :25%; }
176
   form.settings_table label { text-align :right; margin :1px auto; }
177
   form.settings_table label.setting_name { clear :left; color :#333333; vertical-align :top; display :block; margin :3px auto; min-height :1.6em; float :left; padding-right :5px; width :30%; }
172 178
   form.settings_table fieldset div.input { padding :0; margin :0 auto; vertical-align :top; overflow :hidden; display :inline; line-height :2em; min-height :1em; list-style-type :none; width :60%; }
173 179
   form.settings_table fieldset div.input input.radio { margin :0.8em auto; border :none; padding-left :6px; }
174 180
   form.settings_table fieldset div.input label { margin :6px auto; padding-left :6px; min-height :1em; width :35%; float :none; display :inline; vertical-align :top; }
175 181
   form.settings_table input[type="text"],
176
   form.settings_table input[type="password"] { border :1px solid #666666; margin : 0px auto; padding-left : 5px; width :72%; }
182
   form.settings_table input[type="password"] { border :1px solid #666666; margin :0px auto; padding-left :5px; width :72%; }
177 183
   form.settings_table input.radio { border :1px none #666666; margin :0px auto; padding-left :0.5em; height :1em; }
178
   form.settings_table input[type="button"].button { border :1px solid #666666; color :#000000; text-align :left; font-weight :bold; background-color :#dddddd; margin : 2px auto; padding :2px 0px 2px 6px; width : 70%; }
179
   form.settings_table textarea { border :1px solid #666666; margin :3px auto; padding-left :0.5em; min-height :1em; width :72%; }
184
   form.settings_table input[type="button"].button { border :1px solid #666666; color :#000000; text-align :left; font-weight :bold; background-color :#dddddd; margin :2px auto; padding :2px 0px 2px 6px; width :70%; }
185
   form.settings_table textarea { border :1px solid #666666; margin :3px auto; padding-left :0.5em; min-height :1em; width : 60%; }
180 186
   form.settings_table select { border :1px solid #666666; margin :3px auto; padding-left :0.5em; min-height :1em; width :73%; }
181 187
/* */
182 188
div.content_box form { }
183
div.sub-row { background-color :#eeeeee; margin : 1px auto; overflow :hidden; padding :0; }
189
div.sub-row { background-color :#eeeeee; margin :1px auto; overflow :hidden; padding :0; }
184 190
div.col_content { margin-right :0.5em; padding :2px 0; }
185 191
.content_box { position :relative; margin :0px auto; padding :0; }
186 192
   .content_box form { background :transparent; height :auto; }
187
   .content_box li {
188
   float :left;
189
   padding :0 10px;
190
   list-style-type :none;
191
   display :block;
192
}
193
   .content_box li { float :left; padding :0 10px; list-style-type :none; display :block; }
193 194
   .content_box ul { padding :0 0 0 15px; margin :0 auto; width :100%; }
194 195
   .content_box h5.title { color :#339bff; font-weight :bold; font-size :1.2em; margin :0 auto; text-align :left; }
195
   .content_box h5.title a:link  { color :#0067ca; }
196
   .content_box h5.title a:hover  { color : #0099ff; }
196
   .content_box h5.title a:link { color :#0067ca; }
197
   .content_box h5.title a:hover { color :#0099ff; }
197 198
   .content_box h5.noscript { font-size :1.2em; padding :5px 0px 5px 0px; }
198 199
   .content_box div.noscript { height :auto; width :100%; padding :5px; background :none no-repeat left; }
199 200
/*  */
200 201
   button { padding :2px; }
201 202
   button.link { padding :0px; background-color :transparent; display :inline; vertical-align :middle; border :0px none; cursor :pointer; }
202 203
   button span.title { font-size :1.3em; display :inline; font-weight :100; color :#007ac8; letter-spacing :1px; }
203
.curved { border : 1px solid #666666; }
204
.curved { border :1px solid #666666; }
204 205
/*  */
205
textarea { resize:both; } /* none|horizontal|vertical|both */
206
textarea.vert { resize:vertical; }
207
textarea.noResize { resize:none; }
206
textarea { /* none|horizontal|vertical|both */ resize :both; }
207
textarea.vert { resize :vertical; }
208
textarea.noResize { resize :none; }
208 209
#file_mode, 
209 210
#dir_mode { width :290px; height :auto; margin-right :0.5em; font-size :1em; }
210 211
#file_mode table, 
......
217 218
table.permission_box tbody { text-align :left; }
218 219
table.permission_box td label { text-align :left; vertical-align :text-top; font-size :0.8em; }
219 220
/*  */
221
div.page-info table { border-collapse :collapse; width :948px; table-layout :fixed; margin-bottom :10px; }
222
div.page-info .id { width :80px; }
223
div.page-info .description { width :30%; }
224
div.page-info table tbody td { padding :5px; background :#f0f0f0; }
220 225
div.pages_list { font-size :0.6em; width :100%; }
221 226
table.pages_list table td, 
222 227
table.pages_view td { font-size :1.2em; padding :0 2px; vertical-align :middle; margin :0 auto; height :30px; }
......
236 241
.header_list_page_id { padding-right :15px; text-align :right; width :30px; }
237 242
.header_list_page_title, 
238 243
.list_page_title { width :350px; }
239
.list_page_title, .list_menu_title, .header_list_menu_title, .header_list_type { text-align :left; vertical-align : middle; }
244
.list_page_title, .list_menu_title, .header_list_menu_title, .header_list_type { text-align :left; vertical-align :middle; }
240 245
.header_list_pubdate_start, 
241 246
.header_list_pubdate_end, 
242 247
.list_pubdate_start, 
243 248
.list_pubdate_end { text-align :left; white-space :nowrap; width :185px; }
244 249
.header_list_sections_actions { text-align :left; width :30px; }
245
.header_list_type { font-size :1em; padding :4px 0; text-align :left; }
246
.jsadmin_drag img { cursor :pointer; margin-top : 0px; padding : 0px 0; vertical-align : baseline; }
250
.header_list_type { font-size :1em; padding :4px 0; text-align :left; width :34%; }
251
.jsadmin_drag img { cursor :pointer; margin-top :0px; padding :0px 0; vertical-align :baseline; }
247 252
.list_actions { height :20px; padding :0 1px; text-align :left; width :20px; }
248 253
.list_page_code, 
249 254
.list_page_language { width :240px; }
......
251 256
.list_pubdate_end input[type="text"] { width :120px; }
252 257
.list_section_id, 
253 258
.list_page_id, 
254
.header_list_section_id { padding :0 3px; text-align :right; vertical-align : middle; width :2em; }
255
.modify_link { display :inline; padding :0 2px; vertical-align : middle; }
259
.header_list_section_id { padding :0 3px; text-align :right; vertical-align :middle; width :2em; }
260
.modify_link { display :inline; padding :0 2px; vertical-align :middle; }
256 261
.page_list { display :none; }
257 262
img.page_list_rights { border :none; float :left; margin :0 auto; padding :0 2px; }
258 263
.page_list_show li { display :block; }
......
260 265
.icon_col td img { border-style :none; display :inline; float :left; padding-right :7px; }
261 266
.pages_list table { background-color :#dcdcdc; font-size :1.3em; margin :0 auto; table-layout :fixed; width :100%; }
262 267
.pages_list ul { font-weight :normal; margin :0; padding :0px; }
263
.pages_list ul li { list-style-type :none; margin :1px 0; padding : 0; vertical-align :baseline; }
268
.pages_list ul li { list-style-type :none; margin :1px 0; padding :0; vertical-align :baseline; }
264 269
.sectionrow { font-size :1.1em; height :30px; }
265 270
.sectionrow a:link { color :#003366; font-weight :bold; text-decoration :none; }
266 271
.sectionrow a:hover { color :#6699ff; }
267 272
.sections_list,
268 273
.pages_list_header { background :#dddddd; line-height :1.5em; font-size :1em; text-align :left; height :25px; font-weight :bold; padding-left :10px; }
269 274
.value_page_code { color :#006400; font-weight :400; width :240px; }
270
.section-info {
271
   margin :1em auto;
272
}
275
.section-info { margin :1em auto; }
273 276
/* depending styles for /admin/pages_settings */
274
div.page-settings { font-size :0.9em; border :none; text-align :left; }
277
div.page-settings { font-size :0.9em; border :none; text-align :left; width :948px; }
275 278
	div.page-settings div.caption { font-size :1em; font-weight :bold; padding :3px 0 0px 0; margin :0; padding :0; border :none; margin-bottom :10px; border-bottom :groove 2px #a8bccb; }
276 279
	div.page-settings label { display :inline-block; }
277 280
	div.page-settings input,
......
280 283
	div.page-settings select { }
281 284
	div.page-settings textarea { height :5em; }
282 285
	div.page-settings [type=checkbox] { width :2.5em; }
283
div.page-settings-leftcol { float :left; padding :10px 10px 10px 10px; border-right :groove 2px #a8bccb; }
286
   div.page-settings [type=reset],
287
	div.page-settings [type=submit] { padding :2px; width :auto; }
288
div.page-settings-leftcol { float :left; padding :10px 10px 10px 10px; border-right :groove 0px #a8bccb; }
289
div.page-settings-leftcol div.page-settings-tab { border :solid 1px #a8bccb; padding :8px; margin-bottom :8px; }
284 290
	div.page-settings-leftcol div { padding :2px 0 3px 0; vertical-align :top; }
285 291
	div.page-settings-leftcol label { width :170px; vertical-align :top; }
286
div.page-settings-righttoprow { margin-left :417px; padding :10px; }
292
div.page-settings-righttoprow { margin-left :0px; padding :10px; border :solid 0px #a8bccb; }
287 293
	div.page-settings-righttoprow label { width :110px; vertical-align :top; }
288
div.page-settings-centercol { float :left; padding :10px 20px 10px 20px; border-right :groove 2px #a8bccb; }
289
div.page-settings-rightcol { float :left; padding :10px 20px 10px 10px; border :none; }
290
h1, h2, h3, h4, h5, h6 { color :#003366; display :block; font-weight : normal; margin :0.5em auto; padding-bottom :5px; }
291
h6 { font-size : 105%; }
294
div.page-settings-centercol { float :left; padding :10px; border-right :groove 0px #a8bccb; width :210px; }
295
div.page-settings-right { float :none; padding :10px 10px 10px 10px; border-right :groove 0px #a8bccb; border :solid 0px #a8bccb; margin-left :417px; width :500px; }
296
div.page-settings-right div.content { border :solid 1px #a8bccb; width :210px; padding :5px; }
297
div.page-settings-centercol div#viewers { border :solid 1px #a8bccb; width :210px; padding :5px; }
298
div.page-settings-right div.page-settings-tab { border :solid 1px #a8bccb; padding :8px; margin-bottom :8px; }
299
div.page-settings-rightcol { float :none; padding :0px; border :none; }
300
h1, h2, h3, h4, h5, h6 { color :#003366; display :block; font-weight :normal; margin :0.5em auto; padding-bottom :5px; }
301
h6 { font-size :105%; }
292 302
/* end depending styles for /admin/pages_settings */
293
div.page-settings-leftcol label { background-repeat :no-repeat; background-position :right; text-align :right; padding-right :17px; font-weight :bold; width :156px; } 
303
div.page-settings-leftcol label { background-repeat :no-repeat; background-position :right; text-align :right; padding-right :17px; font-weight :bold; width :156px; }
294 304
div.page-settings-leftcol label a:link { text-decoration :none; color :#003366; }
295
div.page-settings-leftcol label a:hover { color : #006699; text-decoration : underline; }
296
div.page-settings-leftcol textarea { resize :vertical; } 
305
div.page-settings-leftcol label a:hover { color :#006699; text-decoration :underline; }
306
div.page-settings-leftcol textarea { resize :vertical; }
297 307
#overDiv { max-width :450px; background-position :center; background-attachment :fixed; text-align :left; line-height :1em; padding :1px; font-size :120%; }
298 308
div.page-settings span.overlib { width :20px; margin-left :-20px; }
299 309
/* */
300
div.page_group { height: 180px;max-height: 260px; margin: 0; padding: 0; overflow: auto; }
301
div.page_group div { overflow: hidden; }
310
div.page_group { height :168px; max-height :260px; margin :0; padding :0; overflow :auto; }
311
div.page_group div { overflow :hidden; }
312
div.page-settings select.page_user { width :210px; }
313
div.page-settings div.page_user,
314
div.page-settings div.page_group { padding :0px; }
302 315
div.page-settings p.page_user,
303
div.page-settings p.page_group {  } 
316
div.page-settings p.page_group { }
304 317
/* */
305 318
.header_title, .setting_value input, .setting_value select, .setting_value textarea, .value_input input, .value_input text, .value_input select, .form_submit, .input_full { width :80%; }
306 319
.content_box { text-align :left; }
......
311 324
div.col_content ul li { font-size :86%; margin :auto 2px; }
312 325
.c33, 
313 326
div.col_width33 { width :33.333%; }
314
.c50, div.col_width50 { width : 47%; }
327
.c50, div.col_width50 { width :47%; }
315 328
.c60, div.col_width60 { width :60%; }
316 329
.h65 { min-height :65px; overflow :auto; }
317 330
.h80 { height :80px; line-height :1.3em; }

Also available in: Unified diff