logo


UNITEOS ASD Neverending OS


Translate with Google Translate
๐Ÿ‡ฌ๐Ÿ‡ง๐Ÿ‡ฆ๐Ÿ‡ฑ๐Ÿ‡ธ๐Ÿ‡ฆ๐Ÿ‡ง๐Ÿ‡ท๐Ÿ‡ง๐Ÿ‡ฌ๐Ÿ‡จ๐Ÿ‡ฆ
๐Ÿ‡ฐ๐Ÿ‡ญ๐Ÿ‡จ๐Ÿ‡ณ๐Ÿ‡ญ๐Ÿ‡ท๐Ÿ‡จ๐Ÿ‡ฟ๐Ÿ‡ช๐Ÿ‡ช๐Ÿ‡ฉ๐Ÿ‡ฐ
๐Ÿ‡ซ๐Ÿ‡ฎ๐Ÿ‡ซ๐Ÿ‡ท๐Ÿ‡ฉ๐Ÿ‡ช๐Ÿ‡ฌ๐Ÿ‡ท๐Ÿ‡ฌ๐Ÿ‡ฑ๐Ÿ‡ฎ๐Ÿ‡ณ
๐Ÿ‡ญ๐Ÿ‡บ๐Ÿ‡ฎ๐Ÿ‡ท๐Ÿ‡ฎ๐Ÿ‡ช๐Ÿ‡ฎ๐Ÿ‡ฑ๐Ÿ‡ฎ๐Ÿ‡น๐Ÿ‡ฏ๐Ÿ‡ฒ
๐Ÿ‡ฏ๐Ÿ‡ต๐Ÿ‡ฐ๐Ÿ‡ท๐Ÿ‡ฒ๐Ÿ‡พ๐Ÿ‡ณ๐Ÿ‡ฑ๐Ÿ‡ณ๐Ÿ‡ด๐Ÿ‡ต๐Ÿ‡ญ
๐Ÿ‡ต๐Ÿ‡ฑ๐Ÿ‡ท๐Ÿ‡ด๐Ÿ‡ท๐Ÿ‡บ๐Ÿ‡ท๐Ÿ‡ธ๐Ÿ‡ธ๐Ÿ‡ฐ๐Ÿ‡ธ๐Ÿ‡ฎ
๐Ÿ‡ช๐Ÿ‡ธ๐Ÿ‡ธ๐Ÿ‡ช๐Ÿ‡น๐Ÿ‡ญ๐Ÿ‡น๐Ÿ‡ท๐Ÿ‡บ๐Ÿ‡ฆ๐Ÿ‡ป๐Ÿ‡ณ

Welcome to UNITEOS ASD GNU/Linux. UNITEOS is the acronym of Unified Never-ending Integrated Technology Envolving Operative System. ASD homages Alberto Santos Dumont. It is a Rolling GNU/Linux easy-to-use professional desktop OS. It has been designed and realized according to user-centric, privacy, security and easiness criteria. It aims to satisfy the exigiencies of most demanding professional, business, and private everyday users. It is based on Debian Testing and Kali Rolling Linux Releases, and adopts system tools from Mint LMDE and MX Linux. It develops the "Design a Vivre" UI, which transforms XFCE UI according to ergonomy, functional design and constructal law, and maximizes accessibility and ease-of-use.

Documentation

Theming

Themes are located on the /theme folder and the main template file is the รฌndex.html HTML file. Variables are placed using the double curly bracket syntax {{ $variable_name }} i.e: in order to print the page title you'll put the folliwing code in the html template: {{ $_CMS['page']['title'] }}

Variables

All the elements that you can use when theming your website using Weasel CMS data are encapsulated in an array called $_CMS, this array has got the following variables within it.

  • $_CMS['site'] :

    • ['site_language'] ISO 639-1 Language Code, usually the two letter identifier like: EN, ES, FR ...
    • ['site_title'] : Returns the current weather in Beijing, China ... nah, it's actually the Site Title.
    • ['site_description'] : mainly for seo purposes
    • ['site_keywords'] : Same as above.
    • ['path] : base directory ( dirname($_SERVER['PHP_SELF']) )
    • ['url] : url where the website resides ( HTTP_HOST + path )
  • $_CMS['pages'] : Variable containing all the data of every page in case you want to loop over it. Each page contains the following properties described below on the $_PAGE variable.

  • $_CMS['page'] :

    • ['title'] The page title
    • ['description'] Short description of the page
    • ['content'] This is stored as Markdown but it returns the parsed HTML code of the pages content
    • ['tags'] Comma separated tag values
    • ['datetime'] machine-readable date/time in the form : 1914-12-20 08:30:45
    • ['timedate'] Verbose time-date returned by default in the form (i.e) : Thursday 12th of February 2009 @ 04:25 AM ( Date: l jS \of F Y @ h:i A )
    • ['link'] Returns the full url friendly link of the page in case mod_rewite exists on the Apache modules or the link with a url get variable in case it doesn't ?p=url-slug
    • ['slug'] the slug defined on the admin area.
  • $_CMS['is_page'] : Boolean returns if it is a page or not ( Useful to filter the index/home page )
  • $_CMS['menu'] : Retuns an HTML unordered list with all the active pages linked to their pages. With an active class on the current element ( class="active" )
  • $_CMS['prev_page'] full url friendly link to the previous page if exists, otherwise will return a link to the site url.
  • $_CMS['next_page'] full url friendly link to the next page if exists, otherwise will return a link to the site url.
  • $_CMS['is_404'] : Boolean returning if the page is a 404 not found file.

Adding extra variables

On the config.php file, you can add more 'key' => 'value' items to the returned array so you can access to them later on the main template. They will be encapsulated in the parent array $_CMS['site']

For example, by adding at the end of the config array the new pair : 'my_var' => 'my_value'

<?php return array (
  'user' => 'weasel',
  'pass' => 'weaselcms',
  'db' => 'data.dat',
  'site_language' => 'en',
  ...
  'files_folder' => '../files',
  'my_var' => 'my_value',
);

You can later call it by using the bracket syntax : {{ $_CMS['site']['my_var'] }}