Project

General

Profile

« Previous | Next » 

Revision 1428

Added by Dietmar almost 14 years ago

update Argostheme to version 1.5 (Tks to Argos)
validation fixes
call edit_full_area on the fly

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12

  
13 13
------------------------------------- 2.8.2 -------------------------------------
14
07 Feb-2011 Build 1428 Dietmar Woellbrink (Luisehahne)
15
! update Argostheme to version 1.5 (Tks to Argos)
16
! validation fixes
17
! call edit_full_area on the fly
14 18
04 Feb-2011 Build 1427 Dietmar Woellbrink (Luisehahne)
15 19
! validation fixes in wb_theme
16 20
04 Feb-2011 Build 1426 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/include/editarea/wb_wrapper_edit_area.php
1
<?php
2
/**
3
 *
4
 * @category        framework
5
 * @package         include
6
 * @author		    Christophe Dolivet (EditArea), Christian Sommer (WB wrapper)
7
 * @author          WebsiteBaker Project
8
 * @copyright       2004-2009, Ryan Djurovich
9
 * @copyright       2009-2011, Website Baker Org. e.V.
10
 * @link			http://www.websitebaker2.org/
11
 * @license         http://www.gnu.org/licenses/gpl.html
12
 * @platform        WebsiteBaker 2.8.x
13
 * @requirements    PHP 5.2.2 and higher
14
 * @version         $Id$
15
 * @filesource		$HeadURL$
16
 * @lastmodified    $Date$
17
 *
18
 */
19

  
20
function loader_help()
21
{
22
?>
23
   <script type="text/javascript">
24
      var head= document.getElementsByTagName('head')[0];
25
      var script= document.createElement('script');
26
      script.type= 'text/javascript';
27
      script.src= '<?php print WB_URL; ?>/include/editarea/edit_area_full.js';
28
      head.appendChild(script);
29
   </script>
30
<?php
31

  
32
}
33

  
34
if (!function_exists('registerEditArea')) {
35
	function registerEditArea(
36
                $id = 'code_area',
37
                $syntax = 'php',
38
                $syntax_selection = true,
39
                $allow_resize = 'both',
40
                $allow_toggle = true,
41
                $start_highlight = true,
42
                $min_width = 600,
43
                $min_height = 300,
44
                $toolbar = 'default'
45
            )
46
	{
47

  
48
		// set default toolbar if no user defined was specified
49
		if ($toolbar == 'default') {
50
			$toolbar = 'search, fullscreen, |, undo, redo, |, select_font, syntax_selection, |, highlight, reset_highlight, |, help';
51
			$toolbar = (!$syntax_selection) ? str_replace('syntax_selection,', '', $toolbar) : $toolbar;
52
		}
53

  
54
		// check if used Website Baker backend language is supported by EditArea
55
		$language = 'en';
56
		if (defined('LANGUAGE') && file_exists(dirname(__FILE__) . '/langs/' . strtolower(LANGUAGE) . '.js'))
57
        {
58
			$language = strtolower(LANGUAGE);
59
		}
60

  
61
		// check if highlight syntax is supported by edit_area
62
		$syntax = in_array($syntax, array('css', 'html', 'js', 'php', 'xml')) ? $syntax : 'php';
63

  
64
		// check if resize option is supported by edit_area
65
		$allow_resize = in_array($allow_resize, array('no', 'both', 'x', 'y')) ? $allow_resize : 'no';
66

  
67
		// return the Javascript code
68
		$result = <<< EOT
69
		<script type="text/javascript">
70
			editAreaLoader.init({
71
				id: 				'$id',
72
				start_highlight:	$start_highlight,
73
				syntax:			    '$syntax',
74
				min_width:			$min_width,
75
				min_height:		    $min_height,
76
				allow_resize: 		'$allow_resize',
77
				allow_toggle: 		$allow_toggle,
78
				toolbar: 			'$toolbar',
79
				language:			'$language'
80
			});
81
		</script>
82
EOT;
83
		return $result;	
84
	}
85
}
86

  
87
if (!function_exists('getEditAreaSyntax')) {
88
	function getEditAreaSyntax($file) 
89
	{
90
		// returns the highlight scheme for edit_area
91
		$syntax = 'php';
92
		if (is_readable($file)) {
93
			// extract file extension
94
			$file_info = pathinfo($file);
95
		
96
			switch ($file_info['extension']) {
97
				case 'htm': case 'html': case 'htt':
98
					$syntax = 'html';
99
	  				break;
100

  
101
	 			case 'css':
102
					$syntax = 'css';
103
	  				break;
104

  
105
				case 'js':
106
					$syntax = 'js';
107
					break;
108

  
109
				case 'xml':
110
					$syntax = 'xml';
111
					break;
112

  
113
	 			case 'php': case 'php3': case 'php4': case 'php5':
114
					$syntax = 'php';
115
	  				break;
116

  
117
				default:
118
					$syntax = 'php';
119
					break;
120
			}
121
		}
122
		return $syntax ;
123
	}
124
}
125

  
1
<?php
2
/**
3
 *
4
 * @category        framework
5
 * @package         include
6
 * @author		    Christophe Dolivet (EditArea), Christian Sommer (WB wrapper)
7
 * @author          WebsiteBaker Project
8
 * @copyright       2004-2009, Ryan Djurovich
9
 * @copyright       2009-2011, Website Baker Org. e.V.
10
 * @link			http://www.websitebaker2.org/
11
 * @license         http://www.gnu.org/licenses/gpl.html
12
 * @platform        WebsiteBaker 2.8.x
13
 * @requirements    PHP 5.2.2 and higher
14
 * @version         $Id$
15
 * @filesource		$HeadURL$
16
 * @lastmodified    $Date$
17
 *
18
 */
19

  
20
function loader_help()
21
{
22

  
23
?>
24
<script type="text/javascript">
25
/*<![CDATA[*/
26
		try{
27
			script = document.createElement("script");
28
			script.type = "text/javascript";
29
			script.src  = '<?php print WB_URL; ?>/include/editarea/edit_area_full.js';
30
			script.charset= "UTF-8";
31
			head = document.getElementsByTagName("head");
32
			head[0].appendChild(script);
33
		}catch(e){
34
			document.write("<script type='text/javascript' src='" + url + "' charset=\"UTF-8\"><"+"/script>");
35
		}
36
/*]]>*/
37
</script>
38

  
39
<?php
40

  
41
}
42
if (!function_exists('registerEditArea')) {
43
	function registerEditArea(
44
                $id = 'code_area',
45
                $syntax = 'php',
46
                $syntax_selection = true,
47
                $allow_resize = 'both',
48
                $allow_toggle = true,
49
                $start_highlight = true,
50
                $min_width = 600,
51
                $min_height = 450,
52
                $toolbar = 'default'  )
53
	{
54

  
55
		// set default toolbar if no user defined was specified
56
		if ($toolbar == 'default') {
57
			$toolbar = 'search, fullscreen, |, undo, redo, |, select_font, syntax_selection, |, highlight, reset_highlight, |, help';
58
			$toolbar = (!$syntax_selection) ? str_replace('syntax_selection,', '', $toolbar) : $toolbar;
59
		}
60

  
61
		// check if used Website Baker backend language is supported by EditArea
62
		$language = 'en';
63
		if (defined('LANGUAGE') && file_exists(dirname(__FILE__) . '/langs/' . strtolower(LANGUAGE) . '.js'))
64
        {
65
			$language = strtolower(LANGUAGE);
66
		}
67

  
68
		// check if highlight syntax is supported by edit_area
69
		$syntax = in_array($syntax, array('css', 'html', 'js', 'php', 'xml')) ? $syntax : 'php';
70

  
71
		// check if resize option is supported by edit_area
72
		$allow_resize = in_array($allow_resize, array('no', 'both', 'x', 'y')) ? $allow_resize : 'no';
73

  
74
		if(!defined('LOADER_HELP')) {
75
			loader_help();
76
	        define('LOADER_HELP', true);
77
		}
78

  
79
		// return the Javascript code
80
		$result = <<< EOT
81
		<script type="text/javascript">
82
			editAreaLoader.init({
83
				id: 				'$id',
84
				start_highlight:	$start_highlight,
85
				syntax:			    '$syntax',
86
				min_width:			$min_width,
87
				min_height:		    $min_height,
88
				allow_resize: 		'$allow_resize',
89
				allow_toggle: 		$allow_toggle,
90
				toolbar: 			'$toolbar',
91
				language:			'$language'
92
			});
93
		</script>
94
EOT;
95
		return $result;
96
	}
97
}
98

  
99
if (!function_exists('getEditAreaSyntax')) {
100
	function getEditAreaSyntax($file) 
101
	{
102
		// returns the highlight scheme for edit_area
103
		$syntax = 'php';
104
		if (is_readable($file)) {
105
			// extract file extension
106
			$file_info = pathinfo($file);
107
		
108
			switch ($file_info['extension']) {
109
				case 'htm': case 'html': case 'htt':
110
					$syntax = 'html';
111
	  				break;
112

  
113
	 			case 'css':
114
					$syntax = 'css';
115
	  				break;
116

  
117
				case 'js':
118
					$syntax = 'js';
119
					break;
120

  
121
				case 'xml':
122
					$syntax = 'xml';
123
					break;
124

  
125
	 			case 'php': case 'php3': case 'php4': case 'php5':
126
					$syntax = 'php';
127
	  				break;
128

  
129
				default:
130
					$syntax = 'php';
131
					break;
132
			}
133
		}
134
		return $syntax ;
135
	}
136
}
137

  
126 138
?>
branches/2.8.x/wb/admin/pages/index.php
40 40
    return str_replace($entities, $replacements, rawurlencode($string));
41 41
}
42 42
// fixes A URI contains impermissible characters or quotes around the URI are not closed.
43
$MESSAGE['PAGES_DELETE_CONFIRM'] = url_encode( ( $MESSAGE['PAGES_DELETE_CONFIRM']) );
43
$MESSAGE['PAGES_DELETE_CONFIRM'] = url_encode(  $MESSAGE['PAGES_DELETE_CONFIRM'] );
44 44

  
45 45
function set_node ($parent,& $par)
46 46
{
branches/2.8.x/wb/admin/pages/sections.php
48 48
	exit();
49 49
}
50 50
*/
51
/*
52
urlencode function and rawurlencode are mostly based on RFC 1738.
53
However, since 2005 the current RFC in use for URIs standard is RFC 3986.
54
Here is a function to encode URLs according to RFC 3986.
55
*/
56
function url_encode($string) {
57
    $string = html_entity_decode($string,ENT_QUOTES,'UTF-8');
58
    $entities = array('%20', '%21', '%2A', '%27', '%28', '%29', '%3B', '%3A', '%40', '%26', '%3D', '%2B', '%24', '%2C', '%2F', '%3F', '%25', '%23', '%5B', '%5D');
59
    $replacements = array(' ','!', '*', "'", "(", ")", ";", ":", "@", "&", "=", "+", "$", ",", "/", "?", "%", "#", "[", "]");
60
    return str_replace($entities, $replacements, rawurlencode($string));
61
}
51 62

  
52 63
// Check if we are supposed to add or delete a section
53 64
if(isset($_GET['section_id']) && is_numeric($_GET['section_id']))
......
471 482
// Insert language text and messages
472 483
$template->set_var(array(
473 484
					'TEXT_MANAGE_SECTIONS' => $HEADING['MANAGE_SECTIONS'],
474
					'TEXT_ARE_YOU_SURE' => $TEXT['ARE_YOU_SURE'],
485
					'TEXT_ARE_YOU_SURE' => url_encode($TEXT['ARE_YOU_SURE']),
475 486
					'TEXT_TYPE' => $TEXT['TYPE'],
476 487
					'TEXT_ADD' => $TEXT['ADD'],
477 488
					'TEXT_SAVE' =>  $TEXT['SAVE'],
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.2.RC5');
55
if(!defined('REVISION')) define('REVISION', '1427');
55
if(!defined('REVISION')) define('REVISION', '1428');
56 56

  
57 57
?>
branches/2.8.x/wb/framework/class.admin.php
25 25
require_once(ADMIN_PATH.'/interface/version.php');
26 26

  
27 27
// Include EditArea wrapper functions
28
require_once(WB_PATH . '/include/editarea/wb_wrapper_edit_area.php');
28
// require_once(WB_PATH . '/include/editarea/wb_wrapper_edit_area.php');
29 29
require_once(WB_PATH . '/framework/SecureForm.php');
30 30

  
31 31

  
branches/2.8.x/wb/framework/module.functions.php
62 62
if (!function_exists('edit_module_css')) {
63 63
	function edit_module_css($mod_dir) {
64 64
		global $page_id, $section_id;
65
				
65

  
66 66
		// check if the required edit_module_css.php file exists
67 67
		if(!file_exists(WB_PATH .'/modules/edit_module_files.php')) return;
68 68
		
......
83 83
				<input type="hidden" name="page_id" value="<?php echo $page_id; ?>" />
84 84
				<input type="hidden" name="section_id" value="<?php echo $section_id; ?>" />
85 85
				<input type="hidden" name="mod_dir" value="<?php echo $mod_dir; ?>" />
86
				<input type="hidden" name="edit_file" value="<?php echo ($frontend_css) ?'frontend.css' : 'backend.css';?>" />
86
				<input type="hidden" name="edit_file" value="<?php echo ($frontend_css) ? 'frontend.css' : 'backend.css';?>" />
87 87
				<input type="hidden" name="action" value="edit" />
88 88
				<input type="submit" value="<?php echo $edit_css_caption;?>" class="mod_<?php echo $mod_dir;?>_edit_css" />
89 89
			</form>
branches/2.8.x/wb/templates/wb_theme/theme.css
1
	* html div{
2
		height: 1em;  /* Workaround gegen den 3-Pixel-Bug des Internet Explorers 6 */
3
	}
4
	html{	/* Schrifteinstellung für das ganze Dokument */
5
		font-family: Verdana, "Trebuchet MS", Arial, Helvetica, sans-serif;
6
		font-size: 90%;
7
		font-weight: normal;
8
		color: #404040;
9
      overflow: -moz-scrollbars-vertical; /* Force firefox to always show room for a vertical scrollbar */ 
10
	}
11
	body{
12
      margin: 0px 0px 0px 0px;
13
      padding: 0px 0px 0px 0px;
14
      background: #a8bccb ;
15
      text-align: left;
16
   }
17
body { margin: auto; background-color: #A8BCCB; /*background-image: url(images/background.png);*/ background-repeat: repeat-x; }
1
* html div{ height :1em; /* Workaround gegen den 3-Pixel-Bug des Internet Explorers 6 *//* Workaround gegen den 3-Pixel-Bug des Internet Explorers 6 */ }
2
html{ /* Schrifteinstellung für das ganze Dokument */ font-family :Verdana, "Trebuchet MS", Arial, Helvetica, sans-serif; font-size :90%; font-weight :normal; color :#404040; overflow :-moz-scrollbars-vertical; /* Force firefox to always show room for a vertical scrollbar *//* Force firefox to always show room for a vertical scrollbar */ }
3
body{ margin :0px; padding :0px; background :#a8bccb; text-align :left; }
4
body { margin: 0 auto; background-color: #a8bccb; /*background-image: url(images/background.png);*/ background-repeat: repeat-x; }
18 5

  
19 6
td,th,input,textarea { color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; }
20 7
img { border: 0px; }
......
35 22
div.box { width: 100%; margin: -10px 0 0 0; font-size: small; text-align: right; }
36 23
.header { width: 900px; margin: 0 auto; }
37 24
.container { width: 85%; margin: 0 auto; background: #fff url(images/bgtitle.png); background-repeat: repeat-x; }
38
.content { padding: 20px; width: 95%; height: 200px; margin: 0 auto; min-height: 300px;  vertical-align: top; }
25
.content { padding: 20px; width: 900px;  margin: 0 auto; min-height: 300px;  vertical-align: top; }
26

  
27
#content_container {text-align:center;width:900px;clear:both;margin:0 auto;}
28

  
39 29
.description { width: 240px; padding: 0px 0px 0px 3px; text-align: left; vertical-align: top; }
40 30
.graphic { width: 50px; border: 4px solid #FDFDFD; padding-left: 3px; height: 50px; }
41 31
.graphic img { padding: 3px 12px 3px 3px; margin-right: 12px; border-right: 3px solid silver; background-color: #FFFFFF; vertical-align: middle; }
......
52 42
.page_list_show li { display: block; }
53 43
img.page_list_rights { border: none; margin-right: 5px; float: left; margin-top: 2px; margin-bottom: 2px; }
54 44
.content input { font-size: 12px; }
55
.row_a { background-color: #ECF3F7; }
56
.row_b { background-color: #DBEBF2; }
45

  
57 46
.section { margin-top: 10px; padding: 0px; /*border: 1px solid #999999;*/ width: 100%; background-color: #FDFDFD; height: 75px; }
58 47
.sections_header { width: 100%; margin-bottom: 10px; border: none; background-color: #F0F0F0; height: 50px; }
59 48
.sections_header td { padding: 5px; }
......
99 88
.header_list_pubdate_start, .header_list_pubdate_end, .list_pubdate_start, .list_pubdate_end { width: 200px; text-align: left; }
100 89
.right{ text-align: right; }
101 90
.left{ text-align: left;  }
91
/* set div layers in dead tables */
92
.subcolumns {width:100%;overflow:hidden;margin:10px 0;}
93
.subcolumns_oldgecko {width:100%;float:left;margin:10px 0;}
102 94

  
103
div.content_box { position: relative; margin: 0px auto; }
104
div.content_box form{background: transparent;  height: auto; }
105
div.content_box fieldset { margin: 10px auto; }
106
div.content_box legend {  color: #336699; font-size: 15px; font-weight:bold;padding: 0px 3px 0px 4px; }
107
div.content_box label{ font-weight: 600; padding-left:4px; }
108
div.content_box input{ width: 400px; }
109
.be_section { border: 2px groove #6ea0d0; }
110

  
111

  
112
.subcolumns { width: 100%; overflow: hidden; }
113
.subcolumns_oldgecko { width: 100%; float: left; }
114

  
115 95
.c10l, .c20l, .c25l, .c33l, .c40l, .c38l, .c50l, .c60l, .c62l, .c66l, .c75l, .c80l { float: left; }
116 96
.c10r, .c20r, .c25r, .c33r, .c40r, .c38r, .c50r, .c60r, .c66r, .c62r, .c75r, .c80r { float: right; margin-left: -5px; }
117 97

  
......
155 135
#submit,
156 136
#reset { max-width: 100px; }
157 137

  
158
	fieldset.be_section{
159
      clear: both;
160
      -moz-border-radius: 8px;
161
      -khtml-border-radius: 8px;
162
      -webkit-border-radius: 8px;
163
      margin-top: 0.7em;
164
      text-align: left;
165
      background: #f5f5f5 none;
166
   }
167

  
168 138
 div#username { height: 17px; width:402px; background-color: #e9e9e9; min-width:250px; border: 0px groove #6799c4; text-align: left; font-weight:bold; margin:0;} 
169 139
.save_section { margin: 20px auto 5px auto; }
170 140

  
141
#language,
142
#timezone,
143
#date_format,
144
#time_format,
145
#display_name,
146
#username,
147
#email,
148
#new_password_1,
149
#new_password_2,
150
#current_password {width:640px;}
171 151

  
branches/2.8.x/wb/templates/wb_theme/templates/header.htt
7 7
<meta http-equiv="content-language" content="{LANGUAGE}" />
8 8
<meta name="description" content="{TEXT_ADMINISTRATION}" />
9 9
<meta name="keywords" content="{TEXT_ADMINISTRATION}" />
10
<meta http-equiv="cache-control" content="no-cache" />
11
<meta http-equiv="cache-control" content="no-store" />
12
<meta http-equiv="cache-control" content="max-age=0" />
13
<meta http-equiv="cache-control" content="must-revalidate" />
14
<meta http-equiv="expires" content="0" />
15
<meta http-equiv="pragma" content="no-cache" />
10
<meta name="author" content="WebsiteBaker Org e.V." />
11
<meta http-equiv="Content-Encoding" content="gzip" />
12
<meta http-equiv="Accept-Encoding" content="gzip, deflate" />
16 13
<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" />
17 14
{BACKEND_MODULE_CSS}
18 15
<script type="text/javascript">
branches/2.8.x/wb/templates/wb_theme/templates/templates.htt
15 15
<table summary="" cellpadding="2" cellspacing="0" border="0" width="100%">
16 16
<tr>
17 17
	<td>
18
		<input type="file" name="userfile" size="82%" />
18
		<input type="file" name="userfile" size="82" />
19 19
		<script language="javascript" type="text/javascript">
20 20
		document.install.userfile.focus();
21 21
		</script>
branches/2.8.x/wb/templates/wb_theme/templates/media_browse.htt
87 87
				</a>
88 88
			</td>
89 89
			<td style="padding-right: 5px;" align="right" class="{DISPLAY_DELETE}">
90
				<a href="#" onclick="javascript: confirm_link('{CONFIRM_DELETE}\n {NAME_SLASHED}', 'delete.php?dir={CURRENT_DIR}%26id={TEMP_ID}');" title="{TEXT_DELETE}">
90
				<a href="#" onclick="javascript: confirm_link('{CONFIRM_DELETE}\n {NAME_SLASHED}', 'delete.php?dir={CURRENT_DIR}&amp;id={TEMP_ID}');" title="{TEXT_DELETE}">
91 91
					<img src="{THEME_URL}/images/delete_16.png" alt="" border="0" />
92 92
				</a>
93 93
			</td>
branches/2.8.x/wb/templates/wb_theme/templates/preferences.htt
1 1
<!-- BEGIN main_block -->
2
<h2>{HEADING_MY_SETTINGS}</h2>
2 3
<div class="content_box">
3 4
	<form name="{FORM_NAME}" id="{FORM_NAME}" action="{ACTION_URL}" method="post">
4 5
		{FTAN}
5
		<fieldset class="be_section">
6
			<legend class="content_legend">{HEADING_MY_SETTINGS}</legend>
7 6
			<div class="subcolumns">
8 7
				<div class="c25l">
9 8
					<label>{TEXT_USERNAME}:</label><br />
......
68 67
					</select>
69 68
				</div>
70 69
			</div>
71
		</fieldset>
72
		<fieldset class="be_section">
73
			<legend class="content_legend">{HEADING_MY_EMAIL}</legend>
70

  
74 71
			<div class="subcolumns">
75 72
				<div class="c25l">
76 73
					<label>{TEXT_EMAIL}:</label><br />
......
79 76
					<input type="text" id="email" name="email" value="{EMAIL}" /><br />
80 77
				</div>
81 78
			</div>
82
		</fieldset>
83
		<fieldset class="be_section">
84
			<legend class="content_legend">{HEADING_MY_PASSWORD}</legend>
85 79
			<div class="subcolumns">
86 80
				<div class="c25l">
87 81
					<label>{TEXT_NEW_PASSWORD}:</label><br />
......
98 92
					<input type="password" id="new_password_2" name="new_password_2" value="{EMPTY_STRING}" /><br />
99 93
				</div>
100 94
			</div>
101
		</fieldset>
102
		<fieldset class="be_section">
103
			<legend class="content_legend">{TEXT_SAVE}</legend>
104 95
			<div class="subcolumns">
105 96
				<div class="c25l">
106 97
					<label>{TEXT_NEED_CURRENT_PASSWORD}:</label><br />
......
117 108
				<div class="c25l">
118 109
				</div>
119 110
			</div>
120
		</fieldset>
121 111
	</form>
122 112
</div>
123 113

  
branches/2.8.x/wb/templates/wb_theme/templates/languages.htt
11 11
<table summary="" cellpadding="2" cellspacing="0" border="0" width="100%">
12 12
<tr>
13 13
	<td>
14
		<input type="file" name="userfile" size="82%" />
14
		<input type="file" name="userfile" size="82" />
15 15
		<script language="javascript" type="text/javascript">
16 16
		document.install.userfile.focus();
17 17
		</script>
branches/2.8.x/wb/templates/wb_theme/templates/pages_sections.htt
66 66
                    </td>
67 67

  
68 68
                    <td valign="middle" width="20">
69
                        <a href="javascript: confirm_link('{TEXT_ARE_YOU_SURE}', '{ADMIN_URL}/pages/sections.php?page_id={PAGE_IDKEY}&amp;section_id={VAR_SECTION_ID}');">
69
                        <a href="#" onclick="javascript: confirm_link('{TEXT_ARE_YOU_SURE}', '{ADMIN_URL}/pages/sections.php?page_id={PAGE_IDKEY}&amp;section_id={VAR_SECTION_ID}');">
70 70
                        <img src="{THEME_URL}/images/{DELETE_16_PNG}" alt="X" />
71 71
                        </a>
72 72
                    </td>
branches/2.8.x/wb/templates/wb_theme/templates/modules.htt
11 11
<table summary="" cellpadding="2" cellspacing="0" border="0" width="100%">
12 12
<tr>
13 13
	<td>
14
		<input type="file" name="userfile" size="82%" />
14
		<input type="file" name="userfile" size="82" />
15 15
		<script language="javascript" type="text/javascript">
16 16
		document.install.userfile.focus();
17 17
		</script><br />
......
79 79
<h2>{HEADING_INVOKE_MODULE_FILES}</h2>
80 80
<p>{TEXT_MANUAL_INSTALLATION}</p>
81 81

  
82
<form name="details" action="manual_install.php" method="post" class="{INSTALL_VISIBLE}">
82
<form name="manual_install" action="manual_install.php" method="post" class="{INSTALL_VISIBLE}">
83 83
	<strong>{TEXT_FILE}:</strong> "install.php"&nbsp;&nbsp;&nbsp;
84 84
	<input type="hidden" name="action" value="install" />
85 85
	<select name="file" style="width: 250px;">
......
91 91
	<input type="submit" name="submit" value="{TEXT_EXECUTE}" style="width: 100px; margin-left: 1em;" />
92 92
</form>
93 93

  
94
<form name="details" action="manual_install.php" method="post" class="{UPGRADE_VISIBLE}">
94
<form name="manual_upgrade" action="manual_install.php" method="post" class="{UPGRADE_VISIBLE}">
95 95
	<br />{TEXT_FILE}: "upgrade.php"
96 96
	<input type="hidden" name="action" value="upgrade" />
97 97
	<select name="file" style="width: 250px;">
......
103 103
	<input type="submit" name="submit" value="{TEXT_EXECUTE}" style="width: 100px; margin-left: 1em;" />
104 104
</form>
105 105

  
106
<form name="details" action="manual_install.php" method="post" class="{UNINSTALL_VISIBLE}">
106
<form name="manual_uninstall" action="manual_install.php" method="post" class="{UNINSTALL_VISIBLE}">
107 107
	<br />{TEXT_FILE}: "uninstall.php"
108 108
	<input type="hidden" name="action" value="uninstall" />
109 109
	<select name="file" style="width: 250px;">
branches/2.8.x/wb/templates/argos_theme/info.php
1
<?php

2
/**

3
 * $Id$

4
 * Website Baker theme: argos_theme

5
 * This theme is the default WB backend Theme

6
 * Feel free to modify or build up on this template.

7
 *

8
 * This file defines the template variables required by Website Baker.

9
 *

10
 * LICENSE: GNU General Public License

11
 * 

12
 * @author     Jurgen Nijhuis (Argos Media) & Ruud Eisinga

13
 * @copyright  GNU General Public License

14
 * @license    http://www.gnu.org/licenses/gpl.html

15
 * @version    1.1

16
 * @platform   Website Baker 2.8

17
 *

18
 * Website Baker is free software; you can redistribute it and/or modify

19
 * it under the terms of the GNU General Public License as published by

20
 * the Free Software Foundation; either version 2 of the License, or

21
 * (at your option) any later version.

22
 *

23
 * Website Baker is distributed in the hope that it will be useful,

24
 * but WITHOUT ANY WARRANTY; without even the implied warranty of

25
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the

26
 * GNU General Public License for more details.

27
*/

28

  
29
// OBLIGATORY WEBSITE BAKER VARIABLES

30
$template_directory			= 'argos_theme';

31
$template_name				= 'argos_theme';

32
$template_function			= 'theme';

33
$template_version			= '1.4';

34
$template_platform			= '2.8';

35
$template_author			= 'Jurgen Nijhuis (Argos Media) & Ruud Eisinga';

36
$template_license			= '<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>';

37
$template_license_terms		= '-';

38
$template_description		= 'Enhanced backend theme for Website Baker 2.8.';

39

  
1
<?php
2
/**
3
 * $Id$
4
 * Website Baker theme: argos_theme
5
 * This theme is the default WB backend Theme
6
 * Feel free to modify or build up on this template.
7
 *
8
 * This file defines the template variables required by Website Baker.
9
 *
10
 * LICENSE: GNU General Public License
11
 * 
12
 * @author     Jurgen Nijhuis (Argos Media) & Ruud Eisinga
13
 * @copyright  GNU General Public License
14
 * @license    http://www.gnu.org/licenses/gpl.html
15
 * @version    1.1
16
 * @platform   Website Baker 2.8
17
 *
18
 * Website Baker is free software; you can redistribute it and/or modify
19
 * it under the terms of the GNU General Public License as published by
20
 * the Free Software Foundation; either version 2 of the License, or
21
 * (at your option) any later version.
22
 *
23
 * Website Baker is distributed in the hope that it will be useful,
24
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
25
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
26
 * GNU General Public License for more details.
27
*/
28

  
29
// OBLIGATORY WEBSITE BAKER VARIABLES
30
$template_directory			= 'argos_theme';
31
$template_name				= 'argos_theme';
32
$template_function			= 'theme';
33
$template_version			= '1.5';
34
$template_platform			= '2.8';
35
$template_author			= 'Jurgen Nijhuis (Argos Media) & Ruud Eisinga';
36
$template_license			= '<a href="http://www.gnu.org/licenses/gpl.html">GNU General Public License</a>';
37
$template_license_terms		= '-';
38
$template_description		= 'Enhanced backend theme for Website Baker 2.8.';
39

  
40 40
?>
branches/2.8.x/wb/templates/argos_theme/theme.css
1 1

  
2
html {
3
overflow: -moz-scrollbars-vertical;  /* Force firefox to always show room for a vertical scrollbar */
4
}
2
html {overflow:-moz-scrollbars-vertical; /* Force firefox to always show room for a vertical scrollbar */}
5 3

  
6 4
body,td,th,input,textarea {font-family:verdana,arial,helvetica,sans-serif;font-size:11px;color:#333;}
7 5
body {background:#f9f9f9 url(images/background.jpg) 0 0 repeat-x;margin:0;text-align:center;}
8
img {	border: 0px;}
6
img {border:0px;}
9 7

  
10 8
#admin_header {text-align:center;width:900px;height:105px;margin:0 auto;padding:10px 0 0 0;}
11 9
#admin_header a#website_title {display:block;text-align:left;font-size:14px;font-weight:bold;color:#fff;text-transform:uppercase;text-decoration:none;}
......
31 29

  
32 30
#content_container {text-align:center;width:900px;clear:both;margin:0 auto;}
33 31
.content {margin:0;padding:20px 0;width:900px;text-align:left;vertical-align:top;}
34

  
35 32
hr {margin:15px 0;color:#003366;height:1px;}
36 33

  
37 34
.hide {display:none;}
38
.note {color:#666;font-size:10px;}
35
.note {color:#666;font-size:11px;}
39 36

  
40 37
form {margin:0;}
41 38
label {cursor:pointer;}
......
44 41
/* WB2.8 STYLES */
45 42
.img_noborder img {border:0;}
46 43
iframe {border:1px solid #35373a;}
47
div.box {font-size:small;width:100%;text-align:right;margin:-10px 0 0 0;}
44
div.box {font-size:11px;width:100%;text-align:right;margin:-10px 0 0 0;}
48 45
.section {margin-top:10px;padding:0;border:1px solid #999;height:75px;width:100%;background-color:#fdfdfd;}
49 46
.graphic {width:50px;height:50px;border:4px solid #fdfdfd;padding-left:3px;}
50 47
.graphic img {vertical-align:middle;background-color:#fff;padding:4px;border:1px solid #d0d0d0;}
51 48
.title {text-align:left;font-weight:bold;font-size:14px;margin-bottom:5px;}
49
span.title { display :block;}
52 50
.description {text-align:left;padding:4px 4px 0 4px;}
53
.note {color:#666;font-size:10px;}
51
.note {color:#666;font-size:11px;}
54 52
.bold {font-weight:bold;}
55 53

  
56 54
.submit, .cancel {width:100px;margin-top:5px;}
......
67 65
select option.disabled {color:#aaa;}
68 66

  
69 67
.jsadmin_drag img {margin-top:2px;vertical-align:top;cursor:pointer;}
70
.jsadmin_drag img:hover {/* background-color: lightgrey; */}
68
.jsadmin_drag img:hover {/* background-color:lightgrey;*/}
71 69
.modify_link {padding:4px 0 0 7px;}
72 70

  
73 71
.settings_table td {vertical-align:top;text-align:left;padding:5px;}
74 72
.setting_name {width:10%;min-width:180px;}
75
.setting_value { width: 90%}
73
.setting_value {width:90%}
76 74
.setting_value input, .setting_value select, .setting_value textarea {width:100%;}
77 75
.setting_value textarea {height:50px;}
78 76

  
......
86 84
.pages_list {font-weight:bold;}
87 85
.pages_list .icon_col td img {display:block;border-style:none;float:left;padding-right:7px;}
88 86
.pages_list table {width:900px;}
89
.pages_list ul {margin:0;font-weight:normal;padding: 0;}
87
.pages_list ul {margin:0;font-weight:normal;padding:0;}
90 88
.pages_list ul li {list-style-type:none;margin:2px 0;}
91 89

  
92 90
table.pages_view {width:900px;}
93
table.pages_view tr, tr.sectionrow {background:#f0f0f0; line-height :2.2em;}
91
table.pages_view tr, tr.sectionrow {background:#f0f0f0;line-height:2.2em;}
94 92
table.pages_view tr:hover, tr.sectionrow:hover {background:#eaeff6;}
95 93
tr.sectionrow {padding:0 10px;}
96 94
tr.sectionrow td {border-top:3px solid #f9f9f9;}
97 95

  
98 96
.page_list {display:none;}
99 97
.page_list_show li {display:block;}
100
img.page_list_rights {border:none;float:left;margin:0;vertical-align:middle; padding :2px;}
98
img.page_list_rights {border:none;float:left;margin:0;vertical-align:middle;padding :2px;}
101 99

  
102 100
.sections_list {font-weight:bold;padding-left:10px;}
103 101
.sections_list table {width:900px;}
104 102

  
105

  
106 103
.header_list_type {text-align:left;}
107 104
.header_list_block {text-align:left;width:180px;}
108 105
.header_list_pubdate_start {text-align:left;width:200px;}
......
110 107
.header_list_sections_actions {text-align:left;width:30px;}
111 108
.header_list_section_id {width:30px;text-align:right;}
112 109

  
113

  
114 110
.list_section_id {width:30px;text-align:right;}
115 111
.list_pubdate_start {text-align:left;width:200px;}
116 112
.list_pubdate_end {text-align:left;width:200px;}
117
/*
118
.header_list_page_title {text-align:left;}
119
.header_list_menu_title {width:300px;text-align:left;}
120
.header_list_page_id{width:50px;text-align:left;}
121
.list_page_title {text-align:left;}
122
.list_menu_title {width:300px;text-align:left;}
123
.list_page_id {width:50px;text-align:left;}
124
*/
125
.header_list_menu_title {text-align:left;}
126
.header_list_page_title {width:300px; text-align:left;}
127
td.list_page_title { line-height: 1.3em;
128
	padding-top: 3px;
129
	padding-bottom: 3px;
130
}
131 113

  
132
.header_list_page_id {width:50px; text-align: right; padding-right:15px;}
133
.header_list_actions {width:150px; text-align:left;}
114
.header_list_menu_title {text-align:left;padding-left:30px;}
115
.header_list_page_title {width:334px;text-align:left;}
116
.header_list_page_id {width:30px;text-align:left;}
117
.header_list_actions {width:178px;text-align:left;}
134 118

  
135 119
.list_menu_title {text-align:left;}
136
.list_page_title {width:300px;text-align:left; }
120
.list_page_title {width:300px;text-align:left;}
137 121

  
138
.list_page_id {width:50px;text-align: right; padding-right:15px;}
122
.list_page_id {width:50px;text-align:right;padding-right:15px;}
139 123
.list_actions {width:25px;text-align:left;}
140 124

  
141
.value_page_code {color: #006400; font-weight: 400; width: 240px; }
142
.list_page_code { width: 240px; }
143
.list_page_language { width: 240px; }
144
#multi_lingual { font-weight: bolder; }
145
.right{ text-align: right; }
146
.left{ text-align: left; }
125
.value_page_code {color:#006400;font-weight:bold;width:240px;}
126
.list_page_code {width:240px;}
127
.list_page_language {width:240px;}
128
#multi_lingual {font-weight:bold;}
129
.right{text-align:right;}
130
.left{text-align:left;}
147 131

  
148
/* Preference styles */
149
div.content_box { position: relative; margin: 0px auto; }
150
div.content_box form{background: transparent;  height: auto; }
151
div.content_box fieldset { margin: 10px auto; }
152
div.content_box legend {  color: #336699; font-size: 15px; font-weight:bold;padding: 0px 3px 0px 4px; }
153
div.content_box label{ font-weight: 600; padding-left:4px; }
154
div.content_box input{ width: 400px; }
155
.be_section { border: 2px groove #6ea0d0; }
132
/* set div layers in dead tables */
133
.subcolumns {width:100%;overflow:hidden;margin:10px 0;}
134
.subcolumns_oldgecko {width:100%;float:left;margin:10px 0;}
156 135

  
157
/* set div layers indead tables */
158
.subcolumns { width: 100%; overflow: hidden; }
159
.subcolumns_oldgecko { width: 100%; float: left; }
136
.c10l, .c20l, .c25l, .c33l, .c40l, .c38l, .c50l, .c60l, .c62l, .c66l, .c75l, .c80l {float:left;}
137
.c10r, .c20r, .c25r, .c33r, .c40r, .c38r, .c50r, .c60r, .c66r, .c62r, .c75r, .c80r {float:right;margin-left:-5px;}
160 138

  
161
.c10l, .c20l, .c25l, .c33l, .c40l, .c38l, .c50l, .c60l, .c62l, .c66l, .c75l, .c80l { float: left; }
162
.c10r, .c20r, .c25r, .c33r, .c40r, .c38r, .c50r, .c60r, .c66r, .c62r, .c75r, .c80r { float: right; margin-left: -5px; }
139
.c10l, .c10r {width:10%;}
140
.c20l, .c20r {width:20%;line-height:2em;}
141
.c40l, .c40r {width:40%;}
142
.c60l, .c60r {width:60%;height:21px;}
143
.c25l, .c25r {width:28%;}
144
.c33l, .c33r {width:33.333%;}
145
.c50l, .c50r {width:50%;}
146
.c66l, .c66r {width:66.666%;}
147
.c38l, .c38r {width:38.2%;}
148
.c62l, .c62r {width:61.8%;}
149
.subc {padding:0 0.5em;}
150
.subcl {padding:0 1em 0 0;}
151
.subcr {padding:0 0 0 1em;}
163 152

  
164
  .c10l, .c10r { width: 10%; }
165
  .c20l, .c20r { width: 20%; line-height:2em;}
166
  .c40l, .c40r { width: 40%; }
167
  .c60l, .c60r { width: 60%; height: 21px;}
168
  .c25l, .c25r { width: 28%; }
169
  .c33l, .c33r { width: 33.333%; }
170
  .c50l, .c50r { width: 50%; }
171
  .c66l, .c66r { width: 66.666%; }
172
  .c38l, .c38r { width: 38.2%; }
173
  .c62l, .c62r { width: 61.8%; }
174
  .subc { padding: 0 0.5em; }
175
  .subcl { padding: 0 1em 0 0; }
176
  .subcr { padding: 0 0 0 1em; }
153
.c80l, .c80r, .c90l, .c90r {width:80%;}
154
.c75l, .c75r, .c80l, .c80r {width:75%;}
177 155

  
178
.c80l, .c80r, .c90l, .c90r { width: 80%; }
179
.c75l, .c75r, .c80l, .c80r { width: 75%; }
156
.info {padding:10px;margin-bottom:0.5em;background:#f8f8f8;color:#666;font-size:11px;}
157
.note {border:2px #484 solid;padding:10px;margin:10px auto;background:#efe;color:#040;}
158
.important {border:2px #884 solid;padding:10px; margin-bottom:1em;background:#ffe;color:#440;}
159
.warning {border:2px #844 solid;padding:10px;margin:1em auto;background:#fee;color:#400;}
180 160

  
181
.info { padding: 10px; margin-bottom: 0.5em; background: #f8f8f8; color: #666; font-size: 91.7%; }
182
.note { border: 2px #484 solid; padding: 10px;margin: 10px auto; background: #efe; color: #040; }
183
.important { border: 2px #884 solid; padding: 10px;  margin-bottom: 1em; background: #ffe; color: #440; }
184
.warning { border: 2px #844 solid; padding: 10px; margin: 1em auto; background: #fee; color: #400; }
161
.row_0 {background-color:transparent;}
162
.row_1 {background-color:#ccddee;}
185 163

  
186
.row_0 { background-color: transparent; }
187
.row_1 { background-color: #ccddee; }
188

  
189 164
#language,
190 165
#timezone,
191 166
#date_format,
192
#time_format { min-width: 250px; }
193

  
167
#time_format,
194 168
#display_name,
195 169
#username,
196 170
#email,
197 171
#new_password_1,
198 172
#new_password_2,
199
#current_password { min-width: 250px;  }
173
#current_password {width:640px;}
200 174

  
201

  
202 175
#submit,
203
#reset { max-width: 100px; }
176
#reset {max-width:100px;}
204 177

  
205
	fieldset.be_section{
206
      clear: both;
207
      -moz-border-radius: 8px;
208
      -khtml-border-radius: 8px;
209
      -webkit-border-radius: 8px;
210
      margin-top: 0.7em;
211
      text-align: left;
212
      background: #e1e1e1 none;
213
   }
214

  
215
div#username { height: 17px; width:402px; min-width:250px; border: 0px groove #6799c4; text-align: left; font-weight:bold; margin:0;} 
216
.save_section { margin: 20px auto 5px auto; }
178
div#username {height:17px;width:640px;text-align:left;font-weight:bold;margin:0;} 
179
.save_section {margin:20px auto 5px auto;}
branches/2.8.x/wb/templates/argos_theme/templates/login_forgot.htt
1
<!-- BEGIN main_block -->

2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

4
<head>

5
<title>Retrieve Login Details</title>

6
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />

7
<meta http-equiv="content-language" content="{LANGUAGE}" />

8
<meta name="description" content="Retrieve Login Details" />

9
<meta name="keywords" content="Retrieve Login Details" />

10
<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" />

11
</head>

12
<body onload="document.forgot_pass.email.focus();">

13

  
14
<div style="text-align:left;font-size:20px;color:#fff;padding:15px 0 0 50px;height:100px;">

15
	<!-- <img src="{THEME_URL}/images/logo.png" alt="Logo" /> -->

16
	{SECTION_FORGOT}

17
</div> 

18

  
19
<table cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;">

20
<tr>

21
	<td class="content">

22
	
23
	<form name="forgot_pass" action="{ACTION_URL}" method="post">

24
	<input type="hidden" name="url" value="{URL}" />

25
		<table cellpadding="5" cellspacing="0" border="0" align="center" width="500">

26
		<tr>

27
			<td height="40" align="center" style="color: #{MESSAGE_COLOR};" colspan="2">{MESSAGE}</td>

28
		</tr>

29
		<tr style="{DISPLAY_FORM}">

30
			<td height="10" colspan="2"></td>

31
		</tr>

32
		<tr style="{DISPLAY_FORM}">

33
			<td width="165" height="30" align="right">{TEXT_EMAIL}:</td>

34
			<td><input type="text" maxlength="255" name="email" value="{EMAIL}" style="width: 180px;" /></td>

35
		</tr>

36
		<tr style="{DISPLAY_FORM}" height="30">

37
			<td>&nbsp;</td>

38
			<td><input type="submit" name="submit" value="{TEXT_SEND_DETAILS}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;"></td>

39
		</tr>

40
		<tr style="{DISPLAY_FORM}">

41
			<td height="10" colspan="2"></td>

42
		</tr>

43
		</table>

44
	</form>

45
	
46
	<center>

47
		<a href="{LOGIN_URL}">{TEXT_NEED_TO_LOGIN}</a>

48
		<br />

49
		<br />

50
		<a href="{WB_URL}">{TEXT_HOME}</a>

51
	</center>

52

  
53
	</td>

54
</tr>

55
</table>

56

  
57
<table cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 0px 10px 0px;">

58
<tr>

59
	<td style="font-size:12px;text-align:center;">

60
      <!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->

61
      <a href="http://www.websitebaker2.org/" title="external">WebsiteBaker</a> is released under the

62
      <a href="http://www.gnu.org/licenses/gpl.html" title="WebsiteBaker is released under the GNU General Public License">GNU General Public License</a>

63
      <!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->

64
	</td>

65
</tr>

66
</table>

67

  
68
</body>

69
</html>

1
<!-- BEGIN main_block -->
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
<head>
5
<title>Retrieve Login Details</title>
6
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
7
<meta http-equiv="content-language" content="{LANGUAGE}" />
8
<meta name="description" content="Retrieve Login Details" />
9
<meta name="keywords" content="Retrieve Login Details" />
10
<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" />
11
</head>
12
<body onload="document.forgot_pass.email.focus();">
13

  
14
<div style="text-align:left;font-size:20px;color:#fff;padding:15px 0 0 50px;height:100px;">
15
	<!-- <img src="{THEME_URL}/images/logo.png" alt="Logo" /> -->
16
	{SECTION_FORGOT}
17
</div> 
18

  
19
<table summary="" cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;">
20
<tr>
21
	<td class="content">
22
	
23
	<form name="forgot_pass" action="{ACTION_URL}" method="post">
24
	<input type="hidden" name="url" value="{URL}" />
25
		<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="500">
26
		<tr>
27
			<td height="40" align="center" style="color: #{MESSAGE_COLOR};" colspan="2">{MESSAGE}</td>
28
		</tr>
29
		<tr style="{DISPLAY_FORM}">
30
			<td height="10" colspan="2"></td>
31
		</tr>
32
		<tr style="{DISPLAY_FORM}">
33
			<td width="165" height="30" align="right">{TEXT_EMAIL}:</td>
34
			<td><input type="text" maxlength="255" name="email" value="{EMAIL}" style="width: 180px;" /></td>
35
		</tr>
36
		<tr style="{DISPLAY_FORM}" height="30">
37
			<td>&nbsp;</td>
38
			<td><input type="submit" name="submit" value="{TEXT_SEND_DETAILS}" style="width: 180px; font-size: 10px; text-transform: uppercase; color: #003366; border: 1px solid #336699; background-color: #DDDDDD; padding: 3px;"></td>
39
		</tr>
40
		<tr style="{DISPLAY_FORM}">
41
			<td height="10" colspan="2"></td>
42
		</tr>
43
		</table>
44
	</form>
45
	
46
	<center>
47
		<a href="{LOGIN_URL}">{TEXT_NEED_TO_LOGIN}</a>
48
		<br />
49
		<br />
50
		<a href="{WB_URL}">{TEXT_HOME}</a>
51
	</center>
52

  
53
	</td>
54
</tr>
55
</table>
56

  
57
<table summary="" cellpadding="0" cellspacing="0" border="0" width="100%" style="padding: 10px 0px 10px 0px;">
58
<tr>
59
	<td style="font-size:12px;text-align:center;">
60
      <!-- Please note: the below reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
61
      <a href="http://www.websitebaker2.org/" title="external">WebsiteBaker</a> is released under the
62
      <a href="http://www.gnu.org/licenses/gpl.html" title="WebsiteBaker is released under the GNU General Public License">GNU General Public License</a>
63
      <!-- Please note: the above reference to the GNU GPL should not be removed, as it provides a link for users to read about warranty, etc. -->
64
	</td>
65
</tr>
66
</table>
67

  
68
</body>
69
</html>
70 70
<!-- END main_block -->
branches/2.8.x/wb/templates/argos_theme/templates/settings.htt
4 4
<input type="hidden" name="advanced" value="{ADVANCED}" />
5 5
{FTAN}
6 6

  
7
<table cellpadding="3" cellspacing="0" border="0" align="center" width="100%" class="settings_table">
7
<table summary="" cellpadding="3" cellspacing="0" border="0" align="center" width="100%" class="settings_table">
8 8
<tr>
9 9
	<td colspan="3"><h2>{HEADING_GENERAL_SETTINGS}</h2></td>
10 10
</tr>
......
399 399
<tr{DISPLAY_ADVANCED}>
400 400
	<td class="setting_name"><div id="{ADVANCED_FILE_PERMS_ID}1" style="margin: 0; padding: 0;">{TEXT_FILESYSTEM_PERMISSIONS}:</div></td>
401 401
	<td class="setting_value" id="file_mode" align="left">
402
		<table cellpadding="2" cellspacing="0" border="0" width="90%" style="border-right: 1px solid #ddd;" id="{ADVANCED_FILE_PERMS_ID}2">
402
		<table summary="" cellpadding="2" cellspacing="0" border="0" width="90%" style="border-right: 1px solid #ddd;" id="{ADVANCED_FILE_PERMS_ID}2">
403 403
		<tr>
404 404
			<td colspan="3" style="text-align: center; font-weight: bold;">{TEXT_FILES}:</td>
405 405
		</tr>
......
443 443
		</table>
444 444
	</td>
445 445
	<td class="setting_value" id="dir_mode" style="text-align: right;">
446
		<table cellpadding="2" cellspacing="0" border="0" width="90%" id="{ADVANCED_FILE_PERMS_ID}3">
446
		<table summary="" cellpadding="2" cellspacing="0" border="0" width="90%" id="{ADVANCED_FILE_PERMS_ID}3">
447 447
		<tr>
448 448
			<td colspan="3" style="text-align: center; font-weight: bold;">{TEXT_DIRECTORIES}:</td>
449 449
		</tr>
branches/2.8.x/wb/templates/argos_theme/templates/users.htt
3 3
<form name="users" action="users.php" method="post">
4 4
<input type="hidden" name="action" value="delete" />
5 5

  
6
<table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
6
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
7 7
	<tr style="background:#f0f0f0;">
8 8
		<td align="left"><h2>{HEADING_MODIFY_DELETE_USER}</h2></td>
9 9
		<td align="right">
branches/2.8.x/wb/templates/argos_theme/templates/access.htt
1
<!-- BEGIN main_block -->
2
<h2>{ACCESS}</h2>
3
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
4
	<tr>
5
		<td align="center" valign="top">
6
			<!-- BEGIN users_block -->	
7
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_USERS} >
8
				<tr>
9
					<td class="graphic" align="center" valign="top" rowspan="2">
10
						<a href="{ADMIN_URL}/users/index.php"><img src="{THEME_URL}/icons/users.png" alt="{USERS}" /></a>
11
					</td>
12
					<td class="description" valign="top">
13
						<a href="{ADMIN_URL}/users/index.php"><span class="title">{USERS}</span></a><p>{USERS_OVERVIEW}</p>
14
					</td>
15
				</tr>
16
			</table>	
17
			<!-- END users_block -->
18
			<!-- BEGIN groups_block -->		
19
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_GROUPS} >
20
				<tr>
21
					<td class="graphic" align="center" valign="top" rowspan="2">
22
						<a href="{ADMIN_URL}/groups/index.php"><img src="{THEME_URL}/icons/groups.png" alt="{GROUPS}" /></a>
23
					</td>
24
					<td class="description" valign="top">
25
						<a href="{ADMIN_URL}/groups/index.php"><span class="title">{GROUPS}</span></a><p>{GROUPS_OVERVIEW}</p>
26
					</td>
27
				</tr>
28
			</table>
29
			<!-- END groups_block -->
30
		</td>
31
	</tr>
32
</table>
33
<!-- END main_block -->
1
<!-- BEGIN main_block -->
2
<h2>{ACCESS}</h2>
3
<table summary="" cellpadding="0" cellspacing="0" border="0" width="99%" align="center">
4
	<tr>
5
		<td align="center" valign="top">
6
			<!-- BEGIN users_block -->	
7
			<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_USERS} >
8
				<tr>
9
					<td class="graphic" align="center" valign="top" rowspan="2">
10
						<a href="{ADMIN_URL}/users/index.php"><img src="{THEME_URL}/icons/users.png" alt="{USERS}" /></a>
11
					</td>
12
					<td class="description" valign="top">
13
						<a href="{ADMIN_URL}/users/index.php"><span class="title">{USERS}</span></a><p>{USERS_OVERVIEW}</p>
14
					</td>
15
				</tr>
16
			</table>	
17
			<!-- END users_block -->
18
			<!-- BEGIN groups_block -->		
19
			<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_GROUPS} >
20
				<tr>
21
					<td class="graphic" align="center" valign="top" rowspan="2">
22
						<a href="{ADMIN_URL}/groups/index.php"><img src="{THEME_URL}/icons/groups.png" alt="{GROUPS}" /></a>
23
					</td>
24
					<td class="description" valign="top">
25
						<a href="{ADMIN_URL}/groups/index.php"><span class="title">{GROUPS}</span></a><p>{GROUPS_OVERVIEW}</p>
26
					</td>
27
				</tr>
28
			</table>
29
			<!-- END groups_block -->
30
		</td>
31
	</tr>
32
</table>
33
<!-- END main_block -->
branches/2.8.x/wb/templates/argos_theme/templates/templates_details.htt
2 2

  
3 3
<h2>{HEADING_TEMPLATE_DETAILS}</h2>
4 4

  
5
<table cellpadding="5" cellspacing="0" border="0">
5
<table summary="" cellpadding="5" cellspacing="0" border="0">
6 6
<tr>
7 7
	<td width="100">{TEXT_NAME}:</td>
8 8
	<td>{NAME}</td>
branches/2.8.x/wb/templates/argos_theme/templates/modules.htt
1 1
<!-- BEGIN main_block -->
2
<table cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
2
<table summary="" cellpadding="5" cellspacing="0" border="0" align="center" width="100%" style="margin-bottom:10px;">
3 3
	<tr style="background:#f0f0f0;">
4 4
		<td align="right">
5 5
			{URL_TEMPLATES}
......
13 13

  
14 14
<form name="install" enctype="multipart/form-data" action="install.php" method="post" class="{DISPLAY_INSTALL}">
15 15
  <h2>{HEADING_INSTALL_MODULE}</h2>
16
  <table cellpadding="2" cellspacing="0" border="0" width="100%">
16
  <table summary="" cellpadding="2" cellspacing="0" border="0" width="100%">
17 17
    <tr>
18 18
      <td valign="middle">
19
        <input type="file" name="userfile" size="97%" />
19
        <input type="file" name="userfile" size="97" />
20 20
        <script type="text/javascript">
21 21
		document.install.userfile.focus();
22 22
		</script><br />
......
32 32
</form>
33 33
<form name="uninstall" action="uninstall.php" method="post" class="{DISPLAY_UNINSTALL}">
34 34
  <h2>{HEADING_UNINSTALL_MODULE}</h2>
35
  <table cellpadding="2" cellspacing="0" border="0" width="100%">
35
  <table summary="" cellpadding="2" cellspacing="0" border="0" width="100%">
36 36
    <tr>
37 37
      <td>
38
        <select name="file" style="width: 97%;">
38
        <select name="file" style="width: 97;">
39 39
		<option value="" selected="selected">{TEXT_PLEASE_SELECT}...</option>
40 40
		<!-- BEGIN module_list_block -->
41 41
			<option value="{VALUE}">{NAME}</option>
......
51 51
</form>
52 52
<form name="details" action="details.php" method="post" class="{DISPLAY_LIST}">
53 53
  <h2>{HEADING_MODULE_DETAILS}</h2>
54
  <table cellpadding="2" cellspacing="0" border="0" width="100%">
54
  <table summary="" cellpadding="2" cellspacing="0" border="0" width="100%">
55 55
    <tr>
56 56
      <td>
57 57
        <select name="file" style="width: 97%;">
......
71 71
<div class="{DISPLAY_MANUAL_INSTALL}">
72 72
  <h2>{HEADING_INVOKE_MODULE_FILES}</h2>
73 73
  <p>{TEXT_MANUAL_INSTALLATION}</p>
74
  <form name="details" action="manual_install.php" method="post" class="{INSTALL_VISIBLE}">
75
  <table cellpadding="0" cellspacing="2" border="0" width="80%">
74
  <form name="manual_install" action="manual_install.php" method="post" class="{INSTALL_VISIBLE}">
75
  <table summary="" cellpadding="0" cellspacing="2" border="0" width="80%">
76 76
	  <tr>
77 77
		<td width="150" valign="middle" nowrap="nowrap">{TEXT_FILE}: "install.php"</td>
78 78
		<td valign="middle">
......
89 89
  </table>
90 90
  </form>
91 91
  
92
  <form name="details" action="manual_install.php" method="post" class="{UPGRADE_VISIBLE}">
93
  <table cellpadding="0" cellspacing="2" border="0" width="80%">
92
  <form name="manual_upgrade" action="manual_install.php" method="post" class="{UPGRADE_VISIBLE}">
93
  <table summary="" cellpadding="0" cellspacing="2" border="0" width="80%">
94 94
	  <tr>
95 95
		<td width="150" valign="middle" nowrap="nowrap">{TEXT_FILE}: "upgrade.php"</td>
96 96
		<td valign="middle" >
......
107 107
  </table>
108 108
  </form>
109 109

  
110
  <form name="details" action="manual_install.php" method="post" class="{UNINSTALL_VISIBLE}">
111
  <table cellpadding="0" cellspacing="2" border="0" width="80%">
110
  <form name="manual_uninstall" action="manual_install.php" method="post" class="{UNINSTALL_VISIBLE}">
111
  <table summary="" cellpadding="0" cellspacing="2" border="0" width="80%">
112 112
	  <tr>
113 113
		<td width="150" valign="middle" nowrap="nowrap">{TEXT_FILE}: "uninstall.php"</td>
114 114
		<td valign="middle">
branches/2.8.x/wb/templates/argos_theme/templates/addons.htt
1
<!-- BEGIN main_block -->

2
<table 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>{ADDONS_OVERVIEW}</h2></td>

5
		<td align="right">{URL_ADVANCED}</td>

6
	</tr>

7
</table>

8

  
9
<table cellpadding="0" cellspacing="0" border="0" width="99%" align="center">

10
	<tr>

11
		<td align="center" valign="top">

12
			<!-- BEGIN modules_block -->

13
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_MODULES} >

14
				<tr>

15
					<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
					<td class="description" valign="top"><a href="{ADMIN_URL}/modules/index.php"><span class="title">{MODULES}</span></a><p>{MODULES_OVERVIEW}</p></td>

17
				</tr>

18
			</table>

19
			<!-- END modules_block -->

20
			<!-- BEGIN templates_block -->

21
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_TEMPLATES} >

22
				<tr>

23
					<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
					<td class="description" valign="top"><a href="{ADMIN_URL}/templates/index.php"><span class="title">{TEMPLATES}</span></a><p>{TEMPLATES_OVERVIEW}</p></td>

25
				</tr>

26
			</table>

27
			<!-- END templates_block -->

28
			<!-- BEGIN languages_block -->

29
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_LANGUAGES} >

30
				<tr>

31
					<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
					<td class="description" valign="top"> <a href="{ADMIN_URL}/languages/index.php"><span class="title">{LANGUAGES}</span></a><p>{LANGUAGES_OVERVIEW}</p></td>

33
				</tr>

34
			</table>

35
			<!-- END languages_block -->

36
			<!-- BEGIN reload_block -->

37
			<table cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_RELOAD} >

38
				<tr>

39
					<td class="graphic" align="center" valign="middle" rowspan="2"><img src="{THEME_URL}/icons/admintools.png" alt="{TXT_ADMIN_SETTINGS}" /> </td>

40
					<td class="description" valign="top"><span class="title">{TXT_ADMIN_SETTINGS}</span>

41
						<form action="{RELOAD_URL}" method="post">

42
						{FTAN}

43
							{MESSAGE_RELOAD_ADDONS}

44
							<br style="margin-bottom: 0.5em" />

45
							<input {DISPLAY_MODULES} type="checkbox" name="reload_modules" id="reload_modules" value="true" />

46
							<label {DISPLAY_MODULES} for="reload_modules">{MODULES}</label>

47
							<input {DISPLAY_TEMPLATES} type="checkbox" name="reload_templates" id="reload_templates" value="true" />

48
							<label {DISPLAY_TEMPLATES} for="reload_templates">{TEMPLATES}</label>

49
							<input {DISPLAY_LANGUAGES} type="checkbox" name="reload_languages" id="reload_languages" value="true" />

50
							<label {DISPLAY_LANGUAGES} for="reload_languages">{LANGUAGES}</label>

51
							<input type="submit" name="submit" value="{TEXT_RELOAD}" />

52
						</form>

53
					</td>

54
				</tr>

55
			</table>

56
			<!-- END reload_block -->

57
		</td>

58
	</tr>

59
</table>

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>{ADDONS_OVERVIEW}</h2></td>
5
		<td align="right">{URL_ADVANCED}</td>
6
	</tr>
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
			<!-- BEGIN modules_block -->
13
			<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_MODULES} >
14
				<tr>
15
					<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
					<td class="description" valign="top"><a href="{ADMIN_URL}/modules/index.php"><span class="title">{MODULES}</span></a><p>{MODULES_OVERVIEW}</p></td>
17
				</tr>
18
			</table>
19
			<!-- END modules_block -->
20
			<!-- BEGIN templates_block -->
21
			<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_TEMPLATES} >
22
				<tr>
23
					<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
					<td class="description" valign="top"><a href="{ADMIN_URL}/templates/index.php"><span class="title">{TEMPLATES}</span></a><p>{TEMPLATES_OVERVIEW}</p></td>
25
				</tr>
26
			</table>
27
			<!-- END templates_block -->
28
			<!-- BEGIN languages_block -->
29
			<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_LANGUAGES} >
30
				<tr>
31
					<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
					<td class="description" valign="top"> <a href="{ADMIN_URL}/languages/index.php"><span class="title">{LANGUAGES}</span></a><p>{LANGUAGES_OVERVIEW}</p></td>
33
				</tr>
34
			</table>
35
			<!-- END languages_block -->
36
			<!-- BEGIN reload_block -->
37
			<table summary="" cellpadding="0" cellspacing="0" border="0" class="section" {DISPLAY_RELOAD} >
38
				<tr>
39
					<td class="graphic" align="center" valign="middle" rowspan="2"><img src="{THEME_URL}/icons/admintools.png" alt="{TXT_ADMIN_SETTINGS}" /> </td>
40
					<td class="description" valign="top"><span class="title">{TXT_ADMIN_SETTINGS}</span>
41
						<form action="{RELOAD_URL}" method="post">
42
						{FTAN}
43
							{MESSAGE_RELOAD_ADDONS}
44
							<br style="margin-bottom: 0.5em" />
45
							<input {DISPLAY_MODULES} type="checkbox" name="reload_modules" id="reload_modules" value="true" />
46
							<label {DISPLAY_MODULES} for="reload_modules">{MODULES}</label>
47
							<input {DISPLAY_TEMPLATES} type="checkbox" name="reload_templates" id="reload_templates" value="true" />
48
							<label {DISPLAY_TEMPLATES} for="reload_templates">{TEMPLATES}</label>
49
							<input {DISPLAY_LANGUAGES} type="checkbox" name="reload_languages" id="reload_languages" value="true" />
50
							<label {DISPLAY_LANGUAGES} for="reload_languages">{LANGUAGES}</label>
51
							<input type="submit" name="submit" value="{TEXT_RELOAD}" />
52
						</form>
53
					</td>
54
				</tr>
55
			</table>
56
			<!-- END reload_block -->
57
		</td>
58
	</tr>
59
</table>
60 60
<!-- END main_block -->
branches/2.8.x/wb/templates/argos_theme/templates/login.htt
1
<!-- BEGIN mainBlock -->
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
<head>
5
<title>{TEXT_LOGIN}</title>
6
<meta http-equiv="content-type" content="text/html; charset={CHARSET}" />
7
<meta http-equiv="content-language" content="{LANGUAGE}" />
8
<meta name="description" content="{TEXT_LOGIN}" />
9
<meta name="keywords" content="{TEXT_LOGIN}" />
10
<link href="{THEME_URL}/theme.css" rel="stylesheet" type="text/css" />
11
</head>
12
<body onload="document.login.{USERNAME_FIELDNAME}.focus();">
13
<div style="text-align:left;font-size:20px;color:#fff;padding:15px 0 0 50px;height:100px;">
14
	<!-- <img src="{THEME_URL}/images/logo.png" alt="Logo" /> -->
15
	{TEXT_LOGIN}
16
</div> 
17
<table cellpadding="0" cellspacing="0" border="0" width="770" align="center" style="margin-top: 30px;">
18
  <tr>
19
    <td class="content">
20
      <form name="login" action="{ACTION_URL}" method="post">
21
        <input type="hidden" name="url" value="{URL}" />
22
        <input type="hidden" name="username_fieldname" value="{USERNAME_FIELDNAME}" />
23
        <input type="hidden" name="password_fieldname" value="{PASSWORD_FIELDNAME}" />
24
        <table cellpadding="5" cellspacing="0" border="0" align="center" width="500">
25
          <tr>
26
            <td height="40" align="center" colspan="2">{MESSAGE}</td>
27
          </tr>
28
          <tr>
29
            <td height="10" colspan="2"></td>
30
          </tr>
31
          <tr>
32
            <td width="170" height="30" align="right">{TEXT_USERNAME}:</td>
33
            <td>
34
              <input type="text" maxlength="{MAX_USERNAME_LEN}" name="{USERNAME_FIELDNAME}" value="{USERNAME}" style="width: 180px;" />
35
            </td>
36
          </tr>
37
          <tr>
38
            <td width="170" height="30" align="right">{TEXT_PASSWORD}:</td>
39
            <td>
40
              <input type="password" maxlength="{MAX_PASSWORD_LEN}" name="{PASSWORD_FIELDNAME}" style="width: 180px;" />
41
            </td>
42
          </tr>
43
          <tr style="{DISPLAY_REMEMBER_ME}">
44
            <td>&nbsp;</td>
45
            <td>
46
              <input type="checkbox" name="remember" id="remember" value="true" />
47
              <label for="remember">{TEXT_REMEMBER_ME}</label>
48
            </td>
49
          </tr>
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff