1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-29 18:47:54 +01:00

Issue #6 Corrected some LANs

This commit is contained in:
Cameron 2015-11-12 15:07:50 -08:00
parent 9c494d5c13
commit 78efae0cae
3 changed files with 7 additions and 6 deletions

View File

@ -693,7 +693,7 @@ class frontpage
*/
function add_other($ob_name, $cur_val, $cur_page)
{
$label = ($cur_val) ? LAN_CUS_URL_DIS.':' : LAN_CUS_URL.':';
$label = ($cur_val) ? LAN_CUSTOM_URL_DISABLED : LAN_CUSTOM_URL;
return "
<td>".$this->frm->radio($ob_name, 'other', $cur_val, array('label'=> $label))."</td>

View File

@ -195,8 +195,9 @@ class adminstyle_infopanel
$mainPanel .= "</div>
</div>";
$text = $ns->tablerender(ucwords(USERNAME). LAN_CP, $mainPanel, "core-infopanel_mye107",true);
$caption = $tp->lanVars(LAN_CONTROL_PANEL, ucwords(USERNAME));
$text = $ns->tablerender($caption, $mainPanel, "core-infopanel_mye107",true);
// ------------------------------- e107 News --------------------------------

View File

@ -410,9 +410,9 @@ define("LAN_USER_QUICKADD","Quick Add User");
define("LAN_USER_PRUNE", "Prune Users");
define("LAN_USER_OPTIONS", "User Options");
define("LAN_USER_RANKS", "User Ranks");
define("LAN_CP", "'s Control Panel");
define("LAN_CUS_URL", "Custom URL");
define("LAN_CUS_URL_DIS", "Disabled or Enter Custom URL");
define("LAN_CONTROL_PANEL", "[x]'s Control Panel");
define("LAN_CUSTOM_URL", "Custom URL");
define("LAN_CUSTOM_URL_DISABLED", "Disabled or Enter Custom URL");