Editer
Rerchercher

cc : Cunnning Citizens

Online users
10 online users
Search Wiki PageName

CC Random Acronym

What does CC mean ?
(cached)
refresh print
The random CC acronym in the title is generated by a special smarty plugin created by mose and added as lib/smarty_tiki/function.randomcctitle.php then in templates/tiki-top_bar.tpl he just added {randomcctitle} to have a random acronym working as a title.

List of word C words currently in use (see code at bottom of page)

Proposed C words to include:


Adjectives
  • ...

Nouns
  • ...

lib/smarty_tiki/function.randomcctitle.php
<?php

//this script may only be included - so its better to die if called directly.
if (strpos($_SERVER["SCRIPT_NAME"],basename(__FILE__)) !== false) {
  
header("location: index.php");
}

function 
smarty_function_randomcctitle($params, &$smarty) {

    
$adj[] = "Community";
    
$adj[] = "Contributive";
    
$adj[] = "Collective";
    
$adj[] = "Collaborative";
    
$adj[] = "Cooperative";
    
$adj[] = "Chaordic";
    
$adj[] = "Creative";
    
$adj[] = "Common";
    
$adj[] = "Clustering";
    
$adj[] = "Cultural";
    
$adj[] = "Catalytic";
    
$adj[] = "Change";
    
$adj[] = "Cheesy";
    
$adj[] = "Changemaking";
    
$adj[] = "Clever";
    
$adj[] = "Cunnning";
    
$adj[] = "Cool";

    
$noun[] = "Currencies";
    
$noun[] = "Creativity";
    
$noun[] = "Collective";
    
$noun[] = "Cooperation";
    
$noun[] = "Commons";
    
$noun[] = "Catalysm";
    
$noun[] = "Clustering";
    
$noun[] = "Citizens";
    
$noun[] = "Change";
    
$noun[] = "Collaboration";
    
$noun[] = "Culture";
    
$noun[] = "Cheese";
    
$noun[] = "Changemakers";
    
$noun[] = "Creatives";
    
$noun[] = "Community";
    
$noun[] = "Chaords";
    
$noun[] = "Contributions";
    
$noun[] = "Computing";

    
srand((float) microtime() * 10000000);
    
$first array_rand($adj);
    
$second array_rand($noun);
    while (
substr($adj[$first],0,5) == substr($adj[$second],0,5)) {
      
$second array_rand($noun);
    }
    echo 
$adj[$first].' '.$noun[$second];
}
?>


Please propose more adjective and nouns on this wiki page (don't modify the souce code, add your ideas above, they will be moved when integrated).


Contributors to this page: mose , jdaviescoates and admin .
Page last modified on Friday 30 July, 2004 [23:05:46 UTC] by mose.


[ Execution time: 0.11 secs ]   [ Memory usage: 7.26MB ]   [ 47 database queries used ]   [ GZIP Enabled ]   [ Server load: 0.07 ]
RSS Wiki
Last update from CVS: Friday 26 October, 2007 [15:59:54 UTC]