Changeset 4531 for branches/2.0/admin
- Timestamp:
- Dec 19, 2009, 9:49:03 PM (14 years ago)
- Location:
- branches/2.0/admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.0/admin/site_manager.php
r3046 r4531 33 33 // +-----------------------------------------------------------------------+ 34 34 check_status(ACCESS_ADMINISTRATOR); 35 36 if (!empty($_POST) or isset($_GET['action'])) 37 { 38 check_pwg_token(); 39 } 35 40 36 41 /** … … 199 204 } 200 205 201 $template->assign( array( 202 'U_HELP' => get_root_url().'popuphelp.php?page=site_manager', 203 'F_ACTION' => get_root_url().'admin.php' 204 .get_query_string_diff( array('action','site') ) 205 ) ); 206 $template->assign( 207 array( 208 'U_HELP' => get_root_url().'popuphelp.php?page=site_manager', 209 'F_ACTION' => get_root_url().'admin.php'.get_query_string_diff(array('action','site','pwg_token')), 210 'PWG_TOKEN' => get_pwg_token(), 211 ) 212 ); 206 213 207 214 // +-----------------------------------------------------------------------+ … … 243 250 $base_url.= '?page=site_manager'; 244 251 $base_url.= '&site='.$row['id']; 252 $base_url.= '&pwg_token='.get_pwg_token(); 245 253 $base_url.= '&action='; 246 254 -
branches/2.0/admin/template/goto/site_manager.tpl
r2558 r4531 18 18 {if isset($local_listing.CREATE)} 19 19 <form action="{$F_ACTION}" method="post"> 20 <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> 20 21 <p> 21 22 {'remote_site_local_create'|@translate}: … … 65 66 66 67 <form action="{$F_ACTION}" method="post"> 68 <input type="hidden" name="pwg_token" value="{$PWG_TOKEN}" /> 67 69 <p> 68 70 <label for="galleries_url" >{'site_create'|@translate}</label>
Note: See TracChangeset
for help on using the changeset viewer.