websiteWebsite
codingteam CodingTeam
A free forge, lightweight and extensible.

 

Browse the code

Revision log Information on the revision
Revision: 211 (differences)
Author: xbright
Log message: * Updated administration for users, index and projects modules
* Added the ability to filter nicknames in admin/users/manage
* Deleted function.js
* Added textview-func.js and textview-button.js (based on a work of jbell, thanks ;-))
Change revision:
    <? if ($projects_waiting): ?>
      <table>
        <thead>
          <tr>
            <th style="width:250px;"><?=i18n('Name');?></th>
            <th style="width:150px;"><?=i18n('Website');?></th>
            <th style="width:150px;"><?=i18n('Initiator');?></th>
            <th style="width:150px;"><?=i18n('Date');?></th>
          </tr>
        </thead>
        <tbody>
        <? foreach ($projects as $project): ?>
          <tr>
            <td class="background_important"><?=$project['name'];?> (<?=$project['dbname'];?>)</td>
            <td class="background_important"><a href="<?=$project['website'];?>"><?=i18n('Go to the website');?></a></td>
            <td class="background_important"><a href="users/show/<?=$project['nick'];?>"><?=$project['nick'];?></a></td>
            <td class="background_important center"><?=$project['date'];?></td>
          </tr>
          <tr>
            <td style="text-align: right;" class="border_bottom_big" colspan="4">
              <a href="projects/delete/<?=$project['dbname'];?>"><?=i18n('Delete');?></a> -
              <a href="projects/add/<?=$project['dbname'];?>"><?=i18n('View and edit');?></a> -
              <a href="admin/projects/validate/approval/<?=$project['id'];?>"><strong><?=i18n('Validate');?></strong></a>
            </td>
          </tr>
        <? endforeach; ?>
        </tbody>
      </table>
    <? else: ?>
      <em><?=i18n('No projects found.');?></em>
    <? endif; ?>