Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, October 16, 2026

Diff for Metafox/admin/inc-db/exports.inc.php between version 1.3 and 1.4

version 1.3, 2012/06/06 13:29:00 version 1.4, 2012/10/17 14:38:52
Line 27  function ezin_admin_exports_main($restri
Line 27  function ezin_admin_exports_main($restri
         if (!isset($_POST['action']))   {          if (!isset($_POST['action']))   {
   
                 $languages_html = '';                  $languages_html = '';
                 foreach ($ezin_cfg['languages'] as $l) {                  if (is_array($ezin_cfg['languages'])
                         $languages_html .= '<option value="'.$l.'">'.strtoupper($l).'</option>';                          && count($ezin_cfg['languages']) > 0)
                   {
                           foreach ($ezin_cfg['languages'] as $l) {
                                   $languages_html .= '<option value="'.$l.'">'.strtoupper($l).'</option>';
                           }
                 }                  }
   
                 $authors = ezin_get_authors();                  $authors = ezin_get_authors();
                 $authors_html = '';                  $authors_html = '';
                 foreach ($authors as $author) {                  if (is_array($authors)
                         $access_key = strlen($author['access_key']) > 0 ? '('.$author['access_key'].')' : '';                          && count($authors) > 0)
                         $authors_html .= '                  {
                                         <option value="'.$author['id'].'">'.$author['name'].' '.$access_key.'</option>';                          foreach ($authors as $author) {
                                   $access_key = strlen($author['access_key']) > 0 ? '('.$author['access_key'].')' : '';
                                   $authors_html .= '
                                                   <option value="'.$author['id'].'">'.$author['name'].' '.$access_key.'</option>';
                           }
                 }                  }
   
                 $sections = ezin_get_section_list();                  $sections = ezin_get_section_list();
                 $sections_html = '';                  $sections_html = '';
                 foreach ($sections as $section) {                  if (is_array($sections)
                         $access_key = strlen($section['section_access_key']) > 0 ? '('.$section['section_access_key'].')' : '';                          && count($sections) > 0)
                         $sections_html .= '                  {
                                         <option value="'.$section['section_id'].'">'.$section['section_name'].' '.$access_key.' #'.$section['section_id'].'</option>';                          foreach ($sections as $section) {
                                   $access_key = strlen($section['section_access_key']) > 0 ? '('.$section['section_access_key'].')' : '';
                                   $sections_html .= '
                                                   <option value="'.$section['section_id'].'">'.$section['section_name'].' '.$access_key.' #'.$section['section_id'].'</option>';
                           }
                 }                  }
   
                 $articles = ezin_get_article_list();                  $articles = ezin_get_article_list();
                 $articles_html = '';                  $articles_html = '';
                 foreach ($articles as $article) {                  if (is_array($articles)
                         $access_key = strlen($article['article_access_key']) > 0 ? '('.$article['article_access_key'].')' : '';                          && count($articles) > 0)
                         $name = strlen($article['article_title']) > 20 ? substr($article['article_title'], 0, 20).'...' : $article['article_title'];                  {
                         $articles_html .= '                          foreach ($articles as $article) {
                                         <option value="'.$article['article_id'].'">'.$name.' '.$access_key.' #'.$article['article_id'].'</option>';                                  $access_key = strlen($article['article_access_key']) > 0 ? '('.$article['article_access_key'].')' : '';
                                   $name = strlen($article['article_title']) > 20 ? substr($article['article_title'], 0, 20).'...' : $article['article_title'];
                                   $articles_html .= '
                                                   <option value="'.$article['article_id'].'">'.$name.' '.$access_key.' #'.$article['article_id'].'</option>';
                           }
                 }                  }
   
                 $users = ezin_get_users();                  $users = ezin_get_users();
                 $users_html = '';                  $users_html = '';
                 $users_username_html = '';                  $users_username_html = '';
                 foreach ($users as $user) {                  if (is_array($users)
                         $users_html .= '                          && count($users) > 0)
                                         <option value="'.$user['id'].'">'.$user['username'].' #'.$user['id'].'</option>';                  {
                         $users_username_html .= '                          foreach ($users as $user) {
                                         <option value="'.$user['username'].'">'.$user['username'].' #'.$user['id'].'</option>';                                  $users_html .= '
                                                   <option value="'.$user['id'].'">'.$user['username'].' #'.$user['id'].'</option>';
                                   $users_username_html .= '
                                                   <option value="'.$user['username'].'">'.$user['username'].' #'.$user['id'].'</option>';
                           }
                 }                  }
   
                 $roles = ezin_get_roles();                  $roles = ezin_get_roles();
                 $roles_html = '';                  $roles_html = '';
                 foreach ($roles as $role) {                  if (is_array($roles)
                         $roles_html .= '                          && count($roles) > 0)
                                         <option value="'.$role['id'].'">'.$role['name'].'</option>';                  {
                           foreach ($roles as $role) {
                                   $roles_html .= '
                                                   <option value="'.$role['id'].'">'.$role['name'].'</option>';
                           }
                 }                  }
   
                 echo '<p>                  echo '<p>

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top