art-web r528 - in branches/art-hub: . controllers



Author: thos
Date: Mon Jun 16 23:02:09 2008
New Revision: 528
URL: http://svn.gnome.org/viewvc/art-web?rev=528&view=rev

Log:
* Improve license array and include config file in theme controller


Modified:
   branches/art-hub/config.inc.php
   branches/art-hub/controllers/themes.php

Modified: branches/art-hub/config.inc.php
==============================================================================
--- branches/art-hub/config.inc.php	(original)
+++ branches/art-hub/config.inc.php	Mon Jun 16 23:02:09 2008
@@ -191,7 +191,8 @@
 		'gnu-gpl' => 'GNU General Public License',
 		'gnu-lgpl' => 'GNU Lesser General Public License',
 		'pub-dom' => 'Public Domain',
-		'free-art' => 'Free Art License');
+		'free-art' => 'Free Art License',
+		'' => 'Unknown');
 
 $license_config_link_array = array (
 		'cc-atrib' => '<a href="http://creativecommons.org/licenses/by/2.0/";>CC Attribution</a>',

Modified: branches/art-hub/controllers/themes.php
==============================================================================
--- branches/art-hub/controllers/themes.php	(original)
+++ branches/art-hub/controllers/themes.php	Mon Jun 16 23:02:09 2008
@@ -1,4 +1,7 @@
 <?php
+
+require ("config.inc.php");
+
 /* load model */
 require ("models/themes.php");
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]