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 %}
{% endblock %}
@@ -120,7 +120,7 @@
Tests and Descriptions (zip file)
@@ -154,7 +154,7 @@
{{ form_error('javaexceptions', '
', '
') }}
- Coefficient rule (? )
+ Coefficient rule (? )
{{ 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 %}
-
+
{% endblock %}
@@ -72,4 +72,4 @@
Adding users... Please wait
-{% 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 %}
{% endblock %}
@@ -146,7 +146,7 @@ $(document).ready(function(){
@@ -155,7 +155,7 @@ $(document).ready(function(){
EasySandbox
C Shield
-
+
C++ Shield
-
+
Python 2 Shield
-
+
Python 3 Shield
-
+
Shield Rules (for C)
@@ -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 @@
{% 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
+