| @@ -43,10 +43,10 @@ | ||
| 43 | 43 | var chk = document.install.rminstaller; | 
| 44 | 44 |  	if(chk && chk.checked) { | 
| 45 | 45 | // remove install folder and files | 
| 46 | - window.location.href = "../<?php echo MGR_DIR;?>/processors/remove_installer.processor.php?rminstall=1"; | |
| 46 | + window.location.href = "../<?php echo MGR_DIR; ?>/processors/remove_installer.processor.php?rminstall=1"; | |
| 47 | 47 | } | 
| 48 | 48 |  	else { | 
| 49 | - window.location.href = "../<?php echo MGR_DIR;?>/"; | |
| 49 | + window.location.href = "../<?php echo MGR_DIR; ?>/"; | |
| 50 | 50 | } | 
| 51 | 51 | } | 
| 52 | 52 | /* ]]> */ | 
| @@ -6,12 +6,12 @@ discard block | ||
| 6 | 6 | $installMode = $_POST['installMode']; | 
| 7 | 7 | |
| 8 | 8 | $self = 'install/connection.databasetest.php'; | 
| 9 | -$base_path = str_replace($self,'',str_replace('\\','/', __FILE__)); | |
| 9 | +$base_path = str_replace($self, '', str_replace('\\', '/', __FILE__)); | |
| 10 | 10 |  if (is_file("{$base_path}assets/cache/siteManager.php")) { | 
| 11 | 11 |  	include_once("{$base_path}assets/cache/siteManager.php"); | 
| 12 | 12 | } | 
| 13 | -if(!defined('MGR_DIR') && is_dir("{$base_path}manager")) { | |
| 14 | -	define('MGR_DIR','manager'); | |
| 13 | +if (!defined('MGR_DIR') && is_dir("{$base_path}manager")) { | |
| 14 | +	define('MGR_DIR', 'manager'); | |
| 15 | 15 | } | 
| 16 | 16 |  require_once("lang.php"); | 
| 17 | 17 | |
| @@ -31,7 +31,7 @@ discard block | ||
| 31 | 31 | $database_charset = substr($database_collation, 0, strpos($database_collation, '_')); | 
| 32 | 32 | $query = "CREATE DATABASE `".$database_name."` CHARACTER SET ".$database_charset." COLLATE ".$database_collation.";"; | 
| 33 | 33 | |
| 34 | -        if (! mysqli_query($conn, $query)){ | |
| 34 | +        if (!mysqli_query($conn, $query)) { | |
| 35 | 35 | $output .= '<span id="database_fail" style="color:#FF0000;">'.$_lang['status_failed_could_not_create_database'].'</span>'; | 
| 36 | 36 | } | 
| 37 | 37 |          else { | 
| @@ -9,7 +9,7 @@ discard block | ||
| 9 | 9 | } | 
| 10 | 10 | |
| 11 | 11 | $self = 'install/index.php'; | 
| 12 | -$base_path = str_replace($self,'',str_replace('\\','/', __FILE__)); | |
| 12 | +$base_path = str_replace($self, '', str_replace('\\', '/', __FILE__)); | |
| 13 | 13 |  require_once("{$base_path}install/functions.php"); | 
| 14 | 14 | |
| 15 | 15 | // set error reporting | 
| @@ -18,7 +18,7 @@ discard block | ||
| 18 | 18 |  if (is_file("{$base_path}assets/cache/siteManager.php")) { | 
| 19 | 19 |  	include_once("{$base_path}assets/cache/siteManager.php"); | 
| 20 | 20 | } | 
| 21 | -if(!defined('MGR_DIR') && is_dir("{$base_path}manager")) { | |
| 21 | +if (!defined('MGR_DIR') && is_dir("{$base_path}manager")) { | |
| 22 | 22 |  	define('MGR_DIR', 'manager'); | 
| 23 | 23 | } | 
| 24 | 24 | |
| @@ -38,26 +38,26 @@ discard block | ||
| 38 | 38 | $moduleSQLDataFile = "setup.data.sql"; | 
| 39 | 39 | $moduleSQLResetFile = "setup.data.reset.sql"; | 
| 40 | 40 | |
| 41 | -$moduleChunks = array (); // chunks - array : name, description, type - 0:file or 1:content, file or content | |
| 42 | -$moduleTemplates = array (); // templates - array : name, description, type - 0:file or 1:content, file or content | |
| 43 | -$moduleSnippets = array (); // snippets - array : name, description, type - 0:file or 1:content, file or content,properties | |
| 44 | -$modulePlugins = array (); // plugins - array : name, description, type - 0:file or 1:content, file or content,properties, events,guid | |
| 45 | -$moduleModules = array (); // modules - array : name, description, type - 0:file or 1:content, file or content,properties, guid | |
| 46 | -$moduleTemplates = array (); // templates - array : name, description, type - 0:file or 1:content, file or content,properties | |
| 47 | -$moduleTVs = array (); // template variables - array : name, description, type - 0:file or 1:content, file or content,properties | |
| 41 | +$moduleChunks = array(); // chunks - array : name, description, type - 0:file or 1:content, file or content | |
| 42 | +$moduleTemplates = array(); // templates - array : name, description, type - 0:file or 1:content, file or content | |
| 43 | +$moduleSnippets = array(); // snippets - array : name, description, type - 0:file or 1:content, file or content,properties | |
| 44 | +$modulePlugins = array(); // plugins - array : name, description, type - 0:file or 1:content, file or content,properties, events,guid | |
| 45 | +$moduleModules = array(); // modules - array : name, description, type - 0:file or 1:content, file or content,properties, guid | |
| 46 | +$moduleTemplates = array(); // templates - array : name, description, type - 0:file or 1:content, file or content,properties | |
| 47 | +$moduleTVs = array(); // template variables - array : name, description, type - 0:file or 1:content, file or content,properties | |
| 48 | 48 | $moduleDependencies = array(); // module depedencies - array : module, table, column, type, name | 
| 49 | 49 | |
| 50 | -$errors= 0; | |
| 50 | +$errors = 0; | |
| 51 | 51 | |
| 52 | 52 | // get post back status | 
| 53 | 53 | $isPostBack = (count($_POST)); | 
| 54 | 54 | |
| 55 | 55 | $ph = ph(); | 
| 56 | -$ph = array_merge($ph,$_lang); | |
| 56 | +$ph = array_merge($ph, $_lang); | |
| 57 | 57 | $ph['install_language'] = $install_language; | 
| 58 | 58 | |
| 59 | 59 | ob_start(); | 
| 60 | -$action= isset ($_GET['action']) ? trim(strip_tags($_GET['action'])) : 'language'; | |
| 60 | +$action = isset ($_GET['action']) ? trim(strip_tags($_GET['action'])) : 'language'; | |
| 61 | 61 |  if (!@include_once("actions/action_{$action}.php")) { | 
| 62 | 62 |      die ("Invalid install action attempted. [action={$action}]"); | 
| 63 | 63 | } | 
| @@ -65,5 +65,5 @@ discard block | ||
| 65 | 65 | ob_end_clean(); | 
| 66 | 66 | |
| 67 | 67 |  $tpl = file_get_contents("{$base_path}install/template.tpl"); | 
| 68 | -echo parse($tpl,$ph); | |
| 68 | +echo parse($tpl, $ph); | |
| 69 | 69 | |
| @@ -66,111 +66,111 @@ | ||
| 66 | 66 | } | 
| 67 | 67 | |
| 68 | 68 |  switch ($_POST['mode']) { | 
| 69 | - case '23': // Save new snippet | |
| 70 | - | |
| 71 | - // invoke OnBeforeSnipFormSave event | |
| 72 | -        $modx->invokeEvent("OnBeforeSnipFormSave", array( | |
| 73 | - "mode" => "new", | |
| 74 | - "id" => $id | |
| 75 | - )); | |
| 76 | - | |
| 77 | - // disallow duplicate names for new snippets | |
| 78 | -        $rs = $modx->db->select('COUNT(id)', $modx->getFullTableName('site_snippets'), "name='{$name}'"); | |
| 79 | - $count = $modx->db->getValue($rs); | |
| 80 | -        if ($count > 0) { | |
| 81 | - $modx->manager->saveFormValues(23); | |
| 82 | - $modx->webAlertAndQuit(sprintf($_lang['duplicate_name_found_general'], $_lang['snippet'], $name), "index.php?a=23"); | |
| 83 | - } | |
| 84 | - | |
| 85 | - //do stuff to save the new doc | |
| 86 | - $newid = $modx->db->insert(array( | |
| 87 | - 'name' => $name, | |
| 88 | - 'description' => $description, | |
| 89 | - 'snippet' => $snippet, | |
| 90 | - 'moduleguid' => $moduleguid, | |
| 91 | - 'locked' => $locked, | |
| 92 | - 'properties' => $properties, | |
| 93 | - 'category' => $categoryid, | |
| 94 | - 'disabled' => $disabled, | |
| 95 | - 'createdon' => $currentdate, | |
| 96 | - 'editedon' => $currentdate | |
| 97 | -        ), $modx->getFullTableName('site_snippets')); | |
| 98 | - | |
| 99 | - // invoke OnSnipFormSave event | |
| 100 | -        $modx->invokeEvent("OnSnipFormSave", array( | |
| 101 | - "mode" => "new", | |
| 102 | - "id" => $newid | |
| 103 | - )); | |
| 104 | - | |
| 105 | - // Set the item name for logger | |
| 106 | - $_SESSION['itemname'] = $name; | |
| 107 | - | |
| 108 | - // empty cache | |
| 109 | -        $modx->clearCache('full'); | |
| 110 | - | |
| 111 | - // finished emptying cache - redirect | |
| 112 | -        if ($_POST['stay'] != '') { | |
| 113 | - $a = ($_POST['stay'] == '2') ? "22&id=$newid" : "23"; | |
| 114 | - $header = "Location: index.php?a=" . $a . "&r=2&stay=" . $_POST['stay']; | |
| 115 | - header($header); | |
| 116 | -        } else { | |
| 117 | - $header = "Location: index.php?a=76&r=2"; | |
| 118 | - header($header); | |
| 119 | - } | |
| 120 | - break; | |
| 121 | - case '22': // Save existing snippet | |
| 122 | - // invoke OnBeforeSnipFormSave event | |
| 123 | -        $modx->invokeEvent("OnBeforeSnipFormSave", array( | |
| 124 | - "mode" => "upd", | |
| 125 | - "id" => $id | |
| 126 | - )); | |
| 127 | - | |
| 128 | - // disallow duplicate names for snippets | |
| 129 | -        $rs = $modx->db->select('COUNT(*)', $modx->getFullTableName('site_snippets'), "name='{$name}' AND id!='{$id}'"); | |
| 130 | -        if ($modx->db->getValue($rs) > 0) { | |
| 131 | - $modx->manager->saveFormValues(22); | |
| 132 | -            $modx->webAlertAndQuit(sprintf($_lang['duplicate_name_found_general'], $_lang['snippet'], $name), "index.php?a=22&id={$id}"); | |
| 133 | - } | |
| 134 | - | |
| 135 | - //do stuff to save the edited doc | |
| 136 | - $modx->db->update(array( | |
| 137 | - 'name' => $name, | |
| 138 | - 'description' => $description, | |
| 139 | - 'snippet' => $snippet, | |
| 140 | - 'moduleguid' => $moduleguid, | |
| 141 | - 'locked' => $locked, | |
| 142 | - 'properties' => $properties, | |
| 143 | - 'category' => $categoryid, | |
| 144 | - 'disabled' => $disabled, | |
| 145 | - 'editedon' => $currentdate | |
| 146 | -        ), $modx->getFullTableName('site_snippets'), "id='{$id}'"); | |
| 147 | - | |
| 148 | - // invoke OnSnipFormSave event | |
| 149 | -        $modx->invokeEvent("OnSnipFormSave", array( | |
| 150 | - "mode" => "upd", | |
| 151 | - "id" => $id | |
| 152 | - )); | |
| 153 | - | |
| 154 | - // Set the item name for logger | |
| 155 | - $_SESSION['itemname'] = $name; | |
| 156 | - | |
| 157 | - // empty cache | |
| 158 | -        $modx->clearCache('full'); | |
| 159 | - | |
| 160 | -        if ($_POST['runsnippet']) { | |
| 161 | - run_snippet($snippet); | |
| 162 | - } | |
| 163 | - // finished emptying cache - redirect | |
| 164 | -        if ($_POST['stay'] != '') { | |
| 165 | - $a = ($_POST['stay'] == '2') ? "22&id=$id" : "23"; | |
| 166 | - $header = "Location: index.php?a=" . $a . "&r=2&stay=" . $_POST['stay']; | |
| 167 | - header($header); | |
| 168 | -        } else { | |
| 169 | - $modx->unlockElement(4, $id); | |
| 170 | - $header = "Location: index.php?a=76&r=2"; | |
| 171 | - header($header); | |
| 172 | - } | |
| 173 | - break; | |
| 174 | - default: | |
| 175 | -        $modx->webAlertAndQuit("No operation set in request."); | |
| 69 | + case '23': // Save new snippet | |
| 70 | + | |
| 71 | + // invoke OnBeforeSnipFormSave event | |
| 72 | +            $modx->invokeEvent("OnBeforeSnipFormSave", array( | |
| 73 | + "mode" => "new", | |
| 74 | + "id" => $id | |
| 75 | + )); | |
| 76 | + | |
| 77 | + // disallow duplicate names for new snippets | |
| 78 | +            $rs = $modx->db->select('COUNT(id)', $modx->getFullTableName('site_snippets'), "name='{$name}'"); | |
| 79 | + $count = $modx->db->getValue($rs); | |
| 80 | +            if ($count > 0) { | |
| 81 | + $modx->manager->saveFormValues(23); | |
| 82 | + $modx->webAlertAndQuit(sprintf($_lang['duplicate_name_found_general'], $_lang['snippet'], $name), "index.php?a=23"); | |
| 83 | + } | |
| 84 | + | |
| 85 | + //do stuff to save the new doc | |
| 86 | + $newid = $modx->db->insert(array( | |
| 87 | + 'name' => $name, | |
| 88 | + 'description' => $description, | |
| 89 | + 'snippet' => $snippet, | |
| 90 | + 'moduleguid' => $moduleguid, | |
| 91 | + 'locked' => $locked, | |
| 92 | + 'properties' => $properties, | |
| 93 | + 'category' => $categoryid, | |
| 94 | + 'disabled' => $disabled, | |
| 95 | + 'createdon' => $currentdate, | |
| 96 | + 'editedon' => $currentdate | |
| 97 | +            ), $modx->getFullTableName('site_snippets')); | |
| 98 | + | |
| 99 | + // invoke OnSnipFormSave event | |
| 100 | +            $modx->invokeEvent("OnSnipFormSave", array( | |
| 101 | + "mode" => "new", | |
| 102 | + "id" => $newid | |
| 103 | + )); | |
| 104 | + | |
| 105 | + // Set the item name for logger | |
| 106 | + $_SESSION['itemname'] = $name; | |
| 107 | + | |
| 108 | + // empty cache | |
| 109 | +            $modx->clearCache('full'); | |
| 110 | + | |
| 111 | + // finished emptying cache - redirect | |
| 112 | +            if ($_POST['stay'] != '') { | |
| 113 | + $a = ($_POST['stay'] == '2') ? "22&id=$newid" : "23"; | |
| 114 | + $header = "Location: index.php?a=" . $a . "&r=2&stay=" . $_POST['stay']; | |
| 115 | + header($header); | |
| 116 | +            } else { | |
| 117 | + $header = "Location: index.php?a=76&r=2"; | |
| 118 | + header($header); | |
| 119 | + } | |
| 120 | + break; | |
| 121 | + case '22': // Save existing snippet | |
| 122 | + // invoke OnBeforeSnipFormSave event | |
| 123 | +            $modx->invokeEvent("OnBeforeSnipFormSave", array( | |
| 124 | + "mode" => "upd", | |
| 125 | + "id" => $id | |
| 126 | + )); | |
| 127 | + | |
| 128 | + // disallow duplicate names for snippets | |
| 129 | +            $rs = $modx->db->select('COUNT(*)', $modx->getFullTableName('site_snippets'), "name='{$name}' AND id!='{$id}'"); | |
| 130 | +            if ($modx->db->getValue($rs) > 0) { | |
| 131 | + $modx->manager->saveFormValues(22); | |
| 132 | +                $modx->webAlertAndQuit(sprintf($_lang['duplicate_name_found_general'], $_lang['snippet'], $name), "index.php?a=22&id={$id}"); | |
| 133 | + } | |
| 134 | + | |
| 135 | + //do stuff to save the edited doc | |
| 136 | + $modx->db->update(array( | |
| 137 | + 'name' => $name, | |
| 138 | + 'description' => $description, | |
| 139 | + 'snippet' => $snippet, | |
| 140 | + 'moduleguid' => $moduleguid, | |
| 141 | + 'locked' => $locked, | |
| 142 | + 'properties' => $properties, | |
| 143 | + 'category' => $categoryid, | |
| 144 | + 'disabled' => $disabled, | |
| 145 | + 'editedon' => $currentdate | |
| 146 | +            ), $modx->getFullTableName('site_snippets'), "id='{$id}'"); | |
| 147 | + | |
| 148 | + // invoke OnSnipFormSave event | |
| 149 | +            $modx->invokeEvent("OnSnipFormSave", array( | |
| 150 | + "mode" => "upd", | |
| 151 | + "id" => $id | |
| 152 | + )); | |
| 153 | + | |
| 154 | + // Set the item name for logger | |
| 155 | + $_SESSION['itemname'] = $name; | |
| 156 | + | |
| 157 | + // empty cache | |
| 158 | +            $modx->clearCache('full'); | |
| 159 | + | |
| 160 | +            if ($_POST['runsnippet']) { | |
| 161 | + run_snippet($snippet); | |
| 162 | + } | |
| 163 | + // finished emptying cache - redirect | |
| 164 | +            if ($_POST['stay'] != '') { | |
| 165 | + $a = ($_POST['stay'] == '2') ? "22&id=$id" : "23"; | |
| 166 | + $header = "Location: index.php?a=" . $a . "&r=2&stay=" . $_POST['stay']; | |
| 167 | + header($header); | |
| 168 | +            } else { | |
| 169 | + $modx->unlockElement(4, $id); | |
| 170 | + $header = "Location: index.php?a=76&r=2"; | |
| 171 | + header($header); | |
| 172 | + } | |
| 173 | + break; | |
| 174 | + default: | |
| 175 | +            $modx->webAlertAndQuit("No operation set in request."); | |
| 176 | 176 | } | 
| @@ -1,12 +1,12 @@ discard block | ||
| 1 | 1 | <?php | 
| 2 | -if (! defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { | |
| 2 | +if (!defined('IN_MANAGER_MODE') || IN_MANAGER_MODE !== true) { | |
| 3 | 3 |      die("<b>INCLUDE_ORDERING_ERROR</b><br /><br />Please use the EVO Content Manager instead of accessing this file directly."); | 
| 4 | 4 | } | 
| 5 | 5 |  if (!$modx->hasPermission('save_snippet')) { | 
| 6 | 6 | $modx->webAlertAndQuit($_lang["error_no_privileges"]); | 
| 7 | 7 | } | 
| 8 | 8 | |
| 9 | -$id = (int)$_POST['id']; | |
| 9 | +$id = (int) $_POST['id']; | |
| 10 | 10 | $snippet = trim($_POST['post']); | 
| 11 | 11 | $name = $modx->db->escape(trim($_POST['name'])); | 
| 12 | 12 | $description = $modx->db->escape($_POST['description']); | 
| @@ -33,11 +33,11 @@ discard block | ||
| 33 | 33 | |
| 34 | 34 | //Kyle Jaebker - added category support | 
| 35 | 35 |  if (empty($_POST['newcategory']) && $_POST['categoryid'] > 0) { | 
| 36 | - $categoryid = (int)$_POST['categoryid']; | |
| 36 | + $categoryid = (int) $_POST['categoryid']; | |
| 37 | 37 |  } elseif (empty($_POST['newcategory']) && $_POST['categoryid'] <= 0) { | 
| 38 | 38 | $categoryid = 0; | 
| 39 | 39 |  } else { | 
| 40 | - include_once(MODX_MANAGER_PATH . 'includes/categories.inc.php'); | |
| 40 | + include_once(MODX_MANAGER_PATH.'includes/categories.inc.php'); | |
| 41 | 41 | $categoryid = checkCategory($_POST['newcategory']); | 
| 42 | 42 |      if (!$categoryid) { | 
| 43 | 43 | $categoryid = newCategory($_POST['newcategory']); | 
| @@ -55,12 +55,12 @@ discard block | ||
| 55 | 55 | $moduleguid = isset($parsed['guid']) ? $parsed['guid'] : $moduleguid; | 
| 56 | 56 | |
| 57 | 57 | $description = isset($parsed['description']) ? $parsed['description'] : $description; | 
| 58 | - $version = isset($parsed['version']) ? '<b>' . $parsed['version'] . '</b> ' : ''; | |
| 58 | + $version = isset($parsed['version']) ? '<b>'.$parsed['version'].'</b> ' : ''; | |
| 59 | 59 |      if ($version) { | 
| 60 | -        $description = $version . trim(preg_replace('/(<b>.+?)+(<\/b>)/i', '', $description)); | |
| 60 | +        $description = $version.trim(preg_replace('/(<b>.+?)+(<\/b>)/i', '', $description)); | |
| 61 | 61 | } | 
| 62 | 62 |      if (isset($parsed['modx_category'])) { | 
| 63 | - include_once(MODX_MANAGER_PATH . 'includes/categories.inc.php'); | |
| 63 | + include_once(MODX_MANAGER_PATH.'includes/categories.inc.php'); | |
| 64 | 64 | $categoryid = getCategory($parsed['modx_category']); | 
| 65 | 65 | } | 
| 66 | 66 | } | 
| @@ -111,7 +111,7 @@ discard block | ||
| 111 | 111 | // finished emptying cache - redirect | 
| 112 | 112 |          if ($_POST['stay'] != '') { | 
| 113 | 113 | $a = ($_POST['stay'] == '2') ? "22&id=$newid" : "23"; | 
| 114 | - $header = "Location: index.php?a=" . $a . "&r=2&stay=" . $_POST['stay']; | |
| 114 | + $header = "Location: index.php?a=".$a."&r=2&stay=".$_POST['stay']; | |
| 115 | 115 | header($header); | 
| 116 | 116 |          } else { | 
| 117 | 117 | $header = "Location: index.php?a=76&r=2"; | 
| @@ -163,7 +163,7 @@ discard block | ||
| 163 | 163 | // finished emptying cache - redirect | 
| 164 | 164 |          if ($_POST['stay'] != '') { | 
| 165 | 165 | $a = ($_POST['stay'] == '2') ? "22&id=$id" : "23"; | 
| 166 | - $header = "Location: index.php?a=" . $a . "&r=2&stay=" . $_POST['stay']; | |
| 166 | + $header = "Location: index.php?a=".$a."&r=2&stay=".$_POST['stay']; | |
| 167 | 167 | header($header); | 
| 168 | 168 |          } else { | 
| 169 | 169 | $modx->unlockElement(4, $id); | 
| @@ -9,8 +9,8 @@ | ||
| 9 | 9 | |
| 10 | 10 | $lang = array( | 
| 11 | 11 | |
| 12 | - '_locale' => "pt_BR.UTF-8", // UNIX localization code | |
| 13 | - '_charset' => "utf-8", // Browser charset | |
| 12 | + '_locale' => "pt_BR.UTF-8", // UNIX localization code | |
| 13 | + '_charset' => "utf-8", // Browser charset | |
| 14 | 14 | |
| 15 | 15 | // Date time formats. See http://www.php.net/manual/en/function.strftime.php | 
| 16 | 16 | '_dateTimeFull' => "%A, %e %B, %Y %H:%M", | 
| @@ -6,8 +6,8 @@ | ||
| 6 | 6 | |
| 7 | 7 | $lang = array( | 
| 8 | 8 | |
| 9 | - '_locale' => "de_DE.UTF-8", // UNIX localization code | |
| 10 | - '_charset' => "utf-8", // Browser charset | |
| 9 | + '_locale' => "de_DE.UTF-8", // UNIX localization code | |
| 10 | + '_charset' => "utf-8", // Browser charset | |
| 11 | 11 | |
| 12 | 12 | // Date time formats. See http://www.php.net/manual/en/function.strftime.php | 
| 13 | 13 | '_dateTimeFull' => "%A, %e.%B.%Y %I:%M %p", | 
| @@ -7,8 +7,8 @@ | ||
| 7 | 7 | |
| 8 | 8 | $lang = array( | 
| 9 | 9 | |
| 10 | - '_locale' => "uk_UA.UTF-8", // UNIX localization code | |
| 11 | - '_charset' => "utf-8", // Browser charset | |
| 10 | + '_locale' => "uk_UA.UTF-8", // UNIX localization code | |
| 11 | + '_charset' => "utf-8", // Browser charset | |
| 12 | 12 | |
| 13 | 13 | // Date time formats. See http://www.php.net/manual/en/function.strftime.php | 
| 14 | 14 | '_dateTimeFull' => "%A, %e %B, %Y %H:%M", | 
| @@ -11,8 +11,8 @@ | ||
| 11 | 11 | |
| 12 | 12 | $lang = array( | 
| 13 | 13 | |
| 14 | - '_locale' => "ja_JP.UTF-8", // UNIX localization code | |
| 15 | - '_charset' => "utf-8", // Browser charset | |
| 14 | + '_locale' => "ja_JP.UTF-8", // UNIX localization code | |
| 15 | + '_charset' => "utf-8", // Browser charset | |
| 16 | 16 | |
| 17 | 17 | // Date time formats. See http://www.php.net/manual/en/function.strftime.php | 
| 18 | 18 | '_dateTimeFull' => "%Y/%m/%d %H:%M", | 
| @@ -7,8 +7,8 @@ | ||
| 7 | 7 | |
| 8 | 8 | $lang = array( | 
| 9 | 9 | |
| 10 | - '_locale' => "fr_FR.UTF-8", // UNIX localization code | |
| 11 | - '_charset' => "utf-8", // Browser charset | |
| 10 | + '_locale' => "fr_FR.UTF-8", // UNIX localization code | |
| 11 | + '_charset' => "utf-8", // Browser charset | |
| 12 | 12 | |
| 13 | 13 | // Date time formats. See http://www.php.net/manual/en/function.strftime.php | 
| 14 | 14 | '_dateTimeFull' => "%A %e %B %Y %H:%M", |