Show
Ignore:
Timestamp:
11/14/06 15:11:42 (7 years ago)
Author:
benoitg
Message:
  • Make the MainUI, SmartyWifidog? and Session and AbstractDb? classes singletons
  • Implement two pass content display. All Content can now implement a prepareGetUserUI(), allowing them to interact with MainUI and other Content before display. Allow creating content such as stylesheets, feed accumulators, etc.
  • SmartyWifidog?.php Turn on security, begin preparing for standardisation of Smarty variables
  • New Content type: Stylesheet. Allows specific nodes, or even specific content groups to have custom stylesheets.
  • Langstring.php: Make getAdminUI calling conventions coherent with other content types.


Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/content/PatternLanguage/index.php

    r1031 r1127  
    5050require_once('classes/MainUI.php'); 
    5151require_once('classes/Content/PatternLanguage.php'); 
    52  
     52$smarty = SmartyWifidog::getObject(); 
     53$session = Session::getObject(); 
    5354// This trick is done to allow displaying of Pattern Language right away if there is only one available. 
    5455if(!empty($_REQUEST['content_id'])) 
     
    9293 
    9394 
    94 $ui=new MainUI(); 
     95$ui=MainUI::getObject(); 
    9596$ui->addContent('left_area_middle', $tool_html); 
    9697$ui->setTitle(_("Pattern Language - About"));