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


PHP project_admin_footer函数代码示例

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


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

示例1: db_query

<P><B>Alias List</B>
<BR><A href="editaliases-new.php?group_id=<?php 
print $group_id;
?>
">[Add New Alias]</A>

<P>New aliases or alias changes take effect at the next 6 hour cron job.

<P><TABLE width=100% cellpadding=1 cellspacing=0 border=1>
<TR>
<TD><B>Username</B></TD>
<TD><B>Domain</B></TD>
<TD><B>Forward Address</B></TD>
<TD>&nbsp;</TD>
</TR>
<?php 
$res_mail = db_query("SELECT * FROM mailaliases WHERE group_id={$group_id}");
while ($row_mail = db_fetch_array($res_mail)) {
    print "<TR>";
    print "<TD>{$row_mail['user_name']}</TD>";
    print "<TD>{$row_mail['domain']}</TD>";
    print "<TD>{$row_mail['email_forward']}</TD>";
    print "<TD><A href=\"editaliases-edit.php?group_id={$group_id}&form_mailid={$row_mail['mailaliases_id']}\">" . "[Edit]</A>" . " <A href=\"editaliases-delete.php?group_id={$group_id}&form_mailid={$row_mail['mailaliases_id']}\">" . "[Delete]</A></TD>";
    print "</TR>";
}
?>
</TABLE>
<?php 
project_admin_footer(array());
开发者ID:BackupTheBerlios,项目名称:berlios,代码行数:29,代码来源:editaliases.php

示例2: footer

 function footer()
 {
     project_admin_footer(array());
 }
开发者ID:pombredanne,项目名称:tuleap,代码行数:4,代码来源:ReferenceAdministrationViews.class.php

示例3: adminPage

 function adminPage()
 {
     // serve the administration pages for project links
     global $Language;
     require_once 'pre.php';
     require_once 'vars.php';
     require_once 'form_utils.php';
     require_once 'www/project/admin/project_admin_utils.php';
     $group_id = (int) $_REQUEST['group_id'];
     // get current information
     $project = ProjectManager::instance()->getProject($group_id);
     $user = UserManager::instance()->getCurrentUser();
     if (!$project) {
         exit_error($Language->getText('project_admin_index', 'invalid_p'), $Language->getText('project_admin_index', 'p_not_found'));
     }
     //if project isn't active, user must be a member of super-admin group
     if (!$project->isActive() && !$user->isSuperUser()) {
         return;
     }
     // must be a project admin
     if (!$user->isMember($group_id, 'A')) {
         return;
     }
     if (isset($_REQUEST['func'])) {
         // updating the database?
         $this->_adminPageUpdate_Service($_REQUEST);
     }
     project_admin_header(array('title' => $Language->getText('project_admin_servicebar', 'edit_s_bar'), 'group' => $group_id, 'help' => 'ServiceConfiguration.html'));
     if (isset($_REQUEST['disp'])) {
         $disp = $_REQUEST['disp'];
         switch ($disp) {
             case 'edit_link_type':
                 if (isset($_REQUEST['link_type_id'])) {
                     $link_type_id = (int) $_REQUEST['link_type_id'];
                 } else {
                     $link_type_id = NULL;
                 }
                 $this->_adminPage_UpdateLinkType($group_id, $link_type_id);
                 break;
             case 'resync_template':
                 $template_id = (int) $_REQUEST['template_id'];
                 $this->_adminPage_ResyncTemplate($group_id, $template_id);
                 break;
         }
     } else {
         $this->_adminPage_Default($group_id, $project);
     }
     project_admin_footer(array());
 }
开发者ID:nterray,项目名称:tuleap,代码行数:49,代码来源:projectlinksPlugin.class.php

示例4: displayInput

 /**
  * Display screen accepting the user file to be parsed  
  *     
  *     
  */
 function displayInput()
 {
     global $Language;
     project_admin_header(array('title' => $Language->getText('project_admin_userimport', 'import_members'), 'help' => 'project-admin.html#adding-removing-users'));
     echo '<h2>' . $Language->getText('project_admin_userimport', 'import_members', array(help_button('project-admin.html#adding-removing-users'))) . '</h2>';
     echo $Language->getText('project_admin_userimport', 'import_welcome', array('/project/admin/userimport.php?group_id=' . $this->group_id . '&mode=showformat&func=import'));
     echo '<FORM NAME="importdata" action="?" method="POST" enctype="multipart/form-data">
         <INPUT TYPE="hidden" name="group_id" value="' . $this->group_id . '">                
         <INPUT TYPE="hidden" name="func" value="import">
         <INPUT TYPE="hidden" name="mode" value="parse"> 
         <TABLE border="0" width="75%">
         <TR><B>' . $Language->getText('project_admin_userimport', 'upload_file') . '</B></TR>
         <TR><TD> <INPUT TYPE="file" name="user_filename" size="50"></TD></TR>
         </TABLE><P>
         <INPUT TYPE="submit" name="submit" value="' . $Language->getText('project_admin_userimport', 'submit') . '">
         </FORM> ';
     project_admin_footer(array());
 }
开发者ID:pombredanne,项目名称:tuleap,代码行数:23,代码来源:UserImportHtml.class.php


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