当前位置: 首页>>代码示例>>PHP>>正文


PHP w2p_textarea函数代码示例

本文整理汇总了PHP中w2p_textarea函数的典型用法代码示例。如果您正苦于以下问题:PHP w2p_textarea函数的具体用法?PHP w2p_textarea怎么用?PHP w2p_textarea使用的例子?那么恭喜您, 这里精选的函数代码示例或许可以为您提供帮助。


在下文中一共展示了w2p_textarea函数的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。

示例1: addField

 public function addField($fieldName, $fieldValue)
 {
     if ('' == $fieldValue) {
         return '-';
     }
     $pieces = explode('_', $fieldName);
     $suffix = end($pieces);
     switch ($suffix) {
         case 'datetime':
             $myDate = intval($fieldValue) ? new w2p_Utilities_Date($this->AppUI->formatTZAwareTime($fieldValue, '%Y-%m-%d %T')) : null;
             $output = $myDate ? $myDate->format($this->dtf) : '-';
             break;
         case 'email':
             $output = w2p_email($fieldValue);
             break;
         case 'url':
             $value = str_replace(array('"', '"', '<', '>'), '', $fieldValue);
             $output = w2p_url($value);
             break;
         case 'owner':
             if (!$fieldValue) {
                 return '-';
             }
             $obj = new CContact();
             $obj->findContactByUserid($fieldValue);
             $link = '?m=users&a=view&user_id=' . $fieldValue;
             $output = '<a href="' . $link . '">' . $obj->contact_display_name . '</a>';
             break;
         case 'percent':
             $output = round($fieldValue) . '%';
             break;
         case 'description':
             $output = w2p_textarea($fieldValue);
             break;
         case 'company':
         case 'department':
         case 'project':
             $class = 'C' . ucfirst($suffix);
             $obj = new $class();
             $obj->load($fieldValue);
             $link = '?m=' . w2p_pluralize($suffix) . '&a=view&' . $suffix . '_id=' . $fieldValue;
             $output = '<a href="' . $link . '">' . $obj->{"{$suffix}" . '_name'} . '</a>';
             break;
         default:
             $output = htmlspecialchars($fieldValue, ENT_QUOTES);
     }
     return $output;
 }
开发者ID:illuminate3,项目名称:web2project,代码行数:48,代码来源:ViewHelper.class.php

示例2: displayFiles


//.........这里部分代码省略.........
                $style = 'background-color:#' . $latest_file['project_color_identifier'] . ';color:' . bestColor($latest_file['project_color_identifier']);
                $s .= '<tr>';
                $s .= '<td colspan="20" style="border: outset 2px #eeeeee;' . $style . '">';
                if ($latest_file['file_project'] > 0) {
                    $href = './index.php?m=projects&a=view&project_id=' . $latest_file['file_project'];
                } else {
                    $href = './index.php?m=projects';
                }
                $s .= '<a href="' . $href . '">';
                $s .= '<span style="' . $style . '">' . $latest_file['project_name'] . '</span></a>';
                $s .= '</td></tr>';
            }
        }
        $fp = $latest_file['file_project'];
        $s .= '<tr>
				<td nowrap="8%">
                    <form name="frm_remove_file_' . $latest_file['file_id'] . '" action="?m=files" method="post" accept-charset="utf-8">
                        <input type="hidden" name="dosql" value="do_file_aed" />
                        <input type="hidden" name="del" value="1" />
                        <input type="hidden" name="file_id" value="' . $latest_file['file_id'] . '" />
                        <input type="hidden" name="redirect" value="' . $current_uri . '" />
                    </form>
                    <form name="frm_duplicate_file_' . $latest_file['file_id'] . '" action="?m=files" method="post" accept-charset="utf-8">
                        <input type="hidden" name="dosql" value="do_file_aed" />
                        <input type="hidden" name="duplicate" value="1" />
                        <input type="hidden" name="file_id" value="' . $latest_file['file_id'] . '" />
                        <input type="hidden" name="redirect" value="' . $current_uri . '" />
                    </form>
                ';
        $junkFile = new CFile();
        // TODO: This is just to get getIcon included..
        $file_icon = getIcon($row['file_type']);
        $s .= '<a href="./fileviewer.php?file_id=' . $latest_file['file_id'] . '"><img border="0" width="16" heigth="16" src="' . w2PfindImage($file_icon, 'files') . '" alt="" />&nbsp;' . $latest_file['file_name'] . '</a></td>';
        $s .= '<td width="20%">' . w2p_textarea($latest_file['file_description']) . '</td><td width="5%" nowrap="nowrap" align="right">';
        $hidden_table = '';
        $s .= $row['file_lastversion'];
        if ($row['file_versions'] > 1) {
            $s .= ' <a href="javascript: void(0);" onClick="expand(\'versions_' . $latest_file['file_id'] . '\'); ">(' . $row['file_versions'] . ')</a>';
            $hidden_table = '<tr><td colspan="20">
							<table style="display: none" id="versions_' . $latest_file['file_id'] . '" width="100%" border="0" cellpadding="2" cellspacing="1" class="tbl">
							<tr>
							        <th nowrap="nowrap">' . $AppUI->_('File Name') . '</th>
							        <th>' . $AppUI->_('Description') . '</th>
							        <th>' . $AppUI->_('Versions') . '</th>
							        <th>' . $AppUI->_('Category') . '</th>
									<th>' . $AppUI->_('Folder') . '</th>
							        <th>' . $AppUI->_('Task Name') . '</th>
							        <th>' . $AppUI->_('Owner') . '</th>
							        <th>' . $AppUI->_('Size') . '</th>
							        <th>' . $AppUI->_('Type') . '</a></th>
							        <th>' . $AppUI->_('Date') . '</th>
							</tr>';
            foreach ($file_versions as $file) {
                if ($file['file_version_id'] == $latest_file['file_version_id']) {
                    $file_icon = getIcon($file['file_type']);
                    $hdate = new w2p_Utilities_Date($file['file_date']);
                    $hidden_table .= '<tr><td nowrap="8%"><a href="./fileviewer.php?file_id=' . $file['file_id'] . '" title="' . $file['file_description'] . '">' . '<img border="0" width="16" heigth="16" src="' . w2PfindImage($file_icon, 'files') . '" alt="" />&nbsp;' . $file['file_name'] . '
					  </a></td>
					  <td width="20%">' . $file['file_description'] . '</td>
					  <td width="5%" nowrap="nowrap" align="right">' . $file['file_version'] . '</td>
					  <td nowrap="nowrap" align="left">' . $file_types[$file['file_category']] . '</td>
					  <td nowrap="nowrap" align="left">' . ($file['file_folder_name'] != '' ? '<a href="' . W2P_BASE_URL . '/index.php?m=files&tab=' . (count($file_types) + 1) . '&folder=' . $file['file_folder_id'] . '">' . w2PshowImage('folder5_small.png', '16', '16', 'folder icon', 'show only this folder', 'files') . $file['file_folder_name'] . '</a>' : 'Root') . '</td>
					  <td nowrap="nowrap" align="left"><a href="./index.php?m=tasks&a=view&task_id=' . $file['file_task'] . '">' . $file['task_name'] . '</a></td>
					  <td nowrap="nowrap">' . $file['contact_first_name'] . ' ' . $file['contact_last_name'] . '</td>
					  <td width="5%" nowrap="nowrap" align="right">' . file_size(intval($file['file_size'])) . '</td>
					  <td nowrap="nowrap">' . $file['file_type'] . '</td>
开发者ID:viniciusbudines,项目名称:sisnuss,代码行数:67,代码来源:cleanup_functions.php

示例3: w2p_textarea

            $start = true;
        }
        echo $user;
    }
}
?>
			</tr>
			</table>
		</td>
		<td width="50%" valign="top">
			<strong><?php 
echo $AppUI->_('Description');
?>
</strong>
			<table cellspacing="0" cellpadding="2" border="0" width="100%">
				<tr>
					<td class="hilite">
						<?php 
echo w2p_textarea($event->event_description);
?>
&nbsp;
					</td>
				</tr>
			</table>
			<?php 
$custom_fields = new w2p_Core_CustomFields($m, $a, $event->event_id, 'view');
$custom_fields->printHTML();
?>
		</td>
	</tr>
</table>
开发者ID:eureka2,项目名称:web2project,代码行数:31,代码来源:view.php

示例4: w2p_textarea

:</td>
			<td class="hilite"><?php 
echo $obj->resource_max_allocation;
?>
</td>
		</table>

	</td>
</tr>
<tr>

	<td width="100%" valign="top">
		<strong><?php 
echo $AppUI->_('Description');
?>
</strong>
		<table cellspacing="0" cellpadding="2" border="0" width="100%">
		<tr>
			<td class="hilite">
				<?php 
echo w2p_textarea($obj->resource_note);
?>
&nbsp;
			</td>
		</tr>
		
		</table>
	</td>

</tr>
</table>
开发者ID:joly,项目名称:web2project,代码行数:31,代码来源:view.php

示例5: w2p_url

?>
:</td>
          <td class="hilite"><?php 
echo w2p_url($department->dept_url);
?>
</td>
				</tr>
			</table>
		</td>
		<td width="50%">
			<strong><?php 
echo $AppUI->_('Description');
?>
</strong>
			<table cellspacing="1" cellpadding="2" border="0" width="100%">
			<tr>
				<td class="hilite" width="100%"><?php 
echo w2p_textarea($department->dept_desc);
?>
&nbsp;</td>
			</tr>
			</table>
		</td>
	</tr>
</table>
<?php 
// tabbed information boxes
$tabBox = new CTabBox('?m=departments&a=' . $a . '&dept_id=' . $dept_id, '', $tab);
$tabBox->add(W2P_BASE_DIR . '/modules/departments/vw_contacts', 'Contacts');
// include auto-tabs with 'view' explicitly instead of $a, because this view is also included in the main index site
$tabBox->show();
开发者ID:viniciusbudines,项目名称:sisnuss,代码行数:31,代码来源:view.php

示例6: substr

		<?php 
    $fnamelen = 32;
    $filename = $latest_file['file_name'];
    if (strlen($latest_file['file_name']) > $fnamelen + 9) {
        $ext = substr($filename, strrpos($filename, '.') + 1);
        $filename = substr($filename, 0, $fnamelen);
        $filename .= '[...].' . $ext;
    }
    $myFile = new CFile();
    $file_icon = getIcon($file_row['file_type']);
    echo '<a href="./fileviewer.php?file_id=' . $latest_file['file_id'] . '"><img border="0" width="16" heigth="16" src="' . w2PfindImage($file_icon, 'files') . '" />&nbsp;' . $filename . '</a>';
    //	{$latest_file['file_name']}
    ?>
	</td>
	<td width="20%"><?php 
    echo w2p_textarea($latest_file['file_description']);
    ?>
</td>
	<td width="5%" nowrap="nowrap" align="right">
		<?php 
    $hidden_table = '';
    echo $file_row['file_lastversion'];
    if ($file_row['file_versions'] > 1) {
        echo ' <a href="javascript: void(0);" onclick="expand(\'versions_' . $latest_file['file_id'] . '\'); ">(' . $file_row['file_versions'] . ')</a>';
        $hidden_table = '<tr><td colspan="20">
						<table style="display: none" id="versions_' . $latest_file['file_id'] . '" width="100%" border="0" cellpadding="2" cellspacing="1" class="tbl">
						<tr>
								<th nowrap="nowrap">' . $AppUI->_('File Name') . '</th>
								<th nowrap="nowrap">' . $AppUI->_('Description') . '</th>
								<th nowrap="nowrap">' . $AppUI->_('Versions') . '</th>
								<th nowrap="nowrap">' . $AppUI->_('Category') . '</th>
开发者ID:joly,项目名称:web2project,代码行数:31,代码来源:index_table.php

示例7: w2p_textarea

echo '<table width="100%" cellspacing="1" bgcolor="black">' . $s . '</table>';
?>
                    </td>
                </tr>
                <tr>
                    <td colspan="3" nowrap="nowrap">
                        <strong><?php 
echo $AppUI->_('Description');
?>
</strong><br />
                    </td>
                 </tr>
                <tr>
                    <td class="hilite" colspan="3">
                        <?php 
echo w2p_textarea($obj->task_description);
?>
                    </td>
                </tr>
                <?php 
$depts = $obj->getTaskDepartments($AppUI, $task_id);
if (count($depts)) {
    ?>
                <tr>
                    <td><strong><?php 
    echo $AppUI->_('Departments');
    ?>
</strong></td>
                </tr>
                <tr>
                    <td colspan="3" class="hilite">
开发者ID:viniciusbudines,项目名称:sisnuss,代码行数:31,代码来源:view.php

示例8: w2PshowImage

</a></li>
                <?php 
}
?>
                <li class="info-text"><?php 
echo w2PshowImage('folder5_small.png', '22', '22', '', '', 'files');
?>
 <strong><?php 
echo isset($cfObj) && $cfObj->file_folder_name ? $cfObj->file_folder_name : "Root";
?>
</strong></li>
                <?php 
if (isset($cfObj) && $cfObj->file_folder_description != '') {
    ?>
                    <li class="info-text"><?php 
    echo w2p_textarea($cfObj->file_folder_description);
    ?>
</li>
                <?php 
}
?>
            </ul>
        </td>
    </tr>
    </tr>
    <?php 
if (countFiles($folder) > 0) {
    echo displayFiles($AppUI, $folder_id, $task_id, $project_id, $company_id);
} elseif (!empty($limited) && !$limited or $folder_id != 0) {
    echo '<tr><td colspan="20">' . $AppUI->_('no files') . '</td></tr>';
}
开发者ID:illuminate3,项目名称:web2project,代码行数:31,代码来源:folders_table.php

示例9: createCell


//.........这里部分代码省略.........
         // The above are all contact/user display names, the below are numbers.
         case '_count':
         case '_hours':
             $cell = $value;
             break;
         case '_duration':
             $durnTypes = w2PgetSysVal('TaskDurationType');
             $cell = $value . ' ' . $this->AppUI->_($durnTypes[$this->tableRowData['task_duration_type']]);
             break;
         case '_size':
             $cell = file_size($value);
             break;
         case '_budget':
             $cell = w2PgetConfig('currency_symbol');
             $cell .= formatCurrency($value, $this->AppUI->getPref('CURRENCYFORM'));
             break;
         case '_url':
             $value = str_replace(array('"', '"', '<', '>'), '', $value);
             $cell = w2p_url($value);
             break;
         case '_email':
             $cell = w2p_email($value);
             break;
         case '_birthday':
         case '_date':
             $myDate = intval($value) ? new w2p_Utilities_Date($value) : null;
             $cell = $myDate ? $myDate->format($this->df) : '-';
             break;
         case '_actual':
             $end_date = intval($this->tableRowData['project_end_date']) ? new w2p_Utilities_Date($this->tableRowData['project_end_date']) : null;
             $actual_end_date = intval($this->tableRowData['project_actual_end_date']) ? new w2p_Utilities_Date($this->tableRowData['project_actual_end_date']) : null;
             $style = $actual_end_date < $end_date && !empty($end_date) ? 'style="color:red; font-weight:bold"' : '';
             if ($actual_end_date) {
                 $cell = '<a href="?m=tasks&a=view&task_id=' . $this->tableRowData['project_last_task'] . '" ' . $style . '>' . $actual_end_date->format($this->df) . '</a>';
             } else {
                 $cell = '-';
             }
             break;
         case '_created':
         case '_datetime':
         case '_update':
         case '_updated':
             $myDate = intval($value) ? new w2p_Utilities_Date($this->AppUI->formatTZAwareTime($value, '%Y-%m-%d %T')) : null;
             $cell = $myDate ? $myDate->format($this->dtf) : '-';
             break;
         case '_description':
             $cell = w2p_textarea($value);
             break;
         case '_priority':
             $mod = $value > 0 ? '+' : '-';
             $image = '<img src="' . w2PfindImage('icons/priority' . $mod . abs($value) . '.gif') . '" width="13" height="16" alt="">';
             $cell = $value != 0 ? $image : '';
             break;
         case '_complete':
         case '_assignment':
         case '_allocated':
         case '_allocation':
             $cell = round($value) . '%';
             break;
         case '_password':
             $cell = '(' . $this->AppUI->_('hidden') . ')';
             break;
         case '_version':
             $value = (int) (100 * $value);
             $cell = number_format($value / 100, 2);
             break;
         case '_identifier':
             $additional = 'style="background-color:#' . $value . '; color:' . bestColor($value) . '" ';
             $cell = $this->tableRowData['project_percent_complete'] . '%';
             break;
         case '_project':
             $module = substr($suffix, 1);
             $class = 'C' . ucfirst($module);
             $obj = new $class();
             $obj->load($value);
             $color = $obj->project_color_identifier;
             $link = '?m=' . w2p_pluralize($module) . '&a=view&' . $module . '_id=' . $value;
             $cell = '<span style="background-color:#' . $color . '; padding: 3px"><a href="' . $link . '" style="color:' . bestColor($color) . '">' . $obj->{"{$module}" . '_name'} . '</a></span>';
             $suffix .= ' _name';
             break;
         case '_assignees':
             $cell = $value;
             break;
         case '_problem':
             if ($value) {
                 $cell = '<a href="?m=tasks&a=index&f=all&project_id=' . $this->tableRowData['project_id'] . '">';
                 $cell .= w2PshowImage('icons/dialog-warning5.png', 16, 16, 'Problem', 'Problem');
                 $cell .= '</a>';
             } else {
                 $cell = '-';
             }
             break;
         default:
             $value = isset($custom[$fieldName]) ? $custom[$fieldName][$value] : $value;
             $cell = htmlspecialchars($value, ENT_QUOTES);
     }
     $begin = '<td ' . $additional . 'class="' . $suffix . '">';
     $end = '</td>';
     return $begin . $cell . $end;
 }
开发者ID:illuminate3,项目名称:web2project,代码行数:101,代码来源:HTMLHelper.class.php

示例10: void

             $s .= '<tr>';
             $s .= '<td valign="top" style="' . $style . '">';
             $s .= $date->format($df . ' ' . $tf) . ' - ';
             $s .= '<a href="mailto:' . $row['contact_email'] . '">';
             $s .= '<font size="2">' . $row['contact_first_name'] . ' ' . $row['contact_last_name'] . '</font></a>';
             $s .= '<br />';
             if (sizeof($editor) > 0) {
                 $s .= '<br/>&nbsp;<br/>' . $AppUI->_('last edited by');
                 $s .= ':<br/><a href="mailto:' . $editor[0]['contact_email'] . '">';
                 $s .= '<font size="1">' . $editor[0]['contact_first_name'] . ' ' . $editor[0]['contact_last_name'] . '</font></a>';
             }
             $s .= '<a href="javascript: void(0);" onclick="toggle(' . $row['message_id'] . ')">';
             $s .= '<span size="2"><strong>' . $row['message_title'] . '</strong></span></a>';
             $side .= '<div class="message" id="' . $row['message_id'] . '" style="display: none">';
             $row['message_body'] = $bbparser->qparse($row['message_body']);
             $side .= w2p_textarea($row['message_body']);
             $side .= '</div>';
             $s .= '</td>';
             if ($first) {
                 $s .= '<td rowspan="' . count($messages) . '" valign="top">';
                 echo $s;
                 $s = '';
                 $first = false;
             }
             $s .= '</tr>';
         }
     }
 }
 if ($viewtype != 'single') {
     echo $s;
 }
开发者ID:joly,项目名称:web2project,代码行数:31,代码来源:view_messages.php

示例11: CustomFields

$custom_fields = new CustomFields($m, $a, $project->project_id, 'view');
$custom_fields->printHTML();
?>
			</td>
		</tr>
		<tr>
			<td colspan="2">
			<strong><?php 
echo $AppUI->_('Description');
?>
</strong><br />
			<table cellspacing="0" cellpadding="2" border="0" width="100%">
			<tr>
				<td class="hilite">
					<?php 
echo w2p_textarea($project->project_description);
?>
&nbsp;
				</td>
			</tr>
			</table>
			</td>
		</tr>
		</table>
	</td>
	<td width="50%" rowspan="1" valign="top">
		<strong><?php 
echo $AppUI->_('Summary');
?>
</strong><br />
		<table cellspacing="1" cellpadding="2" border="0" width="100%">
开发者ID:joly,项目名称:web2project,代码行数:31,代码来源:view.php

示例12: w2p_textarea

    ?>
 />
	</td>

	<td>
		<span style="font-size:10pt;font-weight:bold">
			<a href="?m=forums&a=viewer&forum_id=<?php 
    echo $row['forum_id'];
    ?>
"><?php 
    echo $row['forum_name'];
    ?>
</a>
		</span>
		<br /><?php 
    echo w2p_textarea($row['forum_description']);
    ?>
		<br /><font color="#777777"><?php 
    echo $AppUI->_('Owner') . ' ' . $row['owner_name'];
    ?>
,
		<?php 
    echo $AppUI->_('Started') . ' ' . $create_date->format($df);
    ?>
		</font>
	</td>
	<td nowrap="nowrap" align="center"><?php 
    echo $row['forum_topics'];
    ?>
</td>
	<td nowrap="nowrap" align="center"><?php 
开发者ID:joly,项目名称:web2project,代码行数:31,代码来源:index.php

示例13: elseif

     } elseif (isset($taskLogReference[$row['task_log_reference']])) {
         $reference_image = $taskLogReference[$row['task_log_reference']];
     }
 }
 $s .= '<td align="center" valign="middle">' . $reference_image . '</td>';
 $s .= '<td width="30%" style="' . $style . '">' . $row['task_log_name'] . '</td>';
 $s .= !empty($row['task_log_related_url']) ? '<td><a href="' . $row['task_log_related_url'] . '" title="' . $row['task_log_related_url'] . '">' . $AppUI->_('URL') . '</a></td>' : '<td></td>';
 $s .= '<td width="100">' . $row['real_name'] . '</td>';
 $s .= '<td width="100" align="right">' . sprintf('%.2f', $row['task_log_hours']) . '<br />(';
 $minutes = (int) (($row['task_log_hours'] - (int) $row['task_log_hours']) * 60);
 $minutes = strlen($minutes) == 1 ? '0' . $minutes : $minutes;
 $s .= (int) $row['task_log_hours'] . ':' . $minutes . ')</td>';
 $s .= '<td width="100">' . $row['task_log_costcode'] . '</td><td>' . '<a name="tasklog' . $row['task_log_id'] . '"></a>';
 // dylan_cuthbert: auto-transation system in-progress, leave these lines
 $transbrk = "\n[translation]\n";
 $descrip = w2p_textarea($row['task_log_description']);
 $tranpos = mb_strpos($descrip, mb_str_replace("\n", '<br />', $transbrk));
 if ($tranpos === false) {
     $s .= $descrip;
 } else {
     $descrip = mb_substr($descrip, 0, $tranpos);
     $tranpos = mb_strpos($row['task_log_description'], $transbrk);
     $transla = mb_substr($row['task_log_description'], $tranpos + mb_strlen($transbrk));
     $transla = mb_trim(mb_str_replace("'", '"', $transla));
     $s .= $descrip . 'gsd' . '<div style="font-weight: bold; text-align: right"><a title="' . $transla . '" class="hilite">[' . $AppUI->_('translation') . ']</a></div>';
 }
 // end auto-translation code
 $s .= '</td><td>';
 if ($canDelete) {
     $s .= '<a href="javascript:delIt2(' . $row['task_log_id'] . ');" title="' . $AppUI->_('delete log') . '">' . w2PshowImage('icons/stock_delete-16.png', 16, 16, '') . '</a>';
 }
开发者ID:joly,项目名称:web2project,代码行数:31,代码来源:vw_logs.php

示例14: test_w2p_textarea

 /**
  * Tests the proper creation of an email link
  */
 public function test_w2p_textarea()
 {
     $target = '';
     $linkText = w2p_textarea('');
     $this->assertEquals($target, $linkText);
     $target = 'Have you seen this - <a href="http://web2project.net" target="_blank">http://web2project.net</a> ?';
     $linkText = w2p_textarea('Have you seen this - http://web2project.net ?');
     $this->assertEquals($target, $linkText);
     $target = '<a href="http://web2project.net" target="_blank">http://web2project.net</a> is a fork of <a href="http://dotproject.net" target="_blank">http://dotproject.net</a>';
     $linkText = w2p_textarea('http://web2project.net is a fork of http://dotproject.net');
     $this->assertEquals($target, $linkText);
     $target = '<a href="http://web2project.net" target="_blank">http://web2project.net</a> is a great site';
     $linkText = w2p_textarea('http://web2project.net is a great site');
     $this->assertEquals($target, $linkText);
     $target = 'Please check out <a href="http://web2project.net" target="_blank">http://web2project.net</a>';
     $linkText = w2p_textarea('Please check out http://web2project.net');
     $this->assertEquals($target, $linkText);
 }
开发者ID:illuminate3,项目名称:web2project,代码行数:21,代码来源:main_functions.test.php

示例15: w2p_textarea

    echo $AppUI->_('regenerate feed url');
    ?>
" />
                    </form>
                </td>
            </tr>
            <tr>
                <td colspan="2"><strong><?php 
    echo $AppUI->_('Signature');
    ?>
:</strong></td>
            </tr>
            <tr>
                <td class="hilite" width="100%" colspan="2">
                    <?php 
    echo w2p_textarea($user->user_signature);
    ?>
&nbsp;
                </td>
            </tr>
		</table>
	</td>
</tr>
</table>

<?php 
    // tabbed information boxes
    $min_view = true;
    $tabBox = new CTabBox('?m=admin&a=viewuser&user_id=' . $user_id, '', $tab);
    $tabBox->add(W2P_BASE_DIR . '/modules/admin/vw_usr_log', 'User Log');
    $tabBox->add(W2P_BASE_DIR . '/modules/admin/vw_usr_perms', 'Permissions');
开发者ID:viniciusbudines,项目名称:sisnuss,代码行数:31,代码来源:viewuser.php


注:本文中的w2p_textarea函数示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。