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/subscription.php

    r1031 r1127  
    5151require_once('classes/Content/PatternLanguage.php'); 
    5252require_once('classes/MainUI.php'); 
    53  
     53$smarty = SmartyWifidog::getObject(); 
     54$session = Session::getObject(); 
    5455// This trick is done to allow displaying of Pattern Language right away if there is only one available. 
    5556if(!empty($_REQUEST['content_id'])) 
     
    141142$body_html .= "</div>\n"; 
    142143 
    143 $ui = new MainUI(); 
     144$ui = MainUI::getObject(); 
    144145$ui->addContent('left_area_middle', $tool_html); 
    145146$ui->setTitle(_("Pattern Language - Subscription"));