Changeset 485 for trunk/bin


Ignore:
Timestamp:
Aug 14, 2014 8:29:47 AM (10 years ago)
Author:
anonymous
Message:

Small bugs fixed while doing SBImedia

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/module_maker/form_template.cli.php

    r468 r485  
    55 * For details visit the project site: <http://trac.strangecode.com/codebase/>
    66 * Copyright 2001-2012 Strangecode, LLC
    7  * 
     7 *
    88 * This file is part of The Strangecode Codebase.
    99 *
     
    1212 * Free Software Foundation, either version 3 of the License, or (at your option)
    1313 * any later version.
    14  * 
     14 *
    1515 * The Strangecode Codebase is distributed in the hope that it will be useful, but
    1616 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    1717 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
    1818 * details.
    19  * 
     19 *
    2020 * You should have received a copy of the GNU General Public License along with
    2121 * The Strangecode Codebase. If not, see <http://www.gnu.org/licenses/>.
     
    8282        if (preg_match('/.*_id$/i', $field)) {
    8383            $output[$field] = <<<E_O_F
    84            
     84
    8585<div class="sc-form-row<\x3fphp \$fv->err('$field'); \x3f>">
    8686    <label for="$field"><\x3fphp echo _("$title"); \x3f></label>
     
    101101    <input type="file" name="$field" id="$field" />
    102102    <\x3fphp if ('' != \$upload->getFilenameGlob(getFormData('$primary_key') . '_*') && getFormData('op') == 'edit' || getFormData('op') == 'update') { \x3f>
    103         <div class="sc-help"><\x3fphp printf(_("The current file <a href=\"%s/%2\\\$s\"><strong>%2\\\$s</strong></a> will be deleted if a new file is selected for upload."), '/_db_files/__///__', \$upload->getFilenameGlob(getFormData('$primary_key') . '_*')) \x3f></div>
     103        <div class="sc-help"><\x3fphp printf(_("The current file <a href=\"%s/%2\\$s\"><strong>%2\\$s</strong></a> will be deleted if a new file is selected for upload."), '/_db_files/__///__', \$upload->getFilenameGlob(getFormData('$primary_key') . '_*')) \x3f></div>
    104104    <\x3fphp } \x3f>
    105105    <div class="sc-help"><\x3fphp printf(_("Allowed file types: %s."), join(', ', \$upload->getParam('valid_file_extensions'))) \x3f></div>
     
    157157
    158158        // Textarea small
     159        case 'tinytiny' :
    159160        case 'text' :
    160161        case 'tinyblob' :
     
    164165<div class="sc-form-row<\x3fphp \$fv->err('$field'); \x3f>">
    165166    <label for="$field"><\x3fphp echo _("$title"); \x3f></label>
    166     <textarea name="$field" id="$field" rows="8" cols="40" class="sc-short sc-medium"><\x3fphp echo oTxt(\$frm['$field']); \x3f></textarea>
     167    <textarea name="$field" id="$field" rows="8" cols="40" class="sc-tall sc-medium"><\x3fphp echo oTxt(\$frm['$field']); \x3f></textarea>
    167168</div>
    168169E_O_F;
     
    178179<div class="sc-form-row<\x3fphp \$fv->err('$field'); \x3f>">
    179180    <label for="$field"><\x3fphp echo _("$title"); \x3f></label>
    180     <textarea name="$field" id="$field" rows="8" cols="40" class="sc-short sc-medium"><\x3fphp echo oTxt(\$frm['$field']); \x3f></textarea>
     181    <textarea name="$field" id="$field" rows="8" cols="40" class="sc-fullscreen sc-medium"><\x3fphp echo oTxt(\$frm['$field']); \x3f></textarea>
    181182</div>
    182183E_O_F;
Note: See TracChangeset for help on using the changeset viewer.