From 0c0180b3f04a20cfb223c7ff7b3aea12c51e75af Mon Sep 17 00:00:00 2001 From: SVarlamov Date: Mon, 20 Jun 2016 21:00:13 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9F=D0=B5=D1=80=D0=B5=D0=BD=D0=B5=D1=81?= =?UTF-8?q?=D0=B5=D0=BD=D0=BE=20=D0=B2=20=D0=BF=D0=B0=D0=BF=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 2 +- ReadMe.txt => poll/ReadMe.txt | 0 {admin => poll/admin}/admin_comments.tpl | 0 {admin => poll/admin}/admin_fields.tpl | 0 {admin => poll/admin}/admin_forms.tpl | 0 {admin => poll/admin}/js/color.png | Bin {admin => poll/admin}/js/iColorPicker.js | 0 class.poll.php => poll/class.poll.php | 0 {funcs => poll/funcs}/func.rewrite.php | 0 index.php => poll/index.php | 0 {lang => poll/lang}/index.php | 0 {lang => poll/lang}/ru.txt | 0 module.php => poll/module.php | 0 sql.php => poll/sql.php | 0 {templates => poll/templates}/archive.tpl | 0 {templates => poll/templates}/index.php | 0 {templates => poll/templates}/js/common.js | 0 {templates => poll/templates}/poll_form.tpl | 0 {templates => poll/templates}/poll_nav.tpl | 0 {templates => poll/templates}/poll_nav_result.tpl | 0 {templates => poll/templates}/result.tpl | 0 21 files changed, 1 insertion(+), 1 deletion(-) rename ReadMe.txt => poll/ReadMe.txt (100%) rename {admin => poll/admin}/admin_comments.tpl (100%) rename {admin => poll/admin}/admin_fields.tpl (100%) rename {admin => poll/admin}/admin_forms.tpl (100%) rename {admin => poll/admin}/js/color.png (100%) rename {admin => poll/admin}/js/iColorPicker.js (100%) rename class.poll.php => poll/class.poll.php (100%) rename {funcs => poll/funcs}/func.rewrite.php (100%) rename index.php => poll/index.php (100%) rename {lang => poll/lang}/index.php (100%) rename {lang => poll/lang}/ru.txt (100%) rename module.php => poll/module.php (100%) rename sql.php => poll/sql.php (100%) rename {templates => poll/templates}/archive.tpl (100%) rename {templates => poll/templates}/index.php (100%) rename {templates => poll/templates}/js/common.js (100%) rename {templates => poll/templates}/poll_form.tpl (100%) rename {templates => poll/templates}/poll_nav.tpl (100%) rename {templates => poll/templates}/poll_nav_result.tpl (100%) rename {templates => poll/templates}/result.tpl (100%) diff --git a/README.md b/README.md index 769aa87..fe1647a 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ ## Данный модуль предназачен для организации системы опросов на сайте. * Возможности модуля позволяют создавать неограниченное количество опросных листов, а также неограниченное количество вопросов. - * Добавить в .htaccess
+ * Добавить в .htaccess (вне секции | Rewrite engine )
## Poll
RewriteRule ^poll-([0-9]+).html$ index.php?module=poll&action=result&pid=$1
diff --git a/ReadMe.txt b/poll/ReadMe.txt similarity index 100% rename from ReadMe.txt rename to poll/ReadMe.txt diff --git a/admin/admin_comments.tpl b/poll/admin/admin_comments.tpl similarity index 100% rename from admin/admin_comments.tpl rename to poll/admin/admin_comments.tpl diff --git a/admin/admin_fields.tpl b/poll/admin/admin_fields.tpl similarity index 100% rename from admin/admin_fields.tpl rename to poll/admin/admin_fields.tpl diff --git a/admin/admin_forms.tpl b/poll/admin/admin_forms.tpl similarity index 100% rename from admin/admin_forms.tpl rename to poll/admin/admin_forms.tpl diff --git a/admin/js/color.png b/poll/admin/js/color.png similarity index 100% rename from admin/js/color.png rename to poll/admin/js/color.png diff --git a/admin/js/iColorPicker.js b/poll/admin/js/iColorPicker.js similarity index 100% rename from admin/js/iColorPicker.js rename to poll/admin/js/iColorPicker.js diff --git a/class.poll.php b/poll/class.poll.php similarity index 100% rename from class.poll.php rename to poll/class.poll.php diff --git a/funcs/func.rewrite.php b/poll/funcs/func.rewrite.php similarity index 100% rename from funcs/func.rewrite.php rename to poll/funcs/func.rewrite.php diff --git a/index.php b/poll/index.php similarity index 100% rename from index.php rename to poll/index.php diff --git a/lang/index.php b/poll/lang/index.php similarity index 100% rename from lang/index.php rename to poll/lang/index.php diff --git a/lang/ru.txt b/poll/lang/ru.txt similarity index 100% rename from lang/ru.txt rename to poll/lang/ru.txt diff --git a/module.php b/poll/module.php similarity index 100% rename from module.php rename to poll/module.php diff --git a/sql.php b/poll/sql.php similarity index 100% rename from sql.php rename to poll/sql.php diff --git a/templates/archive.tpl b/poll/templates/archive.tpl similarity index 100% rename from templates/archive.tpl rename to poll/templates/archive.tpl diff --git a/templates/index.php b/poll/templates/index.php similarity index 100% rename from templates/index.php rename to poll/templates/index.php diff --git a/templates/js/common.js b/poll/templates/js/common.js similarity index 100% rename from templates/js/common.js rename to poll/templates/js/common.js diff --git a/templates/poll_form.tpl b/poll/templates/poll_form.tpl similarity index 100% rename from templates/poll_form.tpl rename to poll/templates/poll_form.tpl diff --git a/templates/poll_nav.tpl b/poll/templates/poll_nav.tpl similarity index 100% rename from templates/poll_nav.tpl rename to poll/templates/poll_nav.tpl diff --git a/templates/poll_nav_result.tpl b/poll/templates/poll_nav_result.tpl similarity index 100% rename from templates/poll_nav_result.tpl rename to poll/templates/poll_nav_result.tpl diff --git a/templates/result.tpl b/poll/templates/result.tpl similarity index 100% rename from templates/result.tpl rename to poll/templates/result.tpl