Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Update guide and readme

  • Loading branch information...
commit 8ffb89376815a38ca1358f379168c0053c973ca9 1 parent 67c2f1b
@sandeepone sandeepone authored
View
10 README
@@ -1,10 +0,0 @@
-What Is Gleez CMS?
-==================
-
-GleezCMS is a user-friendly website content management system. With GleezCMS you can easily build dynamic websites within a matter of minutes with just the click of your mouse! Maintain your web content, navigation and even limit what groups or specific users can access, from anywhere in the world with just a web browser!
-
-With an emphasis on security and functionality, GleezCMS is a professional and robust system suitable for any business or organization website. Built on the PHP programming language and the MySQL database, GleezCMS delivers superb performance on any size website.
-
-*Gleez CMS uses Kohana 3.2 as its foundational framework!*
-----------------------------------------------------------
-
View
24 README.md
@@ -1,10 +1,26 @@
-What Is Gleez CMS?
-==================
+# What Is Gleez CMS?
GleezCMS is a user-friendly website content management system. With GleezCMS you can easily build dynamic websites within a matter of minutes with just the click of your mouse! Maintain your web content, navigation and even limit what groups or specific users can access, from anywhere in the world with just a web browser!
With an emphasis on security and functionality, GleezCMS is a professional and robust system suitable for any business or organization website. Built on the PHP programming language and the MySQL database, GleezCMS delivers superb performance on any size website.
-*Gleez CMS uses Kohana 3.2 as its foundational framework!*
-----------------------------------------------------------
+## Gleez CMS uses Kohana 3.2 as its foundational framework!
+Kohana 3 is an HMVC(Hierarchical Model View Controller) framework written on PHP that lets developers create web applications easier and faster. Perhaps you've heard of the MVC architectural pattern. Frameworks like Ruby on Rails, Django, CodeIgniter, CakePHP, and many others use MVC. Kohana 3 is a little different because it is using the HMVC pattern. HMVC is deemed as the "logical" evolution of MVC. HMVC can be quickly described as an MVC that can have children MVC's.
+
+## What is Gleez then?
+
+Kohana 3 is a lean and mean framework, it does nothing else but to provide developers with libraries and simple, non-restrictive patterns that make building web applications faster and easier than many other frameworks. Gleez is simply a module for Kohana 3. It mainly provides the user interfaces(GUI) and libraries, and some additional conventions to easily manage a website system.
+
+### Gleez provides the user interface to manage many aspects of a website like the following:
+* Website Navigation and Web Pages
+* Users, User Groups, and Permissions
+* Contents or Articles for News or Blogging
+* Content Categories
+* Content Blocks or Widgets
+* Extensions, Modules or Plugins
+* Themes and Layouts
+* Other Details like SEO, Media, etc.
+
+Website: [http://gleezcms.org](http://gleezcms.org)
+Follow : [https://www.facebook.com/GleezCms](https://www.facebook.com/GleezCms)
View
162 modules/gleez/classes/dummy.php
@@ -1,162 +0,0 @@
-<?php defined('SYSPATH') OR die('No direct access allowed.');
-
- //$matches = preg_split( '/<!--\s*more\s*-->/isu', $content, 2, PREG_SPLIT_NO_EMPTY );
-
- /**
- * Generates key as protection against Session Hijacking & Fixation.
- * @access private
- * @return string
- */
- function _generate_fingerprint()
- {
- //-- We don't use the ip-adress, because this is a subject to change in most cases (proxies etc.)
- $list = array(
- 'HTTP_ACCEPT_CHARSET',
- 'HTTP_ACCEPT_ENCODING',
- 'HTTP_ACCEPT_LANGUAGE',
- 'HTTP_USER_AGENT'
- );
-
- $key = array( ACL::key() );
-
- foreach ($list as $item)
- {
- $key[] = Arr::get($_SERVER, $item);
- }
- return md5(implode("\0", $key));
- }
-
- public function issss_crawler_i2()
- {
- $agents = preg_match('/android|avantgo|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|
- ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|opera m(ob|in)i|
- palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|symbian|treo|up\.(browser|link)|
- vodafone|wap|windows (ce|phone)|xda|xiino/i', Request::$user_agent);
-
- $crawlers = preg_match('/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|
- ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|
- attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|
- c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|
- dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|
- esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|
- hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|
- hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|
- ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |
- kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|e\-|e\/|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|
- ma(te|ui|xo)|
- mc(01|21|ca)|m\-cr|me(di|rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|
- de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|
- ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|
- p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|
- po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|
- qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|
- sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|
- sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
- sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|
- tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|
- veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|
- w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|xda(\-|2|g)|yas\-|
- your|zeto|zte\-/i',substr(Request::$user_agent,0,4));
- }
-
- /**
- * try to get the content of a file.
- * it looks in different locations;
- * - absolute path
- * - APPPATH
- * - MODPATH
- * - external url
- * - local url
- *
- * @access protected
- * @param string $file
- * @return string the file content
- */
- protected static function _get_file_contents1111($file)
- {
- // is the path absolute?
- if (file_exists($file))
- {
- $contents = file_get_contents($file);
- }
- // or could I find it in the theme folder?
- elseif (file_exists(THEMEPATH . $file))
- {
- $contents = file_get_contents(THEMEPATH .$file);
- }
- // or application folder?
- elseif (file_exists(APPPATH . $file))
- {
- $contents = file_get_contents(APPPATH .$file);
- }
- // or could I find it in the module folder?
- elseif (file_exists(MODPATH . $file))
- {
- $contents = file_get_contents(MODPATH .$file);
- }
- // is it a valid url aka url to a external file?
- elseif (Valid::URL($file))
- {
- $contents = file_get_contents($file);
- }
- // or is it a url to local file?
- elseif (Valid::URL(URL::site($file, true)))
- {
- $contents = file_get_contents(URL::site($file, true));
- }
- // I'm sorry, couldn't find the file
- else
- {
- throw new Kohana_Exception(":file not found", array(':file' => $file));
- }
-
- // replace all %route_key% to correct uri
- foreach (Route::all() as $key => $value)
- {
- $contents = str_ireplace("%" . $key . "%", Route::url($key), $contents);
- }
-
- return $contents;
- }
-
- /*
- ALTER TABLE `posts` ADD `moderate` TINYINT NOT NULL DEFAULT '0' AFTER `promote`;
- ALTER TABLE `post_versions` ADD `moderate` TINYINT NOT NULL DEFAULT '0' AFTER `promote`;
- ALTER TABLE `widgets` ADD `cache` TINYINT NOT NULL DEFAULT '0' AFTER `weight`;
- ALTER TABLE `terms` ADD `type` varchar(64) NOT NULL DEFAULT 'post' AFTER `image`;
- ALTER TABLE `posts` ADD `lang` VARCHAR( 12 ) NOT NULL DEFAULT 'en';
- ALTER TABLE `post_versions` ADD `lang` VARCHAR( 12 ) NOT NULL DEFAULT 'en';
- ALTER TABLE `widgets` DROP `type`, DROP `iscore`;
- ALTER TABLE `widgets` ADD `delta` VARCHAR( 255 ) NULL DEFAULT NULL AFTER `module`;
- ALTER TABLE `widgets` ADD `body` LONGTEXT NULL DEFAULT NULL, ADD `format` VARCHAR( 255 ) NULL DEFAULT NULL;
- DROP TABLE `widgets_static`;
- ALTER TABLE `widgets` CHANGE `module` `module` VARCHAR( 64 ) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ,
- CHANGE `theme` `theme` VARCHAR( 64 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ,
- CHANGE `region` `region` VARCHAR( 64 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT '-1',
- CHANGE `format` `format` VARCHAR( 64 ) CHARACTER SET utf8 COLLATE utf8_general_ci NULL DEFAULT NULL ;
- ALTER TABLE `widgets` CHANGE `format` `format` TINYINT( 1 ) NOT NULL DEFAULT '1';
- */
-
- /*
- //$graph_url = "https://www.googleapis.com/userinfo/email?access_token=" . $this->token;
- //$graph_url = "https://www.google.com/m8/feeds/contacts/default/full?access_token=" . $this->token;
- //$graph_url = "http://www-opensocial.googleusercontent.com/api/people/@me/@self?access_token=" . $this->token;
- //$graph_url = "https://www.google.com/m8/feeds/profiles/domain/google.com/full?access_token=" . $this->token;
- //$graph_url = "https://www.googleapis.com/oauth2/v1/userinfo?alt=json&access_token=" . $this->token;
- //$graph_url = "https://www.googleapis.com/plus/v1/people/me?access_token=" . $this->token;
- */
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
View
2  modules/gleez/guide/gleez/gleez.introduction.md
@@ -53,5 +53,7 @@ Gleez provides the user interface to manage many aspects of a website like the f
* s7nCMS [(http://code.google.com/p/s7ncms/)](http://code.google.com/p/s7ncms/)
* Kohanut [(http://kohanut.com/)](http://kohanut.com/)
* Wordpress [(http://wordpress.org)](http://wordpress.org)
+* Bootstrap Twitter [(http://twitter.github.com/bootstrap/)](http://twitter.github.com/bootstrap/)
+* jQuery [(http://jquery.com/)](http://jquery.com/)
We've lifted some codes from these applications and felt this is palce for giving credit to them as demanded!
View
2  modules/gleez/guide/gleez/index.md
@@ -15,4 +15,4 @@ But creating this CMS quickly would have been nearly impossible without its foun
* **Designers** will love it because its theming system is just simple HTML and PHP just like Joomla's.
-#####Status as of March 31, 2011: **5%**
+#####Status as of March 31, 2012: **95%**
Please sign in to comment.
Something went wrong with that request. Please try again.