1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Bugtracker #3727 - handle LANGUAGELINKS in menu admin

This commit is contained in:
e107steved
2007-02-04 22:00:00 +00:00
parent dc0e38d0b2
commit 632357f761

View File

@@ -11,9 +11,9 @@
| GNU General Public License (http://gnu.org).
|
| $Source: /cvs_backup/e107_0.8/e107_admin/menus.php,v $
| $Revision: 1.1.1.1 $
| $Date: 2006-12-02 04:33:25 $
| $Author: mcfly_e107 $
| $Revision: 1.2 $
| $Date: 2007-02-04 22:00:00 $
| $Author: e107steved $
+----------------------------------------------------------------------------+
*/
require_once("../class2.php");
@@ -423,6 +423,8 @@ function checklayout($str) {
else if (strstr($str, "SITELINKS")) {
echo "<div style='padding: 2px; text-align: center'>[SiteLinks]</div>";
}
else if (strstr($str, "LANGUAGELINKS")) {
echo "<div class=text style='padding: 2px; text-align: center'>[Language]</div>"; }
else if (strstr($str, "CUSTOM")) {
$cust = preg_replace("/\W*\{CUSTOM=(.*?)(\+.*)?\}\W*/si", "\\1", $str);
echo "<div style='padding: 2px'>[".$cust."]</div>";