Skip to content

Commit 51ab55b

Browse files
committed
New files from master Bootstrap
1 parent f184cdf commit 51ab55b

32 files changed

+11363
-1
lines changed

apple-touch-icon-114x114.png

287 Bytes
Loading

apple-touch-icon-57x57.png

174 Bytes
Loading

apple-touch-icon-72x72.png

208 Bytes
Loading

component.php

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
/*------------------------------------------------------------------------
3+
# author your name or company
4+
# copyright Copyright (C) 2011 example.com. All rights reserved.
5+
# @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
6+
# Website http://www.example.com
7+
-------------------------------------------------------------------------*/
8+
9+
defined( '_JEXEC' ) or die;
10+
11+
// variables
12+
$tpath = $this->baseurl.'/templates/'.$this->template;
13+
$this->setGenerator(null);
14+
15+
?><!doctype html>
16+
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
17+
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
18+
<!--[if gt IE 8]><!--> <html class="no-js" lang="<?php echo $this->language; ?>"> <!--<![endif]-->
19+
20+
<head>
21+
<jdoc:include type="head" />
22+
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- mobile viewport optimized -->
23+
<link rel="apple-touch-icon-precomposed" href="<?php echo $tpath; ?>/apple-touch-icon-57x57.png"> <!-- iphone, ipod, android -->
24+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo $tpath; ?>/apple-touch-icon-72x72.png"> <!-- ipad -->
25+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo $tpath; ?>/apple-touch-icon-114x114.png"> <!-- iphone retina -->
26+
<link href="<?php echo $tpath; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <!-- favicon -->
27+
<link href="<?php echo $tpath; ?>/css/print.css?v=1" rel="stylesheet" type="text/css" /> <!-- stylesheet -->
28+
<script src="<?php echo $tpath; ?>/js/modernizr.js"></script> <!-- modernizr -->
29+
</head>
30+
31+
<body id="print">
32+
<div id="overall">
33+
<jdoc:include type="message" />
34+
<jdoc:include type="component" />
35+
</div>
36+
<?php if ($_GET['print'] == '1') echo '<script type="text/javascript">window.print();</script>'; ?>
37+
</body>
38+
39+
</html>

error.php

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,97 @@
1+
<?php
2+
3+
/*------------------------------------------------------------------------
4+
# author Gonzalo Suez
5+
# copyright Copyright © 2012 gsuez.cl. All rights reserved.
6+
# @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
7+
# Website http://www.gsuez.cl
8+
-------------------------------------------------------------------------*/
9+
10+
defined( '_JEXEC' ) or die;
11+
12+
// variables
13+
14+
$tpath = $this->baseurl.'/templates/'.$this->template;
15+
16+
17+
18+
?><!doctype html>
19+
20+
<!--[if IEMobile]><html class="iemobile" lang="<?php echo $this->language; ?>"> <![endif]-->
21+
22+
<!--[if IE 7]> <html class="no-js ie7 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
23+
24+
<!--[if IE 8]> <html class="no-js ie8 oldie" lang="<?php echo $this->language; ?>"> <![endif]-->
25+
26+
<!--[if gt IE 8]><!--> <html class="no-js" lang="<?php echo $this->language; ?>"> <!--<![endif]-->
27+
28+
29+
30+
<head>
31+
32+
<title><?php echo $this->error->getCode().' - '.$this->title; ?></title>
33+
34+
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;" /> <!-- mobile viewport optimized -->
35+
36+
<link rel="stylesheet" href="<?php echo $tpath; ?>/css/error.css?v=1.0.0" type="text/css" />
37+
38+
<link rel="apple-touch-icon-precomposed" href="<?php echo $tpath; ?>/apple-touch-icon-57x57.png"> <!-- iphone, ipod, android -->
39+
40+
<link rel="apple-touch-icon-precomposed" sizes="72x72" href="<?php echo $tpath; ?>/apple-touch-icon-72x72.png"> <!-- ipad -->
41+
42+
<link rel="apple-touch-icon-precomposed" sizes="114x114" href="<?php echo $tpath; ?>/apple-touch-icon-114x114.png"> <!-- iphone retina -->
43+
44+
<link href="<?php echo $tpath; ?>/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon" /> <!-- favicon -->
45+
46+
<script src="<?php echo $tpath; ?>/js/modernizr-2.6.2.js" type="text/javascript"></script>
47+
48+
</head>
49+
50+
51+
52+
<body>
53+
54+
<div align="center">
55+
56+
<div id="error">
57+
58+
<h1 align="center"><a href="<?php echo $this->baseurl; ?>/" class="ihrlogo">IhrLogo</a></h1>
59+
60+
<?php
61+
62+
echo $this->error->getCode().' - '.$this->error->getMessage();
63+
64+
if (($this->error->getCode()) == '404') {
65+
66+
echo '<br />';
67+
68+
echo JText::_('JERROR_LAYOUT_REQUESTED_RESOURCE_WAS_NOT_FOUND');
69+
70+
}
71+
72+
?>
73+
74+
<p><?php echo JText::_('JERROR_LAYOUT_GO_TO_THE_HOME_PAGE'); ?>:
75+
76+
<a href="<?php echo $this->baseurl; ?>/"><?php echo JText::_('JERROR_LAYOUT_HOME_PAGE'); ?></a>.</p>
77+
78+
<?php // render module mod_search
79+
80+
$module = new stdClass();
81+
82+
$module->module = 'mod_search';
83+
84+
echo JModuleHelper::renderModule($module);
85+
86+
?>
87+
88+
</div>
89+
90+
</div>
91+
92+
</body>
93+
94+
95+
96+
</html>
97+

favicon.ico

1.12 KB
Binary file not shown.

html/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><title></title>

html/mod_custom/default.php

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?php
2+
/*------------------------------------------------------------------------
3+
# author Gonzalo Suez
4+
# copyright Copyright © 2012 gsuez.cl. All rights reserved.
5+
# @license http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
6+
# Website http://www.gsuez.cl
7+
-------------------------------------------------------------------------*/
8+
9+
// no direct access
10+
defined('_JEXEC') or die;
11+
?>
12+
<div class="moduletable <?php if ($params->get('moduleclass_sfx')!='') : ?><?php echo $params->get('moduleclass_sfx'); ?><?php endif; ?>">
13+
<div class="block">
14+
<?php if ($module->showtitle != 0) : ?>
15+
<div class="module-title">
16+
<h3 class="title"><?php echo $module->title; ?></h3>
17+
</div>
18+
<?php endif; ?>
19+
<div class="modulcontent"><?php echo $module->content; ?></div>
20+
</div>
21+
</div>

html/mod_custom/index.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!DOCTYPE html><title></title>

html/mod_login/default.php

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<?php
2+
/**
3+
* @package Joomla.Site
4+
* @subpackage mod_login
5+
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
6+
* @license GNU General Public License version 2 or later; see LICENSE.txt
7+
*/
8+
9+
// no direct access
10+
defined('_JEXEC') or die;
11+
JHtml::_('behavior.keepalive');
12+
?>
13+
<div class="moduletable <?php if ($params->get('moduleclass_sfx')!='') : ?><?php echo $params->get('moduleclass_sfx'); ?><?php endif; ?>">
14+
<div class="block">
15+
<?php if ($module->showtitle != 0) : ?>
16+
<div class="module-title">
17+
<h3 class="title"><?php echo $module->title; ?></h2>
18+
</div>
19+
<?php endif; ?>
20+
<?php if ($type == 'logout') : ?>
21+
22+
<form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="login-form" class="form-horizontal">
23+
<?php if ($params->get('greeting')) : ?>
24+
<div class="login-greeting">
25+
<?php if($params->get('name') == 0) : {
26+
echo JText::sprintf('MOD_LOGIN_HINAME', $user->get('name'));
27+
} else : {
28+
echo JText::sprintf('MOD_LOGIN_HINAME', $user->get('username'));
29+
} endif; ?>
30+
</div>
31+
<?php endif; ?>
32+
<div class="logout-button">
33+
<input type="submit" name="Submit" class="button btn btn-primary" value="<?php echo JText::_('JLOGOUT'); ?>" />
34+
<input type="hidden" name="option" value="com_users" />
35+
<input type="hidden" name="task" value="user.logout" />
36+
<input type="hidden" name="return" value="<?php echo $return; ?>" />
37+
<?php echo JHtml::_('form.token'); ?> </div>
38+
</form>
39+
<?php else : ?>
40+
<form action="<?php echo JRoute::_('index.php', true, $params->get('usesecure')); ?>" method="post" id="login-form">
41+
<?php if ($params->get('pretext')): ?>
42+
<div class="pretext">
43+
<p><?php echo $params->get('pretext'); ?></p>
44+
</div>
45+
<?php endif; ?>
46+
<fieldset class="userdata">
47+
<div id="form-login-username">
48+
<label for="modlgn-username"><?php echo JText::_('MOD_LOGIN_VALUE_USERNAME') ?></label>
49+
<input id="modlgn-username" type="text" name="username" class="inputbox input-medium" size="18" />
50+
</div>
51+
<div id="form-login-password">
52+
<label for="modlgn-passwd"><?php echo JText::_('JGLOBAL_PASSWORD') ?></label>
53+
<input id="modlgn-passwd" type="password" name="password" class="inputbox input-medium" size="18" />
54+
</div>
55+
<?php if (JPluginHelper::isEnabled('system', 'remember')) : ?>
56+
<div id="form-login-remember" class="control-group">
57+
<label class="checkbox" for="modlgn-remember"> <?php echo JText::_('MOD_LOGIN_REMEMBER_ME') ?>
58+
<input id="modlgn-remember" type="checkbox" name="remember" class="inputbox" value="yes"/>
59+
</label>
60+
</div>
61+
<?php endif; ?>
62+
<input type="submit" name="Submit" class="button btn btn-primary" value="<?php echo JText::_('JLOGIN') ?>" />
63+
<input type="hidden" name="option" value="com_users" />
64+
<input type="hidden" name="task" value="user.login" />
65+
<input type="hidden" name="return" value="<?php echo $return; ?>" />
66+
<?php echo JHtml::_('form.token'); ?>
67+
</fieldset>
68+
<ul class="nav nav-list">
69+
<li> <a href="<?php echo JRoute::_('index.php?option=com_users&view=reset'); ?>"> <?php echo JText::_('MOD_LOGIN_FORGOT_YOUR_PASSWORD'); ?></a> </li>
70+
<li> <a href="<?php echo JRoute::_('index.php?option=com_users&view=remind'); ?>"> <?php echo JText::_('MOD_LOGIN_FORGOT_YOUR_USERNAME'); ?></a> </li>
71+
<?php
72+
$usersConfig = JComponentHelper::getParams('com_users');
73+
if ($usersConfig->get('allowUserRegistration')) : ?>
74+
<li> <a href="<?php echo JRoute::_('index.php?option=com_users&view=registration'); ?>"> <?php echo JText::_('MOD_LOGIN_REGISTER'); ?></a> </li>
75+
<?php endif; ?>
76+
</ul>
77+
<?php if ($params->get('posttext')): ?>
78+
<div class="posttext">
79+
<p><?php echo $params->get('posttext'); ?></p>
80+
</div>
81+
<?php endif; ?>
82+
</form>
83+
</div>
84+
</div>
85+
<?php endif; ?>

0 commit comments

Comments
 (0)