diff --git a/application/controllers/Install.php b/application/controllers/Install.php index b7a8ef979..be9109976 100644 --- a/application/controllers/Install.php +++ b/application/controllers/Install.php @@ -212,7 +212,7 @@ public function index() array('shj_key' => 'submit_penalty', 'shj_value' => '300'), array('shj_key' => 'enable_registration', 'shj_value' => '0'), array('shj_key' => 'registration_code', 'shj_value' => '0'), - array('shj_key' => 'mail_from', 'shj_value' => 'shj@sharifjudge.ir'), + array('shj_key' => 'mail_from', 'shj_value' => 'shj@example.com'), array('shj_key' => 'mail_from_name', 'shj_value' => 'Sharif Judge'), array('shj_key' => 'reset_password_mail', 'shj_value' => "
\nSomeone requested a password reset for your Sharif Judge account at {SITE_URL}.\n
\n\nTo change your password, visit this link:\n
\n\nReset Password\n
\n\nThe link is valid for {VALID_TIME}. If you don't want to change your password, just ignore this email.\n
"), array('shj_key' => 'add_user_mail', 'shj_value' => "\nHello! You are registered in Sharif Judge at {SITE_URL} as {ROLE}.\n
\n\nYour username: {USERNAME}\n
\n\nYour password: {PASSWORD}\n
\n\nYou can log in at {LOGIN_URL}\n
"), @@ -276,4 +276,4 @@ public function index() $this->twig->display('pages/admin/install.twig', $data); } -} \ No newline at end of file +} diff --git a/application/views/pages/admin/add_assignment.twig b/application/views/pages/admin/add_assignment.twig index 6871c0300..a07882c27 100644 --- a/application/views/pages/admin/add_assignment.twig +++ b/application/views/pages/admin/add_assignment.twig @@ -66,7 +66,7 @@ {% block title_menu %} {% endblock %} @@ -120,7 +120,7 @@@@ -154,7 +154,7 @@ {{ form_error('javaexceptions', '
-
+
PHP script without <?php ?> tags
{{ form_error('late_rule', '
Enable EasySandbox for C/C++.
- You must build EasySandbox before enabling it.
+ You must build EasySandbox before enabling it.
{% if not sandbox_built %}
You have not built EasySandbox yet.
{% endif %}
@@ -166,35 +166,35 @@ $(document).ready(function(){
- Enable Java Sandboxing + Enable Java Sandboxing
- Enable Shield for C
+ Enable Shield for C
- Enable Shield for C++
+ Enable Shield for C++
- Enable Shield for Python 2
+ Enable Shield for Python 2
- Enable Shield for Python 3
+ Enable Shield for Python 3
@@ -217,4 +217,4 @@ $(document).ready(function(){
-{% endblock %} {# main_content #} \ No newline at end of file +{% endblock %} {# main_content #} diff --git a/application/views/pages/admin/users.twig b/application/views/pages/admin/users.twig index 05efd3248..3db7f1dde 100644 --- a/application/views/pages/admin/users.twig +++ b/application/views/pages/admin/users.twig @@ -12,7 +12,7 @@ {% block title_menu %} - + {% endblock %} @@ -60,4 +60,4 @@