Changeset 1793
- Timestamp:
- 09/25/06 13:31:58 (2 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 11 modified
-
htdocs/css/common.css (modified) (1 diff)
-
htdocs/install/zwe-data-common.sql (modified) (2 diffs)
-
htdocs/install/zwe-db.sql (modified) (1 diff)
-
htdocs/interface/ask.png (added)
-
php-include/core/admin/admin.inc.php (modified) (3 diffs)
-
php-include/core/admin/i18n/fr (modified) (2 diffs)
-
php-include/core/users/i18n/fr (modified) (10 diffs)
-
php-include/core/users/users.inc.php (modified) (15 diffs)
-
php-include/kernel/session.inc.php (modified) (3 diffs)
-
php-include/modules/blog/blog.inc.php (modified) (10 diffs)
-
php-include/modules/blog/i18n/fr (modified) (4 diffs)
-
php-include/modules/pages/pages.inc.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/css/common.css
r1787 r1793 66 66 height: 100px; } 67 67 68 p.ask { padding: 1em; padding-left: 120px; 69 background-image: url("../interface/ask.png"); 70 background-repeat: no-repeat; background-position: left center; 71 height: 100px; } 72 68 73 span#autherror { color: red; font-size: smaller; font-weight: bold; 69 74 padding: 0 1em; } -
trunk/htdocs/install/zwe-data-common.sql
r1792 r1793 28 28 INSERT INTO `__PREFIX__config` VALUES (19, 'checkbox', 'on', 'Use Access Control Lists', 'use_acl', 'on'); 29 29 INSERT INTO `__PREFIX__config` VALUES (20, 'checkbox', 'on', 'Use Gravatars', 'gravatars', 'on'); 30 INSERT INTO `__PREFIX__config` VALUES (20, 'checkbox', 'on', 'Math Antispam', 'math_antispam', 'on');31 30 INSERT INTO `__PREFIX__css` VALUES (1, 'zwe-v2-5', 'screen', 'stylesheet', 'Zwe v2.5'); 32 31 INSERT INTO `__PREFIX__css` VALUES (2, 'zwe-v2-4', 'screen', 'alternate stylesheet', 'Zwe v2.4'); … … 40 39 INSERT INTO `__PREFIX__modules` VALUES ('admin', 'admin', 'core'); 41 40 INSERT INTO `__PREFIX__modules` VALUES ('menus', 'menus', 'core'); 42 INSERT INTO `__PREFIX__users_accounts` VALUES (1, '__LOGIN__', '__PASSWORD__', '__NAME__', '__EMAIL__', 'mixed', '__URL__', '', '1', '__TIMESTAMP__' );41 INSERT INTO `__PREFIX__users_accounts` VALUES (1, '__LOGIN__', '__PASSWORD__', '__NAME__', '__EMAIL__', 'mixed', '__URL__', '', '1', '__TIMESTAMP__', 1); 43 42 INSERT INTO `__PREFIX__users_groups` VALUES ('admin', 'Administration', 'Administration group'); 44 43 INSERT INTO `__PREFIX__users_group_links` VALUES (1, 'admin') -
trunk/htdocs/install/zwe-db.sql
r1790 r1793 8 8 CREATE TABLE IF NOT EXISTS `__PREFIX__menu` ( `key` varchar(32) NOT NULL default '', `contents` text NOT NULL default '', PRIMARY KEY (`key`)) TYPE=MyISAM COMMENT='Menu entries'; 9 9 CREATE TABLE IF NOT EXISTS `__PREFIX__modules` ( `name` varchar(32) NOT NULL default '', `type` varchar(32) NOT NULL default '', `status` enum('inactive','active','core') NOT NULL default 'inactive', PRIMARY KEY (`name`)) TYPE=MyISAM PACK_KEYS=0 COMMENT='Module management'; 10 CREATE TABLE IF NOT EXISTS `__PREFIX__users_accounts` ( `id` smallint(6) NOT NULL auto_increment, `login` varchar(255) default NULL, `pass` varchar(255) default NULL, `name` text, `email` text, `private` enum('private','mixed','public') NOT NULL default 'mixed', `url` varchar(255) default NULL, `css` varchar(64) NOT NULL default '', `confirmation` varchar(255) default NULL, `created` varchar(42) NOT NULL default '', PRIMARY KEY (`id`)) TYPE=MyISAM COMMENT='Site users';10 CREATE TABLE IF NOT EXISTS `__PREFIX__users_accounts` ( `id` smallint(6) NOT NULL auto_increment, `login` varchar(255) default NULL, `pass` varchar(255) default NULL, `name` text, `email` text, `private` enum('private','mixed','public') NOT NULL default 'mixed', `url` varchar(255) default NULL, `css` varchar(64) NOT NULL default '', `confirmation` varchar(255) default NULL, `created` varchar(42) NOT NULL default '', `human` tinyint(1) NOT NULL default 0, PRIMARY KEY (`id`)) TYPE=MyISAM COMMENT='Site users'; 11 11 CREATE TABLE IF NOT EXISTS `__PREFIX__users_group_links` ( `userid` smallint(6) NOT NULL default '0', `group` varchar(32) NOT NULL default '', PRIMARY KEY (`userid`, `group`)) TYPE=MyISAM COMMENT='Group linkings'; 12 12 CREATE TABLE IF NOT EXISTS `__PREFIX__users_groups` ( `key` varchar(32) NOT NULL default '', `name` varchar(32) NOT NULL default '', `desc` text NOT NULL, PRIMARY KEY (`key`)) TYPE=MyISAM COMMENT='User groups'; -
trunk/php-include/core/admin/admin.inc.php
r1780 r1793 430 430 function DeleteModule ($name) 431 431 { 432 $this->parser->open_parag (_msg ("Delete module"), false); 433 432 434 if (!array_key_exists($name, $GLOBALS['modules']->modules)) 433 435 ZweError ("Module not found!"); … … 444 446 } 445 447 446 $this->parser->o pen_parag (_msg ("Delete module:") . " $name");448 $this->parser->output ("<p class=\"ask\">\n", 1); 447 449 $this->parser->output (_msg ("Are you sure you want to delete this module?")); 450 $this->parser->output ("<br /><br />" . _msg ("The name of this module is:") . 451 " <i>" . $name . "</i>\n"); 448 452 $this->parser->output ("</p>\n", -1); 449 453 … … 741 745 } 742 746 743 $this->parser->open_parag (_msg ("Delete a stylesheet")); 747 $this->parser->open_parag (_msg ("Delete a stylesheet"), false); 748 749 $this->parser->output ("<p class=\"ask\">\n", 1); 744 750 $this->parser->output (_msg("Are you sure you want to delete the stylesheet") . " <b>" . 745 751 $stylesheet['title'] . "</b> ?"); -
trunk/php-include/core/admin/i18n/fr
r1767 r1793 103 103 Supprimer une feuille de style 104 104 105 :Delete module :106 Supprimer le module :105 :Delete module 106 Supprimer un module 107 107 108 108 :Delete this module … … 300 300 Tâches : 301 301 302 :The name of this module is: 303 Le nom de ce module est : 304 302 305 :The stylesheet key name can only contain alphanumeric characters ([a-zA-Z0-9_-/]+). 303 306 La clé de la feuille de style ne peut contenir que des caractères alphanumériques ([a-zA-Z0-9_-/]+). -
trunk/php-include/core/users/i18n/fr
r1746 r1793 7 7 Compte créé 8 8 9 :activates antispam protection again on all accounts 10 active a nouveau la protection antispam sur tous les comptes 11 9 12 :Activation canceled 10 13 Activation annulée … … 14 17 15 18 :Activated: 16 Activé il y a :19 Activé il y a : 17 20 18 21 :Activation failed! Please check your login and password and try again. … … 34 37 Souhaitez-vous vraiment supprimer cet utilisateur ? 35 38 39 :Are you sure you want to deshumanize all users, thus re-enabling the antispam protection? 40 Souhaitez-vous vraiment déshumaniser tous les utilisateurs, ré-activant ainsi la protection antispam ? 41 36 42 :As mail confirmation is needed, you must give an email address! 37 43 La confirmation par mail étant nécessaire, vous devez fournir une adresse email ! … … 56 62 Confirmer 57 63 64 :Confirmed 65 Confirmé 66 58 67 :Create 59 68 Créer … … 85 94 Radier cet utilisateur du groupe 86 95 87 :Delete group :88 Supprimer le groupe :96 :Delete group 97 Supprimer un groupe 89 98 90 99 :Details … … 94 103 Description : 95 104 105 :Deshumanize 106 Déshumaniser 107 96 108 [e] 97 109 … … 123 135 Erreur lors de la création du groupe ! 124 136 137 :Error while deshumanizing user accounts! 138 Erreur lors de la déshumanisation des comptes utilisateur ! 139 125 140 :Error while removing user! 126 141 Erreur lors de la suppression de l'utilisateur ! … … 186 201 Bonjour 187 202 203 :Human: 204 Humain : 205 188 206 [i] 189 207 … … 237 255 Aucun 238 256 257 :Not yet confirmed, antispam protection active 258 Pas encore confirmé, protection antispam active 259 239 260 [o] 240 261 … … 297 318 [t] 298 319 320 :The name of this group is: 321 Le nom de ce groupe est : 322 299 323 :There is currently one user in the database. 300 324 Il y a actuellement un seul utilisateur dans la base de données. -
trunk/php-include/core/users/users.inc.php
r1756 r1793 73 73 ZweError ("You must be logged in to access this page!"); 74 74 75 $user = new cQuery ("SELECT `id`,`name`,`login`,`email`,`url`,`private`,`created`,`confirmation` 75 $user = new cQuery ("SELECT `id`,`name`,`login`,`email`,`url`, 76 `private`,`created`,`confirmation`, 77 `human` 76 78 FROM `" . $this->tables['users'] . "` 77 79 WHERE `login` = '" . $GLOBALS['db']->EscapeString($parts[1]) . "'"); … … 126 128 $this->CreateAccount (); 127 129 130 elseif (preg_match("/^deshumanize$/", $GLOBALS['context']['context'])) 131 $this->Deshumanize (); 132 128 133 elseif (preg_match("/^lost$/", $GLOBALS['context']['context'])) 129 134 $this->LostPassword (); … … 193 198 function ShowAccounts () 194 199 { 195 $query = new cQuery ("SELECT `id`,`name`,`login`,`email`,`url`,`private`,`created`,`confirmation` 200 $query = new cQuery ("SELECT `id`,`name`,`login`,`email`,`url`, 201 `private`,`created`,`confirmation`, 202 `human` 196 203 FROM `" . $this->tables['users'] . "` 197 204 ORDER BY `confirmation` ASC"); … … 209 216 $this->parser->output ("</p>\n", -1); 210 217 218 $this->parser->output ("<ul id=\"adminmenu\">\n", 1); 219 $this->parser->output ("<li><a href=\"" . $this->flow->GetBaseURL ("users") . "/deshumanize\">" . 220 _msg ("Deshumanize") . "</a> (" . 221 _msg ("activates antispam protection again on all accounts") . ")</li>\n"); 222 $this->parser->output ("<li><a href=\"" . $this->flow->GetBaseURL ("users") . "/groups\">" . 223 _msg ("Groups management") . "</a></li>\n"); 224 $this->parser->output ("</ul>\n", -1); 225 211 226 $this->parser->output ("<table border=\"0\" width=\"99%\">\n", 1); 212 227 $this->parser->output ("<thead><tr>\n", 1); … … 231 246 232 247 $this->parser->output ("</a>\n", -1); 248 249 if ($row['human'] != 1) 250 $this->parser->output ("<img src=\"" . $GLOBALS['config']['site_path']['value'] . 251 "interface/puce.gif\" alt=\"" . _msg ("No antispam confirmation yet") . "\" />\n"); 252 233 253 $this->parser->output ("</td>\n", -1); 234 254 … … 591 611 function DeleteGroup ($group) 592 612 { 613 $this->parser->open_parag (_msg ("Delete group"), false); 614 593 615 if ($group == $GLOBALS['config']['users_admin_group']['value']) 594 616 ZweError ("You can't remove the administration group!"); … … 614 636 $grp = $query->Step (); 615 637 616 $this->parser->o pen_parag (_msg ("Delete group:") . " " . $grp['name']);638 $this->parser->output ("<p class=\"ask\">\n", 1); 617 639 $this->parser->output (_msg ("Are you sure you want to delete this group?")); 618 $this->parser->output ("</p>\n", -1); 640 $this->parser->output ("<br /><br />" . _msg ("The name of this group is:") . 641 " <i>" . $grp['name'] . "</i>\n"); 642 $this->parser->output ("</p>\n", -1); 643 619 644 $this->parser->output ("<form method=\"post\" action=\"" . $this->flow->GetBaseURL () . "/groups/$group/delete\">\n", 1); 620 645 … … 631 656 function ManageGroups () 632 657 { 658 $this->parser->open_parag (_msg ("Create group")); 659 633 660 if (isset($_POST['__add_group'])) 634 661 { … … 662 689 } 663 690 664 $this->parser->open_parag (_msg ("Create group"));665 691 $this->parser->output ("</p>\n", -1); 666 692 $this->parser->output ("<form method=\"post\" action=\"" . $this->flow->GetBaseURL () . "/groups\">\n", 1); … … 737 763 function GroupDetails ($group) 738 764 { 765 $this->parser->open_parag (_msg ("Edit group:") . " " . $group, false); 766 739 767 $group_query = new cQuery ("SELECT `name`,`desc` FROM `" . $this->tables['groups'] . "` 740 768 WHERE `key` = '" . $GLOBALS['db']->EscapeString($group) . "'"); … … 762 790 763 791 $grp = $group_query->Step (); 764 765 $this->parser->open_parag (_msg ("Edit group:") . " " . $group, false);766 792 767 793 $this->parser->output ("<form method=\"post\" action=\"" . $this->flow->GetBaseURL () . … … 1174 1200 } 1175 1201 1202 function Deshumanize () 1203 { 1204 if (isset($_POST['__cancel'])) 1205 ReloadPage ($this->flow->GetBaseURL ()); 1206 1207 $this->parser->open_parag (_msg ("Deshumanize"), false); 1208 1209 if (isset($_POST['__deshumanize'])) 1210 { 1211 $query = new cUpdate($this->tables['users'], 1212 array("human" => 0), 1213 array("human" => 1)); 1214 if (!$query) 1215 ZweError ("Error while deshumanizing user accounts!"); 1216 1217 ReloadPage ($this->flow->GetBaseURL ()); 1218 } 1219 1220 $this->parser->output ("<p class=\"ask\">\n", 1); 1221 $this->parser->output (_msg ("Are you sure you want to deshumanize all users, thus re-enabling the antispam protection?")); 1222 $this->parser->output ("</p>\n", -1); 1223 1224 $this->parser->output ("<form method=\"post\" action=\"" . $this->flow->GetBaseURL () . "/deshumanize\">\n", 1); 1225 1226 $this->parser->output ("<div style=\"text-align: center;\">\n", 1); 1227 $this->parser->output ("<input type=\"submit\" name=\"__deshumanize\" value=\"" . _msg ("Deshumanize") . "\" />\n"); 1228 $this->parser->output ("<input type=\"submit\" name=\"__cancel\" value=\"" . _msg ("Cancel") . "\" />\n"); 1229 $this->parser->output ("</div>\n", -1); 1230 1231 $this->parser->output ("</form>\n", -1); 1232 $this->parser->output ("<p>\n", 1); 1233 1234 $this->parser->close_parag (); 1235 } 1236 1176 1237 function ShowProfile ($info, $small = false) 1177 1238 { … … 1206 1267 $this->parser->output ("</dt><dd>" . DateOffset ($info['created']) . "</dd>\n", 2); 1207 1268 1269 /* Antispam confirmation */ 1270 $this->parser->output ("<dt>" . _msg ("Human:") . "</dt>"); 1271 if ($info['human'] == 1) 1272 $this->parser->output ("<dd>" . _msg ("Confirmed") . "</dd>\n", 2); 1273 else 1274 $this->parser->output ("<dd>" . _msg ("Not yet confirmed, antispam protection active") . "</dd>\n", 2); 1275 1208 1276 /* Groups */ 1209 1277 $groups = $GLOBALS['session']->LoadGroups ($info['id']); … … 1246 1314 function DeleteAccount ($login) 1247 1315 { 1248 $user = new cQuery ("SELECT `id`,`name`,`login`,`email`,`url`,`private`,`created`,`confirmation` 1316 $this->parser->open_parag (_msg ("Delete user"), false); 1317 1318 $user = new cQuery ("SELECT `id`,`name`,`login`,`email`,`url`, 1319 `private`,`created`,`confirmation`, 1320 `human` 1249 1321 FROM `" . $this->tables['users'] . "` 1250 1322 WHERE `login` = '" . $GLOBALS['db']->EscapeString($login) . "'"); … … 1267 1339 $user = $user->Step (); 1268 1340 1269 $this->parser->o pen_parag (_msg ("Delete user"));1341 $this->parser->output ("<p class=\"ask\">\n", 1); 1270 1342 $this->parser->output (_msg ("Are you sure you want to delete this user?")); 1271 1343 $this->parser->output ("</p>\n", -1); -
trunk/php-include/kernel/session.inc.php
r1729 r1793 129 129 function LoadFromSID ($sid) 130 130 { 131 $info = new cQuery ("SELECT `id`,`login`,`name`,`email`,`url`,`private`,`css` 131 $info = new cQuery ("SELECT `id`,`login`,`name`,`email`,`url`,`private`,`css`,`human` 132 132 FROM `" . ZWE_TABLE_PREFIX . "users_sessions` 133 133 RIGHT JOIN `" . ZWE_TABLE_PREFIX . "users_accounts` … … 147 147 function LoadFromLogin ($login) 148 148 { 149 $info = new cQuery ("SELECT `id`,`login`,`name`,`email`,`private`,`css` 149 $info = new cQuery ("SELECT `id`,`login`,`name`,`email`,`private`,`css`,`human` 150 150 FROM `" . ZWE_TABLE_PREFIX . "users_accounts` 151 151 WHERE (`login`= '" . $GLOBALS['db']->EscapeString($login) . "')"); … … 232 232 return NULL; 233 233 } 234 235 /** Toggle the status of a registered user to 'human, confirmed'. 236 * 237 * @param int An optionnal user id. Defaults to currently logged in. 238 */ 239 function SetHuman ($id = null) 240 { 241 if (!$id) 242 { 243 $user = $_SESSION[$this->key]; 244 245 if (!$user || !isset($user['id'])) 246 return false; 247 248 $id = $user['id']; 249 } 250 251 $query = new cUpdate(ZWE_TABLE_PREFIX . "users_accounts", 252 array("human" => 1), 253 array("id" => $id)); 254 if ($query->nrows == 1) 255 return true; 256 257 return false; 258 } 234 259 } 235 260 -
trunk/php-include/modules/blog/blog.inc.php
r1792 r1793 840 840 function DeleteCategory ($category) 841 841 { 842 $this->parser->open_parag (_msg ("Delete category"), false); 843 842 844 if (!array_key_exists ($category, $this->categories)) 843 845 ZweError ("This category does not exist!"); … … 854 856 } 855 857 856 $this->parser->o pen_parag (_msg ("Delete category:") . " " . $this->categories[$category]['name']);858 $this->parser->output ("<p class=\"ask\">\n", 1); 857 859 $this->parser->output (_msg ("Are you sure you want to delete this category?")); 860 $this->parser->output ("<br /><br />" . _msg ("The name of this category is:") . 861 " <i>" . $this->categories[$category]['name'] . "</i>\n"); 858 862 $this->parser->output ("</p>\n", -1); 859 863 $this->parser->output ("<form method=\"post\" action=\"" . $this->flow->GetBaseURL () . … … 1165 1169 ZweError("Could not add empty comment!"); 1166 1170 1167 if ($GLOBALS['config']['math_antispam']['value'] == "on") 1171 /* If the user is not logged in, or logged in but not human 1172 * confirmed, check the antispam thingy. */ 1173 if (!$islogged || ($islogged && ($GLOBALS['session']->GetProperty ("human") == 0))) 1168 1174 { 1169 1175 if (!isset($_POST['__comment_antispam_rand1']) || … … 1172 1178 ZweError("Mandatory antispam protection informations are missing!"); 1173 1179 1180 /* If the sum does not match, exit on error. Otherwise, 1181 * toggle the human status of the user if he's logged in. */ 1174 1182 if ($_POST['__comment_antispam_total'] != ($_POST['__comment_antispam_rand1'] + 1175 1183 $_POST['__comment_antispam_rand2'])) 1176 1184 ZweError("Antispam protection triggered!"); 1185 elseif ($islogged) 1186 $GLOBALS['session']->SetHuman ($islogged); 1177 1187 } 1178 1188 … … 1301 1311 1302 1312 /* Optionnal antispam protection */ 1303 if ( $GLOBALS['config']['math_antispam']['value'] == "on")1313 if (!$islogged || ($islogged && ($GLOBALS['session']->GetProperty ("human") == 0))) 1304 1314 { 1305 1315 $rands = array(rand(1,9), rand(1,9)); … … 1310 1320 $this->parser->output ("<input type=\"hidden\" name=\"__comment_antispam_rand1\" value=\"" . $rands[0] . "\" />\n"); 1311 1321 $this->parser->output ("<input type=\"hidden\" name=\"__comment_antispam_rand2\" value=\"" . $rands[1] . "\" />\n"); 1312 $this->parser->output ("<input type=\"text\" name=\"__comment_antispam_total\" />\n"); 1322 $this->parser->output ("<input type=\"text\" name=\"__comment_antispam_total\" style=\"width: 2em\" size=\"2\" />\n"); 1323 1324 if (!$islogged) 1325 $this->parser->output ("<a href=\"" . $this->flow->GetBaseURL ("users") . "/create\">" . _msg ("Create an account") . 1326 "</a> " . _msg ("to get rid of this!") . "\n"); 1327 1313 1328 $this->parser->output ("</dd>\n", -1); 1314 1329 } … … 1943 1958 ReloadPage ($this->flow->GetBaseURL () . "/" . $id); 1944 1959 1960 $this->parser->open_parag (_msg ("Delete entry"), false); 1961 1945 1962 if (isset($_POST['__delete_blog'])) 1946 1963 { … … 1963 1980 ZweError ("This entry does not belong to you!"); 1964 1981 1965 $this->parser->o pen_parag (_msg ("Delete entry"));1982 $this->parser->output ("<p class=\"ask\">\n", 1); 1966 1983 $this->parser->output (_msg ("Are you sure you want to delete this entry and all its comments?")); 1967 $this->parser->output ("</p>\n", -1); 1968 $this->parser->output ("<p>\n", 1); 1969 $this->parser->output (_msg ("The title of this entry is:") . " <i>" . $blog['title'] . "</i>\n"); 1984 $this->parser->output ("<br /><br />" . _msg ("The title of this entry is:") . 1985 " <i>" . $blog['title'] . "</i>\n"); 1970 1986 $this->parser->output ("</p>\n", -1); 1971 1987 … … 1994 2010 ReloadPage ($this->flow->GetBaseURL () . "/" . $_POST['__blogid']); 1995 2011 2012 $this->parser->open_parag (_msg("Delete comment"), false); 2013 1996 2014 if (isset($_POST['__delete_comment'])) 1997 2015 { … … 2011 2029 $comment = $comment->Step (); 2012 2030 2013 $this->parser->o pen_parag (_msg("Delete comment"));2031 $this->parser->output ("<p class=\"ask\">\n", 1); 2014 2032 $this->parser->output (_msg("Are you sure you want to delete this comment from") . " <b>" . 2015 2033 $comment['login'] . "</b> ?"); -
trunk/php-include/modules/blog/i18n/fr
r1792 r1793 134 134 Impossible de supprimer le titre de l'entrée ! 135 135 136 :Create an account 137 Créez-vous un compte 138 136 139 :Create category 137 140 Créer une catégorie … … 151 154 Supprimer 152 155 153 :Delete category :154 Supprimer la catégorie :156 :Delete category 157 Supprimer une catégorie 155 158 156 159 :Delete comment … … 393 396 Il n'y a aucune entrée dans la base de données pour cette année ! 394 397 398 :The name of this category is: 399 Le nom de cette catégorie est : 400 395 401 :The title of this entry is: 396 402 Le titre de cette entrée est : … … 429 435 Titre : 430 436 437 :to get rid of this! 438 pour en être débarrassé ! 439 431 440 :Type: 432 441 Type : -
trunk/php-include/modules/pages/pages.inc.php
r1762 r1793 210 210 211 211 $this->parser->output ("<ul id=\"pagelist\">\n", 1); 212 foreach ($list as $name => $page) 212 foreach ($list as $name => $page) 213 213 { 214 214 $this->parser->output ("<li><a href=\"" . $this->flow->GetBaseURL () . "/" . … … 250 250 return; 251 251 } 252 252 253 253 $this->parser->output ("</p><p>\n" . _msg ("No page available.")); 254 254 $this->parser->close_parag (); … … 482 482 ReloadPage ($this->flow->GetBaseURL () . "/" . $page); 483 483 484 $this->parser->open_parag (_msg ("Delete page") );484 $this->parser->open_parag (_msg ("Delete page"), false); 485 485 486 486 if (isset($_POST['__delete_page']))
