Project

General

Profile

« Previous | Next » 

Revision 1207

Added by Dietmar over 14 years ago

View differences:

settings.php
21 21
 along with Website Baker; if not, write to the Free Software
22 22
 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
23 23

  
24
 * @category   backend
25
 * @package    pages
26
 * @author(s)  Dietmar W?llbrink <Luisehahne>, Dietrich Roland Pehlke <Aldus>
27
 * @platform   WB 2.8.x
28
 * @require    PHP 5.2.11
29
 * @license    http://www.gnu.org/licenses/gpl.html
30
 * @link       http://project.websitebaker2.org/browser/branches/2.8.x/wb/pages
31
 * @changeset  2009/11/30 workout for page_code field, ex catchwords and multilangial
32

  
24 33
*/
25 34

  
26 35
// Get page id
......
258 267
}
259 268

  
260 269
//-- insert page_code 20090904-->
261
$TEXT['PAGE_CODE'] = empty($TEXT['PAGE_CODE']) ? '' : $TEXT['PAGE_CODE'];
262 270
$template->set_var('DISPLAY_CODE_PAGE_LIST', ' id="multi_lingual" style="display:none;"');
263 271
// Work-out if page languages feature is enabled
264 272
if((defined('PAGE_LANGUAGES') && PAGE_LANGUAGES) && $field_set)
265 273
{
274
    // workout field is set but module missing
275
    $TEXT['PAGE_CODE'] = empty($TEXT['PAGE_CODE']) ? 'Pagecode' : $TEXT['PAGE_CODE'];
266 276
	$template->set_var( array(
267 277
            'DISPLAY_CODE_PAGE_LIST' => ' id="multi_lingual"',
268 278
            'TEXT_PAGE_CODE' => '<a href="'.WB_URL.'/modules/mod_multilingual/update_keys.php?page_id='.$page_id.'">'.$TEXT['PAGE_CODE'].'</a>'
269

  
270 279
        )
271 280
    );
272 281

  

Also available in: Unified diff