Permalink
Browse files

Initial commit

  • Loading branch information...
1 parent 31f5397 commit bfbf3afb13fa699b044bae4163e1848a63976749 tokolist@gmail.com committed Jun 25, 2012
Showing with 5,222 additions and 0 deletions.
  1. BIN css/bg.gif
  2. +160 −0 css/form.css
  3. +36 −0 css/ie.css
  4. +229 −0 css/main.css
  5. +29 −0 css/print.css
  6. +238 −0 css/screen.css
  7. +15 −0 index-test.php
  8. +13 −0 index.php
  9. +7 −0 nbproject/project.properties
  10. +9 −0 nbproject/project.xml
  11. +1 −0 protected/.htaccess
  12. +23 −0 protected/components/Controller.php
  13. +33 −0 protected/components/UserIdentity.php
  14. +24 −0 protected/config/console.php
  15. +90 −0 protected/config/main.php
  16. +17 −0 protected/config/test.php
  17. +103 −0 protected/controllers/SiteController.php
  18. +28 −0 protected/data/schema.mysql.sql
  19. +28 −0 protected/data/schema.sqlite.sql
  20. BIN protected/data/testdrive.db
  21. +69 −0 protected/extensions/yiicomp/behaviors/DateTimeBehavior/CDateTimeBehavior.php
  22. +209 −0 protected/extensions/yiicomp/behaviors/TreeComments/CTreeCommentsControllerBehavior.php
  23. +75 −0 protected/extensions/yiicomp/behaviors/TreeComments/CTreeCommentsModelBehavior.php
  24. +112 −0 protected/extensions/yiicomp/behaviors/TreeComments/js/comments_tree.js
  25. +14 −0 protected/extensions/yiicomp/behaviors/TreeComments/schema.sql
  26. +23 −0 protected/extensions/yiicomp/behaviors/TreeComments/views/comment.php
  27. +15 −0 protected/extensions/yiicomp/behaviors/TreeComments/views/comments.php
  28. +1 −0 protected/extensions/yiicomp/behaviors/TreeComments/views/errors.php
  29. +23 −0 protected/extensions/yiicomp/behaviors/TreeComments/views/form.php
  30. +27 −0 protected/extensions/yiicomp/components/ButtonColumnEx/CButtonColumnEx.php
  31. +597 −0 protected/extensions/yiicomp/components/ImageHandler/CImageHandler.php
  32. +107 −0 protected/extensions/yiicomp/components/LangUrlManager/CLangUrlManager.php
  33. +91 −0 protected/extensions/yiicomp/components/TimeZoneHelper/CTimeZoneHelper.php
  34. +140 −0 protected/extensions/yiicomp/components/TimeZoneHelper/timezones.csv
  35. +217 −0 protected/extensions/yiicomp/helpers/StringHelper/CStringHelper.php
  36. +123 −0 protected/extensions/yiicomp/widgets/TagCloud/CTagCloud.php
  37. +112 −0 protected/extensions/yiicomp/widgets/YiiJevix/CJevixEx.php
  38. +57 −0 protected/extensions/yiicomp/widgets/YiiJevix/CYiiJevix.php
  39. +1,369 −0 protected/extensions/yiicomp/widgets/YiiJevix/jevix/jevix.class.php
  40. +52 −0 protected/extensions/yiicomp/widgets/YiiJevix/jevix/symclass.php
  41. +157 −0 protected/extensions/yiicomp/widgets/YiiJevix/jevix/tests/jevixtest.php
  42. +53 −0 protected/extensions/yiicomp/widgets/YiiJevix/readme.txt
  43. +42 −0 protected/models/ContactForm.php
  44. +77 −0 protected/models/LoginForm.php
  45. +25 −0 protected/tests/WebTestCase.php
  46. +10 −0 protected/tests/bootstrap.php
  47. +47 −0 protected/tests/functional/SiteTest.php
  48. +13 −0 protected/tests/phpunit.xml
  49. +7 −0 protected/views/layouts/column1.php
  50. +23 −0 protected/views/layouts/column2.php
  51. +56 −0 protected/views/layouts/main.php
  52. +81 −0 protected/views/site/contact.php
  53. +12 −0 protected/views/site/error.php
  54. +16 −0 protected/views/site/index.php
  55. +49 −0 protected/views/site/login.php
  56. +10 −0 protected/views/site/pages/about.php
  57. +4 −0 protected/yiic
  58. +16 −0 protected/yiic.bat
  59. +7 −0 protected/yiic.php
  60. +1 −0 themes/classic/views/.htaccess
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -0,0 +1,160 @@
+/**
+ * CSS styles for forms generated by yiic.
+ *
+ * The styles can be applied to the following form structure:
+ *
+ * <div class="form">
+ * <div class="row">
+ * <label for="inputid">xyz</label>
+ * <input name="inputid" id="inputid" type="text" />
+ * <p class="hint">hint text</p>
+ * </div>
+ * <div class="row">
+ * <label for="inputid">xyz</label>
+ * <input name="inputid" id="inputid" type="text" />
+ * <p class="hint">hint text</p>
+ * </div>
+ * <div class="row buttons">
+ * <label for="inputid">xyz</label>
+ * <input name="inputid" id="inputid" type="text" />
+ * <p class="hint">hint text</p>
+ * </div>
+ * </div>
+ *
+ * The above code will render the labels and input fields in separate lines.
+ * In order to render them in the same line, please use the "wide" form as follows,
+ *
+ * <div class="wide form">
+ * ......
+ * </div>
+ *
+ * @author Qiang Xue <qiang.xue@gmail.com>
+ * @link http://www.yiiframework.com/
+ * @copyright Copyright &copy; 2008-2010 Yii Software LLC
+ * @license http://www.yiiframework.com/license/
+ */
+
+div.form
+{
+}
+
+div.form input,
+div.form textarea,
+div.form select
+{
+ margin: 0.2em 0 0.5em 0;
+}
+
+div.form fieldset
+{
+ border: 1px solid #DDD;
+ padding: 10px;
+ margin: 0 0 10px 0;
+ -moz-border-radius:7px;
+}
+
+div.form label
+{
+ font-weight: bold;
+ font-size: 0.9em;
+ display: block;
+}
+
+div.form .row
+{
+ margin: 5px 0;
+}
+
+div.form .hint
+{
+ margin: 0;
+ padding: 0;
+ color: #999;
+}
+
+div.form .note
+{
+ font-style: italic;
+}
+
+div.form span.required
+{
+ color: red;
+}
+
+div.form div.error label,
+div.form label.error,
+div.form span.error
+{
+ color: #C00;
+}
+
+div.form div.error input,
+div.form div.error textarea,
+div.form div.error select,
+div.form input.error,
+div.form textarea.error,
+div.form select.error
+{
+ background: #FEE;
+ border-color: #C00;
+}
+
+div.form div.success input,
+div.form div.success textarea,
+div.form div.success select,
+div.form input.success,
+div.form textarea.success,
+div.form select.success
+{
+ background: #E6EFC2;
+ border-color: #C6D880;
+}
+
+
+div.form .errorSummary
+{
+ border: 2px solid #C00;
+ padding: 7px 7px 12px 7px;
+ margin: 0 0 20px 0;
+ background: #FEE;
+ font-size: 0.9em;
+}
+
+div.form .errorMessage
+{
+ color: red;
+ font-size: 0.9em;
+}
+
+div.form .errorSummary p
+{
+ margin: 0;
+ padding: 5px;
+}
+
+div.form .errorSummary ul
+{
+ margin: 0;
+ padding: 0 0 0 20px;
+}
+
+div.wide.form label
+{
+ float: left;
+ margin-right: 10px;
+ position: relative;
+ text-align: right;
+ width: 100px;
+}
+
+div.wide.form .row
+{
+ clear: left;
+}
+
+div.wide.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
+{
+ clear: left;
+ padding-left: 110px;
+}
View
@@ -0,0 +1,36 @@
+/* -----------------------------------------------------------------------
+
+
+ Blueprint CSS Framework 1.0.1
+ http://blueprintcss.org
+
+ * Copyright (c) 2007-Present. See LICENSE for more info.
+ * See README for instructions on how to use Blueprint.
+ * For credits and origins, see AUTHORS.
+ * This is a compressed file. See the sources in the 'src' directory.
+
+----------------------------------------------------------------------- */
+
+/* ie.css */
+body {text-align:center;}
+.container {text-align:left;}
+* html .column, * html .span-1, * html .span-2, * html .span-3, * html .span-4, * html .span-5, * html .span-6, * html .span-7, * html .span-8, * html .span-9, * html .span-10, * html .span-11, * html .span-12, * html .span-13, * html .span-14, * html .span-15, * html .span-16, * html .span-17, * html .span-18, * html .span-19, * html .span-20, * html .span-21, * html .span-22, * html .span-23, * html .span-24 {display:inline;overflow-x:hidden;}
+* html legend {margin:0px -8px 16px 0;padding:0;}
+sup {vertical-align:text-top;}
+sub {vertical-align:text-bottom;}
+html>body p code {*white-space:normal;}
+hr {margin:-8px auto 11px;}
+img {-ms-interpolation-mode:bicubic;}
+.clearfix, .container {display:inline-block;}
+* html .clearfix, * html .container {height:1%;}
+fieldset {padding-top:0;}
+legend {margin-top:-0.2em;margin-bottom:1em;margin-left:-0.5em;}
+textarea {overflow:auto;}
+label {vertical-align:middle;position:relative;top:-0.25em;}
+input.text, input.title, textarea {background-color:#fff;border:1px solid #bbb;}
+input.text:focus, input.title:focus {border-color:#666;}
+input.text, input.title, textarea, select {margin:0.5em 0;}
+input.checkbox, input.radio {position:relative;top:.25em;}
+form.inline div, form.inline p {vertical-align:middle;}
+form.inline input.checkbox, form.inline input.radio, form.inline input.button, form.inline button {margin:0.5em 0;}
+button, input.button {position:relative;top:0.25em;}
Oops, something went wrong.

0 comments on commit bfbf3af

Please sign in to comment.