Changeset 14651
- Timestamp:
- May 2, 2012, 9:46:59 PM (13 years ago)
- Location:
- extensions/UserAdvManager/trunk
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/trunk/ConfirmMail.php
r14371 r14651 77 77 $replacements[] = $conf['gallery_title']; 78 78 $patterns[] = '#\[myurl\]#i'; 79 $replacements[] = $conf['gallery_url'];80 79 $replacements[] = get_gallery_home_url(); 80 81 81 if (function_exists('get_user_language_desc')) 82 82 { … … 87 87 88 88 $redirect = true; 89 $Path_UAM = UAM_PATH; // Path to be used in template to reach the icons90 91 $template->assign(92 array(93 'UAM_PATH' => $Path_UAM,94 'REDIRECT' => $redirect,95 'STATUS' => $status,96 'CONFIRM_MAIL_MESSAGE' => $custom_text,97 )98 );99 89 } 100 90 else … … 112 102 $replacements[] = $conf['gallery_title']; 113 103 $patterns[] = '#\[myurl\]#i'; 114 $replacements[] = $conf['gallery_url'];104 $replacements[] = get_gallery_home_url(); 115 105 116 106 if (function_exists('get_user_language_desc')) … … 120 110 else $custom_text = l10n(preg_replace($patterns, $replacements, $conf_UAM_ConfirmMail[6])); 121 111 } 122 123 $template->assign(124 array(125 'REDIRECT' => $redirect,126 'GALLERY_URL' => make_index_url(),127 'STATUS' => $status,128 'CONFIRM_MAIL_MESSAGE' => $custom_text,129 )130 );131 112 } 113 114 $Path_UAM = UAM_PATH; // Path to be used in template to reach the icons 115 116 $template->assign( 117 array( 118 'UAM_PATH' => $Path_UAM, 119 'REDIRECT' => $redirect, 120 'STATUS' => $status, 121 'CONFIRM_MAIL_MESSAGE' => $custom_text, 122 ) 123 ); 132 124 } 133 125 -
extensions/UserAdvManager/trunk/GT_del_account.php
r14371 r14651 28 28 $replacements[] = $conf['gallery_title']; 29 29 $patterns[] = '#\[myurl\]#i'; 30 $replacements[] = $conf['gallery_url'];30 $replacements[] = get_gallery_home_url(); 31 31 32 32 if (function_exists('get_user_language_desc')) … … 42 42 array( 43 43 'UAM_PATH' => $Path_UAM, 44 'GALLERY_URL' => make_index_url(),45 44 'CUSTOM_REDIR_MSG' => $custom_text, 46 45 ) -
extensions/UserAdvManager/trunk/USR_del_account.php
r12271 r14651 28 28 $replacements[] = $conf['gallery_title']; 29 29 $patterns[] = '#\[myurl\]#i'; 30 $replacements[] = $conf['gallery_url'];30 $replacements[] = get_gallery_home_url(); 31 31 32 32 if (function_exists('get_user_language_desc')) … … 39 39 $template->assign( 40 40 array( 41 'GALLERY_URL' => make_index_url(),42 41 'CUSTOM_REDIR_MSG' => $custom_text, 43 42 ) -
extensions/UserAdvManager/trunk/changelog.txt.php
r14635 r14651 304 304 Bug 2619 fixed - Confirmation email when registered user changes his email was not sent and user not demoted 305 305 Bug 2620 fixed - Display of ConfirmMail, rejected and del_account pages have been improved 306 Bug 2621 fixed - Display of ConfirmMail, rejected and del_account pages have been improved for IE8 and IE9 render 307 Bug 2622 fixed - Display of ConfirmMail, rejected and del_account pages have been improved for Stripped theme 306 308 Bug 2628 fixed - Php notice when email is not mandatory for registration 309 Bug 2631 fixed - Piwigo 2.4 compliance : $conf['gallery_url'] replaced by get_gallery_home_url() for [myurl] tag 307 310 */ 308 311 ?> -
extensions/UserAdvManager/trunk/include/functions.inc.php
r14366 r14651 861 861 $replacements[] = $conf['gallery_title']; 862 862 $patterns[] = '#\[myurl\]#i'; 863 $replacements[] = $conf['gallery_url'];863 $replacements[] = get_gallery_home_url(); 864 864 865 865 $infos = preg_replace($patterns, $replacements, $conf_UAM[29])."\n"."\n".$infos; … … 933 933 $replacements[] = $conf['gallery_title']; 934 934 $patterns[] = '#\[myurl\]#i'; 935 $replacements[] = $conf['gallery_url'];935 $replacements[] = get_gallery_home_url(); 936 936 937 937 if (function_exists('get_user_language_desc')) … … 980 980 $replacements[] = $conf['gallery_title']; 981 981 $patterns[] = '#\[myurl\]#i'; 982 $replacements[] = $conf['gallery_url'];982 $replacements[] = get_gallery_home_url(); 983 983 984 984 if (function_exists('get_user_language_desc')) … … 1032 1032 $replacements[] = $conf['gallery_title']; 1033 1033 $patterns[] = '#\[myurl\]#i'; 1034 $replacements[] = $conf['gallery_url'];1034 $replacements[] = get_gallery_home_url(); 1035 1035 1036 1036 if (isset($conf_UAM_ConfirmMail[0]) and $conf_UAM_ConfirmMail[0] == 'true') // [Kdays] replacement only if related option is active … … 1107 1107 $replacements[] = $conf['gallery_title']; 1108 1108 $patterns[] = '#\[myurl\]#i'; 1109 $replacements[] = $conf['gallery_url'];1109 $replacements[] = get_gallery_home_url(); 1110 1110 1111 1111 if (isset($conf_UAM_ConfirmMail[0]) and $conf_UAM_ConfirmMail[0] == 'true') // [Kdays] replacement only if related option is active … … 1151 1151 $replacements[] = $conf['gallery_title']; 1152 1152 $patterns[] = '#\[myurl\]#i'; 1153 $replacements[] = $conf['gallery_url'];1153 $replacements[] = get_gallery_home_url(); 1154 1154 1155 1155 if (isset($conf_UAM_ConfirmMail[0]) and $conf_UAM_ConfirmMail[0] == 'true') // [Kdays] replacement only if related option is active … … 1232 1232 $replacements[] = $conf['gallery_title']; 1233 1233 $patterns[] = '#\[myurl\]#i'; 1234 $replacements[] = $conf['gallery_url'];1234 $replacements[] = get_gallery_home_url(); 1235 1235 $patterns[] = '#\[days\]#i'; 1236 1236 $replacements[] = $conf_UAM[16]; … … 1313 1313 $replacements[] = $conf['gallery_title']; 1314 1314 $patterns[] = '#\[myurl\]#i'; 1315 $replacements[] = $conf['gallery_url'];1315 $replacements[] = get_gallery_home_url(); 1316 1316 1317 1317 if (function_exists('get_user_language_desc')) … … 1412 1412 $replacements[] = $conf['gallery_title']; 1413 1413 $patterns[] = '#\[myurl\]#i'; 1414 $replacements[] = $conf['gallery_url'];1414 $replacements[] = get_gallery_home_url(); 1415 1415 1416 1416 if (function_exists('get_user_language_desc')) -
extensions/UserAdvManager/trunk/rejected.php
r14371 r14651 28 28 $replacements[] = $conf['gallery_title']; 29 29 $patterns[] = '#\[myurl\]#i'; 30 $replacements[] = $conf['gallery_url'];30 $replacements[] = get_gallery_home_url(); 31 31 32 32 if (function_exists('get_user_language_desc')) … … 42 42 array( 43 43 'UAM_PATH' => $Path_UAM, 44 'GALLERY_URL' => make_index_url(),45 44 'CUSTOM_REJECT_MSG' => $custom_text, 46 45 ) -
extensions/UserAdvManager/trunk/template/ConfirmMail.tpl
r14371 r14651 1 1 {html_head}<link rel="stylesheet" type="text/css" href="template/confmail.css">{/html_head} 2 2 3 {if $themeconf.name|strstr:"stripped"} 3 4 <div class="titrePage"> 4 5 <ul class="categoryActions"> … … 9 10 </a> 10 11 {else} 11 <a href="{$GALLERY_URL}" title="{'return to homepage'|@translate}"> 12 <a href="{$ROOT_URL}" title="{'return to homepage'|@translate}"> 13 <img src="{$UAM_PATH}template/icon/home.png" class="button" alt="{'home'|@translate}"> 14 </a> 15 {/if} 16 </li> 17 </ul> 18 <h2 class="confmail">{'UAM_title_confirm_mail'|@translate}</h2> 19 </div> 20 {else} 21 <div class="titrePage"> 22 <ul class="categoryActions"> 23 <li> 24 {if $REDIRECT} 25 <a href="{$ROOT_URL}identification.php" title="{'return to homepage'|@translate}"> 26 <img src="{$UAM_PATH}template/icon/home.png" class="button" alt="{'home'|@translate}"> 27 </a> 28 {else} 29 <a href="{$ROOT_URL}" title="{'return to homepage'|@translate}"> 12 30 <img src="{$UAM_PATH}template/icon/home.png" class="button" alt="{'home'|@translate}"> 13 31 </a> … … 17 35 <h2 class="confmail">{'UAM_title_confirm_mail'|@translate}</h2> 18 36 </div> 37 {/if} 19 38 20 39 <ul> -
extensions/UserAdvManager/trunk/template/del_account.tpl
r14371 r14651 1 1 {html_head}<link rel="stylesheet" type="text/css" href="template/confmail.css">{/html_head} 2 2 3 {if $themeconf.name|strstr:"stripped"} 3 4 <div class="titrePage"> 4 5 <ul class="categoryActions"> 5 6 <li> 6 <a href="{$GALLERY_URL}" title="{'return to homepage'|@translate}"> 7 <a href="{$ROOT_URL}" title="{'return to homepage'|@translate}"> 8 <img src="{$UAM_PATH}template/icon/home.png" class="button" alt="{'home'|@translate}"> 9 </a> 10 </li> 11 </ul> 12 <h2 class="confmail">{'UAM_title_redir_page'|@translate}</h2> 13 </div> 14 {else} 15 <div class="titrePage"> 16 <ul class="categoryActions"> 17 <li> 18 <a href="{$ROOT_URL}" title="{'return to homepage'|@translate}"> 7 19 <img src="{$UAM_PATH}template/icon/home.png" class="button" alt="{'home'|@translate}"> 8 20 </a> … … 11 23 <h2 class="confmail">{'UAM_title_redir_page'|@translate}</h2> 12 24 </div> 25 {/if} 13 26 14 27 <ul> -
extensions/UserAdvManager/trunk/template/rejected.tpl
r14371 r14651 1 1 {html_head}<link rel="stylesheet" type="text/css" href="template/confmail.css">{/html_head} 2 2 3 {if $themeconf.name|strstr:"stripped"} 3 4 <div class="titrePage"> 4 5 <ul class="categoryActions"> 5 6 <li> 6 <a href="{$GALLERY_URL}" title="{'return to homepage'|@translate}"> 7 <a href="{$ROOT_URL}" title="{'return to homepage'|@translate}"> 8 <img src="{$UAM_PATH}template/icon/home.png" class="button" alt="{'home'|@translate}"> 9 </a> 10 </li> 11 </ul> 12 <h2 class="confmail">{'UAM_Reject_Page_Title'|@translate}</h2> 13 </div> 14 {else} 15 <div class="titrePage"> 16 <ul class="categoryActions"> 17 <li> 18 <a href="{$ROOT_URL}" title="{'return to homepage'|@translate}"> 7 19 <img src="{$UAM_PATH}template/icon/home.png" class="button" alt="{'home'|@translate}"> 8 20 </a> … … 11 23 <h2 class="confmail">{'UAM_Reject_Page_Title'|@translate}</h2> 12 24 </div> 13 25 {/if} 14 26 <ul> 15 27 <div class="errors">{$CUSTOM_REJECT_MSG}</div>
Note: See TracChangeset
for help on using the changeset viewer.