Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#113 closed amelioration (fixed)

Réorganisation des templates

Reported by: prolag Owned by: prolag
Priority: majeur Milestone: 2.3
Component: e2t Version:
Keywords: Cc:

Description (last modified by prolag)

Réorganiser les templates pour les séparer en 3 morceaux

  • skin_e2t_global
  • skin_e2t_download
  • skin_e2t_filecp

Voila la liste de tous les appels aux skins

./sources/portal_plugins/e2t.php:65:		return $this->ipsclass->compiled_templates['skin_e2t']->menu_top( $this->ipsclass->dl_func->show_top() );
./sources/portal_plugins/e2t.php:74:		return $this->ipsclass->compiled_templates['skin_e2t']->menu_lastfiles( $this->ipsclass->dl_func->show_lastfiles() );
./sources/components_public/Downloads.php:125:		$this->ipsclass->dl_func->output.= $this->ipsclass->compiled_templates['skin_e2t']->search_form();
./sources/components_public/Downloads.php:226:			$top['top_g_files_dl'] .= $this->ipsclass->compiled_templates['skin_e2t']->stats_files_row($file_name, $forum_name, $topfg['ct_dls']);
./sources/components_public/Downloads.php:245:			$top['top_m_files_dl'] .= $this->ipsclass->compiled_templates['skin_e2t']->stats_files_row($file_name, $forum_name, $topfm['ct_dl_month']);
./sources/components_public/Downloads.php:265:			$top['top_g_files_views'] .= $this->ipsclass->compiled_templates['skin_e2t']->stats_files_row($file_name, $forum_name, $topvg['ct_views']);
./sources/components_public/Downloads.php:283:			$top['top_g_a'] .= $this->ipsclass->compiled_templates['skin_e2t']->stats_users_row($user, $topa['nbr_fichier']);
./sources/components_public/Downloads.php:289:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->stats_overview($top);
./sources/components_public/Downloads.php:311:			$this->ipsclass->dl_func->output.=$this->ipsclass->compiled_templates['skin_e2t']->global_action($this->ipsclass->lang['tracker_del']);
./sources/components_public/Downloads.php:333:			$this->ipsclass->dl_func->output.=$this->ipsclass->compiled_templates['skin_e2t']->global_action($this->ipsclass->lang['tracker_add']);
./sources/components_public/Downloads.php:345:			$html_abo_row .= $this->ipsclass->compiled_templates['skin_e2t']->abo_row( $tracker );
./sources/components_public/Downloads.php:348:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->abo_overview( $html_abo_row );
./sources/components_public/Downloads.php:488:				$subcat_row .= $this->ipsclass->compiled_templates['skin_e2t']->cat_subcats_row($this->ipsclass->dl_func->dl_forums_calc_children($enfant_data['foid'],$enfant_data));
./sources/components_public/Downloads.php:492:				$popmenu = $this->ipsclass->compiled_templates['skin_e2t']->cat_popmenu( $id_forum );
./sources/components_public/Downloads.php:495:			$subcat = $this->ipsclass->compiled_templates['skin_e2t']->cat_subcats_overview($subcat_row, $this->forum['fo_name'].' - '.$this->ipsclass->lang['subcat'], $this->forum['sub_can_files'], $popmenu);
./sources/components_public/Downloads.php:569:					$file_row .= $this->ipsclass->compiled_templates['skin_e2t']->cat_files_row_novalid( $row );
./sources/components_public/Downloads.php:573:					$file_row .= $this->ipsclass->compiled_templates['skin_e2t']->cat_files_row( $row );
./sources/components_public/Downloads.php:591:				$popmenu = $this->ipsclass->compiled_templates['skin_e2t']->cat_popmenu( $id_forum );
./sources/components_public/Downloads.php:593:			$files = $this->ipsclass->compiled_templates['skin_e2t']->cat_files_overview($file_row, $this->forum['fo_name'], $this->forum['sub_can_files'], $this->ipsclass->input['f'], $popmenu);
./sources/components_public/Downloads.php:597:			$files = $this->ipsclass->compiled_templates['skin_e2t']->cat_files_overview($file_row, $this->forum['fo_name'], $this->forum['sub_can_files'], $this->ipsclass->input['f'], '', '0');
./sources/components_public/Downloads.php:600:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->cat_overview($subcat, $files, $page, $this->forum['sub_can_files'], $this->ipsclass->input['f']);
./sources/components_public/Downloads.php:635:			$content .= $this->ipsclass->compiled_templates['skin_e2t']->cat_subcats_row($forum_data);
./sources/components_public/Downloads.php:638:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->cat_subcats_overview($content, $this->ipsclass->lang['title'], '', '', 0);
./sources/components_public/Downloads.php:766:					$customfields .= $this->ipsclass->compiled_templates['skin_e2t']->file_customfields( $k, $v );
./sources/components_public/Downloads.php:804:		$file_row = $this->ipsclass->compiled_templates['skin_e2t']->file_row( $fichier, $customfields );
./sources/components_public/Downloads.php:813:			$popmenu = $this->ipsclass->compiled_templates['skin_e2t']->file_popmenu( $perm, $fichier );
./sources/components_public/Downloads.php:819:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->file_overview( $file_row, $fichier, $popmenu, $perm );
./sources/components_public/Downloads.php:918:			$file_row .= $this->ipsclass->compiled_templates['skin_e2t']->cat_files_row( $row );
./sources/components_public/Downloads.php:920:		$files = $this->ipsclass->compiled_templates['skin_e2t']->cat_files_overview($file_row, $this->forum['fo_name'], $this->forum['sub_can_files'], $this->ipsclass->input['f'], '', '0');
./sources/components_public/Downloads.php:923:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->cat_overview('', $files, '', '0', $this->ipsclass->input['f'], '0');
./sources/components_public/FileCP.php:276:		$this->ipsclass->dl_func->output .=$this->ipsclass->compiled_templates['skin_e2t']->file_del($delete_row,$this->ipsclass->return_md5_check());
./sources/components_public/FileCP.php:363:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->global_action( sprintf( $this->ipsclass->lang['file_deleted'], $file['fi_name'] ) );
./sources/components_public/FileCP.php:388:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->file_move($info,$this->ipsclass->return_md5_check());
./sources/components_public/FileCP.php:440:				$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->File_move_cas_two($this->ipsclass->input,$this->ipsclass->return_md5_check());
./sources/components_public/FileCP.php:516:				$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->File_move_cas_three($this->ipsclass->input,$this->ipsclass->return_md5_check());
./sources/components_public/FileCP.php:540:				$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->File_move_cas_four($this->ipsclass->input,$this->ipsclass->return_md5_check());
./sources/components_public/FileCP.php:645:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->global_action($this->ipsclass->lang['move_action']);
./sources/components_public/FileCP.php:696:			$html .= $this->ipsclass->compiled_templates['skin_e2t']->edit_show_row($edit);
./sources/components_public/FileCP.php:708:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->edit_show_overview($this->ipsclass->lang['list_valid'], $html, $page);
./sources/components_public/FileCP.php:740:			$html .= $this->ipsclass->compiled_templates['skin_e2t']->edit_show_row($edit);
./sources/components_public/FileCP.php:752:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->edit_show_overview($this->ipsclass->lang['list_my_file'], $html, $page);
./sources/components_public/FileCP.php:929:				$html .= $this->ipsclass->compiled_templates['skin_e2t']->dl_logs_row($r);
./sources/components_public/FileCP.php:932:			$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->dl_logs_overview($html,$icon,$link);
./sources/components_public/FileCP.php:1045:				$html .= $this->ipsclass->compiled_templates['skin_e2t']->dl_logs_user_row($r);
./sources/components_public/FileCP.php:1062:			$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->dl_logs_user_overview($html,$member_name,$icon,$link,$pagination);
./sources/components_public/FileCP.php:1173:				$html .= $this->ipsclass->compiled_templates['skin_e2t']->dl_logs_file_row($r);
./sources/components_public/FileCP.php:1190:			$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->dl_logs_file_overview($html,$file_name,$icon,$link,$pagination);
./sources/classes/e2t/class_e2t_post_edit.php:405:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->form_overview( $title, $data, $editor, $file, $post_icons, 'edit', $customfields );
./sources/classes/e2t/class_e2t_post_new.php:350:		$this->ipsclass->dl_func->output .= $this->ipsclass->compiled_templates['skin_e2t']->form_overview( $title, $data, $editor, $file, $post_icons, 'new', $customfields );
./sources/classes/e2t/class_e2t_post.php:437:		return $this->ipsclass->compiled_templates['skin_e2t']->form_editor( $this->han_editor->show_editor($raw_post,'Post') );
./sources/classes/e2t/class_e2t_post.php:452:		$html = $this->ipsclass->compiled_templates['skin_e2t']->form_icons();
./sources/classes/e2t/class_e2t_post.php:541:		$radio .= $this->ipsclass->compiled_templates['skin_e2t']->global_button_radio('tupload','1',$this->ipsclass->lang['upload'], $checked['1'], 'form_choice_tupload()');
./sources/classes/e2t/class_e2t_post.php:543:		$radio .= $this->ipsclass->compiled_templates['skin_e2t']->global_button_radio('tupload','0',$this->ipsclass->lang['link_ext'], $checked['0'], 'form_choice_tupload()');
./sources/classes/e2t/class_e2t_post.php:547:			$radio .= $this->ipsclass->compiled_templates['skin_e2t']->global_button_radio('tupload','2',$this->ipsclass->lang['link_int'], $checked['2'], 'form_choice_tupload()');
./sources/classes/e2t/class_e2t_post.php:602:		$upload = $this->ipsclass->compiled_templates['skin_e2t']->form_upload($uploaded,$info_fichier);
./sources/classes/e2t/class_e2t_post.php:606:			$externe = $this->ipsclass->compiled_templates['skin_e2t']->form_externe($this->ipsclass->input['pre_file_externe'],$externe_check,$this->ipsclass->input['pre_file_externe_size']);
./sources/classes/e2t/class_e2t_post.php:610:			$interne = 	$this->ipsclass->compiled_templates['skin_e2t']->form_interne($this->ipsclass->input['pre_file_name']);
./sources/classes/e2t/class_e2t_post.php:612:		return $this->ipsclass->compiled_templates['skin_e2t']->form_file( $radio, $upload, $externe , $interne );
./sources/classes/class_e2t_functions.php:106:			$this->output .= $this->ipsclass->compiled_templates['skin_e2t']->global_error( $this->ipsclass->lang[$text],$msg );
./sources/classes/class_e2t_functions.php:110:			$this->output .= $this->ipsclass->compiled_templates['skin_e2t']->global_error( $this->ipsclass->lang['post_error'],$this->ipsclass->lang[$text] );
./sources/classes/class_e2t_functions.php:437:					$content .= $this->ipsclass->compiled_templates['skin_e2t']->form_customfields($html_row);
./sources/classes/class_e2t_functions.php:754:		$header = $this->ipsclass->compiled_templates['skin_e2t']->global_header();
./sources/classes/class_e2t_functions.php:777:		$header = str_replace( "<!--DL.TEMPLATE.LINKS-->"      , $this->ipsclass->compiled_templates['skin_e2t']->menu_links()                                   , $header );
./sources/classes/class_e2t_functions.php:778:		$header = str_replace( "<!--DL.TEMPLATE.TOP10DLS-->"   , $this->ipsclass->compiled_templates['skin_e2t']->menu_top( $this->show_top() )                  , $header );
./sources/classes/class_e2t_functions.php:779:		$header = str_replace( "<!--DL.TEMPLATE.LASTFILES-->"  , $this->ipsclass->compiled_templates['skin_e2t']->menu_lastfiles( $this->show_lastfiles() )      , $header );
./sources/classes/class_e2t_functions.php:780:		$header = str_replace( "<!--DL.TEMPLATE.STATS-->"      , $this->ipsclass->compiled_templates['skin_e2t']->menu_stats($this->ipsclass->cache['dl_stats']) , $header );
./sources/classes/class_e2t_functions.php:811:		$footer = $this->ipsclass->compiled_templates['skin_e2t']->global_footer($menu,$rss);
./sources/classes/class_e2t_functions.php:881:				$html .= $this->ipsclass->compiled_templates['skin_e2t']->menu_files_row($file_link,$forum_link);
./sources/classes/class_e2t_functions.php:925:				$html .= $this->ipsclass->compiled_templates['skin_e2t']->menu_files_row($file_link,$forum_link);

Change History (6)

comment:1 Changed 16 years ago by prolag

  • Description modified (diff)

comment:2 Changed 16 years ago by prolag

  • Owner changed from somebody to prolag
  • Status changed from new to assigned

/sources/portal_plugins/e2t.php => à mettre dans skin_e2t_global

./sources/components_public/Downloads.php => à mettre dans skin_e2t_download sauf global_action

./sources/components_public/FileCP.php => à mettre dans skin_e2t_filecp sauf global_action

./sources/classes/e2t/class_e2t_post.php ./sources/classes/e2t/class_e2t_post_new.php ./sources/classes/e2t/class_e2t_post_edit.php à mettre dans skin_e2t_fileCP

./sources/classes/class_e2t_functions.php à mettre dans skin_e2t_global

comment:3 Changed 16 years ago by prolag

Réaliser dans la revision 325

Installation => OK Upgrade => Pas testé !

comment:4 Changed 16 years ago by prolag

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:5 Changed 16 years ago by fabien

Dans l'upgrade, il faut une requête pour supprimer les templates du groupe "skin_e2t".

comment:6 Changed 16 years ago by prolag

C'est ce que je pensais ;)

Note: See TracTickets for help on using tickets.