From 7ca3101bb848447e8d8aabb14aae0d6ae9dfde31 Mon Sep 17 00:00:00 2001 From: Mohammad Javad Naderi Date: Fri, 27 Mar 2015 13:18:45 +0430 Subject: [PATCH] update links --- application/controllers/Install.php | 4 ++-- .../views/pages/admin/add_assignment.twig | 16 +++++++-------- application/views/pages/admin/add_user.twig | 4 ++-- application/views/pages/admin/settings.twig | 20 +++++++++---------- application/views/pages/admin/users.twig | 4 ++-- application/views/templates/side_bar.twig | 4 ++-- 6 files changed, 26 insertions(+), 26 deletions(-) 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 %} - Help + Help {% endblock %} @@ -120,7 +120,7 @@

@@ -154,7 +154,7 @@ {{ form_error('javaexceptions', '

', '
') }}

-
+
PHP script without <?php ?> tags {{ form_error('late_rule', '

', '
') }} @@ -169,10 +169,10 @@ Score Time Limit (ms) Memory
Limit (kB) - Allowed
Languages (?) - Diff
Command (?) - Diff
Argument (?) - Upload
Only (?) + Allowed
Languages (?) + Diff
Command (?) + Diff
Argument (?) + Upload
Only (?) @@ -212,4 +212,4 @@

-{% endblock %} {# main_content #} \ No newline at end of file +{% endblock %} {# main_content #} diff --git a/application/views/pages/admin/add_user.twig b/application/views/pages/admin/add_user.twig index a7454bbe5..850aaac7d 100644 --- a/application/views/pages/admin/add_user.twig +++ b/application/views/pages/admin/add_user.twig @@ -12,7 +12,7 @@ {% block title_menu %} - Help + Help {% endblock %} @@ -72,4 +72,4 @@

-{% endblock %} {# main_content #} \ No newline at end of file +{% endblock %} {# main_content #} diff --git a/application/views/pages/admin/settings.twig b/application/views/pages/admin/settings.twig index 68ef9a07b..9f24ca4ca 100644 --- a/application/views/pages/admin/settings.twig +++ b/application/views/pages/admin/settings.twig @@ -24,7 +24,7 @@ $(document).ready(function(){ {% block title_menu %} - Help + Help {% endblock %} @@ -146,7 +146,7 @@ $(document).ready(function(){

Sandboxing - Help + Help

@@ -155,7 +155,7 @@ $(document).ready(function(){

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

Shield - Help + Help


- 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 %} - Help + Help Add Users Excel {% endblock %} @@ -60,4 +60,4 @@ {% endfor %} -{% endblock %} {# main_content #} \ No newline at end of file +{% endblock %} {# main_content #} diff --git a/application/views/templates/side_bar.twig b/application/views/templates/side_bar.twig index bbf54a47a..55d039f38 100644 --- a/application/views/templates/side_bar.twig +++ b/application/views/templates/side_bar.twig @@ -71,11 +71,11 @@ - \ No newline at end of file +