diff --git a/adminstuds.php b/adminstuds.php index e613d51..0ce2961 100644 --- a/adminstuds.php +++ b/adminstuds.php @@ -374,6 +374,5 @@ $smarty->assign('editingVoteId', $editingVoteId); $smarty->assign('message', $message); $smarty->assign('admin', true); $smarty->assign('parameter_name_regex', NAME_REGEX); -$smarty->assign('parameter_name_error', _('Name is incorrect.')); $smarty->display('studs.tpl'); \ No newline at end of file diff --git a/studs.php b/studs.php index 1bfbb52..461d86d 100644 --- a/studs.php +++ b/studs.php @@ -203,6 +203,5 @@ $smarty->assign('editingVoteId', $editingVoteId); $smarty->assign('message', $message); $smarty->assign('admin', false); $smarty->assign('parameter_name_regex', NAME_REGEX); -$smarty->assign('parameter_name_error', _('Name is incorrect.')); $smarty->display('studs.tpl'); diff --git a/tpl/studs.tpl b/tpl/studs.tpl index 44a7ce8..b83f36a 100644 --- a/tpl/studs.tpl +++ b/tpl/studs.tpl @@ -45,7 +45,7 @@
{$parameter_name_regex}
-{$parameter_name_error}
+{__('Error','Name is incorrect.')|var_dump}