Ejemplo n.º 1
0
<?php

defined('_JEXEC') || die('=;)');
/**
 * @package       EasyCreator
 * @subpackage    Views
 * @author        Nikolai Plath
 * @author        Created on 14-Oct-2009
 * @license       GNU/GPL, see JROOT/LICENSE.php
 */
ecrScript('templates');
echo EcrHelp::help(jgettext('Select a template package to import'), EcrHelp::ALL, 'ecrBigInfo');
?>

<h1><?php 
echo jgettext('Install templates');
?>
</h1>

<div class="ecr_floatbox">
    <form enctype="multipart/form-data" action="index.php" method="post" name="installForm">
        <div>
            <label class="inline" for="install_package"><?php 
echo jgettext('Package File');
?>
</label>

            <input class="input_box" id="install_package" name="install_package" type="file" size="57"/>

            <input class="btn btn-success btn-large" type="button" value="<?php 
echo jgettext('Upload and install package');
Ejemplo n.º 2
0
<?php

defined('_JEXEC') || die('=;)');
/**
 * @package    EasyCreator
 * @subpackage Views
 * @author     Nikolai Plath
 * @author     Created on 14-Oct-2009
 * @license    GNU/GPL, see JROOT/LICENSE.php
 */
$templateList = EcrProjectTemplateHelper::getTemplateList();
echo EcrHelp::help(jgettext('Select the templates to export'), EcrHelp::ALL, 'ecrBigInfo');
?>

<h1><?php 
echo jgettext('Export templates');
?>
</h1>

<div class="btn btn-success btn-large" onclick="submitbutton('do_export');">
    <i class="img icon16-ecr_save"></i>
    <?php 
echo jgettext('Export');
?>
</div>

<div style="clear: both;"></div>

<?php 
foreach ($templateList as $group => $templates) {
    echo '<div class="ecr_floatbox">';