- Timestamp:
- Aug 14, 2014 8:29:47 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bin/module_maker/form_template.cli.php
r468 r485 5 5 * For details visit the project site: <http://trac.strangecode.com/codebase/> 6 6 * Copyright 2001-2012 Strangecode, LLC 7 * 7 * 8 8 * This file is part of The Strangecode Codebase. 9 9 * … … 12 12 * Free Software Foundation, either version 3 of the License, or (at your option) 13 13 * any later version. 14 * 14 * 15 15 * The Strangecode Codebase is distributed in the hope that it will be useful, but 16 16 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 17 17 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 18 18 * details. 19 * 19 * 20 20 * You should have received a copy of the GNU General Public License along with 21 21 * The Strangecode Codebase. If not, see <http://www.gnu.org/licenses/>. … … 82 82 if (preg_match('/.*_id$/i', $field)) { 83 83 $output[$field] = <<<E_O_F 84 84 85 85 <div class="sc-form-row<\x3fphp \$fv->err('$field'); \x3f>"> 86 86 <label for="$field"><\x3fphp echo _("$title"); \x3f></label> … … 101 101 <input type="file" name="$field" id="$field" /> 102 102 <\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> 104 104 <\x3fphp } \x3f> 105 105 <div class="sc-help"><\x3fphp printf(_("Allowed file types: %s."), join(', ', \$upload->getParam('valid_file_extensions'))) \x3f></div> … … 157 157 158 158 // Textarea small 159 case 'tinytiny' : 159 160 case 'text' : 160 161 case 'tinyblob' : … … 164 165 <div class="sc-form-row<\x3fphp \$fv->err('$field'); \x3f>"> 165 166 <label for="$field"><\x3fphp echo _("$title"); \x3f></label> 166 <textarea name="$field" id="$field" rows="8" cols="40" class="sc- shortsc-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> 167 168 </div> 168 169 E_O_F; … … 178 179 <div class="sc-form-row<\x3fphp \$fv->err('$field'); \x3f>"> 179 180 <label for="$field"><\x3fphp echo _("$title"); \x3f></label> 180 <textarea name="$field" id="$field" rows="8" cols="40" class="sc- shortsc-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> 181 182 </div> 182 183 E_O_F;
Note: See TracChangeset
for help on using the changeset viewer.