diff --git a/index.php b/index.php index d2140d15a0..c2a5ba1b18 100644 --- a/index.php +++ b/index.php @@ -1,4 +1,4 @@ -, Ghent University, Refactoring -* @version $Id: index.php 18255 2009-02-05 15:50:24Z cfasanando $ +* @version $Id: index.php 18277 2009-02-06 00:30:06Z ndieschburg $ * @todo check the different @todos in this page and really do them * @todo check if the news management works as expected */ @@ -486,7 +486,7 @@ function display_login_form() $form = new FormValidator('formLogin'); $form->addElement('text','login',get_lang('UserName'),array('size'=>15)); $form->addElement('password','password',get_lang('Pass'),array('size'=>15)); - $form->addElement('style_submit_button','submitAuth',get_lang('langEnter')); + $form->addElement('style_submit_button','submitAuth',get_lang('langEnter'),'class="login"'); $renderer =& $form->defaultRenderer(); $renderer->setElementTemplate('
{element}
'); $form->display(); diff --git a/main/admin/index.php b/main/admin/index.php index 11c590e933..9a429deafc 100644 --- a/main/admin/index.php +++ b/main/admin/index.php @@ -1,4 +1,4 @@ -
  • -
  • @@ -122,7 +122,7 @@ if(api_is_platform_admin()) {

    '; } -/////////////////////// Orphaned pages /////////////////////// Juan Carlos Raña Trabado +/////////////////////// Orphaned pages /////////////////////// Juan Carlos Ra�a Trabado if ($_GET['action']=='orphaned') { @@ -889,7 +889,7 @@ if ($_GET['action']=='orphaned') } -/////////////////////// delete current page /////////////////////// Juan Carlos Raña Trabado +/////////////////////// delete current page /////////////////////// Juan Carlos Ra�a Trabado if ($_GET['action']=='delete') { @@ -935,7 +935,7 @@ if ($_GET['action']=='delete') } -/////////////////////// delete all wiki /////////////////////// Juan Carlos Raña Trabado +/////////////////////// delete all wiki /////////////////////// Juan Carlos Ra�a Trabado if ($_GET['action']=='deletewiki') { @@ -945,7 +945,7 @@ if ($_GET['action']=='deletewiki') } -/////////////////////// search pages /////////////////////// Juan Carlos Raña Trabado +/////////////////////// search pages /////////////////////// Juan Carlos Ra�a Trabado //// 1 Searchpages: input search if ($_GET['action']=='searchpages') @@ -958,7 +958,7 @@ if ($_GET['action']=='searchpages') { echo '
    '; echo ''; - echo '

    '; + echo '

    '; echo ' '.get_lang('AlsoSearchContent'); echo '
    '; } @@ -1052,7 +1052,7 @@ if ($_GET['action']=='showsearchpages') } -/////////////////////// What links here. Show pages that have linked this page /////////////////////// Juan Carlos Raña Trabado +/////////////////////// What links here. Show pages that have linked this page /////////////////////// Juan Carlos Ra�a Trabado if ($_GET['action']=='links') { @@ -1344,7 +1344,7 @@ if ($_GET['action']=='edit') %'; echo '

    '; echo ''; //for save icon - echo '';//for save button + echo '';//for save button echo ''; echo ''; } @@ -1405,8 +1405,8 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference echo ''; } // We show the differences between two versions @@ -1478,13 +1478,13 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference $result_new=api_sql_query($sql_new,__LINE__,__FILE__); $version_new=Database::fetch_array($result_new); - if($_POST['HistoryDifferences']) + if(isset($_POST['HistoryDifferences'])) { include('diff.inc.php'); //title echo '
    '.stripslashes($version_new['title']).' ('.get_lang('DifferencesNew').' '.stripslashes($version_new['dtime']).' '.get_lang('DifferencesOld').' '.stripslashes($version_old['dtime']).') '.get_lang('Legend').': '.get_lang(WikiDiffAddedLine).' '.get_lang(WikiDiffDeletedLine).' '.get_lang(WikiDiffMovedLine).'
    '; } - if($_POST['HistoryDifferences2']) + if(isset($_POST['HistoryDifferences2'])) { require_once 'Text/Diff.php'; require_once 'Text/Diff/Renderer/inline.php'; @@ -1494,7 +1494,7 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference echo '


    '; - if($_POST['HistoryDifferences']) + if(isset($_POST['HistoryDifferences'])) { echo ''.diff( stripslashes($version_old['content']), stripslashes($version_new['content']), true, 'format_table_line' ).'
    '; // format_line mode is better for words echo '
    '; @@ -1514,7 +1514,7 @@ if ($_GET['action']=='history' or Security::remove_XSS($_POST['HistoryDifference } - if($_POST['HistoryDifferences2']) + if(isset($_POST['HistoryDifferences2'])) { $lines1 = array(strip_tags($version_old['content'])); //without <> tags @@ -1848,13 +1848,13 @@ if ($_GET['action']=='discuss')   - '; ?> + '.get_lang('Send').''; ?> +* @author Juan Carlos Ra�a * check wikilinks that has a page **/ function links_to($input) @@ -2102,7 +2102,7 @@ function links_to($input) /* detect and add style to external links -author Juan Carlos Raña Trabado +author Juan Carlos Ra�a Trabado **/ function detect_external_link($input) { @@ -2114,7 +2114,7 @@ function detect_external_link($input) /* detect and add style to anchor links -author Juan Carlos Raña Trabado +author Juan Carlos Ra�a Trabado **/ function detect_anchor_link($input) { @@ -2126,7 +2126,7 @@ function detect_anchor_link($input) /* detect and add style to mail links -author Juan Carlos Raña Trabado +author Juan Carlos Ra�a Trabado **/ function detect_mail_link($input) { @@ -2138,7 +2138,7 @@ function detect_mail_link($input) /* detect and add style to ftp links -author Juan Carlos Raña Trabado +author Juan Carlos Ra�a Trabado **/ function detect_ftp_link($input) { @@ -2150,7 +2150,7 @@ function detect_ftp_link($input) /* detect and add style to news links -author Juan Carlos Raña Trabado +author Juan Carlos Ra�a Trabado **/ function detect_news_link($input) { @@ -2162,7 +2162,7 @@ function detect_news_link($input) /* detect and add style to irc links -author Juan Carlos Raña Trabado +author Juan Carlos Ra�a Trabado **/ function detect_irc_link($input) { @@ -2178,8 +2178,8 @@ function detect_irc_link($input) * It is true that the adding of links is probably the most anoying part of Wiki for the people * who know something about the wiki syntax. * @author Patrick Cool , Ghent University -* Improvements [[]] and [[ | ]]by Juan Carlos Raña -* Improvements internal wiki style and mark group by Juan Carlos Raña +* Improvements [[]] and [[ | ]]by Juan Carlos Ra�a +* Improvements internal wiki style and mark group by Juan Carlos Ra�a **/ function make_wiki_link_clickable($input) { @@ -2299,7 +2299,7 @@ function save_wiki() /** * This function restore a wikipage -* @author Juan Carlos Raña +* @author Juan Carlos Ra�a **/ function restore_wikipage($r_reflink, $r_title, $r_content, $r_group_id, $r_assignment, $r_progress, $c_version, $r_version, $r_linksto) { @@ -2324,7 +2324,7 @@ function restore_wikipage($r_reflink, $r_title, $r_content, $r_group_id, $r_assi /** * This function delete a wiki -* @author Juan Carlos Raña +* @author Juan Carlos Ra�a **/ function delete_wiki() @@ -2506,7 +2506,7 @@ function display_new_wiki_form()  %'; echo '

    '; echo ''; //for save icon - echo ''; //for button icon + echo ''; //for button icon echo ''; echo ''; } @@ -2803,7 +2803,7 @@ function is_active_navigation_tab($paramwk) /** * Lock add pages - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function check_addnewpagelock() @@ -2854,7 +2854,7 @@ function check_addnewpagelock() /** * Protect page - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function check_protect_page() { @@ -2909,7 +2909,7 @@ function check_protect_page() /** * Visibility page - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function check_visibility_page() { @@ -2964,7 +2964,7 @@ function check_visibility_page() /** * Visibility discussion - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function check_visibility_discuss() { @@ -3020,7 +3020,7 @@ function check_visibility_discuss() /** * Lock add discussion - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function check_addlock_discuss() { @@ -3075,7 +3075,7 @@ function check_addlock_discuss() /** * Lock rating discussion - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function check_ratinglock_discuss() { @@ -3130,7 +3130,7 @@ function check_ratinglock_discuss() /** * Notify page changes - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function check_notify_page($reflink) @@ -3196,7 +3196,7 @@ function check_notify_page($reflink) /** * Notify discussion changes - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function check_notify_discuss($reflink) { @@ -3277,7 +3277,7 @@ function check_notify_discuss($reflink) /** * Notify all changes - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function check_notify_all() @@ -3336,7 +3336,7 @@ function check_notify_all() /** * Function check emailcue and send email when a page change - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function check_emailcue($id_or_ref, $type, $lastime, $lastuser) @@ -3527,7 +3527,7 @@ function check_emailcue($id_or_ref, $type, $lastime, $lastuser) /** * Function export last wiki page version to document area - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function export2doc($wikiTitle, $wikiContents, $groupId) { @@ -3561,7 +3561,7 @@ function export2doc($wikiTitle, $wikiContents, $groupId) /** * Function wizard individual assignment - * @author Juan Carlos Raña + * @author Juan Carlos Ra�a */ function auto_add_page_users($assignment_type) { diff --git a/mnogo_login18.php b/mnogo_login18.php new file mode 100644 index 0000000000..ff092c1de1 --- /dev/null +++ b/mnogo_login18.php @@ -0,0 +1,11 @@ +