Skip to content
This repository has been archived by the owner on Jan 6, 2019. It is now read-only.

Commit

Permalink
initial release
Browse files Browse the repository at this point in the history
  • Loading branch information
labby committed Dec 13, 2014
1 parent 8153f34 commit 72eefb2
Show file tree
Hide file tree
Showing 35 changed files with 28,870 additions and 2 deletions.
23 changes: 21 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,23 @@
lib_semantic
###lib_semantic
============

semantic framework as a library for LEPTON
Semantic framework as a library for Content Management Systems [LEPTON CMS][1]<br />
For details please see: http://semantic-ui.com/

#### Requirements

* [LEPTON CMS][1]

#### Installation

* download latest [lib_semantic.zip] [2] installation archive
* in CMS backend select the file from "Add-ons" -> "Modules" -> "Install module"

#### First Steps

Go to http://semantic-ui.com/ and see what to do

[1]: http://lepton-cms.org "LEPTON CMS"
[2]: http://www.lepton-cms.com/lepador/libraries/lib_semantic.php


34 changes: 34 additions & 0 deletions index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php

/**
* @module Library Semantic
* @version see info.php of this module
* @author cms-lab
* @copyright 2014-2015 CMS-LAB
* @license http://opensource.org/licenses/MIT
* @license terms see info.php of this template
* @platform see info.php of this template
*/

// include class.secure.php to protect this file and the whole CMS!
if (defined('LEPTON_PATH')) {
include(LEPTON_PATH.'/framework/class.secure.php');
} else {
$oneback = "../";
$root = $oneback;
$level = 1;
while (($level < 10) && (!file_exists($root.'/framework/class.secure.php'))) {
$root .= $oneback;
$level += 1;
}
if (file_exists($root.'/framework/class.secure.php')) {
include($root.'/framework/class.secure.php');
} else {
trigger_error(sprintf("[ <b>%s</b> ] Can't include class.secure.php!", $_SERVER['SCRIPT_NAME']), E_USER_ERROR);
}
}
// end include class.secure.php



?>
47 changes: 47 additions & 0 deletions info.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php

/**
* @module Library Semantic
* @version see info.php of this module
* @author cms-lab
* @copyright 2014-2015 CMS-LAB
* @license http://opensource.org/licenses/MIT
* @license terms see info.php of this template
* @platform see info.php of this template
*/

// include class.secure.php to protect this file and the whole CMS!
if (defined('LEPTON_PATH')) {
include(LEPTON_PATH.'/framework/class.secure.php');
} else {
$oneback = "../";
$root = $oneback;
$level = 1;
while (($level < 10) && (!file_exists($root.'/framework/class.secure.php'))) {
$root .= $oneback;
$level += 1;
}
if (file_exists($root.'/framework/class.secure.php')) {
include($root.'/framework/class.secure.php');
} else {
trigger_error(sprintf("[ <b>%s</b> ] Can't include class.secure.php!", $_SERVER['SCRIPT_NAME']), E_USER_ERROR);
}
}
// end include class.secure.php



$module_directory = 'lib_semantic';
$module_name = 'Semantic Library';
$module_function = 'library';
$module_version = '1.0.1.0';
$module_platform = '2.x';
$module_delete = true;
$module_author = 'cms-lab';
$module_license = 'http://opensource.org/licenses/MIT';
$module_license_terms = '-';
$module_description = 'This module installs basic files Semantic (http://semantic-ui.com).';
$module_guid = 'd5423456-645e-452a-a8be-0d072a29e081';
$module_home = 'http://www.cms-lab.com';

?>
35 changes: 35 additions & 0 deletions install.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?php

/**
* @module Library Semantic
* @version see info.php of this module
* @author cms-lab
* @copyright 2014-2015 CMS-LAB
* @license http://opensource.org/licenses/MIT
* @license terms see info.php of this template
* @platform see info.php of this template
*/

// include class.secure.php to protect this file and the whole CMS!
if (defined('LEPTON_PATH')) {
include(LEPTON_PATH.'/framework/class.secure.php');
} else {
$oneback = "../";
$root = $oneback;
$level = 1;
while (($level < 10) && (!file_exists($root.'/framework/class.secure.php'))) {
$root .= $oneback;
$level += 1;
}
if (file_exists($root.'/framework/class.secure.php')) {
include($root.'/framework/class.secure.php');
} else {
trigger_error(sprintf("[ <b>%s</b> ] Can't include class.secure.php!", $_SERVER['SCRIPT_NAME']), E_USER_ERROR);
}
}
// end include class.secure.php




?>
32 changes: 32 additions & 0 deletions library.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?php

/**
* @module Library Semantic
* @version see info.php of this module
* @author cms-lab
* @copyright 2014-2015 CMS-LAB
* @license http://opensource.org/licenses/MIT
* @license terms see info.php of this template
* @platform see info.php of this template
*/

// include class.secure.php to protect this file and the whole CMS!
if (defined('LEPTON_PATH')) {
include(LEPTON_PATH.'/framework/class.secure.php');
} else {
$oneback = "../";
$root = $oneback;
$level = 1;
while (($level < 10) && (!file_exists($root.'/framework/class.secure.php'))) {
$root .= $oneback;
$level += 1;
}
if (file_exists($root.'/framework/class.secure.php')) {
include($root.'/framework/class.secure.php');
} else {
trigger_error(sprintf("[ <b>%s</b> ] Can't include class.secure.php!", $_SERVER['SCRIPT_NAME']), E_USER_ERROR);
}
}
// end include class.secure.php

?>
7 changes: 7 additions & 0 deletions semantic/LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# The MIT License

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
34 changes: 34 additions & 0 deletions semantic/css/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?php

/**
* @module Library Semantic
* @version see info.php of this module
* @author cms-lab
* @copyright 2014-2015 CMS-LAB
* @license http://opensource.org/licenses/MIT
* @license terms see info.php of this template
* @platform see info.php of this template
*/

// include class.secure.php to protect this file and the whole CMS!
if (defined('LEPTON_PATH')) {
include(LEPTON_PATH.'/framework/class.secure.php');
} else {
$oneback = "../";
$root = $oneback;
$level = 1;
while (($level < 10) && (!file_exists($root.'/framework/class.secure.php'))) {
$root .= $oneback;
$level += 1;
}
if (file_exists($root.'/framework/class.secure.php')) {
include($root.'/framework/class.secure.php');
} else {
trigger_error(sprintf("[ <b>%s</b> ] Can't include class.secure.php!", $_SERVER['SCRIPT_NAME']), E_USER_ERROR);
}
}
// end include class.secure.php



?>
Loading

0 comments on commit 72eefb2

Please sign in to comment.