Permalink
Browse files

delete some files

  • Loading branch information...
1 parent 9155245 commit ec151d0ecb548cd7ac9884d345262adbae2a4d1b David Shieh committed Mar 7, 2010
Showing with 4 additions and 2,286 deletions.
  1. +2 −2 adminviews.py
  2. +0 −24 static/ckeditor/.htaccess
  3. +0 −320 static/ckeditor/CHANGES.html
  4. +0 −92 static/ckeditor/INSTALL.html
  5. +0 −1,334 static/ckeditor/LICENSE.html
  6. +0 −109 static/ckeditor/ckeditor.js
  7. +0 −200 static/ckeditor/ckeditor.pack
  8. +0 −8 static/ckeditor/ckeditor_basic.js
  9. +0 −20 static/ckeditor/ckeditor_basic_source.js
  10. +0 −11 static/ckeditor/config.js
  11. +0 −35 static/ckeditor/contents.css
  12. BIN static/ckeditor/images/spacer.gif
  13. +0 −6 static/ckeditor/lang/en.js
  14. +0 −6 static/ckeditor/lang/zh-cn.js
  15. +0 −6 static/ckeditor/lang/zh.js
  16. +0 −8 static/ckeditor/skins/v2/dialog.css
  17. +0 −12 static/ckeditor/skins/v2/editor.css
  18. BIN static/ckeditor/skins/v2/icons.png
  19. BIN static/ckeditor/skins/v2/images/dialog_sides.gif
  20. BIN static/ckeditor/skins/v2/images/dialog_sides.png
  21. BIN static/ckeditor/skins/v2/images/dialog_sides_rtl.png
  22. BIN static/ckeditor/skins/v2/images/mini.gif
  23. BIN static/ckeditor/skins/v2/images/noimage.png
  24. BIN static/ckeditor/skins/v2/images/sprites.png
  25. BIN static/ckeditor/skins/v2/images/sprites_ie6.png
  26. BIN static/ckeditor/skins/v2/images/toolbar_start.gif
  27. +0 −6 static/ckeditor/skins/v2/skin.js
  28. +0 −6 static/ckeditor/skins/v2/templates.css
  29. +0 −7 static/ckeditor/themes/default/theme.js
  30. +1 −1 static/css/styles.css
  31. +1 −1 static/css/syntax.css
  32. +0 −30 templates/admin/category.html
  33. +0 −6 templates/admin/category_add.html
  34. +0 −6 templates/admin/category_edit.html
  35. +0 −30 templates/admin/category_list.html
View
@@ -64,8 +64,8 @@ def GET(self):
except:
page = 1
entryCount = web.ctx.orm.query(Entry).count()
- p = Pagination(entryCount, pageCount, i.page)
- entries = web.ctx.orm.query(Entry).order_by('entries.createdTime DESC')[p.start:p.start+p.limit]
+ p = Pagination(entryCount, pageCount, page)
+ entries = web.ctx.orm.query(Entry).order_by('entries.createdTime DESC')[int(p.start):int(p.start+p.limit)]
d['p'] = p
d['entries'] = entries
return render.entry_list(**d)
View
@@ -1,24 +0,0 @@
-#
-# Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
-# For licensing, see LICENSE.html or http://ckeditor.com/license
-#
-
-#
-# On some specific Linux installations you could face problems with Firefox.
-# It could give you errors when loading the editor saying that some illegal
-# characters were found (three strange chars in the beginning of the file).
-# This could happen if you map the .js or .css files to PHP, for example.
-#
-# Those characters are the Byte Order Mask (BOM) of the Unicode encoded files.
-# All FCKeditor files are Unicode encoded.
-#
-
-AddType application/x-javascript .js
-AddType text/css .css
-
-#
-# If PHP is mapped to handle XML files, you could have some issues. The
-# following will disable it.
-#
-
-AddType text/xml .xml

Large diffs are not rendered by default.

Oops, something went wrong.
@@ -1,92 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<!--
-Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
-For licensing, see LICENSE.html or http://ckeditor.com/license
--->
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
- <title>Installation Guide - CKEditor</title>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <style type="text/css">
- h3
- {
- border-bottom: 1px solid #AAAAAA;
- }
- pre
- {
- background-color: #F9F9F9;
- border: 1px dashed #2F6FAB;
- padding: 1em;
- line-height: 1.1em;
- }
- #footer hr
- {
- margin: 10px 0 15px 0;
- height: 1px;
- border: solid 1px gray;
- border-bottom: none;
- }
- #footer p
- {
- margin: 0 10px 10px 10px;
- float: left;
- }
- #footer #copy
- {
- float: right;
- }
- </style>
-</head>
-<body>
- <h1>
- CKEditor Installation Guide</h1>
- <h3>
- What&#39;s CKEditor?</h3>
- <p>
- CKEditor is a text editor to be used inside web pages. It&#39;s not a replacement
- for desktop text editors like Word or OpenOffice, but a component to be used as
- part of web applications and web sites.</p>
- <h3>
- Installation</h3>
- <p>
- Installing CKEditor is an easy task. Just follow these simple steps:</p>
- <ol>
- <li><strong>Download</strong> the latest version of the editor from our web site: <a
- href="http://ckeditor.com">http://ckeditor.com</a>. You should have already completed
- this step, but be sure you have the very latest version.</li>
- <li><strong>Extract</strong> (decompress) the downloaded file into the root of your
- web site.</li>
- </ol>
- <p>
- <strong>Note:</strong> CKEditor is by default installed in the &quot;ckeditor&quot;
- folder. You can place the files in whichever you want though.</p>
- <h3>
- Checking Your Installation
- </h3>
- <p>
- The editor comes with a few sample pages that can be used to verify that installation
- proceeded properly. Take a look at the <a href="_samples">_samples</a> directory.</p>
- <p>
- To test your installation, just call the following page at your web site:</p>
- <pre>
-http://&lt;your site&gt;/&lt;CKEditor installation path&gt;/_samples/index.html
-
-For example:
-http://www.example.com/ckeditor/_samples/index.html</pre>
- <h3>
- Documentation</h3>
- <p>
- The full editor documentation is available online at the following address:<br />
- <a href="http://docs.cksource.com/ckeditor">http://docs.cksource.com/ckeditor</a></p>
- <div id="footer">
- <hr />
- <p>
- CKEditor - The text editor for Internet - <a href="http://ckeditor.com/">http://ckeditor.com</a>
- </p>
- <p id="copy">
- Copyright &copy; 2003-2009, <a href="http://cksource.com/">CKSource</a> - Frederico
- Knabben. All rights reserved.
- </p>
- </div>
-</body>
-</html>
Oops, something went wrong.

0 comments on commit ec151d0

Please sign in to comment.