Created
March 21, 2012 16:34
-
-
Save h4/2149360 to your computer and use it in GitHub Desktop.
Шаблоны Joomla
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<jdoc:include type="head" /> | |
</head> | |
<body> | |
<jdoc:include type="component" /> | |
</body> | |
</html> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
defined('_JEXEC') or die('Доступ запрещён'); | |
$templateUrl = $this->baseurl . '/templates/' . $this->template; | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<title>Простой шаблон</title> | |
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<img src="<?php echo $templateUrl; ?>/i/logo.png" alt="" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($this->countModules( 'user1' )) { | |
print "Есть модули в области user1"; | |
} | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
if ($this->countModules( 'right' )) { | |
?> | |
<body> | |
<?php | |
} else { | |
?> | |
<body class="twocolumn"> | |
<?php | |
} | |
?> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd"> | |
<extension version="2.5" type="template" client="site"> | |
<name>Primitive</name> | |
<version>1.0</version> | |
<creationDate>2012</creationDate> | |
<author>Mikhail Baranov</author> | |
<authorEmail>[email protected]</authorEmail> | |
<authorUrl></authorUrl> | |
<copyright></copyright> | |
<license></license> | |
<description>Учебная тема Joomla</description> | |
</extension> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<!DOCTYPE install PUBLIC "-//Joomla! 2.5//DTD template 1.0//EN" "http://www.joomla.org/xml/dtd/1.6/template-install.dtd"> | |
<extension version="2.5" type="template" client="site"> | |
<name>Primitive</name> | |
<version>1.0</version> | |
<creationDate>2012</creationDate> | |
<author>Mikhail Baranov</author> | |
<authorEmail>[email protected]</authorEmail> | |
<authorUrl></authorUrl> | |
<copyright></copyright> | |
<license></license> | |
<description>Учебная тема Joomla</description> | |
<positions> | |
<position>left</position> | |
<position>right</position> | |
<position>top</position> | |
<position>breadcrumb</position> | |
<position>user1</position> | |
<position>user2</position> | |
<position>user3</position> | |
<position>user4</position> | |
<position>debug</position> | |
<position>syndicate</position> | |
</positions> | |
</extension> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<files> | |
<filename>css/style.css</filename> | |
<filename>i/logo.png</filename> | |
<filename>index.php</filename> | |
<filename>templateDetails.xml</filename> | |
<filename>template_thumbnail.png</filename> | |
</files> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<params> | |
<param | |
name="templateColour" | |
type="list" | |
default="white" | |
label="Цвет фона" | |
description="Укажите цвет фона."> | |
<option value="White">Белый</option> | |
<option value="red">Красный</option> | |
<option value="green">Зеленый</option> | |
<option value="blue">blue</option> | |
</param> | |
</params> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment