コード例 #1
0
echo jgettext('Create index.html files');
?>
</label>
    <br/>

    <input type="checkbox" name="buildopts[]" id="createMD5"
        <?php 
echo $preset->createMD5 == 'ON' ? ' checked="checked"' : '';
?>
           value="createMD5"/>
    <label class="inline" for="createMD5"><?php 
echo jgettext('Create MD5 checksum file');
?>
</label>
    <br/>
    &nbsp;&nbsp;&nbsp;|__<input type="checkbox" name="buildopts[]" id="createMD5Compressed"
        <?php 
echo $preset->createMD5Compressed == 'ON' ? ' checked="checked"' : '';
?>
                                value="createMD5Compressed"/>
    <label class="inline" for="createMD5Compressed">
        <?php 
echo jgettext('Compress checksum file');
?>
    </label>

    <?php 
echo EcrHelp::info(jgettext('This will do a small compression on your checksum file'), jgettext('Compress checksum file'));
?>
</p>
コード例 #2
0
$buildPath = $this->project->getZipPath();
?>

<div class="infoHeader img icon16-installfolder"><?php 
echo jgettext('Build folder');
?>
</div>

<div class="customPath">
    <span id="buildFolder"><?php 
echo JPath::clean($buildPath);
?>
</span>
    <?php 
echo DS . '&nbsp;' . $this->project->version;
?>
</div>

<?php 
echo EcrHelp::info(jgettext('The folder where your final package ends up. The folders extension_name and version will be added automatically.' . '<br />' . 'If left blank the default folder will be used.'), jgettext('Build folder'));
?>

<?php 
if (false == JFolder::exists($buildPath . DS . $this->project->version)) {
    //-- The build folder does not exist - let's create it
    if (JFolder::create($buildPath . DS . $this->project->version)) {
        EcrHtml::message(jgettext('The folder has been created'));
    } else {
        EcrHtml::message(array(jgettext('Unable to create the build folder - please check !'), $buildPath . DS . $this->project->version), 'error');
    }
}
コード例 #3
0
</div>

<div class="customPath">
    <?php 
echo $this->project->comName;
?>
<span id="ajName"></span>.zip
</div>

<strong><?php 
echo jgettext('Custom name format');
?>
</strong>

<?php 
echo EcrHelp::info(jgettext('Use:<br />*VERSION*<br />*VCSREV*<br />*DATETIMExxxx*'), jgettext('Custom name format'));
?>

<br/>
<input type="radio" name="opt_format" id="custom_name_1" class="custom_opt" checked="checked"
       value="<?php 
echo $buildOpts->get('custom_name_1');
?>
"
       onclick="<?php 
echo $javascript;
?>
"
    />
<label class="inline filename" id="lbl_custom_name_1" for="custom_name_1">
    <?php 
コード例 #4
0
?>


        <label class="inline" for="sel_event">
            <?php 
echo jgettext('Event');
?>
        </label>
        <select class="span7" id="sel_event" name="event">
            <option value="precopy">Pre Copy</option>
            <option value="postcopy">Post Copy</option>
            <option value="postbuild">Post Build</option>
        </select>

        <div class="btn-toolbar">
            <div class="btn" onclick="Stuffer.newAction(this);">
                <i class="img icon16-add"></i>
                <?php 
echo jgettext('Add Action');
?>
            </div>
        </div>

        <?php 
echo EcrHelp::info('${temp_dir}<br />${j_root}', jgettext('Available replacements'));
?>

    </fieldset>

</div>