|
@@ -32,7 +32,7 @@ if ($user->isAdmin()) {
|
32
|
32
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
33
|
33
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
34
|
34
|
<head>
|
35
|
|
- <title>gelato :: settings</title>
|
|
35
|
+ <title>gelato :: <?=__("settings")?></title>
|
36
|
36
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
37
|
37
|
<meta name="generator" content="gelato cms <?php echo version();?>" />
|
38
|
38
|
<link rel="shortcut icon" href="<?php echo $conf->urlGelato;?>/images/favicon.ico" />
|
|
@@ -55,34 +55,34 @@ if ($user->isAdmin()) {
|
55
|
55
|
</head>
|
56
|
56
|
|
57
|
57
|
<body>
|
58
|
|
- <div id="div-process" style="display:none;">Processing request...</div>
|
|
58
|
+ <div id="div-process" style="display:none;"><?=__("Processing request...")?></div>
|
59
|
59
|
<div id="cont">
|
60
|
60
|
<div id="head">
|
61
|
|
- <h1><a href="<?php echo $conf->urlGelato;?>/" title="gelato :: home">gelato cms</a></h1>
|
|
61
|
+ <h1><a href="<?php echo $conf->urlGelato;?>/" title="gelato :: <?=__("home")?>">gelato cms</a></h1>
|
62
|
62
|
<ul id="nav">
|
63
|
|
- <li><a href="<?php echo $conf->urlGelato;?>/" title="Take me to the tumblelog">Back to the Tumblelog</a></li>
|
|
63
|
+ <li><a href="<?php echo $conf->urlGelato;?>/" title="<?=__("Take me to the tumblelog")?>"><?=__("Back to the Tumblelog")?></a></li>
|
64
|
64
|
</ul>
|
65
|
65
|
</div>
|
66
|
66
|
<div id="main">
|
67
|
67
|
|
68
|
68
|
<div class="box">
|
69
|
69
|
<ul class="menu manage">
|
70
|
|
- <h3>Tumblelog configuration</h3>
|
71
|
|
- <li><a href="index.php">Post</a></li>
|
72
|
|
- <li><a href="admin.php">Users</a></li>
|
73
|
|
- <li><a href="options.php">Options</a></li>
|
74
|
|
- <li class="selected"><a>Settings</a></li>
|
|
70
|
+ <h3><?=__("Tumblelog configuration")?></h3>
|
|
71
|
+ <li><a href="index.php"><?=__("Post")?></a></li>
|
|
72
|
+ <li><a href="admin.php"><?=__("Users")?></a></li>
|
|
73
|
+ <li><a href="options.php"><?=__("Options")?></a></li>
|
|
74
|
+ <li class="selected"><a><?=__("Settings")?></a></li>
|
75
|
75
|
</ul>
|
76
|
76
|
<p> </p>
|
77
|
77
|
<?php
|
78
|
78
|
if (isset($_GET["modified"])) {
|
79
|
79
|
if ($_GET["modified"]=="true") {
|
80
|
|
- echo "<div class=\"exito\" id=\"divMessages\">The configuration has been modified successfully.</div>";
|
|
80
|
+ echo "<div class=\"exito\" id=\"divMessages\">".__("The configuration has been modified successfully.")."</div>";
|
81
|
81
|
}
|
82
|
82
|
}
|
83
|
83
|
if (isset($_GET["error"])) {
|
84
|
84
|
if ($_GET["error"]==1) {
|
85
|
|
- echo "<div class=\"error\" id=\"divMessages\"><strong>Error on the database server: </strong>".$_GET["des"]."</div>";
|
|
85
|
+ echo "<div class=\"error\" id=\"divMessages\"><strong>".__("Error on the database server: ")."</strong>".$_GET["des"]."</div>";
|
86
|
86
|
}
|
87
|
87
|
}
|
88
|
88
|
?>
|
|
@@ -91,20 +91,20 @@ if ($user->isAdmin()) {
|
91
|
91
|
<form action="settings.php" method="post" id="settings_form" autocomplete="off" class="newpost">
|
92
|
92
|
<fieldset>
|
93
|
93
|
<ul>
|
94
|
|
- <li><label for="title">Title:</label>
|
|
94
|
+ <li><label for="title"><?=__("Title:")?></label>
|
95
|
95
|
<input type="text" name="title" id="title" value="<?php echo $conf->title;?>" class="txt"/></li>
|
96
|
|
- <li><label for="description">Description:</label>
|
|
96
|
+ <li><label for="description"><?=__("Description:")?></label>
|
97
|
97
|
<input type="text" name="description" id="description" value="<?php echo $conf->description;?>" class="txt"/></li>
|
98
|
|
- <li><label for="url_installation">Installation URL</label>
|
|
98
|
+ <li><label for="url_installation"><?=__("Installation URL")?></label>
|
99
|
99
|
<input type="text" name="url_installation" id="url_installation" value="<?php echo $conf->urlGelato;?>" class="txt"/></li>
|
100
|
|
- <li><label for="posts_limit">Post limit:</label>
|
|
100
|
+ <li><label for="posts_limit"><?=__("Post limit:")?></label>
|
101
|
101
|
<input type="text" name="posts_limit" id="posts_limit" value="<?php echo $conf->postLimit;?>" class="txt"/></li>
|
102
|
|
- <li><label for="lang">Language:</label>
|
|
102
|
+ <li><label for="lang"><?=__("Language:")?></label>
|
103
|
103
|
<select id="lang" name="lang">
|
104
|
104
|
<option value="en" selected="selected">english</option>
|
105
|
105
|
</select>
|
106
|
106
|
</li>
|
107
|
|
- <li><label for="template">Template:</label>
|
|
107
|
+ <li><label for="template"><?=__("Template:"?></label>
|
108
|
108
|
<select id="template" name="template">
|
109
|
109
|
<?php
|
110
|
110
|
$themes = getThemes();
|
|
@@ -119,7 +119,7 @@ if ($user->isAdmin()) {
|
119
|
119
|
</ul>
|
120
|
120
|
</fieldset>
|
121
|
121
|
<p>
|
122
|
|
- <input type="submit" name="btnsubmit" id="btnsubmit" value="Modify" class="submit"/>
|
|
122
|
+ <input type="submit" name="btnsubmit" id="btnsubmit" value="<?=__("Modify")?>" class="submit"/>
|
123
|
123
|
</p>
|
124
|
124
|
</form>
|
125
|
125
|
|